Documentation ¶
Index ¶
- func ValidateLabID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateUserID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type LabId
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type UpdateOperationResponse
- type UpdateResource
- type User
- type UserId
- type UserIdentity
- type UserOperationPredicate
- type UserProperties
- type UserSecretStore
- type UsersClient
- func (c UsersClient) CreateOrUpdate(ctx context.Context, id UserId, input User) (result CreateOrUpdateOperationResponse, err error)
- func (c UsersClient) CreateOrUpdateThenPoll(ctx context.Context, id UserId, input User) error
- func (c UsersClient) Delete(ctx context.Context, id UserId) (result DeleteOperationResponse, err error)
- func (c UsersClient) DeleteThenPoll(ctx context.Context, id UserId) error
- func (c UsersClient) Get(ctx context.Context, id UserId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c UsersClient) List(ctx context.Context, id LabId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c UsersClient) ListComplete(ctx context.Context, id LabId, options ListOperationOptions) (ListCompleteResult, error)
- func (c UsersClient) ListCompleteMatchingPredicate(ctx context.Context, id LabId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- func (c UsersClient) Update(ctx context.Context, id UserId, input UpdateResource) (result UpdateOperationResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateLabID ¶
ValidateLabID checks that 'input' can be parsed as a Lab ID
func ValidateUserID ¶
ValidateUserID checks that 'input' can be parsed as a User ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type LabId ¶
LabId is a struct representing the Resource ID for a Lab
func ParseLabID ¶
ParseLabID parses 'input' into a LabId
func ParseLabIDInsensitively ¶
ParseLabIDInsensitively parses 'input' case-insensitively into a LabId note: this method should only be used for API response data and not user input
func (LabId) Segments ¶
func (id LabId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Lab ID
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []User
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]User // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type UpdateOperationResponse ¶
type UpdateResource ¶
type UserId ¶
type UserId struct { SubscriptionId string ResourceGroupName string LabName string UserName string }
UserId is a struct representing the Resource ID for a User
func NewUserID ¶
func NewUserID(subscriptionId string, resourceGroupName string, labName string, userName string) UserId
NewUserID returns a new UserId struct
func ParseUserID ¶
ParseUserID parses 'input' into a UserId
func ParseUserIDInsensitively ¶
ParseUserIDInsensitively parses 'input' case-insensitively into a UserId note: this method should only be used for API response data and not user input
func (UserId) Segments ¶
func (id UserId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this User ID
type UserIdentity ¶
type UserOperationPredicate ¶
func (UserOperationPredicate) Matches ¶
func (p UserOperationPredicate) Matches(input User) bool
type UserProperties ¶
type UserProperties struct { CreatedDate *string `json:"createdDate,omitempty"` Identity *UserIdentity `json:"identity,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` SecretStore *UserSecretStore `json:"secretStore,omitempty"` UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"` }
func (*UserProperties) GetCreatedDateAsTime ¶
func (o *UserProperties) GetCreatedDateAsTime() (*time.Time, error)
func (*UserProperties) SetCreatedDateAsTime ¶
func (o *UserProperties) SetCreatedDateAsTime(input time.Time)
type UserSecretStore ¶
type UsersClient ¶
func NewUsersClientWithBaseURI ¶
func NewUsersClientWithBaseURI(endpoint string) UsersClient
func (UsersClient) CreateOrUpdate ¶
func (c UsersClient) CreateOrUpdate(ctx context.Context, id UserId, input User) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (UsersClient) CreateOrUpdateThenPoll ¶
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (UsersClient) Delete ¶
func (c UsersClient) Delete(ctx context.Context, id UserId) (result DeleteOperationResponse, err error)
Delete ...
func (UsersClient) DeleteThenPoll ¶
func (c UsersClient) DeleteThenPoll(ctx context.Context, id UserId) error
DeleteThenPoll performs Delete then polls until it's completed
func (UsersClient) Get ¶
func (c UsersClient) Get(ctx context.Context, id UserId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (UsersClient) List ¶
func (c UsersClient) List(ctx context.Context, id LabId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (UsersClient) ListComplete ¶
func (c UsersClient) ListComplete(ctx context.Context, id LabId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (UsersClient) ListCompleteMatchingPredicate ¶
func (c UsersClient) ListCompleteMatchingPredicate(ctx context.Context, id LabId, options ListOperationOptions, predicate UserOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (UsersClient) Update ¶
func (c UsersClient) Update(ctx context.Context, id UserId, input UpdateResource) (result UpdateOperationResponse, err error)
Update ...