Documentation ¶
Index ¶
- 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
- type Confirmation
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type GroupContractProperties
- type GroupType
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type ServiceId
- type UpdateOperationOptions
- type UpdateOperationResponse
- type UserClient
- 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) (resp 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, ...) (resp ListByServiceCompleteResult, err error)
- func (c UserClient) Update(ctx context.Context, id UserId, input UserUpdateParameters, ...) (result UpdateOperationResponse, err error)
- type UserContract
- type UserContractOperationPredicate
- type UserContractProperties
- type UserCreateParameterProperties
- type UserCreateParameters
- type UserId
- type UserIdentityContract
- type UserState
- type UserUpdateParameters
- type UserUpdateParametersProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAppType ¶
func PossibleValuesForAppType() []string
func PossibleValuesForConfirmation ¶
func PossibleValuesForConfirmation() []string
func PossibleValuesForGroupType ¶
func PossibleValuesForGroupType() []string
func PossibleValuesForUserState ¶
func PossibleValuesForUserState() []string
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
func ValidateUserID ¶
ValidateUserID checks that 'input' can be parsed as a User ID
Types ¶
type Confirmation ¶
type Confirmation string
const ( ConfirmationInvite Confirmation = "invite" ConfirmationSignup Confirmation = "signup" )
type CreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *UserContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct { AppType *AppType DeleteSubscriptions *bool IfMatch *string Notify *bool }
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *UserContract }
type GroupContractProperties ¶
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []UserContract
}
type ListByServiceOperationOptions ¶
type ListByServiceOperationOptions struct { ExpandGroups *bool Filter *string Skip *int64 Top *int64 }
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response Model *[]UserContract // contains filtered or unexported fields }
func (ListByServiceOperationResponse) HasMore ¶
func (r ListByServiceOperationResponse) HasMore() bool
func (ListByServiceOperationResponse) LoadMore ¶
func (r ListByServiceOperationResponse) LoadMore(ctx context.Context) (resp ListByServiceOperationResponse, err error)
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *UserContract }
type UserClient ¶
func NewUserClientWithBaseURI ¶
func NewUserClientWithBaseURI(endpoint string) UserClient
func (UserClient) CreateOrUpdate ¶
func (c UserClient) CreateOrUpdate(ctx context.Context, id UserId, input UserCreateParameters, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (UserClient) Delete ¶
func (c UserClient) Delete(ctx context.Context, id UserId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (UserClient) Get ¶
func (c UserClient) Get(ctx context.Context, id UserId) (result GetOperationResponse, err error)
Get ...
func (UserClient) GetEntityTag ¶
func (c UserClient) GetEntityTag(ctx context.Context, id UserId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (UserClient) ListByService ¶
func (c UserClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
ListByService ...
func (UserClient) ListByServiceComplete ¶
func (c UserClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all of the results into a single object
func (UserClient) ListByServiceCompleteMatchingPredicate ¶
func (c UserClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate UserContractOperationPredicate) (resp ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (UserClient) Update ¶
func (c UserClient) Update(ctx context.Context, id UserId, input UserUpdateParameters, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type UserContract ¶
type UserContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *UserContractProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type UserContractOperationPredicate ¶
func (UserContractOperationPredicate) Matches ¶
func (p UserContractOperationPredicate) Matches(input UserContract) bool
type UserContractProperties ¶
type UserContractProperties struct { Email *string `json:"email,omitempty"` FirstName *string `json:"firstName,omitempty"` Groups *[]GroupContractProperties `json:"groups,omitempty"` Identities *[]UserIdentityContract `json:"identities,omitempty"` LastName *string `json:"lastName,omitempty"` Note *string `json:"note,omitempty"` RegistrationDate *string `json:"registrationDate,omitempty"` State *UserState `json:"state,omitempty"` }
func (*UserContractProperties) GetRegistrationDateAsTime ¶
func (o *UserContractProperties) GetRegistrationDateAsTime() (*time.Time, error)
func (*UserContractProperties) SetRegistrationDateAsTime ¶
func (o *UserContractProperties) SetRegistrationDateAsTime(input time.Time)
type UserCreateParameterProperties ¶
type UserCreateParameterProperties struct { AppType *AppType `json:"appType,omitempty"` Confirmation *Confirmation `json:"confirmation,omitempty"` Email string `json:"email"` FirstName string `json:"firstName"` Identities *[]UserIdentityContract `json:"identities,omitempty"` LastName string `json:"lastName"` Note *string `json:"note,omitempty"` Password *string `json:"password,omitempty"` State *UserState `json:"state,omitempty"` }
type UserCreateParameters ¶
type UserCreateParameters struct {
Properties *UserCreateParameterProperties `json:"properties"`
}
type UserId ¶
type UserId struct { SubscriptionId string ResourceGroupName string ServiceName string UserId string }
UserId is a struct representing the Resource ID for a User
func NewUserID ¶
func NewUserID(subscriptionId string, resourceGroupName string, serviceName string, userId 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 UserIdentityContract ¶
type UserUpdateParameters ¶
type UserUpdateParameters struct {
Properties *UserUpdateParametersProperties `json:"properties"`
}
type UserUpdateParametersProperties ¶
type UserUpdateParametersProperties struct { Email *string `json:"email,omitempty"` FirstName *string `json:"firstName,omitempty"` Identities *[]UserIdentityContract `json:"identities,omitempty"` LastName *string `json:"lastName,omitempty"` Note *string `json:"note,omitempty"` Password *string `json:"password,omitempty"` State *UserState `json:"state,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_service.go
- id_user.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_getentitytag_autorest.go
- method_listbyservice_autorest.go
- method_update_autorest.go
- model_groupcontractproperties.go
- model_usercontract.go
- model_usercontractproperties.go
- model_usercreateparameterproperties.go
- model_usercreateparameters.go
- model_useridentitycontract.go
- model_userupdateparameters.go
- model_userupdateparametersproperties.go
- predicates.go
- version.go