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) (result 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, ...) (result 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
func (CreateOrUpdateOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GroupContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GroupContract }
type GroupClient ¶
type GroupClient struct {
Client *resourcemanager.Client
}
func NewGroupClientWithBaseURI ¶
func NewGroupClientWithBaseURI(sdkApi sdkEnv.Api) (*GroupClient, error)
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) (result ListByServiceOperationResponse, err error)
ListByService ...
func (GroupClient) ListByServiceComplete ¶
func (c GroupClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (GroupClient) ListByServiceCompleteMatchingPredicate ¶
func (c GroupClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate GroupContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies 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) FromParseResult ¶ added in v0.20231127.1171502
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 GroupType ¶
type GroupType string
func (*GroupType) UnmarshalJSON ¶ added in v0.20230801.1071415
type GroupUpdateParameters ¶
type GroupUpdateParameters struct {
Properties *GroupUpdateParametersProperties `json:"properties,omitempty"`
}
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []GroupContract }
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
func (ListByServiceOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o ListByServiceOperationOptions) ToHeaders() *client.Headers
func (ListByServiceOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o ListByServiceOperationOptions) ToOData() *odata.Query
func (ListByServiceOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o ListByServiceOperationOptions) ToQuery() *client.QueryParams
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GroupContract }
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) FromParseResult ¶ added in v0.20231127.1171502
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
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
func (UpdateOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o UpdateOperationOptions) ToQuery() *client.QueryParams
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GroupContract }
Source Files ¶
- client.go
- constants.go
- id_group.go
- id_service.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getentitytag.go
- method_listbyservice.go
- method_update.go
- model_groupcontract.go
- model_groupcontractproperties.go
- model_groupcreateparameters.go
- model_groupcreateparametersproperties.go
- model_groupupdateparameters.go
- model_groupupdateparametersproperties.go
- predicates.go
- version.go