Documentation ¶
Index ¶
- func PossibleValuesForGroupType() []string
- func ValidateUserID(input interface{}, key string) (warnings []string, errors []error)
- type GroupContract
- type GroupContractOperationPredicate
- type GroupContractProperties
- type GroupType
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type UserGroupClient
- func (c UserGroupClient) List(ctx context.Context, id UserId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c UserGroupClient) ListComplete(ctx context.Context, id UserId, options ListOperationOptions) (ListCompleteResult, error)
- func (c UserGroupClient) ListCompleteMatchingPredicate(ctx context.Context, id UserId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type UserId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForGroupType ¶
func PossibleValuesForGroupType() []string
func ValidateUserID ¶
ValidateUserID checks that 'input' can be parsed as a User ID
Types ¶
type GroupContract ¶
type GroupContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *GroupContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type GroupContractOperationPredicate ¶
func (GroupContractOperationPredicate) Matches ¶
func (p GroupContractOperationPredicate) Matches(input GroupContract) bool
type GroupContractProperties ¶
type GroupType ¶
type GroupType string
func (*GroupType) UnmarshalJSON ¶ added in v0.20230801.1071415
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []GroupContract
}
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 *[]GroupContract }
type UserGroupClient ¶
type UserGroupClient struct {
Client *resourcemanager.Client
}
func NewUserGroupClientWithBaseURI ¶
func NewUserGroupClientWithBaseURI(sdkApi sdkEnv.Api) (*UserGroupClient, error)
func (UserGroupClient) List ¶
func (c UserGroupClient) List(ctx context.Context, id UserId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (UserGroupClient) ListComplete ¶
func (c UserGroupClient) ListComplete(ctx context.Context, id UserId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (UserGroupClient) ListCompleteMatchingPredicate ¶
func (c UserGroupClient) ListCompleteMatchingPredicate(ctx context.Context, id UserId, options ListOperationOptions, predicate GroupContractOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
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
Click to show internal directories.
Click to hide internal directories.