Documentation ¶
Index ¶
- func ValidateOperationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateOperationTagID(input interface{}, key string) (warnings []string, errors []error)
- type ApiOperationTagClient
- func (c ApiOperationTagClient) TagAssignToOperation(ctx context.Context, id OperationTagId) (result TagAssignToOperationOperationResponse, err error)
- func (c ApiOperationTagClient) TagDetachFromOperation(ctx context.Context, id OperationTagId) (result TagDetachFromOperationOperationResponse, err error)
- func (c ApiOperationTagClient) TagGetByOperation(ctx context.Context, id OperationTagId) (result TagGetByOperationOperationResponse, err error)
- func (c ApiOperationTagClient) TagGetEntityStateByOperation(ctx context.Context, id OperationTagId) (result TagGetEntityStateByOperationOperationResponse, err error)
- func (c ApiOperationTagClient) TagListByOperation(ctx context.Context, id OperationId, ...) (result TagListByOperationOperationResponse, err error)
- func (c ApiOperationTagClient) TagListByOperationComplete(ctx context.Context, id OperationId, ...) (TagListByOperationCompleteResult, error)
- func (c ApiOperationTagClient) TagListByOperationCompleteMatchingPredicate(ctx context.Context, id OperationId, ...) (result TagListByOperationCompleteResult, err error)
- type OperationId
- type OperationTagId
- type TagAssignToOperationOperationResponse
- type TagContract
- type TagContractOperationPredicate
- type TagContractProperties
- type TagDetachFromOperationOperationResponse
- type TagGetByOperationOperationResponse
- type TagGetEntityStateByOperationOperationResponse
- type TagListByOperationCompleteResult
- type TagListByOperationCustomPager
- type TagListByOperationOperationOptions
- type TagListByOperationOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateOperationID ¶
ValidateOperationID checks that 'input' can be parsed as a Operation ID
func ValidateOperationTagID ¶
ValidateOperationTagID checks that 'input' can be parsed as a Operation Tag ID
Types ¶
type ApiOperationTagClient ¶
type ApiOperationTagClient struct {
Client *resourcemanager.Client
}
func NewApiOperationTagClientWithBaseURI ¶
func NewApiOperationTagClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiOperationTagClient, error)
func (ApiOperationTagClient) TagAssignToOperation ¶
func (c ApiOperationTagClient) TagAssignToOperation(ctx context.Context, id OperationTagId) (result TagAssignToOperationOperationResponse, err error)
TagAssignToOperation ...
func (ApiOperationTagClient) TagDetachFromOperation ¶
func (c ApiOperationTagClient) TagDetachFromOperation(ctx context.Context, id OperationTagId) (result TagDetachFromOperationOperationResponse, err error)
TagDetachFromOperation ...
func (ApiOperationTagClient) TagGetByOperation ¶
func (c ApiOperationTagClient) TagGetByOperation(ctx context.Context, id OperationTagId) (result TagGetByOperationOperationResponse, err error)
TagGetByOperation ...
func (ApiOperationTagClient) TagGetEntityStateByOperation ¶
func (c ApiOperationTagClient) TagGetEntityStateByOperation(ctx context.Context, id OperationTagId) (result TagGetEntityStateByOperationOperationResponse, err error)
TagGetEntityStateByOperation ...
func (ApiOperationTagClient) TagListByOperation ¶
func (c ApiOperationTagClient) TagListByOperation(ctx context.Context, id OperationId, options TagListByOperationOperationOptions) (result TagListByOperationOperationResponse, err error)
TagListByOperation ...
func (ApiOperationTagClient) TagListByOperationComplete ¶
func (c ApiOperationTagClient) TagListByOperationComplete(ctx context.Context, id OperationId, options TagListByOperationOperationOptions) (TagListByOperationCompleteResult, error)
TagListByOperationComplete retrieves all the results into a single object
func (ApiOperationTagClient) TagListByOperationCompleteMatchingPredicate ¶
func (c ApiOperationTagClient) TagListByOperationCompleteMatchingPredicate(ctx context.Context, id OperationId, options TagListByOperationOperationOptions, predicate TagContractOperationPredicate) (result TagListByOperationCompleteResult, err error)
TagListByOperationCompleteMatchingPredicate retrieves all the results and then applies the predicate
type OperationId ¶
type OperationId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string OperationId string }
OperationId is a struct representing the Resource ID for a Operation
func NewOperationID ¶
func NewOperationID(subscriptionId string, resourceGroupName string, serviceName string, apiId string, operationId string) OperationId
NewOperationID returns a new OperationId struct
func ParseOperationID ¶
func ParseOperationID(input string) (*OperationId, error)
ParseOperationID parses 'input' into a OperationId
func ParseOperationIDInsensitively ¶
func ParseOperationIDInsensitively(input string) (*OperationId, error)
ParseOperationIDInsensitively parses 'input' case-insensitively into a OperationId note: this method should only be used for API response data and not user input
func (*OperationId) FromParseResult ¶
func (id *OperationId) FromParseResult(input resourceids.ParseResult) error
func (OperationId) Segments ¶
func (id OperationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Operation ID
func (OperationId) String ¶
func (id OperationId) String() string
String returns a human-readable description of this Operation ID
type OperationTagId ¶
type OperationTagId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string OperationId string TagId string }
OperationTagId is a struct representing the Resource ID for a Operation Tag
func NewOperationTagID ¶
func NewOperationTagID(subscriptionId string, resourceGroupName string, serviceName string, apiId string, operationId string, tagId string) OperationTagId
NewOperationTagID returns a new OperationTagId struct
func ParseOperationTagID ¶
func ParseOperationTagID(input string) (*OperationTagId, error)
ParseOperationTagID parses 'input' into a OperationTagId
func ParseOperationTagIDInsensitively ¶
func ParseOperationTagIDInsensitively(input string) (*OperationTagId, error)
ParseOperationTagIDInsensitively parses 'input' case-insensitively into a OperationTagId note: this method should only be used for API response data and not user input
func (*OperationTagId) FromParseResult ¶
func (id *OperationTagId) FromParseResult(input resourceids.ParseResult) error
func (OperationTagId) ID ¶
func (id OperationTagId) ID() string
ID returns the formatted Operation Tag ID
func (OperationTagId) Segments ¶
func (id OperationTagId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Operation Tag ID
func (OperationTagId) String ¶
func (id OperationTagId) String() string
String returns a human-readable description of this Operation Tag ID
type TagAssignToOperationOperationResponse ¶
type TagAssignToOperationOperationResponse 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 TagGetByOperationOperationResponse ¶
type TagGetByOperationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagContract }
type TagListByOperationCompleteResult ¶
type TagListByOperationCompleteResult struct { LatestHttpResponse *http.Response Items []TagContract }
type TagListByOperationCustomPager ¶
func (*TagListByOperationCustomPager) NextPageLink ¶
func (p *TagListByOperationCustomPager) NextPageLink() *odata.Link
type TagListByOperationOperationOptions ¶
func DefaultTagListByOperationOperationOptions ¶
func DefaultTagListByOperationOperationOptions() TagListByOperationOperationOptions
func (TagListByOperationOperationOptions) ToHeaders ¶
func (o TagListByOperationOperationOptions) ToHeaders() *client.Headers
func (TagListByOperationOperationOptions) ToOData ¶
func (o TagListByOperationOperationOptions) ToOData() *odata.Query
func (TagListByOperationOperationOptions) ToQuery ¶
func (o TagListByOperationOperationOptions) ToQuery() *client.QueryParams
type TagListByOperationOperationResponse ¶
type TagListByOperationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TagContract }