forked from shintovincent/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
models.go
282 lines (227 loc) · 8.42 KB
/
models.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
// +build go1.9
// Copyright 2018 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
package storage
import original "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2017-10-01/storage"
type AccountsClient = original.AccountsClient
func NewAccountsClient(subscriptionID string) AccountsClient {
return original.NewAccountsClient(subscriptionID)
}
func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient {
return original.NewAccountsClientWithBaseURI(baseURI, subscriptionID)
}
const (
DefaultBaseURI = original.DefaultBaseURI
)
type ManagementClient = original.ManagementClient
func New(subscriptionID string) ManagementClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
type AccessTier = original.AccessTier
const (
Cool AccessTier = original.Cool
Hot AccessTier = original.Hot
)
type AccountStatus = original.AccountStatus
const (
Available AccountStatus = original.Available
Unavailable AccountStatus = original.Unavailable
)
type Action = original.Action
const (
Allow Action = original.Allow
)
type Bypass = original.Bypass
const (
AzureServices Bypass = original.AzureServices
Logging Bypass = original.Logging
Metrics Bypass = original.Metrics
None Bypass = original.None
)
type DefaultAction = original.DefaultAction
const (
DefaultActionAllow DefaultAction = original.DefaultActionAllow
DefaultActionDeny DefaultAction = original.DefaultActionDeny
)
type HTTPProtocol = original.HTTPProtocol
const (
HTTPS HTTPProtocol = original.HTTPS
Httpshttp HTTPProtocol = original.Httpshttp
)
type KeyPermission = original.KeyPermission
const (
Full KeyPermission = original.Full
Read KeyPermission = original.Read
)
type KeySource = original.KeySource
const (
MicrosoftKeyvault KeySource = original.MicrosoftKeyvault
MicrosoftStorage KeySource = original.MicrosoftStorage
)
type Kind = original.Kind
const (
BlobStorage Kind = original.BlobStorage
Storage Kind = original.Storage
StorageV2 Kind = original.StorageV2
)
type Permissions = original.Permissions
const (
A Permissions = original.A
C Permissions = original.C
D Permissions = original.D
L Permissions = original.L
P Permissions = original.P
R Permissions = original.R
U Permissions = original.U
W Permissions = original.W
)
type ProvisioningState = original.ProvisioningState
const (
Creating ProvisioningState = original.Creating
ResolvingDNS ProvisioningState = original.ResolvingDNS
Succeeded ProvisioningState = original.Succeeded
)
type Reason = original.Reason
const (
AccountNameInvalid Reason = original.AccountNameInvalid
AlreadyExists Reason = original.AlreadyExists
)
type ReasonCode = original.ReasonCode
const (
NotAvailableForSubscription ReasonCode = original.NotAvailableForSubscription
QuotaID ReasonCode = original.QuotaID
)
type Services = original.Services
const (
B Services = original.B
F Services = original.F
Q Services = original.Q
T Services = original.T
)
type SignedResource = original.SignedResource
const (
SignedResourceB SignedResource = original.SignedResourceB
SignedResourceC SignedResource = original.SignedResourceC
SignedResourceF SignedResource = original.SignedResourceF
SignedResourceS SignedResource = original.SignedResourceS
)
type SignedResourceTypes = original.SignedResourceTypes
const (
SignedResourceTypesC SignedResourceTypes = original.SignedResourceTypesC
SignedResourceTypesO SignedResourceTypes = original.SignedResourceTypesO
SignedResourceTypesS SignedResourceTypes = original.SignedResourceTypesS
)
type SkuName = original.SkuName
const (
PremiumLRS SkuName = original.PremiumLRS
StandardGRS SkuName = original.StandardGRS
StandardLRS SkuName = original.StandardLRS
StandardRAGRS SkuName = original.StandardRAGRS
StandardZRS SkuName = original.StandardZRS
)
type SkuTier = original.SkuTier
const (
Premium SkuTier = original.Premium
Standard SkuTier = original.Standard
)
type State = original.State
const (
StateDeprovisioning State = original.StateDeprovisioning
StateFailed State = original.StateFailed
StateNetworkSourceDeleted State = original.StateNetworkSourceDeleted
StateProvisioning State = original.StateProvisioning
StateSucceeded State = original.StateSucceeded
)
type UsageUnit = original.UsageUnit
const (
Bytes UsageUnit = original.Bytes
BytesPerSecond UsageUnit = original.BytesPerSecond
Count UsageUnit = original.Count
CountsPerSecond UsageUnit = original.CountsPerSecond
Percent UsageUnit = original.Percent
Seconds UsageUnit = original.Seconds
)
type Account = original.Account
type AccountCheckNameAvailabilityParameters = original.AccountCheckNameAvailabilityParameters
type AccountCreateParameters = original.AccountCreateParameters
type AccountKey = original.AccountKey
type AccountListKeysResult = original.AccountListKeysResult
type AccountListResult = original.AccountListResult
type AccountProperties = original.AccountProperties
type AccountPropertiesCreateParameters = original.AccountPropertiesCreateParameters
type AccountPropertiesUpdateParameters = original.AccountPropertiesUpdateParameters
type AccountRegenerateKeyParameters = original.AccountRegenerateKeyParameters
type AccountSasParameters = original.AccountSasParameters
type AccountUpdateParameters = original.AccountUpdateParameters
type CheckNameAvailabilityResult = original.CheckNameAvailabilityResult
type CustomDomain = original.CustomDomain
type Dimension = original.Dimension
type Encryption = original.Encryption
type EncryptionService = original.EncryptionService
type EncryptionServices = original.EncryptionServices
type Endpoints = original.Endpoints
type Identity = original.Identity
type IPRule = original.IPRule
type KeyVaultProperties = original.KeyVaultProperties
type ListAccountSasResponse = original.ListAccountSasResponse
type ListServiceSasResponse = original.ListServiceSasResponse
type MetricSpecification = original.MetricSpecification
type NetworkRuleSet = original.NetworkRuleSet
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationProperties = original.OperationProperties
type Resource = original.Resource
type Restriction = original.Restriction
type ServiceSasParameters = original.ServiceSasParameters
type ServiceSpecification = original.ServiceSpecification
type Sku = original.Sku
type SKUCapability = original.SKUCapability
type SkuListResult = original.SkuListResult
type Usage = original.Usage
type UsageListResult = original.UsageListResult
type UsageName = original.UsageName
type VirtualNetworkRule = original.VirtualNetworkRule
type OperationsClient = original.OperationsClient
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
type SkusClient = original.SkusClient
func NewSkusClient(subscriptionID string) SkusClient {
return original.NewSkusClient(subscriptionID)
}
func NewSkusClientWithBaseURI(baseURI string, subscriptionID string) SkusClient {
return original.NewSkusClientWithBaseURI(baseURI, subscriptionID)
}
type UsageClient = original.UsageClient
func NewUsageClient(subscriptionID string) UsageClient {
return original.NewUsageClient(subscriptionID)
}
func NewUsageClientWithBaseURI(baseURI string, subscriptionID string) UsageClient {
return original.NewUsageClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}