Documentation ¶
Index ¶
- func PossibleValuesForGroupType() []string
- func ValidateGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type GroupClient
- func (c GroupClient) CreateOrUpdate(ctx context.Context, id GroupId, input GroupCreateParameters, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c GroupClient) Delete(ctx context.Context, id GroupId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c GroupClient) Get(ctx context.Context, id GroupId) (result GetOperationResponse, err error)
- func (c GroupClient) GetEntityTag(ctx context.Context, id GroupId) (result GetEntityTagOperationResponse, err error)
- func (c GroupClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
- func (c GroupClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c GroupClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (resp ListByServiceCompleteResult, err error)
- func (c GroupClient) Update(ctx context.Context, id GroupId, input GroupUpdateParameters, ...) (result UpdateOperationResponse, err error)
- type GroupContract
- type GroupContractOperationPredicate
- type GroupContractProperties
- type GroupCreateParameters
- type GroupCreateParametersProperties
- type GroupId
- type GroupType
- type GroupUpdateParameters
- type GroupUpdateParametersProperties
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type ServiceId
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForGroupType ¶
func PossibleValuesForGroupType() []string
func ValidateGroupID ¶
ValidateGroupID checks that 'input' can be parsed as a Group ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *GroupContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *GroupContract }
type GroupClient ¶
func NewGroupClientWithBaseURI ¶
func NewGroupClientWithBaseURI(endpoint string) GroupClient
func (GroupClient) CreateOrUpdate ¶
func (c GroupClient) CreateOrUpdate(ctx context.Context, id GroupId, input GroupCreateParameters, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GroupClient) Delete ¶
func (c GroupClient) Delete(ctx context.Context, id GroupId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (GroupClient) Get ¶
func (c GroupClient) Get(ctx context.Context, id GroupId) (result GetOperationResponse, err error)
Get ...
func (GroupClient) GetEntityTag ¶
func (c GroupClient) GetEntityTag(ctx context.Context, id GroupId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (GroupClient) ListByService ¶
func (c GroupClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
ListByService ...
func (GroupClient) ListByServiceComplete ¶
func (c GroupClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all of the results into a single object
func (GroupClient) ListByServiceCompleteMatchingPredicate ¶
func (c GroupClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate GroupContractOperationPredicate) (resp ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (GroupClient) Update ¶
func (c GroupClient) Update(ctx context.Context, id GroupId, input GroupUpdateParameters, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
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 GroupCreateParameters ¶
type GroupCreateParameters struct {
Properties *GroupCreateParametersProperties `json:"properties,omitempty"`
}
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) Segments ¶
func (id GroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Group ID
type GroupUpdateParameters ¶
type GroupUpdateParameters struct {
Properties *GroupUpdateParametersProperties `json:"properties,omitempty"`
}
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []GroupContract
}
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response Model *[]GroupContract // contains filtered or unexported fields }
func (ListByServiceOperationResponse) HasMore ¶
func (r ListByServiceOperationResponse) HasMore() bool
func (ListByServiceOperationResponse) LoadMore ¶
func (r ListByServiceOperationResponse) LoadMore(ctx context.Context) (resp ListByServiceOperationResponse, err error)
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *GroupContract }
Source Files ¶
- client.go
- constants.go
- id_group.go
- id_service.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_getentitytag_autorest.go
- method_listbyservice_autorest.go
- method_update_autorest.go
- model_groupcontract.go
- model_groupcontractproperties.go
- model_groupcreateparameters.go
- model_groupcreateparametersproperties.go
- model_groupupdateparameters.go
- model_groupupdateparametersproperties.go
- predicates.go
- version.go