Documentation ¶
Index ¶
- func PossibleValuesForVersioningScheme() []string
- func ValidateApiVersionSetID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type ApiVersionSetClient
- func (c ApiVersionSetClient) CreateOrUpdate(ctx context.Context, id ApiVersionSetId, input ApiVersionSetContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ApiVersionSetClient) Get(ctx context.Context, id ApiVersionSetId) (result GetOperationResponse, err error)
- func (c ApiVersionSetClient) GetEntityTag(ctx context.Context, id ApiVersionSetId) (result GetEntityTagOperationResponse, err error)
- func (c ApiVersionSetClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
- func (c ApiVersionSetClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c ApiVersionSetClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error)
- func (c ApiVersionSetClient) Update(ctx context.Context, id ApiVersionSetId, input ApiVersionSetUpdateParameters, ...) (result UpdateOperationResponse, err error)
- type ApiVersionSetContract
- type ApiVersionSetContractOperationPredicate
- type ApiVersionSetContractProperties
- type ApiVersionSetId
- type ApiVersionSetUpdateParameters
- type ApiVersionSetUpdateParametersProperties
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type ServiceId
- type UpdateOperationOptions
- type UpdateOperationResponse
- type VersioningScheme
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForVersioningScheme ¶
func PossibleValuesForVersioningScheme() []string
func ValidateApiVersionSetID ¶
ValidateApiVersionSetID checks that 'input' can be parsed as a Api Version Set ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type ApiVersionSetClient ¶
type ApiVersionSetClient struct {
Client *resourcemanager.Client
}
func NewApiVersionSetClientWithBaseURI ¶
func NewApiVersionSetClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiVersionSetClient, error)
func (ApiVersionSetClient) CreateOrUpdate ¶
func (c ApiVersionSetClient) CreateOrUpdate(ctx context.Context, id ApiVersionSetId, input ApiVersionSetContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ApiVersionSetClient) Get ¶
func (c ApiVersionSetClient) Get(ctx context.Context, id ApiVersionSetId) (result GetOperationResponse, err error)
Get ...
func (ApiVersionSetClient) GetEntityTag ¶
func (c ApiVersionSetClient) GetEntityTag(ctx context.Context, id ApiVersionSetId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (ApiVersionSetClient) ListByService ¶
func (c ApiVersionSetClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
ListByService ...
func (ApiVersionSetClient) ListByServiceComplete ¶
func (c ApiVersionSetClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (ApiVersionSetClient) ListByServiceCompleteMatchingPredicate ¶
func (c ApiVersionSetClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate ApiVersionSetContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ApiVersionSetClient) Update ¶
func (c ApiVersionSetClient) Update(ctx context.Context, id ApiVersionSetId, input ApiVersionSetUpdateParameters, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type ApiVersionSetContract ¶
type ApiVersionSetContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ApiVersionSetContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ApiVersionSetContractOperationPredicate ¶
func (ApiVersionSetContractOperationPredicate) Matches ¶
func (p ApiVersionSetContractOperationPredicate) Matches(input ApiVersionSetContract) bool
type ApiVersionSetContractProperties ¶
type ApiVersionSetContractProperties struct { Description *string `json:"description,omitempty"` DisplayName string `json:"displayName"` VersionHeaderName *string `json:"versionHeaderName,omitempty"` VersionQueryName *string `json:"versionQueryName,omitempty"` VersioningScheme VersioningScheme `json:"versioningScheme"` }
type ApiVersionSetId ¶
type ApiVersionSetId struct { SubscriptionId string ResourceGroupName string ServiceName string VersionSetId string }
ApiVersionSetId is a struct representing the Resource ID for a Api Version Set
func NewApiVersionSetID ¶
func NewApiVersionSetID(subscriptionId string, resourceGroupName string, serviceName string, versionSetId string) ApiVersionSetId
NewApiVersionSetID returns a new ApiVersionSetId struct
func ParseApiVersionSetID ¶
func ParseApiVersionSetID(input string) (*ApiVersionSetId, error)
ParseApiVersionSetID parses 'input' into a ApiVersionSetId
func ParseApiVersionSetIDInsensitively ¶
func ParseApiVersionSetIDInsensitively(input string) (*ApiVersionSetId, error)
ParseApiVersionSetIDInsensitively parses 'input' case-insensitively into a ApiVersionSetId note: this method should only be used for API response data and not user input
func (*ApiVersionSetId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ApiVersionSetId) FromParseResult(input resourceids.ParseResult) error
func (ApiVersionSetId) ID ¶
func (id ApiVersionSetId) ID() string
ID returns the formatted Api Version Set ID
func (ApiVersionSetId) Segments ¶
func (id ApiVersionSetId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api Version Set ID
func (ApiVersionSetId) String ¶
func (id ApiVersionSetId) String() string
String returns a human-readable description of this Api Version Set ID
type ApiVersionSetUpdateParameters ¶
type ApiVersionSetUpdateParameters struct {
Properties *ApiVersionSetUpdateParametersProperties `json:"properties,omitempty"`
}
type ApiVersionSetUpdateParametersProperties ¶
type ApiVersionSetUpdateParametersProperties struct { Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` VersionHeaderName *string `json:"versionHeaderName,omitempty"` VersionQueryName *string `json:"versionQueryName,omitempty"` VersioningScheme *VersioningScheme `json:"versioningScheme,omitempty"` }
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 *ApiVersionSetContract }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApiVersionSetContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []ApiVersionSetContract }
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 *[]ApiVersionSetContract }
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (*ServiceId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
func (UpdateOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o UpdateOperationOptions) ToQuery() *client.QueryParams
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApiVersionSetContract }
type VersioningScheme ¶
type VersioningScheme string
const ( VersioningSchemeHeader VersioningScheme = "Header" VersioningSchemeQuery VersioningScheme = "Query" VersioningSchemeSegment VersioningScheme = "Segment" )
func (*VersioningScheme) UnmarshalJSON ¶ added in v0.20230801.1071415
func (s *VersioningScheme) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_apiversionset.go
- id_service.go
- method_createorupdate.go
- method_get.go
- method_getentitytag.go
- method_listbyservice.go
- method_update.go
- model_apiversionsetcontract.go
- model_apiversionsetcontractproperties.go
- model_apiversionsetupdateparameters.go
- model_apiversionsetupdateparametersproperties.go
- predicates.go
- version.go