Documentation ¶
Index ¶
- func ValidateProductLinkID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTagID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTagProductLinkID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceTagID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByProductCompleteResult
- type ListByProductCustomPager
- type ListByProductOperationOptions
- type ListByProductOperationResponse
- type ProductLinkId
- type TagId
- type TagProductLinkClient
- func (c TagProductLinkClient) CreateOrUpdate(ctx context.Context, id ProductLinkId, input TagProductLinkContract) (result CreateOrUpdateOperationResponse, err error)
- func (c TagProductLinkClient) Delete(ctx context.Context, id ProductLinkId) (result DeleteOperationResponse, err error)
- func (c TagProductLinkClient) Get(ctx context.Context, id ProductLinkId) (result GetOperationResponse, err error)
- func (c TagProductLinkClient) ListByProduct(ctx context.Context, id TagId, options ListByProductOperationOptions) (result ListByProductOperationResponse, err error)
- func (c TagProductLinkClient) ListByProductComplete(ctx context.Context, id TagId, options ListByProductOperationOptions) (ListByProductCompleteResult, error)
- func (c TagProductLinkClient) ListByProductCompleteMatchingPredicate(ctx context.Context, id TagId, options ListByProductOperationOptions, ...) (result ListByProductCompleteResult, err error)
- func (c TagProductLinkClient) WorkspaceTagProductLinkCreateOrUpdate(ctx context.Context, id TagProductLinkId, input TagProductLinkContract) (result WorkspaceTagProductLinkCreateOrUpdateOperationResponse, err error)
- func (c TagProductLinkClient) WorkspaceTagProductLinkDelete(ctx context.Context, id TagProductLinkId) (result WorkspaceTagProductLinkDeleteOperationResponse, err error)
- func (c TagProductLinkClient) WorkspaceTagProductLinkGet(ctx context.Context, id TagProductLinkId) (result WorkspaceTagProductLinkGetOperationResponse, err error)
- func (c TagProductLinkClient) WorkspaceTagProductLinkListByProduct(ctx context.Context, id WorkspaceTagId, ...) (result WorkspaceTagProductLinkListByProductOperationResponse, err error)
- func (c TagProductLinkClient) WorkspaceTagProductLinkListByProductComplete(ctx context.Context, id WorkspaceTagId, ...) (WorkspaceTagProductLinkListByProductCompleteResult, error)
- func (c TagProductLinkClient) WorkspaceTagProductLinkListByProductCompleteMatchingPredicate(ctx context.Context, id WorkspaceTagId, ...) (result WorkspaceTagProductLinkListByProductCompleteResult, err error)
- type TagProductLinkContract
- type TagProductLinkContractOperationPredicate
- type TagProductLinkContractProperties
- type TagProductLinkId
- type WorkspaceTagId
- type WorkspaceTagProductLinkCreateOrUpdateOperationResponse
- type WorkspaceTagProductLinkDeleteOperationResponse
- type WorkspaceTagProductLinkGetOperationResponse
- type WorkspaceTagProductLinkListByProductCompleteResult
- type WorkspaceTagProductLinkListByProductCustomPager
- type WorkspaceTagProductLinkListByProductOperationOptions
- type WorkspaceTagProductLinkListByProductOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateProductLinkID ¶
ValidateProductLinkID checks that 'input' can be parsed as a Product Link ID
func ValidateTagID ¶
ValidateTagID checks that 'input' can be parsed as a Tag ID
func ValidateTagProductLinkID ¶
ValidateTagProductLinkID checks that 'input' can be parsed as a Tag Product Link ID
func ValidateWorkspaceTagID ¶
ValidateWorkspaceTagID checks that 'input' can be parsed as a Workspace Tag ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagProductLinkContract }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagProductLinkContract }
type ListByProductCompleteResult ¶
type ListByProductCompleteResult struct { LatestHttpResponse *http.Response Items []TagProductLinkContract }
type ListByProductCustomPager ¶ added in v0.20240628.1153531
func (*ListByProductCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByProductCustomPager) NextPageLink() *odata.Link
type ListByProductOperationOptions ¶
func DefaultListByProductOperationOptions ¶
func DefaultListByProductOperationOptions() ListByProductOperationOptions
func (ListByProductOperationOptions) ToHeaders ¶
func (o ListByProductOperationOptions) ToHeaders() *client.Headers
func (ListByProductOperationOptions) ToOData ¶
func (o ListByProductOperationOptions) ToOData() *odata.Query
func (ListByProductOperationOptions) ToQuery ¶
func (o ListByProductOperationOptions) ToQuery() *client.QueryParams
type ListByProductOperationResponse ¶
type ListByProductOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TagProductLinkContract }
type ProductLinkId ¶
type ProductLinkId struct { SubscriptionId string ResourceGroupName string ServiceName string TagId string ProductLinkId string }
ProductLinkId is a struct representing the Resource ID for a Product Link
func NewProductLinkID ¶
func NewProductLinkID(subscriptionId string, resourceGroupName string, serviceName string, tagId string, productLinkId string) ProductLinkId
NewProductLinkID returns a new ProductLinkId struct
func ParseProductLinkID ¶
func ParseProductLinkID(input string) (*ProductLinkId, error)
ParseProductLinkID parses 'input' into a ProductLinkId
func ParseProductLinkIDInsensitively ¶
func ParseProductLinkIDInsensitively(input string) (*ProductLinkId, error)
ParseProductLinkIDInsensitively parses 'input' case-insensitively into a ProductLinkId note: this method should only be used for API response data and not user input
func (*ProductLinkId) FromParseResult ¶
func (id *ProductLinkId) FromParseResult(input resourceids.ParseResult) error
func (ProductLinkId) ID ¶
func (id ProductLinkId) ID() string
ID returns the formatted Product Link ID
func (ProductLinkId) Segments ¶
func (id ProductLinkId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Product Link ID
func (ProductLinkId) String ¶
func (id ProductLinkId) String() string
String returns a human-readable description of this Product Link ID
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) FromParseResult ¶
func (id *TagId) FromParseResult(input resourceids.ParseResult) error
func (TagId) Segments ¶
func (id TagId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Tag ID
type TagProductLinkClient ¶
type TagProductLinkClient struct {
Client *resourcemanager.Client
}
func NewTagProductLinkClientWithBaseURI ¶
func NewTagProductLinkClientWithBaseURI(sdkApi sdkEnv.Api) (*TagProductLinkClient, error)
func (TagProductLinkClient) CreateOrUpdate ¶
func (c TagProductLinkClient) CreateOrUpdate(ctx context.Context, id ProductLinkId, input TagProductLinkContract) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (TagProductLinkClient) Delete ¶
func (c TagProductLinkClient) Delete(ctx context.Context, id ProductLinkId) (result DeleteOperationResponse, err error)
Delete ...
func (TagProductLinkClient) Get ¶
func (c TagProductLinkClient) Get(ctx context.Context, id ProductLinkId) (result GetOperationResponse, err error)
Get ...
func (TagProductLinkClient) ListByProduct ¶
func (c TagProductLinkClient) ListByProduct(ctx context.Context, id TagId, options ListByProductOperationOptions) (result ListByProductOperationResponse, err error)
ListByProduct ...
func (TagProductLinkClient) ListByProductComplete ¶
func (c TagProductLinkClient) ListByProductComplete(ctx context.Context, id TagId, options ListByProductOperationOptions) (ListByProductCompleteResult, error)
ListByProductComplete retrieves all the results into a single object
func (TagProductLinkClient) ListByProductCompleteMatchingPredicate ¶
func (c TagProductLinkClient) ListByProductCompleteMatchingPredicate(ctx context.Context, id TagId, options ListByProductOperationOptions, predicate TagProductLinkContractOperationPredicate) (result ListByProductCompleteResult, err error)
ListByProductCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TagProductLinkClient) WorkspaceTagProductLinkCreateOrUpdate ¶
func (c TagProductLinkClient) WorkspaceTagProductLinkCreateOrUpdate(ctx context.Context, id TagProductLinkId, input TagProductLinkContract) (result WorkspaceTagProductLinkCreateOrUpdateOperationResponse, err error)
WorkspaceTagProductLinkCreateOrUpdate ...
func (TagProductLinkClient) WorkspaceTagProductLinkDelete ¶
func (c TagProductLinkClient) WorkspaceTagProductLinkDelete(ctx context.Context, id TagProductLinkId) (result WorkspaceTagProductLinkDeleteOperationResponse, err error)
WorkspaceTagProductLinkDelete ...
func (TagProductLinkClient) WorkspaceTagProductLinkGet ¶
func (c TagProductLinkClient) WorkspaceTagProductLinkGet(ctx context.Context, id TagProductLinkId) (result WorkspaceTagProductLinkGetOperationResponse, err error)
WorkspaceTagProductLinkGet ...
func (TagProductLinkClient) WorkspaceTagProductLinkListByProduct ¶
func (c TagProductLinkClient) WorkspaceTagProductLinkListByProduct(ctx context.Context, id WorkspaceTagId, options WorkspaceTagProductLinkListByProductOperationOptions) (result WorkspaceTagProductLinkListByProductOperationResponse, err error)
WorkspaceTagProductLinkListByProduct ...
func (TagProductLinkClient) WorkspaceTagProductLinkListByProductComplete ¶
func (c TagProductLinkClient) WorkspaceTagProductLinkListByProductComplete(ctx context.Context, id WorkspaceTagId, options WorkspaceTagProductLinkListByProductOperationOptions) (WorkspaceTagProductLinkListByProductCompleteResult, error)
WorkspaceTagProductLinkListByProductComplete retrieves all the results into a single object
func (TagProductLinkClient) WorkspaceTagProductLinkListByProductCompleteMatchingPredicate ¶
func (c TagProductLinkClient) WorkspaceTagProductLinkListByProductCompleteMatchingPredicate(ctx context.Context, id WorkspaceTagId, options WorkspaceTagProductLinkListByProductOperationOptions, predicate TagProductLinkContractOperationPredicate) (result WorkspaceTagProductLinkListByProductCompleteResult, err error)
WorkspaceTagProductLinkListByProductCompleteMatchingPredicate retrieves all the results and then applies the predicate
type TagProductLinkContract ¶
type TagProductLinkContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *TagProductLinkContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type TagProductLinkContractOperationPredicate ¶
func (TagProductLinkContractOperationPredicate) Matches ¶
func (p TagProductLinkContractOperationPredicate) Matches(input TagProductLinkContract) bool
type TagProductLinkContractProperties ¶
type TagProductLinkContractProperties struct {
ProductId string `json:"productId"`
}
type TagProductLinkId ¶
type TagProductLinkId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string TagId string ProductLinkId string }
TagProductLinkId is a struct representing the Resource ID for a Tag Product Link
func NewTagProductLinkID ¶
func NewTagProductLinkID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string, tagId string, productLinkId string) TagProductLinkId
NewTagProductLinkID returns a new TagProductLinkId struct
func ParseTagProductLinkID ¶
func ParseTagProductLinkID(input string) (*TagProductLinkId, error)
ParseTagProductLinkID parses 'input' into a TagProductLinkId
func ParseTagProductLinkIDInsensitively ¶
func ParseTagProductLinkIDInsensitively(input string) (*TagProductLinkId, error)
ParseTagProductLinkIDInsensitively parses 'input' case-insensitively into a TagProductLinkId note: this method should only be used for API response data and not user input
func (*TagProductLinkId) FromParseResult ¶
func (id *TagProductLinkId) FromParseResult(input resourceids.ParseResult) error
func (TagProductLinkId) ID ¶
func (id TagProductLinkId) ID() string
ID returns the formatted Tag Product Link ID
func (TagProductLinkId) Segments ¶
func (id TagProductLinkId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Tag Product Link ID
func (TagProductLinkId) String ¶
func (id TagProductLinkId) String() string
String returns a human-readable description of this Tag Product Link ID
type WorkspaceTagId ¶
type WorkspaceTagId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string TagId string }
WorkspaceTagId is a struct representing the Resource ID for a Workspace Tag
func NewWorkspaceTagID ¶
func NewWorkspaceTagID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string, tagId string) WorkspaceTagId
NewWorkspaceTagID returns a new WorkspaceTagId struct
func ParseWorkspaceTagID ¶
func ParseWorkspaceTagID(input string) (*WorkspaceTagId, error)
ParseWorkspaceTagID parses 'input' into a WorkspaceTagId
func ParseWorkspaceTagIDInsensitively ¶
func ParseWorkspaceTagIDInsensitively(input string) (*WorkspaceTagId, error)
ParseWorkspaceTagIDInsensitively parses 'input' case-insensitively into a WorkspaceTagId note: this method should only be used for API response data and not user input
func (*WorkspaceTagId) FromParseResult ¶
func (id *WorkspaceTagId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceTagId) ID ¶
func (id WorkspaceTagId) ID() string
ID returns the formatted Workspace Tag ID
func (WorkspaceTagId) Segments ¶
func (id WorkspaceTagId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace Tag ID
func (WorkspaceTagId) String ¶
func (id WorkspaceTagId) String() string
String returns a human-readable description of this Workspace Tag ID
type WorkspaceTagProductLinkCreateOrUpdateOperationResponse ¶
type WorkspaceTagProductLinkCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagProductLinkContract }
type WorkspaceTagProductLinkGetOperationResponse ¶
type WorkspaceTagProductLinkGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagProductLinkContract }
type WorkspaceTagProductLinkListByProductCompleteResult ¶
type WorkspaceTagProductLinkListByProductCompleteResult struct { LatestHttpResponse *http.Response Items []TagProductLinkContract }
type WorkspaceTagProductLinkListByProductCustomPager ¶ added in v0.20240628.1153531
type WorkspaceTagProductLinkListByProductCustomPager struct {
NextLink *odata.Link `json:"nextLink"`
}
func (*WorkspaceTagProductLinkListByProductCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *WorkspaceTagProductLinkListByProductCustomPager) NextPageLink() *odata.Link
type WorkspaceTagProductLinkListByProductOperationOptions ¶
type WorkspaceTagProductLinkListByProductOperationOptions struct { Filter *string Skip *int64 Top *int64 }
func DefaultWorkspaceTagProductLinkListByProductOperationOptions ¶
func DefaultWorkspaceTagProductLinkListByProductOperationOptions() WorkspaceTagProductLinkListByProductOperationOptions
func (WorkspaceTagProductLinkListByProductOperationOptions) ToHeaders ¶
func (o WorkspaceTagProductLinkListByProductOperationOptions) ToHeaders() *client.Headers
func (WorkspaceTagProductLinkListByProductOperationOptions) ToOData ¶
func (o WorkspaceTagProductLinkListByProductOperationOptions) ToOData() *odata.Query
func (WorkspaceTagProductLinkListByProductOperationOptions) ToQuery ¶
func (o WorkspaceTagProductLinkListByProductOperationOptions) ToQuery() *client.QueryParams
type WorkspaceTagProductLinkListByProductOperationResponse ¶
type WorkspaceTagProductLinkListByProductOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TagProductLinkContract }
Source Files ¶
- client.go
- id_productlink.go
- id_tag.go
- id_tagproductlink.go
- id_workspacetag.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyproduct.go
- method_workspacetagproductlinkcreateorupdate.go
- method_workspacetagproductlinkdelete.go
- method_workspacetagproductlinkget.go
- method_workspacetagproductlinklistbyproduct.go
- model_tagproductlinkcontract.go
- model_tagproductlinkcontractproperties.go
- predicates.go
- version.go