-
Notifications
You must be signed in to change notification settings - Fork 815
/
models.go
300 lines (277 loc) · 13.8 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
// +build go1.9
// Copyright 2020 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 keyvault
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/keyvault/2016-10-01/keyvault"
)
type ActionType = original.ActionType
const (
AutoRenew ActionType = original.AutoRenew
EmailContacts ActionType = original.EmailContacts
)
type DeletionRecoveryLevel = original.DeletionRecoveryLevel
const (
Purgeable DeletionRecoveryLevel = original.Purgeable
Recoverable DeletionRecoveryLevel = original.Recoverable
RecoverableProtectedSubscription DeletionRecoveryLevel = original.RecoverableProtectedSubscription
RecoverablePurgeable DeletionRecoveryLevel = original.RecoverablePurgeable
)
type JSONWebKeyCurveName = original.JSONWebKeyCurveName
const (
P256 JSONWebKeyCurveName = original.P256
P384 JSONWebKeyCurveName = original.P384
P521 JSONWebKeyCurveName = original.P521
SECP256K1 JSONWebKeyCurveName = original.SECP256K1
)
type JSONWebKeyEncryptionAlgorithm = original.JSONWebKeyEncryptionAlgorithm
const (
RSA15 JSONWebKeyEncryptionAlgorithm = original.RSA15
RSAOAEP JSONWebKeyEncryptionAlgorithm = original.RSAOAEP
RSAOAEP256 JSONWebKeyEncryptionAlgorithm = original.RSAOAEP256
)
type JSONWebKeyOperation = original.JSONWebKeyOperation
const (
Decrypt JSONWebKeyOperation = original.Decrypt
Encrypt JSONWebKeyOperation = original.Encrypt
Sign JSONWebKeyOperation = original.Sign
UnwrapKey JSONWebKeyOperation = original.UnwrapKey
Verify JSONWebKeyOperation = original.Verify
WrapKey JSONWebKeyOperation = original.WrapKey
)
type JSONWebKeySignatureAlgorithm = original.JSONWebKeySignatureAlgorithm
const (
ECDSA256 JSONWebKeySignatureAlgorithm = original.ECDSA256
ES256 JSONWebKeySignatureAlgorithm = original.ES256
ES384 JSONWebKeySignatureAlgorithm = original.ES384
ES512 JSONWebKeySignatureAlgorithm = original.ES512
PS256 JSONWebKeySignatureAlgorithm = original.PS256
PS384 JSONWebKeySignatureAlgorithm = original.PS384
PS512 JSONWebKeySignatureAlgorithm = original.PS512
RS256 JSONWebKeySignatureAlgorithm = original.RS256
RS384 JSONWebKeySignatureAlgorithm = original.RS384
RS512 JSONWebKeySignatureAlgorithm = original.RS512
RSNULL JSONWebKeySignatureAlgorithm = original.RSNULL
)
type JSONWebKeyType = original.JSONWebKeyType
const (
EC JSONWebKeyType = original.EC
ECHSM JSONWebKeyType = original.ECHSM
Oct JSONWebKeyType = original.Oct
RSA JSONWebKeyType = original.RSA
RSAHSM JSONWebKeyType = original.RSAHSM
)
type KeyUsageType = original.KeyUsageType
const (
CRLSign KeyUsageType = original.CRLSign
DataEncipherment KeyUsageType = original.DataEncipherment
DecipherOnly KeyUsageType = original.DecipherOnly
DigitalSignature KeyUsageType = original.DigitalSignature
EncipherOnly KeyUsageType = original.EncipherOnly
KeyAgreement KeyUsageType = original.KeyAgreement
KeyCertSign KeyUsageType = original.KeyCertSign
KeyEncipherment KeyUsageType = original.KeyEncipherment
NonRepudiation KeyUsageType = original.NonRepudiation
)
type Action = original.Action
type AdministratorDetails = original.AdministratorDetails
type Attributes = original.Attributes
type BackupKeyResult = original.BackupKeyResult
type BackupSecretResult = original.BackupSecretResult
type BaseClient = original.BaseClient
type CertificateAttributes = original.CertificateAttributes
type CertificateBundle = original.CertificateBundle
type CertificateCreateParameters = original.CertificateCreateParameters
type CertificateImportParameters = original.CertificateImportParameters
type CertificateIssuerItem = original.CertificateIssuerItem
type CertificateIssuerListResult = original.CertificateIssuerListResult
type CertificateIssuerListResultIterator = original.CertificateIssuerListResultIterator
type CertificateIssuerListResultPage = original.CertificateIssuerListResultPage
type CertificateIssuerSetParameters = original.CertificateIssuerSetParameters
type CertificateIssuerUpdateParameters = original.CertificateIssuerUpdateParameters
type CertificateItem = original.CertificateItem
type CertificateListResult = original.CertificateListResult
type CertificateListResultIterator = original.CertificateListResultIterator
type CertificateListResultPage = original.CertificateListResultPage
type CertificateMergeParameters = original.CertificateMergeParameters
type CertificateOperation = original.CertificateOperation
type CertificateOperationUpdateParameter = original.CertificateOperationUpdateParameter
type CertificatePolicy = original.CertificatePolicy
type CertificateUpdateParameters = original.CertificateUpdateParameters
type Contact = original.Contact
type Contacts = original.Contacts
type DeletedCertificateBundle = original.DeletedCertificateBundle
type DeletedCertificateItem = original.DeletedCertificateItem
type DeletedCertificateListResult = original.DeletedCertificateListResult
type DeletedCertificateListResultIterator = original.DeletedCertificateListResultIterator
type DeletedCertificateListResultPage = original.DeletedCertificateListResultPage
type DeletedKeyBundle = original.DeletedKeyBundle
type DeletedKeyItem = original.DeletedKeyItem
type DeletedKeyListResult = original.DeletedKeyListResult
type DeletedKeyListResultIterator = original.DeletedKeyListResultIterator
type DeletedKeyListResultPage = original.DeletedKeyListResultPage
type DeletedSecretBundle = original.DeletedSecretBundle
type DeletedSecretItem = original.DeletedSecretItem
type DeletedSecretListResult = original.DeletedSecretListResult
type DeletedSecretListResultIterator = original.DeletedSecretListResultIterator
type DeletedSecretListResultPage = original.DeletedSecretListResultPage
type Error = original.Error
type ErrorType = original.ErrorType
type IssuerAttributes = original.IssuerAttributes
type IssuerBundle = original.IssuerBundle
type IssuerCredentials = original.IssuerCredentials
type IssuerParameters = original.IssuerParameters
type JSONWebKey = original.JSONWebKey
type KeyAttributes = original.KeyAttributes
type KeyBundle = original.KeyBundle
type KeyCreateParameters = original.KeyCreateParameters
type KeyImportParameters = original.KeyImportParameters
type KeyItem = original.KeyItem
type KeyListResult = original.KeyListResult
type KeyListResultIterator = original.KeyListResultIterator
type KeyListResultPage = original.KeyListResultPage
type KeyOperationResult = original.KeyOperationResult
type KeyOperationsParameters = original.KeyOperationsParameters
type KeyProperties = original.KeyProperties
type KeyRestoreParameters = original.KeyRestoreParameters
type KeySignParameters = original.KeySignParameters
type KeyUpdateParameters = original.KeyUpdateParameters
type KeyVerifyParameters = original.KeyVerifyParameters
type KeyVerifyResult = original.KeyVerifyResult
type LifetimeAction = original.LifetimeAction
type OrganizationDetails = original.OrganizationDetails
type PendingCertificateSigningRequestResult = original.PendingCertificateSigningRequestResult
type SasDefinitionAttributes = original.SasDefinitionAttributes
type SasDefinitionBundle = original.SasDefinitionBundle
type SasDefinitionCreateParameters = original.SasDefinitionCreateParameters
type SasDefinitionItem = original.SasDefinitionItem
type SasDefinitionListResult = original.SasDefinitionListResult
type SasDefinitionListResultIterator = original.SasDefinitionListResultIterator
type SasDefinitionListResultPage = original.SasDefinitionListResultPage
type SasDefinitionUpdateParameters = original.SasDefinitionUpdateParameters
type SecretAttributes = original.SecretAttributes
type SecretBundle = original.SecretBundle
type SecretItem = original.SecretItem
type SecretListResult = original.SecretListResult
type SecretListResultIterator = original.SecretListResultIterator
type SecretListResultPage = original.SecretListResultPage
type SecretProperties = original.SecretProperties
type SecretRestoreParameters = original.SecretRestoreParameters
type SecretSetParameters = original.SecretSetParameters
type SecretUpdateParameters = original.SecretUpdateParameters
type StorageAccountAttributes = original.StorageAccountAttributes
type StorageAccountCreateParameters = original.StorageAccountCreateParameters
type StorageAccountItem = original.StorageAccountItem
type StorageAccountRegenerteKeyParameters = original.StorageAccountRegenerteKeyParameters
type StorageAccountUpdateParameters = original.StorageAccountUpdateParameters
type StorageBundle = original.StorageBundle
type StorageListResult = original.StorageListResult
type StorageListResultIterator = original.StorageListResultIterator
type StorageListResultPage = original.StorageListResultPage
type SubjectAlternativeNames = original.SubjectAlternativeNames
type Trigger = original.Trigger
type X509CertificateProperties = original.X509CertificateProperties
func New() BaseClient {
return original.New()
}
func NewCertificateIssuerListResultIterator(page CertificateIssuerListResultPage) CertificateIssuerListResultIterator {
return original.NewCertificateIssuerListResultIterator(page)
}
func NewCertificateIssuerListResultPage(getNextPage func(context.Context, CertificateIssuerListResult) (CertificateIssuerListResult, error)) CertificateIssuerListResultPage {
return original.NewCertificateIssuerListResultPage(getNextPage)
}
func NewCertificateListResultIterator(page CertificateListResultPage) CertificateListResultIterator {
return original.NewCertificateListResultIterator(page)
}
func NewCertificateListResultPage(getNextPage func(context.Context, CertificateListResult) (CertificateListResult, error)) CertificateListResultPage {
return original.NewCertificateListResultPage(getNextPage)
}
func NewDeletedCertificateListResultIterator(page DeletedCertificateListResultPage) DeletedCertificateListResultIterator {
return original.NewDeletedCertificateListResultIterator(page)
}
func NewDeletedCertificateListResultPage(getNextPage func(context.Context, DeletedCertificateListResult) (DeletedCertificateListResult, error)) DeletedCertificateListResultPage {
return original.NewDeletedCertificateListResultPage(getNextPage)
}
func NewDeletedKeyListResultIterator(page DeletedKeyListResultPage) DeletedKeyListResultIterator {
return original.NewDeletedKeyListResultIterator(page)
}
func NewDeletedKeyListResultPage(getNextPage func(context.Context, DeletedKeyListResult) (DeletedKeyListResult, error)) DeletedKeyListResultPage {
return original.NewDeletedKeyListResultPage(getNextPage)
}
func NewDeletedSecretListResultIterator(page DeletedSecretListResultPage) DeletedSecretListResultIterator {
return original.NewDeletedSecretListResultIterator(page)
}
func NewDeletedSecretListResultPage(getNextPage func(context.Context, DeletedSecretListResult) (DeletedSecretListResult, error)) DeletedSecretListResultPage {
return original.NewDeletedSecretListResultPage(getNextPage)
}
func NewKeyListResultIterator(page KeyListResultPage) KeyListResultIterator {
return original.NewKeyListResultIterator(page)
}
func NewKeyListResultPage(getNextPage func(context.Context, KeyListResult) (KeyListResult, error)) KeyListResultPage {
return original.NewKeyListResultPage(getNextPage)
}
func NewSasDefinitionListResultIterator(page SasDefinitionListResultPage) SasDefinitionListResultIterator {
return original.NewSasDefinitionListResultIterator(page)
}
func NewSasDefinitionListResultPage(getNextPage func(context.Context, SasDefinitionListResult) (SasDefinitionListResult, error)) SasDefinitionListResultPage {
return original.NewSasDefinitionListResultPage(getNextPage)
}
func NewSecretListResultIterator(page SecretListResultPage) SecretListResultIterator {
return original.NewSecretListResultIterator(page)
}
func NewSecretListResultPage(getNextPage func(context.Context, SecretListResult) (SecretListResult, error)) SecretListResultPage {
return original.NewSecretListResultPage(getNextPage)
}
func NewStorageListResultIterator(page StorageListResultPage) StorageListResultIterator {
return original.NewStorageListResultIterator(page)
}
func NewStorageListResultPage(getNextPage func(context.Context, StorageListResult) (StorageListResult, error)) StorageListResultPage {
return original.NewStorageListResultPage(getNextPage)
}
func NewWithoutDefaults() BaseClient {
return original.NewWithoutDefaults()
}
func PossibleActionTypeValues() []ActionType {
return original.PossibleActionTypeValues()
}
func PossibleDeletionRecoveryLevelValues() []DeletionRecoveryLevel {
return original.PossibleDeletionRecoveryLevelValues()
}
func PossibleJSONWebKeyCurveNameValues() []JSONWebKeyCurveName {
return original.PossibleJSONWebKeyCurveNameValues()
}
func PossibleJSONWebKeyEncryptionAlgorithmValues() []JSONWebKeyEncryptionAlgorithm {
return original.PossibleJSONWebKeyEncryptionAlgorithmValues()
}
func PossibleJSONWebKeyOperationValues() []JSONWebKeyOperation {
return original.PossibleJSONWebKeyOperationValues()
}
func PossibleJSONWebKeySignatureAlgorithmValues() []JSONWebKeySignatureAlgorithm {
return original.PossibleJSONWebKeySignatureAlgorithmValues()
}
func PossibleJSONWebKeyTypeValues() []JSONWebKeyType {
return original.PossibleJSONWebKeyTypeValues()
}
func PossibleKeyUsageTypeValues() []KeyUsageType {
return original.PossibleKeyUsageTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2018-03-01"
}
func Version() string {
return original.Version()
}