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) (resp 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, ...) (resp 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 autorest.Client // contains filtered or unexported fields }
func NewApiVersionSetClientWithBaseURI ¶
func NewApiVersionSetClientWithBaseURI(endpoint string) ApiVersionSetClient
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) (resp ListByServiceOperationResponse, err error)
ListByService ...
func (ApiVersionSetClient) ListByServiceComplete ¶
func (c ApiVersionSetClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all of the results into a single object
func (ApiVersionSetClient) ListByServiceCompleteMatchingPredicate ¶
func (c ApiVersionSetClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate ApiVersionSetContractOperationPredicate) (resp ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all of the results and then applied 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"` 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) 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"`
}
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
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *ApiVersionSetContract }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ApiVersionSetContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []ApiVersionSetContract
}
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response Model *[]ApiVersionSetContract // 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 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) 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
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *ApiVersionSetContract }
type VersioningScheme ¶
type VersioningScheme string
const ( VersioningSchemeHeader VersioningScheme = "Header" VersioningSchemeQuery VersioningScheme = "Query" VersioningSchemeSegment VersioningScheme = "Segment" )
Source Files ¶
- client.go
- constants.go
- id_apiversionset.go
- id_service.go
- method_createorupdate_autorest.go
- method_get_autorest.go
- method_getentitytag_autorest.go
- method_listbyservice_autorest.go
- method_update_autorest.go
- model_apiversionsetcontract.go
- model_apiversionsetcontractproperties.go
- model_apiversionsetupdateparameters.go
- model_apiversionsetupdateparametersproperties.go
- predicates.go
- version.go