-
Notifications
You must be signed in to change notification settings - Fork 822
/
models.go
331 lines (297 loc) · 15.6 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
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
//go:build go1.9
// +build go1.9
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/eng/tools/profileBuilder
package recoveryservices
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2021-08-01/recoveryservices"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type AuthType = original.AuthType
const (
AuthTypeAAD AuthType = original.AuthTypeAAD
AuthTypeAccessControlService AuthType = original.AuthTypeAccessControlService
AuthTypeACS AuthType = original.AuthTypeACS
AuthTypeAzureActiveDirectory AuthType = original.AuthTypeAzureActiveDirectory
AuthTypeInvalid AuthType = original.AuthTypeInvalid
)
type AuthTypeBasicResourceCertificateDetails = original.AuthTypeBasicResourceCertificateDetails
const (
AuthTypeBasicResourceCertificateDetailsAuthTypeAccessControlService AuthTypeBasicResourceCertificateDetails = original.AuthTypeBasicResourceCertificateDetailsAuthTypeAccessControlService
AuthTypeBasicResourceCertificateDetailsAuthTypeAzureActiveDirectory AuthTypeBasicResourceCertificateDetails = original.AuthTypeBasicResourceCertificateDetailsAuthTypeAzureActiveDirectory
AuthTypeBasicResourceCertificateDetailsAuthTypeResourceCertificateDetails AuthTypeBasicResourceCertificateDetails = original.AuthTypeBasicResourceCertificateDetailsAuthTypeResourceCertificateDetails
)
type CreatedByType = original.CreatedByType
const (
CreatedByTypeApplication CreatedByType = original.CreatedByTypeApplication
CreatedByTypeKey CreatedByType = original.CreatedByTypeKey
CreatedByTypeManagedIdentity CreatedByType = original.CreatedByTypeManagedIdentity
CreatedByTypeUser CreatedByType = original.CreatedByTypeUser
)
type InfrastructureEncryptionState = original.InfrastructureEncryptionState
const (
InfrastructureEncryptionStateDisabled InfrastructureEncryptionState = original.InfrastructureEncryptionStateDisabled
InfrastructureEncryptionStateEnabled InfrastructureEncryptionState = original.InfrastructureEncryptionStateEnabled
)
type PrivateEndpointConnectionStatus = original.PrivateEndpointConnectionStatus
const (
PrivateEndpointConnectionStatusApproved PrivateEndpointConnectionStatus = original.PrivateEndpointConnectionStatusApproved
PrivateEndpointConnectionStatusDisconnected PrivateEndpointConnectionStatus = original.PrivateEndpointConnectionStatusDisconnected
PrivateEndpointConnectionStatusPending PrivateEndpointConnectionStatus = original.PrivateEndpointConnectionStatusPending
PrivateEndpointConnectionStatusRejected PrivateEndpointConnectionStatus = original.PrivateEndpointConnectionStatusRejected
)
type ProvisioningState = original.ProvisioningState
const (
ProvisioningStateDeleting ProvisioningState = original.ProvisioningStateDeleting
ProvisioningStateFailed ProvisioningState = original.ProvisioningStateFailed
ProvisioningStatePending ProvisioningState = original.ProvisioningStatePending
ProvisioningStateSucceeded ProvisioningState = original.ProvisioningStateSucceeded
)
type ResourceIdentityType = original.ResourceIdentityType
const (
ResourceIdentityTypeNone ResourceIdentityType = original.ResourceIdentityTypeNone
ResourceIdentityTypeSystemAssigned ResourceIdentityType = original.ResourceIdentityTypeSystemAssigned
ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = original.ResourceIdentityTypeSystemAssignedUserAssigned
ResourceIdentityTypeUserAssigned ResourceIdentityType = original.ResourceIdentityTypeUserAssigned
)
type ResourceMoveState = original.ResourceMoveState
const (
ResourceMoveStateCommitFailed ResourceMoveState = original.ResourceMoveStateCommitFailed
ResourceMoveStateCommitTimedout ResourceMoveState = original.ResourceMoveStateCommitTimedout
ResourceMoveStateCriticalFailure ResourceMoveState = original.ResourceMoveStateCriticalFailure
ResourceMoveStateFailure ResourceMoveState = original.ResourceMoveStateFailure
ResourceMoveStateInProgress ResourceMoveState = original.ResourceMoveStateInProgress
ResourceMoveStateMoveSucceeded ResourceMoveState = original.ResourceMoveStateMoveSucceeded
ResourceMoveStatePartialSuccess ResourceMoveState = original.ResourceMoveStatePartialSuccess
ResourceMoveStatePrepareFailed ResourceMoveState = original.ResourceMoveStatePrepareFailed
ResourceMoveStatePrepareTimedout ResourceMoveState = original.ResourceMoveStatePrepareTimedout
ResourceMoveStateUnknown ResourceMoveState = original.ResourceMoveStateUnknown
)
type SkuName = original.SkuName
const (
SkuNameRS0 SkuName = original.SkuNameRS0
SkuNameStandard SkuName = original.SkuNameStandard
)
type TriggerType = original.TriggerType
const (
TriggerTypeForcedUpgrade TriggerType = original.TriggerTypeForcedUpgrade
TriggerTypeUserTriggered TriggerType = original.TriggerTypeUserTriggered
)
type UsagesUnit = original.UsagesUnit
const (
UsagesUnitBytes UsagesUnit = original.UsagesUnitBytes
UsagesUnitBytesPerSecond UsagesUnit = original.UsagesUnitBytesPerSecond
UsagesUnitCount UsagesUnit = original.UsagesUnitCount
UsagesUnitCountPerSecond UsagesUnit = original.UsagesUnitCountPerSecond
UsagesUnitPercent UsagesUnit = original.UsagesUnitPercent
UsagesUnitSeconds UsagesUnit = original.UsagesUnitSeconds
)
type VaultPrivateEndpointState = original.VaultPrivateEndpointState
const (
VaultPrivateEndpointStateEnabled VaultPrivateEndpointState = original.VaultPrivateEndpointStateEnabled
VaultPrivateEndpointStateNone VaultPrivateEndpointState = original.VaultPrivateEndpointStateNone
)
type VaultUpgradeState = original.VaultUpgradeState
const (
VaultUpgradeStateFailed VaultUpgradeState = original.VaultUpgradeStateFailed
VaultUpgradeStateInProgress VaultUpgradeState = original.VaultUpgradeStateInProgress
VaultUpgradeStateUnknown VaultUpgradeState = original.VaultUpgradeStateUnknown
VaultUpgradeStateUpgraded VaultUpgradeState = original.VaultUpgradeStateUpgraded
)
type BaseClient = original.BaseClient
type BasicResourceCertificateDetails = original.BasicResourceCertificateDetails
type CertificateRequest = original.CertificateRequest
type CheckNameAvailabilityParameters = original.CheckNameAvailabilityParameters
type CheckNameAvailabilityResult = original.CheckNameAvailabilityResult
type Client = original.Client
type ClientDiscoveryDisplay = original.ClientDiscoveryDisplay
type ClientDiscoveryForLogSpecification = original.ClientDiscoveryForLogSpecification
type ClientDiscoveryForProperties = original.ClientDiscoveryForProperties
type ClientDiscoveryForServiceSpecification = original.ClientDiscoveryForServiceSpecification
type ClientDiscoveryResponse = original.ClientDiscoveryResponse
type ClientDiscoveryResponseIterator = original.ClientDiscoveryResponseIterator
type ClientDiscoveryResponsePage = original.ClientDiscoveryResponsePage
type ClientDiscoveryValueForSingleAPI = original.ClientDiscoveryValueForSingleAPI
type CloudError = original.CloudError
type CmkKekIdentity = original.CmkKekIdentity
type CmkKeyVaultProperties = original.CmkKeyVaultProperties
type Error = original.Error
type ErrorAdditionalInfo = original.ErrorAdditionalInfo
type IdentityData = original.IdentityData
type JobsSummary = original.JobsSummary
type MonitoringSummary = original.MonitoringSummary
type NameInfo = original.NameInfo
type OperationResource = original.OperationResource
type OperationsClient = original.OperationsClient
type PatchTrackedResource = original.PatchTrackedResource
type PatchVault = original.PatchVault
type PrivateEndpoint = original.PrivateEndpoint
type PrivateEndpointConnection = original.PrivateEndpointConnection
type PrivateEndpointConnectionVaultProperties = original.PrivateEndpointConnectionVaultProperties
type PrivateLinkResource = original.PrivateLinkResource
type PrivateLinkResourceProperties = original.PrivateLinkResourceProperties
type PrivateLinkResources = original.PrivateLinkResources
type PrivateLinkResourcesClient = original.PrivateLinkResourcesClient
type PrivateLinkResourcesIterator = original.PrivateLinkResourcesIterator
type PrivateLinkResourcesPage = original.PrivateLinkResourcesPage
type PrivateLinkServiceConnectionState = original.PrivateLinkServiceConnectionState
type RawCertificateData = original.RawCertificateData
type RegisteredIdentitiesClient = original.RegisteredIdentitiesClient
type ReplicationUsage = original.ReplicationUsage
type ReplicationUsageList = original.ReplicationUsageList
type ReplicationUsagesClient = original.ReplicationUsagesClient
type Resource = original.Resource
type ResourceCertificateAndAadDetails = original.ResourceCertificateAndAadDetails
type ResourceCertificateAndAcsDetails = original.ResourceCertificateAndAcsDetails
type ResourceCertificateDetails = original.ResourceCertificateDetails
type Sku = original.Sku
type SystemData = original.SystemData
type TrackedResource = original.TrackedResource
type UpgradeDetails = original.UpgradeDetails
type UsagesClient = original.UsagesClient
type UserIdentity = original.UserIdentity
type Vault = original.Vault
type VaultCertificateResponse = original.VaultCertificateResponse
type VaultCertificatesClient = original.VaultCertificatesClient
type VaultExtendedInfo = original.VaultExtendedInfo
type VaultExtendedInfoClient = original.VaultExtendedInfoClient
type VaultExtendedInfoResource = original.VaultExtendedInfoResource
type VaultList = original.VaultList
type VaultListIterator = original.VaultListIterator
type VaultListPage = original.VaultListPage
type VaultProperties = original.VaultProperties
type VaultPropertiesEncryption = original.VaultPropertiesEncryption
type VaultPropertiesMoveDetails = original.VaultPropertiesMoveDetails
type VaultUsage = original.VaultUsage
type VaultUsageList = original.VaultUsageList
type VaultsClient = original.VaultsClient
type VaultsCreateOrUpdateFuture = original.VaultsCreateOrUpdateFuture
type VaultsUpdateFuture = original.VaultsUpdateFuture
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewClient(subscriptionID string) Client {
return original.NewClient(subscriptionID)
}
func NewClientDiscoveryResponseIterator(page ClientDiscoveryResponsePage) ClientDiscoveryResponseIterator {
return original.NewClientDiscoveryResponseIterator(page)
}
func NewClientDiscoveryResponsePage(cur ClientDiscoveryResponse, getNextPage func(context.Context, ClientDiscoveryResponse) (ClientDiscoveryResponse, error)) ClientDiscoveryResponsePage {
return original.NewClientDiscoveryResponsePage(cur, getNextPage)
}
func NewClientWithBaseURI(baseURI string, subscriptionID string) Client {
return original.NewClientWithBaseURI(baseURI, subscriptionID)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient {
return original.NewPrivateLinkResourcesClient(subscriptionID)
}
func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient {
return original.NewPrivateLinkResourcesClientWithBaseURI(baseURI, subscriptionID)
}
func NewPrivateLinkResourcesIterator(page PrivateLinkResourcesPage) PrivateLinkResourcesIterator {
return original.NewPrivateLinkResourcesIterator(page)
}
func NewPrivateLinkResourcesPage(cur PrivateLinkResources, getNextPage func(context.Context, PrivateLinkResources) (PrivateLinkResources, error)) PrivateLinkResourcesPage {
return original.NewPrivateLinkResourcesPage(cur, getNextPage)
}
func NewRegisteredIdentitiesClient(subscriptionID string) RegisteredIdentitiesClient {
return original.NewRegisteredIdentitiesClient(subscriptionID)
}
func NewRegisteredIdentitiesClientWithBaseURI(baseURI string, subscriptionID string) RegisteredIdentitiesClient {
return original.NewRegisteredIdentitiesClientWithBaseURI(baseURI, subscriptionID)
}
func NewReplicationUsagesClient(subscriptionID string) ReplicationUsagesClient {
return original.NewReplicationUsagesClient(subscriptionID)
}
func NewReplicationUsagesClientWithBaseURI(baseURI string, subscriptionID string) ReplicationUsagesClient {
return original.NewReplicationUsagesClientWithBaseURI(baseURI, subscriptionID)
}
func NewUsagesClient(subscriptionID string) UsagesClient {
return original.NewUsagesClient(subscriptionID)
}
func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient {
return original.NewUsagesClientWithBaseURI(baseURI, subscriptionID)
}
func NewVaultCertificatesClient(subscriptionID string) VaultCertificatesClient {
return original.NewVaultCertificatesClient(subscriptionID)
}
func NewVaultCertificatesClientWithBaseURI(baseURI string, subscriptionID string) VaultCertificatesClient {
return original.NewVaultCertificatesClientWithBaseURI(baseURI, subscriptionID)
}
func NewVaultExtendedInfoClient(subscriptionID string) VaultExtendedInfoClient {
return original.NewVaultExtendedInfoClient(subscriptionID)
}
func NewVaultExtendedInfoClientWithBaseURI(baseURI string, subscriptionID string) VaultExtendedInfoClient {
return original.NewVaultExtendedInfoClientWithBaseURI(baseURI, subscriptionID)
}
func NewVaultListIterator(page VaultListPage) VaultListIterator {
return original.NewVaultListIterator(page)
}
func NewVaultListPage(cur VaultList, getNextPage func(context.Context, VaultList) (VaultList, error)) VaultListPage {
return original.NewVaultListPage(cur, getNextPage)
}
func NewVaultsClient(subscriptionID string) VaultsClient {
return original.NewVaultsClient(subscriptionID)
}
func NewVaultsClientWithBaseURI(baseURI string, subscriptionID string) VaultsClient {
return original.NewVaultsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleAuthTypeBasicResourceCertificateDetailsValues() []AuthTypeBasicResourceCertificateDetails {
return original.PossibleAuthTypeBasicResourceCertificateDetailsValues()
}
func PossibleAuthTypeValues() []AuthType {
return original.PossibleAuthTypeValues()
}
func PossibleCreatedByTypeValues() []CreatedByType {
return original.PossibleCreatedByTypeValues()
}
func PossibleInfrastructureEncryptionStateValues() []InfrastructureEncryptionState {
return original.PossibleInfrastructureEncryptionStateValues()
}
func PossiblePrivateEndpointConnectionStatusValues() []PrivateEndpointConnectionStatus {
return original.PossiblePrivateEndpointConnectionStatusValues()
}
func PossibleProvisioningStateValues() []ProvisioningState {
return original.PossibleProvisioningStateValues()
}
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return original.PossibleResourceIdentityTypeValues()
}
func PossibleResourceMoveStateValues() []ResourceMoveState {
return original.PossibleResourceMoveStateValues()
}
func PossibleSkuNameValues() []SkuName {
return original.PossibleSkuNameValues()
}
func PossibleTriggerTypeValues() []TriggerType {
return original.PossibleTriggerTypeValues()
}
func PossibleUsagesUnitValues() []UsagesUnit {
return original.PossibleUsagesUnitValues()
}
func PossibleVaultPrivateEndpointStateValues() []VaultPrivateEndpointState {
return original.PossibleVaultPrivateEndpointStateValues()
}
func PossibleVaultUpgradeStateValues() []VaultUpgradeState {
return original.PossibleVaultUpgradeStateValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
func Version() string {
return original.Version()
}