Documentation ¶
Index ¶
- func ValidateApiID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTagDescriptionID(input interface{}, key string) (warnings []string, errors []error)
- type ApiId
- type ApiTagDescriptionClient
- func (c ApiTagDescriptionClient) CreateOrUpdate(ctx context.Context, id TagDescriptionId, input TagDescriptionCreateParameters, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ApiTagDescriptionClient) Delete(ctx context.Context, id TagDescriptionId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c ApiTagDescriptionClient) Get(ctx context.Context, id TagDescriptionId) (result GetOperationResponse, err error)
- func (c ApiTagDescriptionClient) GetEntityTag(ctx context.Context, id TagDescriptionId) (result GetEntityTagOperationResponse, err error)
- func (c ApiTagDescriptionClient) ListByService(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
- func (c ApiTagDescriptionClient) ListByServiceComplete(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c ApiTagDescriptionClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByServiceOperationOptions, ...) (resp ListByServiceCompleteResult, err error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type TagDescriptionBaseProperties
- type TagDescriptionContract
- type TagDescriptionContractOperationPredicate
- type TagDescriptionContractProperties
- type TagDescriptionCreateParameters
- type TagDescriptionId
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 ValidateTagDescriptionID ¶
ValidateTagDescriptionID checks that 'input' can be parsed as a Tag Description 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 ApiTagDescriptionClient ¶
type ApiTagDescriptionClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewApiTagDescriptionClientWithBaseURI ¶
func NewApiTagDescriptionClientWithBaseURI(endpoint string) ApiTagDescriptionClient
func (ApiTagDescriptionClient) CreateOrUpdate ¶
func (c ApiTagDescriptionClient) CreateOrUpdate(ctx context.Context, id TagDescriptionId, input TagDescriptionCreateParameters, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ApiTagDescriptionClient) Delete ¶
func (c ApiTagDescriptionClient) Delete(ctx context.Context, id TagDescriptionId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (ApiTagDescriptionClient) Get ¶
func (c ApiTagDescriptionClient) Get(ctx context.Context, id TagDescriptionId) (result GetOperationResponse, err error)
Get ...
func (ApiTagDescriptionClient) GetEntityTag ¶
func (c ApiTagDescriptionClient) GetEntityTag(ctx context.Context, id TagDescriptionId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (ApiTagDescriptionClient) ListByService ¶
func (c ApiTagDescriptionClient) ListByService(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
ListByService ...
func (ApiTagDescriptionClient) ListByServiceComplete ¶
func (c ApiTagDescriptionClient) ListByServiceComplete(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all of the results into a single object
func (ApiTagDescriptionClient) ListByServiceCompleteMatchingPredicate ¶
func (c ApiTagDescriptionClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByServiceOperationOptions, predicate TagDescriptionContractOperationPredicate) (resp ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *TagDescriptionContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *TagDescriptionContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []TagDescriptionContract
}
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response Model *[]TagDescriptionContract // contains filtered or unexported fields }
func (ListByServiceOperationResponse) HasMore ¶
func (r ListByServiceOperationResponse) HasMore() bool
func (ListByServiceOperationResponse) LoadMore ¶
func (r ListByServiceOperationResponse) LoadMore(ctx context.Context) (resp ListByServiceOperationResponse, err error)
type TagDescriptionContract ¶
type TagDescriptionContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *TagDescriptionContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type TagDescriptionContractOperationPredicate ¶
func (TagDescriptionContractOperationPredicate) Matches ¶
func (p TagDescriptionContractOperationPredicate) Matches(input TagDescriptionContract) bool
type TagDescriptionContractProperties ¶
type TagDescriptionContractProperties struct { Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` ExternalDocsDescription *string `json:"externalDocsDescription,omitempty"` ExternalDocsUrl *string `json:"externalDocsUrl,omitempty"` TagId *string `json:"tagId,omitempty"` }
type TagDescriptionCreateParameters ¶
type TagDescriptionCreateParameters struct {
Properties *TagDescriptionBaseProperties `json:"properties,omitempty"`
}
type TagDescriptionId ¶
type TagDescriptionId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string TagDescriptionId string }
TagDescriptionId is a struct representing the Resource ID for a Tag Description
func NewTagDescriptionID ¶
func NewTagDescriptionID(subscriptionId string, resourceGroupName string, serviceName string, apiId string, tagDescriptionId string) TagDescriptionId
NewTagDescriptionID returns a new TagDescriptionId struct
func ParseTagDescriptionID ¶
func ParseTagDescriptionID(input string) (*TagDescriptionId, error)
ParseTagDescriptionID parses 'input' into a TagDescriptionId
func ParseTagDescriptionIDInsensitively ¶
func ParseTagDescriptionIDInsensitively(input string) (*TagDescriptionId, error)
ParseTagDescriptionIDInsensitively parses 'input' case-insensitively into a TagDescriptionId note: this method should only be used for API response data and not user input
func (TagDescriptionId) ID ¶
func (id TagDescriptionId) ID() string
ID returns the formatted Tag Description ID
func (TagDescriptionId) Segments ¶
func (id TagDescriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Tag Description ID
func (TagDescriptionId) String ¶
func (id TagDescriptionId) String() string
String returns a human-readable description of this Tag Description ID
Source Files ¶
- client.go
- id_api.go
- id_tagdescription.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_getentitytag_autorest.go
- method_listbyservice_autorest.go
- model_tagdescriptionbaseproperties.go
- model_tagdescriptioncontract.go
- model_tagdescriptioncontractproperties.go
- model_tagdescriptioncreateparameters.go
- predicates.go
- version.go