Documentation ¶
Index ¶
- func ValidateTagNameID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTagValueID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type CreateOrUpdateValueOperationResponse
- type DeleteOperationResponse
- type DeleteValueOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type TagCount
- type TagDetails
- type TagDetailsOperationPredicate
- type TagNameId
- type TagValue
- type TagValueId
- type TagsClient
- func (c TagsClient) CreateOrUpdate(ctx context.Context, id TagNameId) (result CreateOrUpdateOperationResponse, 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) DeleteValue(ctx context.Context, id TagValueId) (result DeleteValueOperationResponse, 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagDetails }
type DeleteOperationResponse ¶
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []TagDetails }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
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) 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) DeleteValue ¶
func (c TagsClient) DeleteValue(ctx context.Context, id TagValueId) (result DeleteValueOperationResponse, err error)
DeleteValue ...
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