Documentation
¶
Index ¶
- func ValidateApiLinkID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTagApiLinkID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTagID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceTagID(input interface{}, key string) (warnings []string, errors []error)
- type ApiLinkId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByProductCompleteResult
- type ListByProductOperationOptions
- type ListByProductOperationResponse
- type TagApiLinkClient
- func (c TagApiLinkClient) CreateOrUpdate(ctx context.Context, id ApiLinkId, input TagApiLinkContract) (result CreateOrUpdateOperationResponse, err error)
- func (c TagApiLinkClient) Delete(ctx context.Context, id ApiLinkId) (result DeleteOperationResponse, err error)
- func (c TagApiLinkClient) Get(ctx context.Context, id ApiLinkId) (result GetOperationResponse, err error)
- func (c TagApiLinkClient) ListByProduct(ctx context.Context, id TagId, options ListByProductOperationOptions) (result ListByProductOperationResponse, err error)
- func (c TagApiLinkClient) ListByProductComplete(ctx context.Context, id TagId, options ListByProductOperationOptions) (ListByProductCompleteResult, error)
- func (c TagApiLinkClient) ListByProductCompleteMatchingPredicate(ctx context.Context, id TagId, options ListByProductOperationOptions, ...) (result ListByProductCompleteResult, err error)
- func (c TagApiLinkClient) WorkspaceTagApiLinkCreateOrUpdate(ctx context.Context, id TagApiLinkId, input TagApiLinkContract) (result WorkspaceTagApiLinkCreateOrUpdateOperationResponse, err error)
- func (c TagApiLinkClient) WorkspaceTagApiLinkDelete(ctx context.Context, id TagApiLinkId) (result WorkspaceTagApiLinkDeleteOperationResponse, err error)
- func (c TagApiLinkClient) WorkspaceTagApiLinkGet(ctx context.Context, id TagApiLinkId) (result WorkspaceTagApiLinkGetOperationResponse, err error)
- func (c TagApiLinkClient) WorkspaceTagApiLinkListByProduct(ctx context.Context, id WorkspaceTagId, ...) (result WorkspaceTagApiLinkListByProductOperationResponse, err error)
- func (c TagApiLinkClient) WorkspaceTagApiLinkListByProductComplete(ctx context.Context, id WorkspaceTagId, ...) (WorkspaceTagApiLinkListByProductCompleteResult, error)
- func (c TagApiLinkClient) WorkspaceTagApiLinkListByProductCompleteMatchingPredicate(ctx context.Context, id WorkspaceTagId, ...) (result WorkspaceTagApiLinkListByProductCompleteResult, err error)
- type TagApiLinkContract
- type TagApiLinkContractOperationPredicate
- type TagApiLinkContractProperties
- type TagApiLinkId
- type TagId
- type WorkspaceTagApiLinkCreateOrUpdateOperationResponse
- type WorkspaceTagApiLinkDeleteOperationResponse
- type WorkspaceTagApiLinkGetOperationResponse
- type WorkspaceTagApiLinkListByProductCompleteResult
- type WorkspaceTagApiLinkListByProductOperationOptions
- type WorkspaceTagApiLinkListByProductOperationResponse
- type WorkspaceTagId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateApiLinkID ¶
ValidateApiLinkID checks that 'input' can be parsed as a Api Link ID
func ValidateTagApiLinkID ¶
ValidateTagApiLinkID checks that 'input' can be parsed as a Tag Api Link ID
func ValidateTagID ¶
ValidateTagID checks that 'input' can be parsed as a Tag ID
func ValidateWorkspaceTagID ¶
ValidateWorkspaceTagID checks that 'input' can be parsed as a Workspace Tag ID
Types ¶
type ApiLinkId ¶
type ApiLinkId struct { SubscriptionId string ResourceGroupName string ServiceName string TagId string ApiLinkId string }
ApiLinkId is a struct representing the Resource ID for a Api Link
func NewApiLinkID ¶
func NewApiLinkID(subscriptionId string, resourceGroupName string, serviceName string, tagId string, apiLinkId string) ApiLinkId
NewApiLinkID returns a new ApiLinkId struct
func ParseApiLinkID ¶
ParseApiLinkID parses 'input' into a ApiLinkId
func ParseApiLinkIDInsensitively ¶
ParseApiLinkIDInsensitively parses 'input' case-insensitively into a ApiLinkId note: this method should only be used for API response data and not user input
func (*ApiLinkId) FromParseResult ¶
func (id *ApiLinkId) FromParseResult(input resourceids.ParseResult) error
func (ApiLinkId) Segments ¶
func (id ApiLinkId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api Link ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagApiLinkContract }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagApiLinkContract }
type ListByProductCompleteResult ¶
type ListByProductCompleteResult struct { LatestHttpResponse *http.Response Items []TagApiLinkContract }
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 *[]TagApiLinkContract }
type TagApiLinkClient ¶
type TagApiLinkClient struct {
Client *resourcemanager.Client
}
func NewTagApiLinkClientWithBaseURI ¶
func NewTagApiLinkClientWithBaseURI(sdkApi sdkEnv.Api) (*TagApiLinkClient, error)
func (TagApiLinkClient) CreateOrUpdate ¶
func (c TagApiLinkClient) CreateOrUpdate(ctx context.Context, id ApiLinkId, input TagApiLinkContract) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (TagApiLinkClient) Delete ¶
func (c TagApiLinkClient) Delete(ctx context.Context, id ApiLinkId) (result DeleteOperationResponse, err error)
Delete ...
func (TagApiLinkClient) Get ¶
func (c TagApiLinkClient) Get(ctx context.Context, id ApiLinkId) (result GetOperationResponse, err error)
Get ...
func (TagApiLinkClient) ListByProduct ¶
func (c TagApiLinkClient) ListByProduct(ctx context.Context, id TagId, options ListByProductOperationOptions) (result ListByProductOperationResponse, err error)
ListByProduct ...
func (TagApiLinkClient) ListByProductComplete ¶
func (c TagApiLinkClient) ListByProductComplete(ctx context.Context, id TagId, options ListByProductOperationOptions) (ListByProductCompleteResult, error)
ListByProductComplete retrieves all the results into a single object
func (TagApiLinkClient) ListByProductCompleteMatchingPredicate ¶
func (c TagApiLinkClient) ListByProductCompleteMatchingPredicate(ctx context.Context, id TagId, options ListByProductOperationOptions, predicate TagApiLinkContractOperationPredicate) (result ListByProductCompleteResult, err error)
ListByProductCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TagApiLinkClient) WorkspaceTagApiLinkCreateOrUpdate ¶
func (c TagApiLinkClient) WorkspaceTagApiLinkCreateOrUpdate(ctx context.Context, id TagApiLinkId, input TagApiLinkContract) (result WorkspaceTagApiLinkCreateOrUpdateOperationResponse, err error)
WorkspaceTagApiLinkCreateOrUpdate ...
func (TagApiLinkClient) WorkspaceTagApiLinkDelete ¶
func (c TagApiLinkClient) WorkspaceTagApiLinkDelete(ctx context.Context, id TagApiLinkId) (result WorkspaceTagApiLinkDeleteOperationResponse, err error)
WorkspaceTagApiLinkDelete ...
func (TagApiLinkClient) WorkspaceTagApiLinkGet ¶
func (c TagApiLinkClient) WorkspaceTagApiLinkGet(ctx context.Context, id TagApiLinkId) (result WorkspaceTagApiLinkGetOperationResponse, err error)
WorkspaceTagApiLinkGet ...
func (TagApiLinkClient) WorkspaceTagApiLinkListByProduct ¶
func (c TagApiLinkClient) WorkspaceTagApiLinkListByProduct(ctx context.Context, id WorkspaceTagId, options WorkspaceTagApiLinkListByProductOperationOptions) (result WorkspaceTagApiLinkListByProductOperationResponse, err error)
WorkspaceTagApiLinkListByProduct ...
func (TagApiLinkClient) WorkspaceTagApiLinkListByProductComplete ¶
func (c TagApiLinkClient) WorkspaceTagApiLinkListByProductComplete(ctx context.Context, id WorkspaceTagId, options WorkspaceTagApiLinkListByProductOperationOptions) (WorkspaceTagApiLinkListByProductCompleteResult, error)
WorkspaceTagApiLinkListByProductComplete retrieves all the results into a single object
func (TagApiLinkClient) WorkspaceTagApiLinkListByProductCompleteMatchingPredicate ¶
func (c TagApiLinkClient) WorkspaceTagApiLinkListByProductCompleteMatchingPredicate(ctx context.Context, id WorkspaceTagId, options WorkspaceTagApiLinkListByProductOperationOptions, predicate TagApiLinkContractOperationPredicate) (result WorkspaceTagApiLinkListByProductCompleteResult, err error)
WorkspaceTagApiLinkListByProductCompleteMatchingPredicate retrieves all the results and then applies the predicate
type TagApiLinkContract ¶
type TagApiLinkContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *TagApiLinkContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type TagApiLinkContractOperationPredicate ¶
func (TagApiLinkContractOperationPredicate) Matches ¶
func (p TagApiLinkContractOperationPredicate) Matches(input TagApiLinkContract) bool
type TagApiLinkContractProperties ¶
type TagApiLinkContractProperties struct {
ApiId string `json:"apiId"`
}
type TagApiLinkId ¶
type TagApiLinkId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string TagId string ApiLinkId string }
TagApiLinkId is a struct representing the Resource ID for a Tag Api Link
func NewTagApiLinkID ¶
func NewTagApiLinkID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string, tagId string, apiLinkId string) TagApiLinkId
NewTagApiLinkID returns a new TagApiLinkId struct
func ParseTagApiLinkID ¶
func ParseTagApiLinkID(input string) (*TagApiLinkId, error)
ParseTagApiLinkID parses 'input' into a TagApiLinkId
func ParseTagApiLinkIDInsensitively ¶
func ParseTagApiLinkIDInsensitively(input string) (*TagApiLinkId, error)
ParseTagApiLinkIDInsensitively parses 'input' case-insensitively into a TagApiLinkId note: this method should only be used for API response data and not user input
func (*TagApiLinkId) FromParseResult ¶
func (id *TagApiLinkId) FromParseResult(input resourceids.ParseResult) error
func (TagApiLinkId) ID ¶
func (id TagApiLinkId) ID() string
ID returns the formatted Tag Api Link ID
func (TagApiLinkId) Segments ¶
func (id TagApiLinkId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Tag Api Link ID
func (TagApiLinkId) String ¶
func (id TagApiLinkId) String() string
String returns a human-readable description of this Tag Api 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 WorkspaceTagApiLinkCreateOrUpdateOperationResponse ¶
type WorkspaceTagApiLinkCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagApiLinkContract }
type WorkspaceTagApiLinkGetOperationResponse ¶
type WorkspaceTagApiLinkGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagApiLinkContract }
type WorkspaceTagApiLinkListByProductCompleteResult ¶
type WorkspaceTagApiLinkListByProductCompleteResult struct { LatestHttpResponse *http.Response Items []TagApiLinkContract }
type WorkspaceTagApiLinkListByProductOperationOptions ¶
type WorkspaceTagApiLinkListByProductOperationOptions struct { Filter *string Skip *int64 Top *int64 }
func DefaultWorkspaceTagApiLinkListByProductOperationOptions ¶
func DefaultWorkspaceTagApiLinkListByProductOperationOptions() WorkspaceTagApiLinkListByProductOperationOptions
func (WorkspaceTagApiLinkListByProductOperationOptions) ToHeaders ¶
func (o WorkspaceTagApiLinkListByProductOperationOptions) ToHeaders() *client.Headers
func (WorkspaceTagApiLinkListByProductOperationOptions) ToOData ¶
func (o WorkspaceTagApiLinkListByProductOperationOptions) ToOData() *odata.Query
func (WorkspaceTagApiLinkListByProductOperationOptions) ToQuery ¶
func (o WorkspaceTagApiLinkListByProductOperationOptions) ToQuery() *client.QueryParams
type WorkspaceTagApiLinkListByProductOperationResponse ¶
type WorkspaceTagApiLinkListByProductOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TagApiLinkContract }
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
Source Files
¶
- client.go
- id_apilink.go
- id_tag.go
- id_tagapilink.go
- id_workspacetag.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyproduct.go
- method_workspacetagapilinkcreateorupdate.go
- method_workspacetagapilinkdelete.go
- method_workspacetagapilinkget.go
- method_workspacetagapilinklistbyproduct.go
- model_tagapilinkcontract.go
- model_tagapilinkcontractproperties.go
- predicates.go
- version.go