Documentation ¶
Index ¶
- func PossibleValuesForGroupType() []string
- func PossibleValuesForUserState() []string
- func ValidateGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateGroupUserID(input interface{}, key string) (warnings []string, errors []error)
- type CheckEntityExistsOperationResponse
- type CreateOperationResponse
- type DeleteOperationResponse
- type GroupContractProperties
- type GroupId
- type GroupType
- type GroupUserClient
- func (c GroupUserClient) CheckEntityExists(ctx context.Context, id GroupUserId) (result CheckEntityExistsOperationResponse, err error)
- func (c GroupUserClient) Create(ctx context.Context, id GroupUserId) (result CreateOperationResponse, err error)
- func (c GroupUserClient) Delete(ctx context.Context, id GroupUserId) (result DeleteOperationResponse, err error)
- func (c GroupUserClient) List(ctx context.Context, id GroupId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c GroupUserClient) ListComplete(ctx context.Context, id GroupId, options ListOperationOptions) (ListCompleteResult, error)
- func (c GroupUserClient) ListCompleteMatchingPredicate(ctx context.Context, id GroupId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type GroupUserId
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type UserContract
- type UserContractOperationPredicate
- type UserContractProperties
- type UserIdentityContract
- type UserState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForGroupType ¶
func PossibleValuesForGroupType() []string
func PossibleValuesForUserState ¶
func PossibleValuesForUserState() []string
func ValidateGroupID ¶
ValidateGroupID checks that 'input' can be parsed as a Group ID
func ValidateGroupUserID ¶
ValidateGroupUserID checks that 'input' can be parsed as a Group User ID
Types ¶
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response Model *UserContract }
type DeleteOperationResponse ¶
type GroupContractProperties ¶
type GroupId ¶
type GroupId struct { SubscriptionId string ResourceGroupName string ServiceName string GroupId string }
GroupId is a struct representing the Resource ID for a Group
func NewGroupID ¶
func NewGroupID(subscriptionId string, resourceGroupName string, serviceName string, groupId string) GroupId
NewGroupID returns a new GroupId struct
func ParseGroupID ¶
ParseGroupID parses 'input' into a GroupId
func ParseGroupIDInsensitively ¶
ParseGroupIDInsensitively parses 'input' case-insensitively into a GroupId note: this method should only be used for API response data and not user input
func (GroupId) Segments ¶
func (id GroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Group ID
type GroupUserClient ¶
func NewGroupUserClientWithBaseURI ¶
func NewGroupUserClientWithBaseURI(endpoint string) GroupUserClient
func (GroupUserClient) CheckEntityExists ¶
func (c GroupUserClient) CheckEntityExists(ctx context.Context, id GroupUserId) (result CheckEntityExistsOperationResponse, err error)
CheckEntityExists ...
func (GroupUserClient) Create ¶
func (c GroupUserClient) Create(ctx context.Context, id GroupUserId) (result CreateOperationResponse, err error)
Create ...
func (GroupUserClient) Delete ¶
func (c GroupUserClient) Delete(ctx context.Context, id GroupUserId) (result DeleteOperationResponse, err error)
Delete ...
func (GroupUserClient) List ¶
func (c GroupUserClient) List(ctx context.Context, id GroupId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (GroupUserClient) ListComplete ¶
func (c GroupUserClient) ListComplete(ctx context.Context, id GroupId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (GroupUserClient) ListCompleteMatchingPredicate ¶
func (c GroupUserClient) ListCompleteMatchingPredicate(ctx context.Context, id GroupId, options ListOperationOptions, predicate UserContractOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type GroupUserId ¶
type GroupUserId struct { SubscriptionId string ResourceGroupName string ServiceName string GroupId string UserId string }
GroupUserId is a struct representing the Resource ID for a Group User
func NewGroupUserID ¶
func NewGroupUserID(subscriptionId string, resourceGroupName string, serviceName string, groupId string, userId string) GroupUserId
NewGroupUserID returns a new GroupUserId struct
func ParseGroupUserID ¶
func ParseGroupUserID(input string) (*GroupUserId, error)
ParseGroupUserID parses 'input' into a GroupUserId
func ParseGroupUserIDInsensitively ¶
func ParseGroupUserIDInsensitively(input string) (*GroupUserId, error)
ParseGroupUserIDInsensitively parses 'input' case-insensitively into a GroupUserId note: this method should only be used for API response data and not user input
func (GroupUserId) Segments ¶
func (id GroupUserId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Group User ID
func (GroupUserId) String ¶
func (id GroupUserId) String() string
String returns a human-readable description of this Group User ID
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []UserContract
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]UserContract // 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 UserContract ¶
type UserContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *UserContractProperties `json:"properties,omitempty"` 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 UserIdentityContract ¶
Source Files ¶
- client.go
- constants.go
- id_group.go
- id_groupuser.go
- method_checkentityexists_autorest.go
- method_create_autorest.go
- method_delete_autorest.go
- method_list_autorest.go
- model_groupcontractproperties.go
- model_usercontract.go
- model_usercontractproperties.go
- model_useridentitycontract.go
- predicates.go
- version.go