README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/netapp/2022-11-01-preview/groupidlistforldapuser
Documentation
The groupidlistforldapuser
SDK allows for interaction with the Azure Resource Manager Service netapp
(API Version 2022-11-01-preview
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-sdk/resource-manager/netapp/2022-11-01-preview/groupidlistforldapuser"
Client Initialization
client := groupidlistforldapuser.NewGroupIdListForLDAPUserClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: GroupIdListForLDAPUserClient.VolumesListGetGroupIdListForLdapUser
ctx := context.TODO()
id := groupidlistforldapuser.NewVolumeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "netAppAccountValue", "capacityPoolValue", "volumeValue")
payload := groupidlistforldapuser.GetGroupIdListForLDAPUserRequest{
// ...
}
if err := client.VolumesListGetGroupIdListForLdapUserThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Documentation ¶
Index ¶
- func ValidateVolumeID(input interface{}, key string) (warnings []string, errors []error)
- type GetGroupIdListForLDAPUserRequest
- type GetGroupIdListForLDAPUserResponse
- type GroupIdListForLDAPUserClient
- func (c GroupIdListForLDAPUserClient) VolumesListGetGroupIdListForLdapUser(ctx context.Context, id VolumeId, input GetGroupIdListForLDAPUserRequest) (result VolumesListGetGroupIdListForLdapUserOperationResponse, err error)
- func (c GroupIdListForLDAPUserClient) VolumesListGetGroupIdListForLdapUserThenPoll(ctx context.Context, id VolumeId, input GetGroupIdListForLDAPUserRequest) error
- type VolumeId
- type VolumesListGetGroupIdListForLdapUserOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateVolumeID ¶
ValidateVolumeID checks that 'input' can be parsed as a Volume ID
Types ¶
type GetGroupIdListForLDAPUserRequest ¶
type GetGroupIdListForLDAPUserRequest struct {
Username string `json:"username"`
}
type GetGroupIdListForLDAPUserResponse ¶
type GetGroupIdListForLDAPUserResponse struct {
GroupIdsForLdapUser *[]string `json:"groupIdsForLdapUser,omitempty"`
}
type GroupIdListForLDAPUserClient ¶
type GroupIdListForLDAPUserClient struct {
Client *resourcemanager.Client
}
func NewGroupIdListForLDAPUserClientWithBaseURI ¶
func NewGroupIdListForLDAPUserClientWithBaseURI(sdkApi sdkEnv.Api) (*GroupIdListForLDAPUserClient, error)
func (GroupIdListForLDAPUserClient) VolumesListGetGroupIdListForLdapUser ¶
func (c GroupIdListForLDAPUserClient) VolumesListGetGroupIdListForLdapUser(ctx context.Context, id VolumeId, input GetGroupIdListForLDAPUserRequest) (result VolumesListGetGroupIdListForLdapUserOperationResponse, err error)
VolumesListGetGroupIdListForLdapUser ...
func (GroupIdListForLDAPUserClient) VolumesListGetGroupIdListForLdapUserThenPoll ¶
func (c GroupIdListForLDAPUserClient) VolumesListGetGroupIdListForLdapUserThenPoll(ctx context.Context, id VolumeId, input GetGroupIdListForLDAPUserRequest) error
VolumesListGetGroupIdListForLdapUserThenPoll performs VolumesListGetGroupIdListForLdapUser then polls until it's completed
type VolumeId ¶
type VolumeId struct { SubscriptionId string ResourceGroupName string NetAppAccountName string CapacityPoolName string VolumeName string }
VolumeId is a struct representing the Resource ID for a Volume
func NewVolumeID ¶
func NewVolumeID(subscriptionId string, resourceGroupName string, netAppAccountName string, capacityPoolName string, volumeName string) VolumeId
NewVolumeID returns a new VolumeId struct
func ParseVolumeID ¶
ParseVolumeID parses 'input' into a VolumeId
func ParseVolumeIDInsensitively ¶
ParseVolumeIDInsensitively parses 'input' case-insensitively into a VolumeId note: this method should only be used for API response data and not user input
func (VolumeId) Segments ¶
func (id VolumeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Volume ID