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) (result 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, ...) (result ListCompleteResult, err error)
- type GroupUserId
- type ListCompleteResult
- type ListCustomPager
- 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 OData *odata.OData 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) FromParseResult ¶
func (id *GroupId) FromParseResult(input resourceids.ParseResult) error
func (GroupId) Segments ¶
func (id GroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Group ID
type GroupUserClient ¶
type GroupUserClient struct {
Client *resourcemanager.Client
}
func NewGroupUserClientWithBaseURI ¶
func NewGroupUserClientWithBaseURI(sdkApi sdkEnv.Api) (*GroupUserClient, error)
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) (result ListOperationResponse, err error)
List ...
func (GroupUserClient) ListComplete ¶
func (c GroupUserClient) ListComplete(ctx context.Context, id GroupId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (GroupUserClient) ListCompleteMatchingPredicate ¶
func (c GroupUserClient) ListCompleteMatchingPredicate(ctx context.Context, id GroupId, options ListOperationOptions, predicate UserContractOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies 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) FromParseResult ¶
func (id *GroupUserId) FromParseResult(input resourceids.ParseResult) error
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 { LatestHttpResponse *http.Response Items []UserContract }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]UserContract }
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)