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 ListCustomPager
- 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 ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []GroupContract }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
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 *[]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) FromParseResult ¶
func (id *UserId) FromParseResult(input resourceids.ParseResult) error
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.