Documentation ¶
Index ¶
- func PossibleValuesForClientGroupProvisioningState() []string
- func ValidateClientGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)
- type ClientGroup
- type ClientGroupId
- type ClientGroupOperationPredicate
- type ClientGroupProperties
- type ClientGroupProvisioningState
- type ClientGroupsClient
- func (c ClientGroupsClient) CreateOrUpdate(ctx context.Context, id ClientGroupId, input ClientGroup) (result CreateOrUpdateOperationResponse, err error)
- func (c ClientGroupsClient) CreateOrUpdateThenPoll(ctx context.Context, id ClientGroupId, input ClientGroup) error
- func (c ClientGroupsClient) Delete(ctx context.Context, id ClientGroupId) (result DeleteOperationResponse, err error)
- func (c ClientGroupsClient) DeleteThenPoll(ctx context.Context, id ClientGroupId) error
- func (c ClientGroupsClient) Get(ctx context.Context, id ClientGroupId) (result GetOperationResponse, err error)
- func (c ClientGroupsClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (result ListByNamespaceOperationResponse, err error)
- func (c ClientGroupsClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
- func (c ClientGroupsClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, ...) (result ListByNamespaceCompleteResult, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByNamespaceCompleteResult
- type ListByNamespaceCustomPager
- type ListByNamespaceOperationOptions
- type ListByNamespaceOperationResponse
- type NamespaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForClientGroupProvisioningState ¶
func PossibleValuesForClientGroupProvisioningState() []string
func ValidateClientGroupID ¶
ValidateClientGroupID checks that 'input' can be parsed as a Client Group ID
func ValidateNamespaceID ¶
ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID
Types ¶
type ClientGroup ¶
type ClientGroup struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ClientGroupProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ClientGroupId ¶
type ClientGroupId struct { SubscriptionId string ResourceGroupName string NamespaceName string ClientGroupName string }
ClientGroupId is a struct representing the Resource ID for a Client Group
func NewClientGroupID ¶
func NewClientGroupID(subscriptionId string, resourceGroupName string, namespaceName string, clientGroupName string) ClientGroupId
NewClientGroupID returns a new ClientGroupId struct
func ParseClientGroupID ¶
func ParseClientGroupID(input string) (*ClientGroupId, error)
ParseClientGroupID parses 'input' into a ClientGroupId
func ParseClientGroupIDInsensitively ¶
func ParseClientGroupIDInsensitively(input string) (*ClientGroupId, error)
ParseClientGroupIDInsensitively parses 'input' case-insensitively into a ClientGroupId note: this method should only be used for API response data and not user input
func (*ClientGroupId) FromParseResult ¶
func (id *ClientGroupId) FromParseResult(input resourceids.ParseResult) error
func (ClientGroupId) ID ¶
func (id ClientGroupId) ID() string
ID returns the formatted Client Group ID
func (ClientGroupId) Segments ¶
func (id ClientGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Client Group ID
func (ClientGroupId) String ¶
func (id ClientGroupId) String() string
String returns a human-readable description of this Client Group ID
type ClientGroupOperationPredicate ¶
func (ClientGroupOperationPredicate) Matches ¶
func (p ClientGroupOperationPredicate) Matches(input ClientGroup) bool
type ClientGroupProperties ¶
type ClientGroupProperties struct { Description *string `json:"description,omitempty"` ProvisioningState *ClientGroupProvisioningState `json:"provisioningState,omitempty"` Query *string `json:"query,omitempty"` }
type ClientGroupProvisioningState ¶
type ClientGroupProvisioningState string
const ( ClientGroupProvisioningStateCanceled ClientGroupProvisioningState = "Canceled" ClientGroupProvisioningStateCreating ClientGroupProvisioningState = "Creating" ClientGroupProvisioningStateDeleted ClientGroupProvisioningState = "Deleted" ClientGroupProvisioningStateDeleting ClientGroupProvisioningState = "Deleting" ClientGroupProvisioningStateFailed ClientGroupProvisioningState = "Failed" ClientGroupProvisioningStateSucceeded ClientGroupProvisioningState = "Succeeded" ClientGroupProvisioningStateUpdating ClientGroupProvisioningState = "Updating" )
func (*ClientGroupProvisioningState) UnmarshalJSON ¶
func (s *ClientGroupProvisioningState) UnmarshalJSON(bytes []byte) error
type ClientGroupsClient ¶
type ClientGroupsClient struct {
Client *resourcemanager.Client
}
func NewClientGroupsClientWithBaseURI ¶
func NewClientGroupsClientWithBaseURI(sdkApi sdkEnv.Api) (*ClientGroupsClient, error)
func (ClientGroupsClient) CreateOrUpdate ¶
func (c ClientGroupsClient) CreateOrUpdate(ctx context.Context, id ClientGroupId, input ClientGroup) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ClientGroupsClient) CreateOrUpdateThenPoll ¶
func (c ClientGroupsClient) CreateOrUpdateThenPoll(ctx context.Context, id ClientGroupId, input ClientGroup) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ClientGroupsClient) Delete ¶
func (c ClientGroupsClient) Delete(ctx context.Context, id ClientGroupId) (result DeleteOperationResponse, err error)
Delete ...
func (ClientGroupsClient) DeleteThenPoll ¶
func (c ClientGroupsClient) DeleteThenPoll(ctx context.Context, id ClientGroupId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ClientGroupsClient) Get ¶
func (c ClientGroupsClient) Get(ctx context.Context, id ClientGroupId) (result GetOperationResponse, err error)
Get ...
func (ClientGroupsClient) ListByNamespace ¶
func (c ClientGroupsClient) ListByNamespace(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (result ListByNamespaceOperationResponse, err error)
ListByNamespace ...
func (ClientGroupsClient) ListByNamespaceComplete ¶
func (c ClientGroupsClient) ListByNamespaceComplete(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions) (ListByNamespaceCompleteResult, error)
ListByNamespaceComplete retrieves all the results into a single object
func (ClientGroupsClient) ListByNamespaceCompleteMatchingPredicate ¶
func (c ClientGroupsClient) ListByNamespaceCompleteMatchingPredicate(ctx context.Context, id NamespaceId, options ListByNamespaceOperationOptions, predicate ClientGroupOperationPredicate) (result ListByNamespaceCompleteResult, err error)
ListByNamespaceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ClientGroup }
type ListByNamespaceCompleteResult ¶
type ListByNamespaceCompleteResult struct { LatestHttpResponse *http.Response Items []ClientGroup }
type ListByNamespaceCustomPager ¶ added in v0.20240628.1153531
func (*ListByNamespaceCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByNamespaceCustomPager) NextPageLink() *odata.Link
type ListByNamespaceOperationOptions ¶
func DefaultListByNamespaceOperationOptions ¶
func DefaultListByNamespaceOperationOptions() ListByNamespaceOperationOptions
func (ListByNamespaceOperationOptions) ToHeaders ¶
func (o ListByNamespaceOperationOptions) ToHeaders() *client.Headers
func (ListByNamespaceOperationOptions) ToOData ¶
func (o ListByNamespaceOperationOptions) ToOData() *odata.Query
func (ListByNamespaceOperationOptions) ToQuery ¶
func (o ListByNamespaceOperationOptions) ToQuery() *client.QueryParams
type ListByNamespaceOperationResponse ¶
type ListByNamespaceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ClientGroup }
type NamespaceId ¶
NamespaceId is a struct representing the Resource ID for a Namespace
func NewNamespaceID ¶
func NewNamespaceID(subscriptionId string, resourceGroupName string, namespaceName string) NamespaceId
NewNamespaceID returns a new NamespaceId struct
func ParseNamespaceID ¶
func ParseNamespaceID(input string) (*NamespaceId, error)
ParseNamespaceID parses 'input' into a NamespaceId
func ParseNamespaceIDInsensitively ¶
func ParseNamespaceIDInsensitively(input string) (*NamespaceId, error)
ParseNamespaceIDInsensitively parses 'input' case-insensitively into a NamespaceId note: this method should only be used for API response data and not user input
func (*NamespaceId) FromParseResult ¶
func (id *NamespaceId) FromParseResult(input resourceids.ParseResult) error
func (NamespaceId) Segments ¶
func (id NamespaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Namespace ID
func (NamespaceId) String ¶
func (id NamespaceId) String() string
String returns a human-readable description of this Namespace ID