README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/apimanagement/2023-03-01-preview/apiversionset
Documentation
The apiversionset
SDK allows for interaction with the Azure Resource Manager Service apimanagement
(API Version 2023-03-01-preview
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-sdk/resource-manager/apimanagement/2023-03-01-preview/apiversionset"
Client Initialization
client := apiversionset.NewApiVersionSetClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: ApiVersionSetClient.CreateOrUpdate
ctx := context.TODO()
id := apiversionset.NewApiVersionSetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "versionSetIdValue")
payload := apiversionset.ApiVersionSetContract{
// ...
}
read, err := client.CreateOrUpdate(ctx, id, payload, apiversionset.DefaultCreateOrUpdateOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ApiVersionSetClient.Get
ctx := context.TODO()
id := apiversionset.NewApiVersionSetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "versionSetIdValue")
read, err := client.Get(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ApiVersionSetClient.GetEntityTag
ctx := context.TODO()
id := apiversionset.NewApiVersionSetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "versionSetIdValue")
read, err := client.GetEntityTag(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ApiVersionSetClient.ListByService
ctx := context.TODO()
id := apiversionset.NewServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue")
// alternatively `client.ListByService(ctx, id, apiversionset.DefaultListByServiceOperationOptions())` can be used to do batched pagination
items, err := client.ListByServiceComplete(ctx, id, apiversionset.DefaultListByServiceOperationOptions())
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: ApiVersionSetClient.Update
ctx := context.TODO()
id := apiversionset.NewApiVersionSetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "versionSetIdValue")
payload := apiversionset.ApiVersionSetUpdateParameters{
// ...
}
read, err := client.Update(ctx, id, payload, apiversionset.DefaultUpdateOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ApiVersionSetClient.WorkspaceApiVersionSetCreateOrUpdate
ctx := context.TODO()
id := apiversionset.NewWorkspaceApiVersionSetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "workspaceIdValue", "versionSetIdValue")
payload := apiversionset.ApiVersionSetContract{
// ...
}
read, err := client.WorkspaceApiVersionSetCreateOrUpdate(ctx, id, payload, apiversionset.DefaultWorkspaceApiVersionSetCreateOrUpdateOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ApiVersionSetClient.WorkspaceApiVersionSetGet
ctx := context.TODO()
id := apiversionset.NewWorkspaceApiVersionSetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "workspaceIdValue", "versionSetIdValue")
read, err := client.WorkspaceApiVersionSetGet(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ApiVersionSetClient.WorkspaceApiVersionSetGetEntityTag
ctx := context.TODO()
id := apiversionset.NewWorkspaceApiVersionSetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "workspaceIdValue", "versionSetIdValue")
read, err := client.WorkspaceApiVersionSetGetEntityTag(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ApiVersionSetClient.WorkspaceApiVersionSetListByService
ctx := context.TODO()
id := apiversionset.NewWorkspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "workspaceIdValue")
// alternatively `client.WorkspaceApiVersionSetListByService(ctx, id, apiversionset.DefaultWorkspaceApiVersionSetListByServiceOperationOptions())` can be used to do batched pagination
items, err := client.WorkspaceApiVersionSetListByServiceComplete(ctx, id, apiversionset.DefaultWorkspaceApiVersionSetListByServiceOperationOptions())
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: ApiVersionSetClient.WorkspaceApiVersionSetUpdate
ctx := context.TODO()
id := apiversionset.NewWorkspaceApiVersionSetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceValue", "workspaceIdValue", "versionSetIdValue")
payload := apiversionset.ApiVersionSetUpdateParameters{
// ...
}
read, err := client.WorkspaceApiVersionSetUpdate(ctx, id, payload, apiversionset.DefaultWorkspaceApiVersionSetUpdateOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
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)
- func ValidateWorkspaceApiVersionSetID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(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)
- func (c ApiVersionSetClient) WorkspaceApiVersionSetCreateOrUpdate(ctx context.Context, id WorkspaceApiVersionSetId, input ApiVersionSetContract, ...) (result WorkspaceApiVersionSetCreateOrUpdateOperationResponse, err error)
- func (c ApiVersionSetClient) WorkspaceApiVersionSetGet(ctx context.Context, id WorkspaceApiVersionSetId) (result WorkspaceApiVersionSetGetOperationResponse, err error)
- func (c ApiVersionSetClient) WorkspaceApiVersionSetGetEntityTag(ctx context.Context, id WorkspaceApiVersionSetId) (result WorkspaceApiVersionSetGetEntityTagOperationResponse, err error)
- func (c ApiVersionSetClient) WorkspaceApiVersionSetListByService(ctx context.Context, id WorkspaceId, ...) (result WorkspaceApiVersionSetListByServiceOperationResponse, err error)
- func (c ApiVersionSetClient) WorkspaceApiVersionSetListByServiceComplete(ctx context.Context, id WorkspaceId, ...) (WorkspaceApiVersionSetListByServiceCompleteResult, error)
- func (c ApiVersionSetClient) WorkspaceApiVersionSetListByServiceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result WorkspaceApiVersionSetListByServiceCompleteResult, err error)
- func (c ApiVersionSetClient) WorkspaceApiVersionSetUpdate(ctx context.Context, id WorkspaceApiVersionSetId, ...) (result WorkspaceApiVersionSetUpdateOperationResponse, 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
- type WorkspaceApiVersionSetCreateOrUpdateOperationOptions
- type WorkspaceApiVersionSetCreateOrUpdateOperationResponse
- type WorkspaceApiVersionSetGetEntityTagOperationResponse
- type WorkspaceApiVersionSetGetOperationResponse
- type WorkspaceApiVersionSetId
- func NewWorkspaceApiVersionSetID(subscriptionId string, resourceGroupName string, serviceName string, ...) WorkspaceApiVersionSetId
- func ParseWorkspaceApiVersionSetID(input string) (*WorkspaceApiVersionSetId, error)
- func ParseWorkspaceApiVersionSetIDInsensitively(input string) (*WorkspaceApiVersionSetId, error)
- type WorkspaceApiVersionSetListByServiceCompleteResult
- type WorkspaceApiVersionSetListByServiceOperationOptions
- type WorkspaceApiVersionSetListByServiceOperationResponse
- type WorkspaceApiVersionSetUpdateOperationOptions
- type WorkspaceApiVersionSetUpdateOperationResponse
- type WorkspaceId
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
func ValidateWorkspaceApiVersionSetID ¶
func ValidateWorkspaceApiVersionSetID(input interface{}, key string) (warnings []string, errors []error)
ValidateWorkspaceApiVersionSetID checks that 'input' can be parsed as a Workspace Api Version Set ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace 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 ...
func (ApiVersionSetClient) WorkspaceApiVersionSetCreateOrUpdate ¶
func (c ApiVersionSetClient) WorkspaceApiVersionSetCreateOrUpdate(ctx context.Context, id WorkspaceApiVersionSetId, input ApiVersionSetContract, options WorkspaceApiVersionSetCreateOrUpdateOperationOptions) (result WorkspaceApiVersionSetCreateOrUpdateOperationResponse, err error)
WorkspaceApiVersionSetCreateOrUpdate ...
func (ApiVersionSetClient) WorkspaceApiVersionSetGet ¶
func (c ApiVersionSetClient) WorkspaceApiVersionSetGet(ctx context.Context, id WorkspaceApiVersionSetId) (result WorkspaceApiVersionSetGetOperationResponse, err error)
WorkspaceApiVersionSetGet ...
func (ApiVersionSetClient) WorkspaceApiVersionSetGetEntityTag ¶
func (c ApiVersionSetClient) WorkspaceApiVersionSetGetEntityTag(ctx context.Context, id WorkspaceApiVersionSetId) (result WorkspaceApiVersionSetGetEntityTagOperationResponse, err error)
WorkspaceApiVersionSetGetEntityTag ...
func (ApiVersionSetClient) WorkspaceApiVersionSetListByService ¶
func (c ApiVersionSetClient) WorkspaceApiVersionSetListByService(ctx context.Context, id WorkspaceId, options WorkspaceApiVersionSetListByServiceOperationOptions) (result WorkspaceApiVersionSetListByServiceOperationResponse, err error)
WorkspaceApiVersionSetListByService ...
func (ApiVersionSetClient) WorkspaceApiVersionSetListByServiceComplete ¶
func (c ApiVersionSetClient) WorkspaceApiVersionSetListByServiceComplete(ctx context.Context, id WorkspaceId, options WorkspaceApiVersionSetListByServiceOperationOptions) (WorkspaceApiVersionSetListByServiceCompleteResult, error)
WorkspaceApiVersionSetListByServiceComplete retrieves all the results into a single object
func (ApiVersionSetClient) WorkspaceApiVersionSetListByServiceCompleteMatchingPredicate ¶
func (c ApiVersionSetClient) WorkspaceApiVersionSetListByServiceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options WorkspaceApiVersionSetListByServiceOperationOptions, predicate ApiVersionSetContractOperationPredicate) (result WorkspaceApiVersionSetListByServiceCompleteResult, err error)
WorkspaceApiVersionSetListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ApiVersionSetClient) WorkspaceApiVersionSetUpdate ¶
func (c ApiVersionSetClient) WorkspaceApiVersionSetUpdate(ctx context.Context, id WorkspaceApiVersionSetId, input ApiVersionSetUpdateParameters, options WorkspaceApiVersionSetUpdateOperationOptions) (result WorkspaceApiVersionSetUpdateOperationResponse, err error)
WorkspaceApiVersionSetUpdate ...
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 ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
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 {
Items []ApiVersionSetContract
}
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
func (ListByServiceOperationOptions) ToHeaders ¶
func (o ListByServiceOperationOptions) ToHeaders() *client.Headers
func (ListByServiceOperationOptions) ToOData ¶
func (o ListByServiceOperationOptions) ToOData() *odata.Query
func (ListByServiceOperationOptions) ToQuery ¶
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 ¶
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶
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 ¶
func (s *VersioningScheme) UnmarshalJSON(bytes []byte) error
type WorkspaceApiVersionSetCreateOrUpdateOperationOptions ¶
type WorkspaceApiVersionSetCreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultWorkspaceApiVersionSetCreateOrUpdateOperationOptions ¶
func DefaultWorkspaceApiVersionSetCreateOrUpdateOperationOptions() WorkspaceApiVersionSetCreateOrUpdateOperationOptions
func (WorkspaceApiVersionSetCreateOrUpdateOperationOptions) ToHeaders ¶
func (o WorkspaceApiVersionSetCreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (WorkspaceApiVersionSetCreateOrUpdateOperationOptions) ToOData ¶
func (o WorkspaceApiVersionSetCreateOrUpdateOperationOptions) ToOData() *odata.Query
func (WorkspaceApiVersionSetCreateOrUpdateOperationOptions) ToQuery ¶
func (o WorkspaceApiVersionSetCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type WorkspaceApiVersionSetCreateOrUpdateOperationResponse ¶
type WorkspaceApiVersionSetCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApiVersionSetContract }
type WorkspaceApiVersionSetGetOperationResponse ¶
type WorkspaceApiVersionSetGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApiVersionSetContract }
type WorkspaceApiVersionSetId ¶
type WorkspaceApiVersionSetId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string VersionSetId string }
WorkspaceApiVersionSetId is a struct representing the Resource ID for a Workspace Api Version Set
func NewWorkspaceApiVersionSetID ¶
func NewWorkspaceApiVersionSetID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string, versionSetId string) WorkspaceApiVersionSetId
NewWorkspaceApiVersionSetID returns a new WorkspaceApiVersionSetId struct
func ParseWorkspaceApiVersionSetID ¶
func ParseWorkspaceApiVersionSetID(input string) (*WorkspaceApiVersionSetId, error)
ParseWorkspaceApiVersionSetID parses 'input' into a WorkspaceApiVersionSetId
func ParseWorkspaceApiVersionSetIDInsensitively ¶
func ParseWorkspaceApiVersionSetIDInsensitively(input string) (*WorkspaceApiVersionSetId, error)
ParseWorkspaceApiVersionSetIDInsensitively parses 'input' case-insensitively into a WorkspaceApiVersionSetId note: this method should only be used for API response data and not user input
func (*WorkspaceApiVersionSetId) FromParseResult ¶ added in v0.20231127.1171502
func (id *WorkspaceApiVersionSetId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceApiVersionSetId) ID ¶
func (id WorkspaceApiVersionSetId) ID() string
ID returns the formatted Workspace Api Version Set ID
func (WorkspaceApiVersionSetId) Segments ¶
func (id WorkspaceApiVersionSetId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace Api Version Set ID
func (WorkspaceApiVersionSetId) String ¶
func (id WorkspaceApiVersionSetId) String() string
String returns a human-readable description of this Workspace Api Version Set ID
type WorkspaceApiVersionSetListByServiceCompleteResult ¶
type WorkspaceApiVersionSetListByServiceCompleteResult struct {
Items []ApiVersionSetContract
}
type WorkspaceApiVersionSetListByServiceOperationOptions ¶
type WorkspaceApiVersionSetListByServiceOperationOptions struct { Filter *string Skip *int64 Top *int64 }
func DefaultWorkspaceApiVersionSetListByServiceOperationOptions ¶
func DefaultWorkspaceApiVersionSetListByServiceOperationOptions() WorkspaceApiVersionSetListByServiceOperationOptions
func (WorkspaceApiVersionSetListByServiceOperationOptions) ToHeaders ¶
func (o WorkspaceApiVersionSetListByServiceOperationOptions) ToHeaders() *client.Headers
func (WorkspaceApiVersionSetListByServiceOperationOptions) ToOData ¶
func (o WorkspaceApiVersionSetListByServiceOperationOptions) ToOData() *odata.Query
func (WorkspaceApiVersionSetListByServiceOperationOptions) ToQuery ¶
func (o WorkspaceApiVersionSetListByServiceOperationOptions) ToQuery() *client.QueryParams
type WorkspaceApiVersionSetListByServiceOperationResponse ¶
type WorkspaceApiVersionSetListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ApiVersionSetContract }
type WorkspaceApiVersionSetUpdateOperationOptions ¶
type WorkspaceApiVersionSetUpdateOperationOptions struct {
IfMatch *string
}
func DefaultWorkspaceApiVersionSetUpdateOperationOptions ¶
func DefaultWorkspaceApiVersionSetUpdateOperationOptions() WorkspaceApiVersionSetUpdateOperationOptions
func (WorkspaceApiVersionSetUpdateOperationOptions) ToHeaders ¶
func (o WorkspaceApiVersionSetUpdateOperationOptions) ToHeaders() *client.Headers
func (WorkspaceApiVersionSetUpdateOperationOptions) ToOData ¶
func (o WorkspaceApiVersionSetUpdateOperationOptions) ToOData() *odata.Query
func (WorkspaceApiVersionSetUpdateOperationOptions) ToQuery ¶
func (o WorkspaceApiVersionSetUpdateOperationOptions) ToQuery() *client.QueryParams
type WorkspaceApiVersionSetUpdateOperationResponse ¶
type WorkspaceApiVersionSetUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApiVersionSetContract }
type WorkspaceId ¶
type WorkspaceId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string }
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (*WorkspaceId) FromParseResult ¶ added in v0.20231127.1171502
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID
Source Files ¶
- client.go
- constants.go
- id_apiversionset.go
- id_service.go
- id_workspace.go
- id_workspaceapiversionset.go
- method_createorupdate.go
- method_get.go
- method_getentitytag.go
- method_listbyservice.go
- method_update.go
- method_workspaceapiversionsetcreateorupdate.go
- method_workspaceapiversionsetget.go
- method_workspaceapiversionsetgetentitytag.go
- method_workspaceapiversionsetlistbyservice.go
- method_workspaceapiversionsetupdate.go
- model_apiversionsetcontract.go
- model_apiversionsetcontractproperties.go
- model_apiversionsetupdateparameters.go
- model_apiversionsetupdateparametersproperties.go
- predicates.go
- version.go