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)
- func ValidateWorkspaceGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceGroupUserID(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)
- func (c GroupUserClient) WorkspaceGroupUserCheckEntityExists(ctx context.Context, id WorkspaceGroupUserId) (result WorkspaceGroupUserCheckEntityExistsOperationResponse, err error)
- func (c GroupUserClient) WorkspaceGroupUserCreate(ctx context.Context, id WorkspaceGroupUserId) (result WorkspaceGroupUserCreateOperationResponse, err error)
- func (c GroupUserClient) WorkspaceGroupUserDelete(ctx context.Context, id WorkspaceGroupUserId) (result WorkspaceGroupUserDeleteOperationResponse, err error)
- func (c GroupUserClient) WorkspaceGroupUserList(ctx context.Context, id WorkspaceGroupId, ...) (result WorkspaceGroupUserListOperationResponse, err error)
- func (c GroupUserClient) WorkspaceGroupUserListComplete(ctx context.Context, id WorkspaceGroupId, ...) (WorkspaceGroupUserListCompleteResult, error)
- func (c GroupUserClient) WorkspaceGroupUserListCompleteMatchingPredicate(ctx context.Context, id WorkspaceGroupId, ...) (result WorkspaceGroupUserListCompleteResult, err error)
- type GroupUserId
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type UserContract
- type UserContractOperationPredicate
- type UserContractProperties
- type UserIdentityContract
- type UserState
- type WorkspaceGroupId
- type WorkspaceGroupUserCheckEntityExistsOperationResponse
- type WorkspaceGroupUserCreateOperationResponse
- type WorkspaceGroupUserDeleteOperationResponse
- type WorkspaceGroupUserId
- type WorkspaceGroupUserListCompleteResult
- type WorkspaceGroupUserListCustomPager
- type WorkspaceGroupUserListOperationOptions
- type WorkspaceGroupUserListOperationResponse
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
func ValidateWorkspaceGroupID ¶
ValidateWorkspaceGroupID checks that 'input' can be parsed as a Workspace Group ID
func ValidateWorkspaceGroupUserID ¶
func ValidateWorkspaceGroupUserID(input interface{}, key string) (warnings []string, errors []error)
ValidateWorkspaceGroupUserID checks that 'input' can be parsed as a Workspace 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
func (GroupUserClient) WorkspaceGroupUserCheckEntityExists ¶
func (c GroupUserClient) WorkspaceGroupUserCheckEntityExists(ctx context.Context, id WorkspaceGroupUserId) (result WorkspaceGroupUserCheckEntityExistsOperationResponse, err error)
WorkspaceGroupUserCheckEntityExists ...
func (GroupUserClient) WorkspaceGroupUserCreate ¶
func (c GroupUserClient) WorkspaceGroupUserCreate(ctx context.Context, id WorkspaceGroupUserId) (result WorkspaceGroupUserCreateOperationResponse, err error)
WorkspaceGroupUserCreate ...
func (GroupUserClient) WorkspaceGroupUserDelete ¶
func (c GroupUserClient) WorkspaceGroupUserDelete(ctx context.Context, id WorkspaceGroupUserId) (result WorkspaceGroupUserDeleteOperationResponse, err error)
WorkspaceGroupUserDelete ...
func (GroupUserClient) WorkspaceGroupUserList ¶
func (c GroupUserClient) WorkspaceGroupUserList(ctx context.Context, id WorkspaceGroupId, options WorkspaceGroupUserListOperationOptions) (result WorkspaceGroupUserListOperationResponse, err error)
WorkspaceGroupUserList ...
func (GroupUserClient) WorkspaceGroupUserListComplete ¶
func (c GroupUserClient) WorkspaceGroupUserListComplete(ctx context.Context, id WorkspaceGroupId, options WorkspaceGroupUserListOperationOptions) (WorkspaceGroupUserListCompleteResult, error)
WorkspaceGroupUserListComplete retrieves all the results into a single object
func (GroupUserClient) WorkspaceGroupUserListCompleteMatchingPredicate ¶
func (c GroupUserClient) WorkspaceGroupUserListCompleteMatchingPredicate(ctx context.Context, id WorkspaceGroupId, options WorkspaceGroupUserListOperationOptions, predicate UserContractOperationPredicate) (result WorkspaceGroupUserListCompleteResult, err error)
WorkspaceGroupUserListCompleteMatchingPredicate 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 ¶
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 *[]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 WorkspaceGroupId ¶
type WorkspaceGroupId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string GroupId string }
WorkspaceGroupId is a struct representing the Resource ID for a Workspace Group
func NewWorkspaceGroupID ¶
func NewWorkspaceGroupID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string, groupId string) WorkspaceGroupId
NewWorkspaceGroupID returns a new WorkspaceGroupId struct
func ParseWorkspaceGroupID ¶
func ParseWorkspaceGroupID(input string) (*WorkspaceGroupId, error)
ParseWorkspaceGroupID parses 'input' into a WorkspaceGroupId
func ParseWorkspaceGroupIDInsensitively ¶
func ParseWorkspaceGroupIDInsensitively(input string) (*WorkspaceGroupId, error)
ParseWorkspaceGroupIDInsensitively parses 'input' case-insensitively into a WorkspaceGroupId note: this method should only be used for API response data and not user input
func (*WorkspaceGroupId) FromParseResult ¶
func (id *WorkspaceGroupId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceGroupId) ID ¶
func (id WorkspaceGroupId) ID() string
ID returns the formatted Workspace Group ID
func (WorkspaceGroupId) Segments ¶
func (id WorkspaceGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace Group ID
func (WorkspaceGroupId) String ¶
func (id WorkspaceGroupId) String() string
String returns a human-readable description of this Workspace Group ID
type WorkspaceGroupUserCreateOperationResponse ¶
type WorkspaceGroupUserCreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *UserContract }
type WorkspaceGroupUserId ¶
type WorkspaceGroupUserId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string GroupId string UserId string }
WorkspaceGroupUserId is a struct representing the Resource ID for a Workspace Group User
func NewWorkspaceGroupUserID ¶
func NewWorkspaceGroupUserID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string, groupId string, userId string) WorkspaceGroupUserId
NewWorkspaceGroupUserID returns a new WorkspaceGroupUserId struct
func ParseWorkspaceGroupUserID ¶
func ParseWorkspaceGroupUserID(input string) (*WorkspaceGroupUserId, error)
ParseWorkspaceGroupUserID parses 'input' into a WorkspaceGroupUserId
func ParseWorkspaceGroupUserIDInsensitively ¶
func ParseWorkspaceGroupUserIDInsensitively(input string) (*WorkspaceGroupUserId, error)
ParseWorkspaceGroupUserIDInsensitively parses 'input' case-insensitively into a WorkspaceGroupUserId note: this method should only be used for API response data and not user input
func (*WorkspaceGroupUserId) FromParseResult ¶
func (id *WorkspaceGroupUserId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceGroupUserId) ID ¶
func (id WorkspaceGroupUserId) ID() string
ID returns the formatted Workspace Group User ID
func (WorkspaceGroupUserId) Segments ¶
func (id WorkspaceGroupUserId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace Group User ID
func (WorkspaceGroupUserId) String ¶
func (id WorkspaceGroupUserId) String() string
String returns a human-readable description of this Workspace Group User ID
type WorkspaceGroupUserListCompleteResult ¶
type WorkspaceGroupUserListCompleteResult struct { LatestHttpResponse *http.Response Items []UserContract }
type WorkspaceGroupUserListCustomPager ¶
func (*WorkspaceGroupUserListCustomPager) NextPageLink ¶
func (p *WorkspaceGroupUserListCustomPager) NextPageLink() *odata.Link
type WorkspaceGroupUserListOperationOptions ¶
func DefaultWorkspaceGroupUserListOperationOptions ¶
func DefaultWorkspaceGroupUserListOperationOptions() WorkspaceGroupUserListOperationOptions
func (WorkspaceGroupUserListOperationOptions) ToHeaders ¶
func (o WorkspaceGroupUserListOperationOptions) ToHeaders() *client.Headers
func (WorkspaceGroupUserListOperationOptions) ToOData ¶
func (o WorkspaceGroupUserListOperationOptions) ToOData() *odata.Query
func (WorkspaceGroupUserListOperationOptions) ToQuery ¶
func (o WorkspaceGroupUserListOperationOptions) ToQuery() *client.QueryParams
type WorkspaceGroupUserListOperationResponse ¶
type WorkspaceGroupUserListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]UserContract }
Source Files ¶
- client.go
- constants.go
- id_group.go
- id_groupuser.go
- id_workspacegroup.go
- id_workspacegroupuser.go
- method_checkentityexists.go
- method_create.go
- method_delete.go
- method_list.go
- method_workspacegroupusercheckentityexists.go
- method_workspacegroupusercreate.go
- method_workspacegroupuserdelete.go
- method_workspacegroupuserlist.go
- model_groupcontractproperties.go
- model_usercontract.go
- model_usercontractproperties.go
- model_useridentitycontract.go
- predicates.go
- version.go