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) (resp 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, ...) (resp TagListByApiCompleteResult, err error)
- type ApiTagId
- type TagAssignToApiOperationResponse
- type TagContract
- type TagContractOperationPredicate
- type TagContractProperties
- type TagDetachFromApiOperationResponse
- type TagGetByApiOperationResponse
- type TagGetEntityStateByApiOperationResponse
- type TagListByApiCompleteResult
- 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) Segments ¶
func (id ApiId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api ID
type ApiTagClient ¶
func NewApiTagClientWithBaseURI ¶
func NewApiTagClientWithBaseURI(endpoint string) ApiTagClient
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) (resp TagListByApiOperationResponse, err error)
TagListByApi ...
func (ApiTagClient) TagListByApiComplete ¶
func (c ApiTagClient) TagListByApiComplete(ctx context.Context, id ApiId, options TagListByApiOperationOptions) (TagListByApiCompleteResult, error)
TagListByApiComplete retrieves all of the results into a single object
func (ApiTagClient) TagListByApiCompleteMatchingPredicate ¶
func (c ApiTagClient) TagListByApiCompleteMatchingPredicate(ctx context.Context, id ApiId, options TagListByApiOperationOptions, predicate TagContractOperationPredicate) (resp TagListByApiCompleteResult, err error)
TagListByApiCompleteMatchingPredicate retrieves all of the results and then applied 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) 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 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 Model *TagContract }
type TagListByApiCompleteResult ¶
type TagListByApiCompleteResult struct {
Items []TagContract
}
type TagListByApiOperationOptions ¶
func DefaultTagListByApiOperationOptions ¶
func DefaultTagListByApiOperationOptions() TagListByApiOperationOptions
type TagListByApiOperationResponse ¶
type TagListByApiOperationResponse struct { HttpResponse *http.Response Model *[]TagContract // contains filtered or unexported fields }
func (TagListByApiOperationResponse) HasMore ¶
func (r TagListByApiOperationResponse) HasMore() bool
func (TagListByApiOperationResponse) LoadMore ¶
func (r TagListByApiOperationResponse) LoadMore(ctx context.Context) (resp TagListByApiOperationResponse, err error)