Documentation
¶
Index ¶
- func PossibleValuesForTagsPatchOperation() []string
- func ValidateTagNameID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTagValueID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateAtScopeOperationResponse
- type CreateOrUpdateOperationResponse
- type CreateOrUpdateValueOperationResponse
- type DeleteAtScopeOperationResponse
- type DeleteOperationResponse
- type DeleteValueOperationResponse
- type GetAtScopeOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type TagCount
- type TagDetails
- type TagDetailsOperationPredicate
- type TagNameId
- type TagValue
- type TagValueId
- type Tags
- type TagsClient
- func (c TagsClient) CreateOrUpdate(ctx context.Context, id TagNameId) (result CreateOrUpdateOperationResponse, err error)
- func (c TagsClient) CreateOrUpdateAtScope(ctx context.Context, id commonids.ScopeId, input TagsResource) (result CreateOrUpdateAtScopeOperationResponse, err error)
- func (c TagsClient) CreateOrUpdateValue(ctx context.Context, id TagValueId) (result CreateOrUpdateValueOperationResponse, err error)
- func (c TagsClient) Delete(ctx context.Context, id TagNameId) (result DeleteOperationResponse, err error)
- func (c TagsClient) DeleteAtScope(ctx context.Context, id commonids.ScopeId) (result DeleteAtScopeOperationResponse, err error)
- func (c TagsClient) DeleteValue(ctx context.Context, id TagValueId) (result DeleteValueOperationResponse, err error)
- func (c TagsClient) GetAtScope(ctx context.Context, id commonids.ScopeId) (result GetAtScopeOperationResponse, err error)
- func (c TagsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c TagsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c TagsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
- func (c TagsClient) UpdateAtScope(ctx context.Context, id commonids.ScopeId, input TagsPatchResource) (result UpdateAtScopeOperationResponse, err error)
- type TagsPatchOperation
- type TagsPatchResource
- type TagsResource
- type UpdateAtScopeOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForTagsPatchOperation ¶
func PossibleValuesForTagsPatchOperation() []string
func ValidateTagNameID ¶
ValidateTagNameID checks that 'input' can be parsed as a Tag Name ID
func ValidateTagValueID ¶
ValidateTagValueID checks that 'input' can be parsed as a Tag Value ID
Types ¶
type CreateOrUpdateAtScopeOperationResponse ¶
type CreateOrUpdateAtScopeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagsResource }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagDetails }
type DeleteOperationResponse ¶
type GetAtScopeOperationResponse ¶
type GetAtScopeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagsResource }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []TagDetails }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TagDetails }
type TagDetails ¶
type TagDetailsOperationPredicate ¶
func (TagDetailsOperationPredicate) Matches ¶
func (p TagDetailsOperationPredicate) Matches(input TagDetails) bool
type TagNameId ¶
TagNameId is a struct representing the Resource ID for a Tag Name
func NewTagNameID ¶
NewTagNameID returns a new TagNameId struct
func ParseTagNameID ¶
ParseTagNameID parses 'input' into a TagNameId
func ParseTagNameIDInsensitively ¶
ParseTagNameIDInsensitively parses 'input' case-insensitively into a TagNameId note: this method should only be used for API response data and not user input
func (*TagNameId) FromParseResult ¶
func (id *TagNameId) FromParseResult(input resourceids.ParseResult) error
func (TagNameId) Segments ¶
func (id TagNameId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Tag Name ID
type TagValueId ¶
TagValueId is a struct representing the Resource ID for a Tag Value
func NewTagValueID ¶
func NewTagValueID(subscriptionId string, tagName string, tagValueName string) TagValueId
NewTagValueID returns a new TagValueId struct
func ParseTagValueID ¶
func ParseTagValueID(input string) (*TagValueId, error)
ParseTagValueID parses 'input' into a TagValueId
func ParseTagValueIDInsensitively ¶
func ParseTagValueIDInsensitively(input string) (*TagValueId, error)
ParseTagValueIDInsensitively parses 'input' case-insensitively into a TagValueId note: this method should only be used for API response data and not user input
func (*TagValueId) FromParseResult ¶
func (id *TagValueId) FromParseResult(input resourceids.ParseResult) error
func (TagValueId) Segments ¶
func (id TagValueId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Tag Value ID
func (TagValueId) String ¶
func (id TagValueId) String() string
String returns a human-readable description of this Tag Value ID
type TagsClient ¶
type TagsClient struct {
Client *resourcemanager.Client
}
func NewTagsClientWithBaseURI ¶
func NewTagsClientWithBaseURI(sdkApi sdkEnv.Api) (*TagsClient, error)
func (TagsClient) CreateOrUpdate ¶
func (c TagsClient) CreateOrUpdate(ctx context.Context, id TagNameId) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (TagsClient) CreateOrUpdateAtScope ¶
func (c TagsClient) CreateOrUpdateAtScope(ctx context.Context, id commonids.ScopeId, input TagsResource) (result CreateOrUpdateAtScopeOperationResponse, err error)
CreateOrUpdateAtScope ...
func (TagsClient) CreateOrUpdateValue ¶
func (c TagsClient) CreateOrUpdateValue(ctx context.Context, id TagValueId) (result CreateOrUpdateValueOperationResponse, err error)
CreateOrUpdateValue ...
func (TagsClient) Delete ¶
func (c TagsClient) Delete(ctx context.Context, id TagNameId) (result DeleteOperationResponse, err error)
Delete ...
func (TagsClient) DeleteAtScope ¶
func (c TagsClient) DeleteAtScope(ctx context.Context, id commonids.ScopeId) (result DeleteAtScopeOperationResponse, err error)
DeleteAtScope ...
func (TagsClient) DeleteValue ¶
func (c TagsClient) DeleteValue(ctx context.Context, id TagValueId) (result DeleteValueOperationResponse, err error)
DeleteValue ...
func (TagsClient) GetAtScope ¶
func (c TagsClient) GetAtScope(ctx context.Context, id commonids.ScopeId) (result GetAtScopeOperationResponse, err error)
GetAtScope ...
func (TagsClient) List ¶
func (c TagsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (TagsClient) ListComplete ¶
func (c TagsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (TagsClient) ListCompleteMatchingPredicate ¶
func (c TagsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate TagDetailsOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TagsClient) UpdateAtScope ¶
func (c TagsClient) UpdateAtScope(ctx context.Context, id commonids.ScopeId, input TagsPatchResource) (result UpdateAtScopeOperationResponse, err error)
UpdateAtScope ...
type TagsPatchOperation ¶
type TagsPatchOperation string
const ( TagsPatchOperationDelete TagsPatchOperation = "Delete" TagsPatchOperationMerge TagsPatchOperation = "Merge" TagsPatchOperationReplace TagsPatchOperation = "Replace" )
func (*TagsPatchOperation) UnmarshalJSON ¶
func (s *TagsPatchOperation) UnmarshalJSON(bytes []byte) error
type TagsPatchResource ¶
type TagsPatchResource struct { Operation *TagsPatchOperation `json:"operation,omitempty"` Properties *Tags `json:"properties,omitempty"` }
type TagsResource ¶
type UpdateAtScopeOperationResponse ¶
type UpdateAtScopeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagsResource }
Source Files
¶
- client.go
- constants.go
- id_tagname.go
- id_tagvalue.go
- method_createorupdate.go
- method_createorupdateatscope.go
- method_createorupdatevalue.go
- method_delete.go
- method_deleteatscope.go
- method_deletevalue.go
- method_getatscope.go
- method_list.go
- method_updateatscope.go
- model_tagcount.go
- model_tagdetails.go
- model_tags.go
- model_tagspatchresource.go
- model_tagsresource.go
- model_tagvalue.go
- predicates.go
- version.go