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 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 ¶ added in v0.20230523.1140858
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 ¶ added in v0.20231127.1171502
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 GroupType ¶
type GroupType string
func (*GroupType) UnmarshalJSON ¶ added in v0.20230801.1071415
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 ¶ added in v0.20230523.1140858
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 ¶ added in v0.20230523.1140858
func NewGroupUserID(subscriptionId string, resourceGroupName string, serviceName string, groupId string, userId string) GroupUserId
NewGroupUserID returns a new GroupUserId struct
func ParseGroupUserID ¶ added in v0.20230523.1140858
func ParseGroupUserID(input string) (*GroupUserId, error)
ParseGroupUserID parses 'input' into a GroupUserId
func ParseGroupUserIDInsensitively ¶ added in v0.20230523.1140858
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 ¶ added in v0.20231127.1171502
func (id *GroupUserId) FromParseResult(input resourceids.ParseResult) error
func (GroupUserId) ID ¶ added in v0.20230523.1140858
func (id GroupUserId) ID() string
ID returns the formatted Group User ID
func (GroupUserId) Segments ¶ added in v0.20230523.1140858
func (id GroupUserId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Group User ID
func (GroupUserId) String ¶ added in v0.20230523.1140858
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
func (ListOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20230801.1071415
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)
type UserIdentityContract ¶
type UserState ¶
type UserState string