Documentation
¶
Index ¶
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTagID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityStateOperationResponse
- type GetOperationResponse
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type ServiceId
- type TagClient
- func (c TagClient) CreateOrUpdate(ctx context.Context, id TagId, input TagCreateUpdateParameters, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c TagClient) Delete(ctx context.Context, id TagId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c TagClient) Get(ctx context.Context, id TagId) (result GetOperationResponse, err error)
- func (c TagClient) GetEntityState(ctx context.Context, id TagId) (result GetEntityStateOperationResponse, err error)
- func (c TagClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
- func (c TagClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c TagClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (resp ListByServiceCompleteResult, err error)
- func (c TagClient) Update(ctx context.Context, id TagId, input TagCreateUpdateParameters, ...) (result UpdateOperationResponse, err error)
- type TagContract
- type TagContractOperationPredicate
- type TagContractProperties
- type TagCreateUpdateParameters
- type TagId
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
func ValidateTagID ¶
ValidateTagID checks that 'input' can be parsed as a Tag ID
Types ¶
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *TagContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *TagContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []TagContract
}
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response Model *[]TagContract // 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 TagClient ¶
func NewTagClientWithBaseURI ¶
func (TagClient) CreateOrUpdate ¶
func (c TagClient) CreateOrUpdate(ctx context.Context, id TagId, input TagCreateUpdateParameters, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (TagClient) Delete ¶
func (c TagClient) Delete(ctx context.Context, id TagId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (TagClient) GetEntityState ¶
func (c TagClient) GetEntityState(ctx context.Context, id TagId) (result GetEntityStateOperationResponse, err error)
GetEntityState ...
func (TagClient) ListByService ¶
func (c TagClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
ListByService ...
func (TagClient) ListByServiceComplete ¶
func (c TagClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all of the results into a single object
func (TagClient) ListByServiceCompleteMatchingPredicate ¶
func (c TagClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate TagContractOperationPredicate) (resp ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (TagClient) Update ¶
func (c TagClient) Update(ctx context.Context, id TagId, input TagCreateUpdateParameters, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type TagContract ¶
type TagContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *TagContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type TagContractOperationPredicate ¶
func (TagContractOperationPredicate) Matches ¶
func (p TagContractOperationPredicate) Matches(input TagContract) bool
type TagContractProperties ¶
type TagContractProperties struct {
DisplayName string `json:"displayName"`
}
type TagCreateUpdateParameters ¶
type TagCreateUpdateParameters struct {
Properties *TagContractProperties `json:"properties,omitempty"`
}
type TagId ¶
type TagId struct { SubscriptionId string ResourceGroupName string ServiceName string TagId string }
TagId is a struct representing the Resource ID for a Tag
func NewTagID ¶
func NewTagID(subscriptionId string, resourceGroupName string, serviceName string, tagId string) TagId
NewTagID returns a new TagId struct
func ParseTagID ¶
ParseTagID parses 'input' into a TagId
func ParseTagIDInsensitively ¶
ParseTagIDInsensitively parses 'input' case-insensitively into a TagId note: this method should only be used for API response data and not user input
func (TagId) Segments ¶
func (id TagId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Tag ID
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *TagContract }
Source Files
¶
- client.go
- id_service.go
- id_tag.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_getentitystate_autorest.go
- method_listbyservice_autorest.go
- method_update_autorest.go
- model_tagcontract.go
- model_tagcontractproperties.go
- model_tagcreateupdateparameters.go
- predicates.go
- version.go