Documentation ¶
Index ¶
- func ValidateApiID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateApiTagID(input interface{}, key string) (warnings []string, errors []error)
- type ApiId
- type ApiTagClient
- func (c ApiTagClient) TagAssignToApi(ctx context.Context, id ApiTagId) (result TagAssignToApiOperationResponse, err error)
- func (c ApiTagClient) TagDetachFromApi(ctx context.Context, id ApiTagId) (result TagDetachFromApiOperationResponse, err error)
- func (c ApiTagClient) TagGetByApi(ctx context.Context, id ApiTagId) (result TagGetByApiOperationResponse, err error)
- func (c ApiTagClient) TagGetEntityStateByApi(ctx context.Context, id ApiTagId) (result TagGetEntityStateByApiOperationResponse, err error)
- func (c ApiTagClient) TagListByApi(ctx context.Context, id ApiId, options TagListByApiOperationOptions) (result TagListByApiOperationResponse, err error)
- func (c ApiTagClient) TagListByApiComplete(ctx context.Context, id ApiId, options TagListByApiOperationOptions) (TagListByApiCompleteResult, error)
- func (c ApiTagClient) TagListByApiCompleteMatchingPredicate(ctx context.Context, id ApiId, options TagListByApiOperationOptions, ...) (result TagListByApiCompleteResult, err error)
- type ApiTagId
- type TagAssignToApiOperationResponse
- type TagContract
- type TagContractOperationPredicate
- type TagContractProperties
- type TagDetachFromApiOperationResponse
- type TagGetByApiOperationResponse
- type TagGetEntityStateByApiOperationResponse
- type TagListByApiCompleteResult
- type TagListByApiCustomPager
- type TagListByApiOperationOptions
- type TagListByApiOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateApiID ¶
ValidateApiID checks that 'input' can be parsed as a Api ID
func ValidateApiTagID ¶
ValidateApiTagID checks that 'input' can be parsed as a Api Tag ID
Types ¶
type ApiId ¶
type ApiId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string }
ApiId is a struct representing the Resource ID for a Api
func NewApiID ¶
func NewApiID(subscriptionId string, resourceGroupName string, serviceName string, apiId string) ApiId
NewApiID returns a new ApiId struct
func ParseApiID ¶
ParseApiID parses 'input' into a ApiId
func ParseApiIDInsensitively ¶
ParseApiIDInsensitively parses 'input' case-insensitively into a ApiId note: this method should only be used for API response data and not user input
func (*ApiId) FromParseResult ¶
func (id *ApiId) FromParseResult(input resourceids.ParseResult) error
func (ApiId) Segments ¶
func (id ApiId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api ID
type ApiTagClient ¶
type ApiTagClient struct {
Client *resourcemanager.Client
}
func NewApiTagClientWithBaseURI ¶
func NewApiTagClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiTagClient, error)
func (ApiTagClient) TagAssignToApi ¶
func (c ApiTagClient) TagAssignToApi(ctx context.Context, id ApiTagId) (result TagAssignToApiOperationResponse, err error)
TagAssignToApi ...
func (ApiTagClient) TagDetachFromApi ¶
func (c ApiTagClient) TagDetachFromApi(ctx context.Context, id ApiTagId) (result TagDetachFromApiOperationResponse, err error)
TagDetachFromApi ...
func (ApiTagClient) TagGetByApi ¶
func (c ApiTagClient) TagGetByApi(ctx context.Context, id ApiTagId) (result TagGetByApiOperationResponse, err error)
TagGetByApi ...
func (ApiTagClient) TagGetEntityStateByApi ¶
func (c ApiTagClient) TagGetEntityStateByApi(ctx context.Context, id ApiTagId) (result TagGetEntityStateByApiOperationResponse, err error)
TagGetEntityStateByApi ...
func (ApiTagClient) TagListByApi ¶
func (c ApiTagClient) TagListByApi(ctx context.Context, id ApiId, options TagListByApiOperationOptions) (result TagListByApiOperationResponse, err error)
TagListByApi ...
func (ApiTagClient) TagListByApiComplete ¶
func (c ApiTagClient) TagListByApiComplete(ctx context.Context, id ApiId, options TagListByApiOperationOptions) (TagListByApiCompleteResult, error)
TagListByApiComplete retrieves all the results into a single object
func (ApiTagClient) TagListByApiCompleteMatchingPredicate ¶
func (c ApiTagClient) TagListByApiCompleteMatchingPredicate(ctx context.Context, id ApiId, options TagListByApiOperationOptions, predicate TagContractOperationPredicate) (result TagListByApiCompleteResult, err error)
TagListByApiCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ApiTagId ¶
type ApiTagId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string TagId string }
ApiTagId is a struct representing the Resource ID for a Api Tag
func NewApiTagID ¶
func NewApiTagID(subscriptionId string, resourceGroupName string, serviceName string, apiId string, tagId string) ApiTagId
NewApiTagID returns a new ApiTagId struct
func ParseApiTagID ¶
ParseApiTagID parses 'input' into a ApiTagId
func ParseApiTagIDInsensitively ¶
ParseApiTagIDInsensitively parses 'input' case-insensitively into a ApiTagId note: this method should only be used for API response data and not user input
func (*ApiTagId) FromParseResult ¶
func (id *ApiTagId) FromParseResult(input resourceids.ParseResult) error
func (ApiTagId) Segments ¶
func (id ApiTagId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api Tag ID
type TagAssignToApiOperationResponse ¶
type TagAssignToApiOperationResponse 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 TagGetByApiOperationResponse ¶
type TagGetByApiOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagContract }
type TagListByApiCompleteResult ¶
type TagListByApiCompleteResult struct { LatestHttpResponse *http.Response Items []TagContract }
type TagListByApiCustomPager ¶
func (*TagListByApiCustomPager) NextPageLink ¶
func (p *TagListByApiCustomPager) NextPageLink() *odata.Link
type TagListByApiOperationOptions ¶
func DefaultTagListByApiOperationOptions ¶
func DefaultTagListByApiOperationOptions() TagListByApiOperationOptions
func (TagListByApiOperationOptions) ToHeaders ¶
func (o TagListByApiOperationOptions) ToHeaders() *client.Headers
func (TagListByApiOperationOptions) ToOData ¶
func (o TagListByApiOperationOptions) ToOData() *odata.Query
func (TagListByApiOperationOptions) ToQuery ¶
func (o TagListByApiOperationOptions) ToQuery() *client.QueryParams
type TagListByApiOperationResponse ¶
type TagListByApiOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TagContract }