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 PossibleValuesForAppType() []string + func PossibleValuesForConfirmation() []string + func PossibleValuesForGroupType() []string + func PossibleValuesForUserState() []string + func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error) + func ValidateUserID(input interface{}, key string) (warnings []string, errors []error) + type AppType string + const AppTypeDeveloperPortal + const AppTypePortal + func (s *AppType) UnmarshalJSON(bytes []byte) error + type Confirmation string + const ConfirmationInvite + const ConfirmationSignup + func (s *Confirmation) UnmarshalJSON(bytes []byte) error + type CreateOrUpdateOperationOptions struct + IfMatch *string + Notify *bool + func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions + func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers + func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query + func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *UserContract + OData *odata.OData + type DeleteOperationOptions struct + AppType *AppType + DeleteSubscriptions *bool + IfMatch *string + Notify *bool + func DefaultDeleteOperationOptions() DeleteOperationOptions + func (o DeleteOperationOptions) ToHeaders() *client.Headers + func (o DeleteOperationOptions) ToOData() *odata.Query + func (o DeleteOperationOptions) ToQuery() *client.QueryParams + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type GetEntityTagOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *UserContract + OData *odata.OData + type GroupContractProperties struct + BuiltIn *bool + Description *string + DisplayName string + ExternalId *string + Type *GroupType + type GroupType string + const GroupTypeCustom + const GroupTypeExternal + const GroupTypeSystem + func (s *GroupType) UnmarshalJSON(bytes []byte) error + type ListByServiceCompleteResult struct + Items []UserContract + LatestHttpResponse *http.Response + type ListByServiceCustomPager struct + NextLink *odata.Link + func (p *ListByServiceCustomPager) NextPageLink() *odata.Link + type ListByServiceOperationOptions struct + ExpandGroups *bool + Filter *string + Skip *int64 + Top *int64 + func DefaultListByServiceOperationOptions() ListByServiceOperationOptions + func (o ListByServiceOperationOptions) ToHeaders() *client.Headers + func (o ListByServiceOperationOptions) ToOData() *odata.Query + func (o ListByServiceOperationOptions) ToQuery() *client.QueryParams + type ListByServiceOperationResponse struct + HttpResponse *http.Response + Model *[]UserContract + OData *odata.OData + type ServiceId struct + ResourceGroupName string + ServiceName string + SubscriptionId string + func NewServiceID(subscriptionId string, resourceGroupName string, serviceName string) ServiceId + func ParseServiceID(input string) (*ServiceId, error) + func ParseServiceIDInsensitively(input string) (*ServiceId, error) + func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error + func (id ServiceId) ID() string + func (id ServiceId) Segments() []resourceids.Segment + func (id ServiceId) String() string + type UpdateOperationOptions struct + IfMatch *string + func DefaultUpdateOperationOptions() UpdateOperationOptions + func (o UpdateOperationOptions) ToHeaders() *client.Headers + func (o UpdateOperationOptions) ToOData() *odata.Query + func (o UpdateOperationOptions) ToQuery() *client.QueryParams + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *UserContract + OData *odata.OData + type UserClient struct + Client *resourcemanager.Client + func NewUserClientWithBaseURI(sdkApi sdkEnv.Api) (*UserClient, error) + func (c UserClient) CreateOrUpdate(ctx context.Context, id UserId, input UserCreateParameters, ...) (result CreateOrUpdateOperationResponse, err error) + func (c UserClient) Delete(ctx context.Context, id UserId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) + func (c UserClient) Get(ctx context.Context, id UserId) (result GetOperationResponse, err error) + func (c UserClient) GetEntityTag(ctx context.Context, id UserId) (result GetEntityTagOperationResponse, err error) + func (c UserClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error) + func (c UserClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error) + func (c UserClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error) + func (c UserClient) Update(ctx context.Context, id UserId, input UserUpdateParameters, ...) (result UpdateOperationResponse, err error) + type UserContract struct + Id *string + Name *string + Properties *UserContractProperties + Type *string + type UserContractOperationPredicate struct + Id *string + Name *string + Type *string + func (p UserContractOperationPredicate) Matches(input UserContract) bool + type UserContractProperties struct + Email *string + FirstName *string + Groups *[]GroupContractProperties + Identities *[]UserIdentityContract + LastName *string + Note *string + RegistrationDate *string + State *UserState + func (o *UserContractProperties) GetRegistrationDateAsTime() (*time.Time, error) + func (o *UserContractProperties) SetRegistrationDateAsTime(input time.Time) + type UserCreateParameterProperties struct + AppType *AppType + Confirmation *Confirmation + Email string + FirstName string + Identities *[]UserIdentityContract + LastName string + Note *string + Password *string + State *UserState + type UserCreateParameters struct + Properties *UserCreateParameterProperties + type UserId struct + ResourceGroupName string + ServiceName string + SubscriptionId string + UserId string + func NewUserID(subscriptionId string, resourceGroupName string, serviceName 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 UserIdentityContract struct + Id *string + Provider *string + type UserState string + const UserStateActive + const UserStateBlocked + const UserStateDeleted + const UserStatePending + func (s *UserState) UnmarshalJSON(bytes []byte) error + type UserUpdateParameters struct + Properties *UserUpdateParametersProperties + type UserUpdateParametersProperties struct + Email *string + FirstName *string + Identities *[]UserIdentityContract + LastName *string + Note *string + Password *string + State *UserState