Documentation ¶
Index ¶
- func ValidateProductID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProductTagID(input interface{}, key string) (warnings []string, errors []error)
- type ProductId
- type ProductTagClient
- func (c ProductTagClient) TagAssignToProduct(ctx context.Context, id ProductTagId) (result TagAssignToProductOperationResponse, err error)
- func (c ProductTagClient) TagDetachFromProduct(ctx context.Context, id ProductTagId) (result TagDetachFromProductOperationResponse, err error)
- func (c ProductTagClient) TagGetByProduct(ctx context.Context, id ProductTagId) (result TagGetByProductOperationResponse, err error)
- func (c ProductTagClient) TagGetEntityStateByProduct(ctx context.Context, id ProductTagId) (result TagGetEntityStateByProductOperationResponse, err error)
- func (c ProductTagClient) TagListByProduct(ctx context.Context, id ProductId, options TagListByProductOperationOptions) (result 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, ...) (result TagListByProductCompleteResult, err error)
- type ProductTagId
- type TagAssignToProductOperationResponse
- type TagContract
- type TagContractOperationPredicate
- type TagContractProperties
- type TagDetachFromProductOperationResponse
- type TagGetByProductOperationResponse
- type TagGetEntityStateByProductOperationResponse
- type TagListByProductCompleteResult
- type TagListByProductCustomPager
- 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 ValidateProductTagID ¶
ValidateProductTagID checks that 'input' can be parsed as a Product 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) FromParseResult ¶
func (id *ProductId) FromParseResult(input resourceids.ParseResult) error
func (ProductId) Segments ¶
func (id ProductId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Product ID
type ProductTagClient ¶
type ProductTagClient struct {
Client *resourcemanager.Client
}
func NewProductTagClientWithBaseURI ¶
func NewProductTagClientWithBaseURI(sdkApi sdkEnv.Api) (*ProductTagClient, error)
func (ProductTagClient) TagAssignToProduct ¶
func (c ProductTagClient) TagAssignToProduct(ctx context.Context, id ProductTagId) (result TagAssignToProductOperationResponse, err error)
TagAssignToProduct ...
func (ProductTagClient) TagDetachFromProduct ¶
func (c ProductTagClient) TagDetachFromProduct(ctx context.Context, id ProductTagId) (result TagDetachFromProductOperationResponse, err error)
TagDetachFromProduct ...
func (ProductTagClient) TagGetByProduct ¶
func (c ProductTagClient) TagGetByProduct(ctx context.Context, id ProductTagId) (result TagGetByProductOperationResponse, err error)
TagGetByProduct ...
func (ProductTagClient) TagGetEntityStateByProduct ¶
func (c ProductTagClient) TagGetEntityStateByProduct(ctx context.Context, id ProductTagId) (result TagGetEntityStateByProductOperationResponse, err error)
TagGetEntityStateByProduct ...
func (ProductTagClient) TagListByProduct ¶
func (c ProductTagClient) TagListByProduct(ctx context.Context, id ProductId, options TagListByProductOperationOptions) (result TagListByProductOperationResponse, err error)
TagListByProduct ...
func (ProductTagClient) TagListByProductComplete ¶
func (c ProductTagClient) TagListByProductComplete(ctx context.Context, id ProductId, options TagListByProductOperationOptions) (TagListByProductCompleteResult, error)
TagListByProductComplete retrieves all the results into a single object
func (ProductTagClient) TagListByProductCompleteMatchingPredicate ¶
func (c ProductTagClient) TagListByProductCompleteMatchingPredicate(ctx context.Context, id ProductId, options TagListByProductOperationOptions, predicate TagContractOperationPredicate) (result TagListByProductCompleteResult, err error)
TagListByProductCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ProductTagId ¶
type ProductTagId struct { SubscriptionId string ResourceGroupName string ServiceName string ProductId string TagId string }
ProductTagId is a struct representing the Resource ID for a Product Tag
func NewProductTagID ¶
func NewProductTagID(subscriptionId string, resourceGroupName string, serviceName string, productId string, tagId string) ProductTagId
NewProductTagID returns a new ProductTagId struct
func ParseProductTagID ¶
func ParseProductTagID(input string) (*ProductTagId, error)
ParseProductTagID parses 'input' into a ProductTagId
func ParseProductTagIDInsensitively ¶
func ParseProductTagIDInsensitively(input string) (*ProductTagId, error)
ParseProductTagIDInsensitively parses 'input' case-insensitively into a ProductTagId note: this method should only be used for API response data and not user input
func (*ProductTagId) FromParseResult ¶
func (id *ProductTagId) FromParseResult(input resourceids.ParseResult) error
func (ProductTagId) Segments ¶
func (id ProductTagId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Product Tag ID
func (ProductTagId) String ¶
func (id ProductTagId) String() string
String returns a human-readable description of this Product Tag ID
type TagAssignToProductOperationResponse ¶
type TagAssignToProductOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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 OData *odata.OData Model *TagContract }
type TagListByProductCompleteResult ¶
type TagListByProductCompleteResult struct { LatestHttpResponse *http.Response Items []TagContract }
type TagListByProductCustomPager ¶ added in v0.20240628.1153531
func (*TagListByProductCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *TagListByProductCustomPager) NextPageLink() *odata.Link
type TagListByProductOperationOptions ¶
func DefaultTagListByProductOperationOptions ¶
func DefaultTagListByProductOperationOptions() TagListByProductOperationOptions
func (TagListByProductOperationOptions) ToHeaders ¶
func (o TagListByProductOperationOptions) ToHeaders() *client.Headers
func (TagListByProductOperationOptions) ToOData ¶
func (o TagListByProductOperationOptions) ToOData() *odata.Query
func (TagListByProductOperationOptions) ToQuery ¶
func (o TagListByProductOperationOptions) ToQuery() *client.QueryParams
type TagListByProductOperationResponse ¶
type TagListByProductOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TagContract }