Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForInvitationState() []string + func PossibleValuesForProvisioningState() []string + func PossibleValuesForRegistrationState() []string + func ValidateLabID(input interface{}, key string) (warnings []string, errors []error) + func ValidateUserID(input interface{}, key string) (warnings []string, errors []error) + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *User + OData *odata.OData + Poller pollers.Poller + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type GetOperationResponse struct + HttpResponse *http.Response + Model *User + OData *odata.OData + type InvitationState string + const InvitationStateFailed + const InvitationStateNotSent + const InvitationStateSending + const InvitationStateSent + func (s *InvitationState) UnmarshalJSON(bytes []byte) error + type InviteBody struct + Text *string + type InviteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type LabId struct + LabName string + ResourceGroupName string + SubscriptionId string + func NewLabID(subscriptionId string, resourceGroupName string, labName string) LabId + func ParseLabID(input string) (*LabId, error) + func ParseLabIDInsensitively(input string) (*LabId, error) + func (id *LabId) FromParseResult(input resourceids.ParseResult) error + func (id LabId) ID() string + func (id LabId) Segments() []resourceids.Segment + func (id LabId) String() string + type ListByLabCompleteResult struct + Items []User + LatestHttpResponse *http.Response + type ListByLabCustomPager struct + NextLink *odata.Link + func (p *ListByLabCustomPager) NextPageLink() *odata.Link + type ListByLabOperationResponse struct + HttpResponse *http.Response + Model *[]User + OData *odata.OData + type ProvisioningState string + const ProvisioningStateCreating + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateLocked + const ProvisioningStateSucceeded + const ProvisioningStateUpdating + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type RegistrationState string + const RegistrationStateNotRegistered + const RegistrationStateRegistered + func (s *RegistrationState) UnmarshalJSON(bytes []byte) error + type ResourceOperationError struct + Action *string + Code *string + Message *string + Timestamp *string + func (o *ResourceOperationError) GetTimestampAsTime() (*time.Time, error) + func (o *ResourceOperationError) SetTimestampAsTime(input time.Time) + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *User + OData *odata.OData + Poller pollers.Poller + type User struct + Id *string + Name *string + Properties UserProperties + SystemData *systemdata.SystemData + Type *string + type UserClient struct + Client *resourcemanager.Client + func NewUserClientWithBaseURI(sdkApi sdkEnv.Api) (*UserClient, error) + func (c UserClient) CreateOrUpdate(ctx context.Context, id UserId, input User) (result CreateOrUpdateOperationResponse, err error) + func (c UserClient) CreateOrUpdateThenPoll(ctx context.Context, id UserId, input User) error + func (c UserClient) Delete(ctx context.Context, id UserId) (result DeleteOperationResponse, err error) + func (c UserClient) DeleteThenPoll(ctx context.Context, id UserId) error + func (c UserClient) Get(ctx context.Context, id UserId) (result GetOperationResponse, err error) + func (c UserClient) Invite(ctx context.Context, id UserId, input InviteBody) (result InviteOperationResponse, err error) + func (c UserClient) InviteThenPoll(ctx context.Context, id UserId, input InviteBody) error + func (c UserClient) ListByLab(ctx context.Context, id LabId) (result ListByLabOperationResponse, err error) + func (c UserClient) ListByLabComplete(ctx context.Context, id LabId) (ListByLabCompleteResult, error) + func (c UserClient) ListByLabCompleteMatchingPredicate(ctx context.Context, id LabId, predicate UserOperationPredicate) (result ListByLabCompleteResult, err error) + func (c UserClient) Update(ctx context.Context, id UserId, input UserUpdate) (result UpdateOperationResponse, err error) + func (c UserClient) UpdateThenPoll(ctx context.Context, id UserId, input UserUpdate) error + type UserId struct + LabName string + ResourceGroupName string + SubscriptionId string + UserName string + func NewUserID(subscriptionId string, resourceGroupName string, labName string, ...) UserId + func ParseUserID(input string) (*UserId, error) + func ParseUserIDInsensitively(input string) (*UserId, error) + func (id *UserId) FromParseResult(input resourceids.ParseResult) error + func (id UserId) ID() string + func (id UserId) Segments() []resourceids.Segment + func (id UserId) String() string + type UserOperationPredicate struct + Id *string + Name *string + Type *string + func (p UserOperationPredicate) Matches(input User) bool + type UserProperties struct + AdditionalUsageQuota *string + DisplayName *string + Email string + InvitationSent *string + InvitationState *InvitationState + ProvisioningState *ProvisioningState + RegistrationState *RegistrationState + ResourceOperationError *ResourceOperationError + TotalUsage *string + func (o *UserProperties) GetInvitationSentAsTime() (*time.Time, error) + func (o *UserProperties) SetInvitationSentAsTime(input time.Time) + type UserUpdate struct + Properties *UserUpdateProperties + type UserUpdateProperties struct + AdditionalUsageQuota *string