/
service_api_version_set_spec_arm_types_gen.go
48 lines (36 loc) · 1.93 KB
/
service_api_version_set_spec_arm_types_gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package v1api20220801
import "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
type Service_ApiVersionSet_Spec_ARM struct {
Name string `json:"name,omitempty"`
// Properties: API VersionSet contract properties.
Properties *ApiVersionSetContractProperties_ARM `json:"properties,omitempty"`
}
var _ genruntime.ARMResourceSpec = &Service_ApiVersionSet_Spec_ARM{}
// GetAPIVersion returns the ARM API version of the resource. This is always "2022-08-01"
func (versionSet Service_ApiVersionSet_Spec_ARM) GetAPIVersion() string {
return string(APIVersion_Value)
}
// GetName returns the Name of the resource
func (versionSet *Service_ApiVersionSet_Spec_ARM) GetName() string {
return versionSet.Name
}
// GetType returns the ARM Type of the resource. This is always "Microsoft.ApiManagement/service/apiVersionSets"
func (versionSet *Service_ApiVersionSet_Spec_ARM) GetType() string {
return "Microsoft.ApiManagement/service/apiVersionSets"
}
// Properties of an API Version Set.
type ApiVersionSetContractProperties_ARM struct {
// Description: Description of API Version Set.
Description *string `json:"description,omitempty"`
// DisplayName: Name of API Version Set
DisplayName *string `json:"displayName,omitempty"`
// VersionHeaderName: Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`.
VersionHeaderName *string `json:"versionHeaderName,omitempty"`
// VersionQueryName: Name of query parameter that indicates the API Version if versioningScheme is set to `query`.
VersionQueryName *string `json:"versionQueryName,omitempty"`
// VersioningScheme: An value that determines where the API Version identifier will be located in a HTTP request.
VersioningScheme *ApiVersionSetContractProperties_VersioningScheme `json:"versioningScheme,omitempty"`
}