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) (result 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, ...) (result 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 *resourcemanager.Client
}
func NewApiTagDescriptionClientWithBaseURI ¶
func NewApiTagDescriptionClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiTagDescriptionClient, error)
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) (result ListByServiceOperationResponse, err error)
ListByService ...
func (ApiTagDescriptionClient) ListByServiceComplete ¶
func (c ApiTagDescriptionClient) ListByServiceComplete(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (ApiTagDescriptionClient) ListByServiceCompleteMatchingPredicate ¶
func (c ApiTagDescriptionClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByServiceOperationOptions, predicate TagDescriptionContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagDescriptionContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TagDescriptionContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []TagDescriptionContract
}
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
func (ListByServiceOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o ListByServiceOperationOptions) ToHeaders() *client.Headers
func (ListByServiceOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o ListByServiceOperationOptions) ToOData() *odata.Query
func (ListByServiceOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o ListByServiceOperationOptions) ToQuery() *client.QueryParams
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TagDescriptionContract }
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.go
- method_delete.go
- method_get.go
- method_getentitytag.go
- method_listbyservice.go
- model_tagdescriptionbaseproperties.go
- model_tagdescriptioncontract.go
- model_tagdescriptioncontractproperties.go
- model_tagdescriptioncreateparameters.go
- predicates.go
- version.go