Documentation ¶
Index ¶
- func ValidateProductID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTagID(input interface{}, key string) (warnings []string, errors []error)
- type ProductId
- type ProductTagClient
- func (c ProductTagClient) TagAssignToProduct(ctx context.Context, id TagId) (result TagAssignToProductOperationResponse, err error)
- func (c ProductTagClient) TagDetachFromProduct(ctx context.Context, id TagId) (result TagDetachFromProductOperationResponse, err error)
- func (c ProductTagClient) TagGetByProduct(ctx context.Context, id TagId) (result TagGetByProductOperationResponse, err error)
- func (c ProductTagClient) TagGetEntityStateByProduct(ctx context.Context, id TagId) (result TagGetEntityStateByProductOperationResponse, err error)
- func (c ProductTagClient) TagListByProduct(ctx context.Context, id ProductId, options TagListByProductOperationOptions) (resp TagListByProductOperationResponse, err error)
- func (c ProductTagClient) TagListByProductComplete(ctx context.Context, id ProductId, options TagListByProductOperationOptions) (TagListByProductCompleteResult, error)
- func (c ProductTagClient) TagListByProductCompleteMatchingPredicate(ctx context.Context, id ProductId, options TagListByProductOperationOptions, ...) (resp TagListByProductCompleteResult, err error)
- type TagAssignToProductOperationResponse
- type TagContract
- type TagContractOperationPredicate
- type TagContractProperties
- type TagDetachFromProductOperationResponse
- type TagGetByProductOperationResponse
- type TagGetEntityStateByProductOperationResponse
- type TagId
- type TagListByProductCompleteResult
- type TagListByProductOperationOptions
- type TagListByProductOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateProductID ¶
ValidateProductID checks that 'input' can be parsed as a Product ID
func ValidateTagID ¶
ValidateTagID checks that 'input' can be parsed as a Tag ID
Types ¶
type ProductId ¶
type ProductId struct { SubscriptionId string ResourceGroupName string ServiceName string ProductId string }
ProductId is a struct representing the Resource ID for a Product
func NewProductID ¶
func NewProductID(subscriptionId string, resourceGroupName string, serviceName string, productId string) ProductId
NewProductID returns a new ProductId struct
func ParseProductID ¶
ParseProductID parses 'input' into a ProductId
func ParseProductIDInsensitively ¶
ParseProductIDInsensitively parses 'input' case-insensitively into a ProductId note: this method should only be used for API response data and not user input
func (ProductId) Segments ¶
func (id ProductId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Product ID
type ProductTagClient ¶
func NewProductTagClientWithBaseURI ¶
func NewProductTagClientWithBaseURI(endpoint string) ProductTagClient
func (ProductTagClient) TagAssignToProduct ¶
func (c ProductTagClient) TagAssignToProduct(ctx context.Context, id TagId) (result TagAssignToProductOperationResponse, err error)
TagAssignToProduct ...
func (ProductTagClient) TagDetachFromProduct ¶
func (c ProductTagClient) TagDetachFromProduct(ctx context.Context, id TagId) (result TagDetachFromProductOperationResponse, err error)
TagDetachFromProduct ...
func (ProductTagClient) TagGetByProduct ¶
func (c ProductTagClient) TagGetByProduct(ctx context.Context, id TagId) (result TagGetByProductOperationResponse, err error)
TagGetByProduct ...
func (ProductTagClient) TagGetEntityStateByProduct ¶
func (c ProductTagClient) TagGetEntityStateByProduct(ctx context.Context, id TagId) (result TagGetEntityStateByProductOperationResponse, err error)
TagGetEntityStateByProduct ...
func (ProductTagClient) TagListByProduct ¶
func (c ProductTagClient) TagListByProduct(ctx context.Context, id ProductId, options TagListByProductOperationOptions) (resp TagListByProductOperationResponse, err error)
TagListByProduct ...
func (ProductTagClient) TagListByProductComplete ¶
func (c ProductTagClient) TagListByProductComplete(ctx context.Context, id ProductId, options TagListByProductOperationOptions) (TagListByProductCompleteResult, error)
TagListByProductComplete retrieves all of the results into a single object
func (ProductTagClient) TagListByProductCompleteMatchingPredicate ¶
func (c ProductTagClient) TagListByProductCompleteMatchingPredicate(ctx context.Context, id ProductId, options TagListByProductOperationOptions, predicate TagContractOperationPredicate) (resp TagListByProductCompleteResult, err error)
TagListByProductCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type TagAssignToProductOperationResponse ¶
type TagAssignToProductOperationResponse struct { HttpResponse *http.Response Model *TagContract }
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 TagGetByProductOperationResponse ¶
type TagGetByProductOperationResponse struct { HttpResponse *http.Response Model *TagContract }
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 TagListByProductCompleteResult ¶
type TagListByProductCompleteResult struct {
Items []TagContract
}
type TagListByProductOperationOptions ¶
func DefaultTagListByProductOperationOptions ¶
func DefaultTagListByProductOperationOptions() TagListByProductOperationOptions
type TagListByProductOperationResponse ¶
type TagListByProductOperationResponse struct { HttpResponse *http.Response Model *[]TagContract // contains filtered or unexported fields }
func (TagListByProductOperationResponse) HasMore ¶
func (r TagListByProductOperationResponse) HasMore() bool
func (TagListByProductOperationResponse) LoadMore ¶
func (r TagListByProductOperationResponse) LoadMore(ctx context.Context) (resp TagListByProductOperationResponse, err error)
Source Files ¶
- client.go
- id_product.go
- id_tag.go
- method_tagassigntoproduct_autorest.go
- method_tagdetachfromproduct_autorest.go
- method_taggetbyproduct_autorest.go
- method_taggetentitystatebyproduct_autorest.go
- method_taglistbyproduct_autorest.go
- model_tagcontract.go
- model_tagcontractproperties.go
- predicates.go
- version.go