@azure/keyvault-admin 4.7.0-alpha.20250529.1 → 4.7.0-alpha.20250610.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/constants.d.ts +2 -2
- package/dist/commonjs/constants.d.ts.map +1 -1
- package/dist/commonjs/constants.js +2 -2
- package/dist/commonjs/constants.js.map +1 -1
- package/dist/commonjs/generated/api/index.d.ts +2 -2
- package/dist/commonjs/generated/api/index.d.ts.map +1 -1
- package/dist/commonjs/generated/api/index.js +2 -2
- package/dist/commonjs/generated/api/index.js.map +1 -1
- package/dist/commonjs/generated/api/keyVaultContext.js +1 -1
- package/dist/commonjs/generated/api/keyVaultContext.js.map +1 -1
- package/dist/commonjs/generated/api/operations.d.ts +7 -6
- package/dist/commonjs/generated/api/operations.d.ts.map +1 -1
- package/dist/commonjs/generated/api/operations.js +110 -48
- package/dist/commonjs/generated/api/operations.js.map +1 -1
- package/dist/commonjs/generated/api/options.d.ts +2 -30
- package/dist/commonjs/generated/api/options.d.ts.map +1 -1
- package/dist/commonjs/generated/api/options.js.map +1 -1
- package/dist/commonjs/generated/api/roleAssignments/index.d.ts +2 -25
- package/dist/commonjs/generated/api/roleAssignments/index.d.ts.map +1 -1
- package/dist/commonjs/generated/api/roleAssignments/index.js +6 -105
- package/dist/commonjs/generated/api/roleAssignments/index.js.map +1 -1
- package/dist/commonjs/generated/api/roleAssignments/operations.d.ts +27 -0
- package/dist/commonjs/generated/api/roleAssignments/operations.d.ts.map +1 -0
- package/dist/commonjs/generated/api/roleAssignments/operations.js +133 -0
- package/dist/commonjs/generated/api/roleAssignments/operations.js.map +1 -0
- package/dist/commonjs/generated/api/roleAssignments/options.d.ts +16 -0
- package/dist/commonjs/generated/api/roleAssignments/options.d.ts.map +1 -0
- package/dist/commonjs/generated/api/roleAssignments/options.js +5 -0
- package/dist/commonjs/generated/api/roleAssignments/options.js.map +1 -0
- package/dist/commonjs/generated/api/roleDefinitions/index.d.ts +2 -25
- package/dist/commonjs/generated/api/roleDefinitions/index.d.ts.map +1 -1
- package/dist/commonjs/generated/api/roleDefinitions/index.js +6 -105
- package/dist/commonjs/generated/api/roleDefinitions/index.js.map +1 -1
- package/dist/commonjs/generated/api/roleDefinitions/operations.d.ts +27 -0
- package/dist/commonjs/generated/api/roleDefinitions/operations.d.ts.map +1 -0
- package/dist/commonjs/generated/api/roleDefinitions/operations.js +133 -0
- package/dist/commonjs/generated/api/roleDefinitions/operations.js.map +1 -0
- package/dist/commonjs/generated/api/roleDefinitions/options.d.ts +16 -0
- package/dist/commonjs/generated/api/roleDefinitions/options.d.ts.map +1 -0
- package/dist/commonjs/generated/api/roleDefinitions/options.js +5 -0
- package/dist/commonjs/generated/api/roleDefinitions/options.js.map +1 -0
- package/dist/commonjs/generated/classic/roleAssignments/index.d.ts +1 -1
- package/dist/commonjs/generated/classic/roleAssignments/index.d.ts.map +1 -1
- package/dist/commonjs/generated/classic/roleAssignments/index.js +5 -5
- package/dist/commonjs/generated/classic/roleAssignments/index.js.map +1 -1
- package/dist/commonjs/generated/classic/roleDefinitions/index.d.ts +1 -1
- package/dist/commonjs/generated/classic/roleDefinitions/index.d.ts.map +1 -1
- package/dist/commonjs/generated/classic/roleDefinitions/index.js +5 -5
- package/dist/commonjs/generated/classic/roleDefinitions/index.js.map +1 -1
- package/dist/commonjs/generated/index.d.ts +4 -2
- package/dist/commonjs/generated/index.d.ts.map +1 -1
- package/dist/commonjs/generated/index.js +2 -2
- package/dist/commonjs/generated/index.js.map +1 -1
- package/dist/commonjs/generated/keyVaultClient.d.ts +9 -8
- package/dist/commonjs/generated/keyVaultClient.d.ts.map +1 -1
- package/dist/commonjs/generated/keyVaultClient.js +21 -20
- package/dist/commonjs/generated/keyVaultClient.js.map +1 -1
- package/dist/commonjs/generated/models/index.d.ts +1 -1
- package/dist/commonjs/generated/models/index.d.ts.map +1 -1
- package/dist/commonjs/generated/models/index.js +2 -2
- package/dist/commonjs/generated/models/index.js.map +1 -1
- package/dist/commonjs/generated/models/models.d.ts +78 -82
- package/dist/commonjs/generated/models/models.d.ts.map +1 -1
- package/dist/commonjs/generated/models/models.js +70 -68
- package/dist/commonjs/generated/models/models.js.map +1 -1
- package/dist/commonjs/generated/restorePollerHelpers.js +4 -4
- package/dist/commonjs/generated/restorePollerHelpers.js.map +1 -1
- package/dist/commonjs/generated/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/generated/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/commonjs/generated/static-helpers/urlTemplate.js +175 -0
- package/dist/commonjs/generated/static-helpers/urlTemplate.js.map +1 -0
- package/dist/esm/constants.d.ts +2 -2
- package/dist/esm/constants.d.ts.map +1 -1
- package/dist/esm/constants.js +2 -2
- package/dist/esm/constants.js.map +1 -1
- package/dist/esm/generated/api/index.d.ts +2 -2
- package/dist/esm/generated/api/index.d.ts.map +1 -1
- package/dist/esm/generated/api/index.js +1 -1
- package/dist/esm/generated/api/index.js.map +1 -1
- package/dist/esm/generated/api/keyVaultContext.js +1 -1
- package/dist/esm/generated/api/keyVaultContext.js.map +1 -1
- package/dist/esm/generated/api/operations.d.ts +7 -6
- package/dist/esm/generated/api/operations.d.ts.map +1 -1
- package/dist/esm/generated/api/operations.js +108 -46
- package/dist/esm/generated/api/operations.js.map +1 -1
- package/dist/esm/generated/api/options.d.ts +2 -30
- package/dist/esm/generated/api/options.d.ts.map +1 -1
- package/dist/esm/generated/api/options.js.map +1 -1
- package/dist/esm/generated/api/roleAssignments/index.d.ts +2 -25
- package/dist/esm/generated/api/roleAssignments/index.d.ts.map +1 -1
- package/dist/esm/generated/api/roleAssignments/index.js +1 -93
- package/dist/esm/generated/api/roleAssignments/index.js.map +1 -1
- package/dist/esm/generated/api/roleAssignments/operations.d.ts +27 -0
- package/dist/esm/generated/api/roleAssignments/operations.d.ts.map +1 -0
- package/dist/esm/generated/api/roleAssignments/operations.js +119 -0
- package/dist/esm/generated/api/roleAssignments/operations.js.map +1 -0
- package/dist/esm/generated/api/roleAssignments/options.d.ts +16 -0
- package/dist/esm/generated/api/roleAssignments/options.d.ts.map +1 -0
- package/dist/esm/generated/api/roleAssignments/options.js +4 -0
- package/dist/esm/generated/api/roleAssignments/options.js.map +1 -0
- package/dist/esm/generated/api/roleDefinitions/index.d.ts +2 -25
- package/dist/esm/generated/api/roleDefinitions/index.d.ts.map +1 -1
- package/dist/esm/generated/api/roleDefinitions/index.js +1 -93
- package/dist/esm/generated/api/roleDefinitions/index.js.map +1 -1
- package/dist/esm/generated/api/roleDefinitions/operations.d.ts +27 -0
- package/dist/esm/generated/api/roleDefinitions/operations.d.ts.map +1 -0
- package/dist/esm/generated/api/roleDefinitions/operations.js +119 -0
- package/dist/esm/generated/api/roleDefinitions/operations.js.map +1 -0
- package/dist/esm/generated/api/roleDefinitions/options.d.ts +16 -0
- package/dist/esm/generated/api/roleDefinitions/options.d.ts.map +1 -0
- package/dist/esm/generated/api/roleDefinitions/options.js +4 -0
- package/dist/esm/generated/api/roleDefinitions/options.js.map +1 -0
- package/dist/esm/generated/classic/roleAssignments/index.d.ts +1 -1
- package/dist/esm/generated/classic/roleAssignments/index.d.ts.map +1 -1
- package/dist/esm/generated/classic/roleAssignments/index.js +1 -1
- package/dist/esm/generated/classic/roleAssignments/index.js.map +1 -1
- package/dist/esm/generated/classic/roleDefinitions/index.d.ts +1 -1
- package/dist/esm/generated/classic/roleDefinitions/index.d.ts.map +1 -1
- package/dist/esm/generated/classic/roleDefinitions/index.js +1 -1
- package/dist/esm/generated/classic/roleDefinitions/index.js.map +1 -1
- package/dist/esm/generated/index.d.ts +4 -2
- package/dist/esm/generated/index.d.ts.map +1 -1
- package/dist/esm/generated/index.js +1 -1
- package/dist/esm/generated/index.js.map +1 -1
- package/dist/esm/generated/keyVaultClient.d.ts +9 -8
- package/dist/esm/generated/keyVaultClient.d.ts.map +1 -1
- package/dist/esm/generated/keyVaultClient.js +6 -5
- package/dist/esm/generated/keyVaultClient.js.map +1 -1
- package/dist/esm/generated/models/index.d.ts +1 -1
- package/dist/esm/generated/models/index.d.ts.map +1 -1
- package/dist/esm/generated/models/index.js +1 -1
- package/dist/esm/generated/models/index.js.map +1 -1
- package/dist/esm/generated/models/models.d.ts +78 -82
- package/dist/esm/generated/models/models.d.ts.map +1 -1
- package/dist/esm/generated/models/models.js +61 -59
- package/dist/esm/generated/models/models.js.map +1 -1
- package/dist/esm/generated/restorePollerHelpers.js +5 -5
- package/dist/esm/generated/restorePollerHelpers.js.map +1 -1
- package/dist/esm/generated/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/generated/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/esm/generated/static-helpers/urlTemplate.js +172 -0
- package/dist/esm/generated/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +2 -2
|
@@ -42,7 +42,7 @@ export type OperationStatus = string;
|
|
|
42
42
|
export type ErrorModel = {
|
|
43
43
|
code?: string;
|
|
44
44
|
message?: string;
|
|
45
|
-
innerError?:
|
|
45
|
+
innerError?: ErrorModel;
|
|
46
46
|
} | null;
|
|
47
47
|
/** model interface _FullBackupOperationError */
|
|
48
48
|
export interface _FullBackupOperationError {
|
|
@@ -51,15 +51,9 @@ export interface _FullBackupOperationError {
|
|
|
51
51
|
/** The error message. */
|
|
52
52
|
readonly message?: string;
|
|
53
53
|
/** The key vault server error. */
|
|
54
|
-
readonly innerError?:
|
|
54
|
+
readonly innerError?: ErrorModel;
|
|
55
55
|
}
|
|
56
56
|
export declare function _fullBackupOperationErrorDeserializer(item: any): _FullBackupOperationError;
|
|
57
|
-
/** Alias for ErrorModel */
|
|
58
|
-
export type ErrorModel_1 = {
|
|
59
|
-
code?: string;
|
|
60
|
-
message?: string;
|
|
61
|
-
innerError?: ErrorModel_1;
|
|
62
|
-
} | null;
|
|
63
57
|
/** The key vault error exception. */
|
|
64
58
|
export interface KeyVaultError {
|
|
65
59
|
/** The key vault server error. */
|
|
@@ -75,7 +69,7 @@ export interface SASTokenParameter {
|
|
|
75
69
|
/** Indicates which authentication method should be used. If set to true, Managed HSM will use the configured user-assigned managed identity to authenticate with Azure Storage. Otherwise, a SAS token has to be specified. */
|
|
76
70
|
useManagedIdentity?: boolean;
|
|
77
71
|
}
|
|
78
|
-
export declare function
|
|
72
|
+
export declare function sasTokenParameterSerializer(item: SASTokenParameter): any;
|
|
79
73
|
/** The authentication method and location for the backup operation. */
|
|
80
74
|
export interface PreBackupOperationParameters {
|
|
81
75
|
/** Azure Blob storage container Uri */
|
|
@@ -103,14 +97,6 @@ export interface RestoreOperation {
|
|
|
103
97
|
}
|
|
104
98
|
export declare function restoreOperationDeserializer(item: any): RestoreOperation;
|
|
105
99
|
/** The authentication method and location for the restore operation. */
|
|
106
|
-
export interface PreRestoreOperationParameters {
|
|
107
|
-
/** A user-provided SAS token to an Azure blob storage container. */
|
|
108
|
-
sasTokenParameters?: SASTokenParameter;
|
|
109
|
-
/** The Folder name of the blob where the previous successful full backup was stored */
|
|
110
|
-
folderToRestore?: string;
|
|
111
|
-
}
|
|
112
|
-
export declare function preRestoreOperationParametersSerializer(item: PreRestoreOperationParameters): any;
|
|
113
|
-
/** The authentication method and location for the restore operation. */
|
|
114
100
|
export interface RestoreOperationParameters {
|
|
115
101
|
/** A user-provided SAS token to an Azure blob storage container. */
|
|
116
102
|
sasTokenParameters: SASTokenParameter;
|
|
@@ -118,6 +104,14 @@ export interface RestoreOperationParameters {
|
|
|
118
104
|
folderToRestore: string;
|
|
119
105
|
}
|
|
120
106
|
export declare function restoreOperationParametersSerializer(item: RestoreOperationParameters): any;
|
|
107
|
+
/** The authentication method and location for the restore operation. */
|
|
108
|
+
export interface PreRestoreOperationParameters {
|
|
109
|
+
/** A user-provided SAS token to an Azure blob storage container. */
|
|
110
|
+
sasTokenParameters?: SASTokenParameter;
|
|
111
|
+
/** The Folder name of the blob where the previous successful full backup was stored */
|
|
112
|
+
folderToRestore?: string;
|
|
113
|
+
}
|
|
114
|
+
export declare function preRestoreOperationParametersSerializer(item: PreRestoreOperationParameters): any;
|
|
121
115
|
/** Selective Key Restore operation */
|
|
122
116
|
export interface SelectiveKeyRestoreOperation {
|
|
123
117
|
/** Status of the restore operation. */
|
|
@@ -161,7 +155,7 @@ export declare function settingDeserializer(item: any): Setting;
|
|
|
161
155
|
/** The type specifier of the value. */
|
|
162
156
|
export declare enum KnownSettingTypeEnum {
|
|
163
157
|
/** A boolean setting value. */
|
|
164
|
-
|
|
158
|
+
Boolean = "boolean"
|
|
165
159
|
}
|
|
166
160
|
/**
|
|
167
161
|
* The type specifier of the value. \
|
|
@@ -178,67 +172,6 @@ export interface SettingsListResult {
|
|
|
178
172
|
}
|
|
179
173
|
export declare function settingsListResultDeserializer(item: any): SettingsListResult;
|
|
180
174
|
export declare function settingArrayDeserializer(result: Array<Setting>): any[];
|
|
181
|
-
/** Role Assignments */
|
|
182
|
-
export interface RoleAssignment {
|
|
183
|
-
/** The role assignment ID. */
|
|
184
|
-
readonly id?: string;
|
|
185
|
-
/** The role assignment name. */
|
|
186
|
-
readonly name?: string;
|
|
187
|
-
/** The role assignment type. */
|
|
188
|
-
readonly type?: string;
|
|
189
|
-
/** Role assignment properties. */
|
|
190
|
-
properties?: RoleAssignmentPropertiesWithScope;
|
|
191
|
-
}
|
|
192
|
-
export declare function roleAssignmentDeserializer(item: any): RoleAssignment;
|
|
193
|
-
/** Role assignment properties with scope. */
|
|
194
|
-
export interface RoleAssignmentPropertiesWithScope {
|
|
195
|
-
/** The role scope. */
|
|
196
|
-
scope?: RoleScope;
|
|
197
|
-
/** The role definition ID. */
|
|
198
|
-
roleDefinitionId?: string;
|
|
199
|
-
/** The principal ID. */
|
|
200
|
-
principalId?: string;
|
|
201
|
-
}
|
|
202
|
-
export declare function roleAssignmentPropertiesWithScopeDeserializer(item: any): RoleAssignmentPropertiesWithScope;
|
|
203
|
-
/** The role scope. */
|
|
204
|
-
export declare enum KnownRoleScope {
|
|
205
|
-
/** Global scope */
|
|
206
|
-
Global = "/",
|
|
207
|
-
/** Keys scope */
|
|
208
|
-
Keys = "/keys"
|
|
209
|
-
}
|
|
210
|
-
/**
|
|
211
|
-
* The role scope. \
|
|
212
|
-
* {@link KnownRoleScope} can be used interchangeably with RoleScope,
|
|
213
|
-
* this enum contains the known values that the service supports.
|
|
214
|
-
* ### Known values supported by the service
|
|
215
|
-
* **\/**: Global scope \
|
|
216
|
-
* **\/keys**: Keys scope
|
|
217
|
-
*/
|
|
218
|
-
export type RoleScope = string;
|
|
219
|
-
/** Role assignment create parameters. */
|
|
220
|
-
export interface RoleAssignmentCreateParameters {
|
|
221
|
-
/** Role assignment properties. */
|
|
222
|
-
properties: RoleAssignmentProperties;
|
|
223
|
-
}
|
|
224
|
-
export declare function roleAssignmentCreateParametersSerializer(item: RoleAssignmentCreateParameters): any;
|
|
225
|
-
/** Role assignment properties. */
|
|
226
|
-
export interface RoleAssignmentProperties {
|
|
227
|
-
/** The role definition ID used in the role assignment. */
|
|
228
|
-
roleDefinitionId: string;
|
|
229
|
-
/** The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group. */
|
|
230
|
-
principalId: string;
|
|
231
|
-
}
|
|
232
|
-
export declare function roleAssignmentPropertiesSerializer(item: RoleAssignmentProperties): any;
|
|
233
|
-
/** Role assignment list operation result. */
|
|
234
|
-
export interface _RoleAssignmentListResult {
|
|
235
|
-
/** Role assignment list. */
|
|
236
|
-
value?: RoleAssignment[];
|
|
237
|
-
/** The URL to use for getting the next set of results. */
|
|
238
|
-
nextLink?: string;
|
|
239
|
-
}
|
|
240
|
-
export declare function _roleAssignmentListResultDeserializer(item: any): _RoleAssignmentListResult;
|
|
241
|
-
export declare function roleAssignmentArrayDeserializer(result: Array<RoleAssignment>): any[];
|
|
242
175
|
/** Role definition. */
|
|
243
176
|
export interface RoleDefinition {
|
|
244
177
|
/** The role definition ID. */
|
|
@@ -254,7 +187,7 @@ export declare function roleDefinitionDeserializer(item: any): RoleDefinition;
|
|
|
254
187
|
/** The role definition type. */
|
|
255
188
|
export declare enum KnownRoleDefinitionType {
|
|
256
189
|
/** Microsoft-defined role definitions. */
|
|
257
|
-
|
|
190
|
+
MicrosoftAuthorizationRoleDefinitions = "Microsoft.Authorization/roleDefinitions"
|
|
258
191
|
}
|
|
259
192
|
/**
|
|
260
193
|
* The role definition type. \
|
|
@@ -422,6 +355,22 @@ export declare enum KnownDataAction {
|
|
|
422
355
|
* **Microsoft.KeyVault\/managedHsm\/rng\/action**: Generate random numbers.
|
|
423
356
|
*/
|
|
424
357
|
export type DataAction = string;
|
|
358
|
+
/** The role scope. */
|
|
359
|
+
export declare enum KnownRoleScope {
|
|
360
|
+
/** Global scope */
|
|
361
|
+
Global = "/",
|
|
362
|
+
/** Keys scope */
|
|
363
|
+
Keys = "/keys"
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* The role scope. \
|
|
367
|
+
* {@link KnownRoleScope} can be used interchangeably with RoleScope,
|
|
368
|
+
* this enum contains the known values that the service supports.
|
|
369
|
+
* ### Known values supported by the service
|
|
370
|
+
* **\/**: Global scope \
|
|
371
|
+
* **\/keys**: Keys scope
|
|
372
|
+
*/
|
|
373
|
+
export type RoleScope = string;
|
|
425
374
|
/** Role definition create parameters. */
|
|
426
375
|
export interface RoleDefinitionCreateParameters {
|
|
427
376
|
/** Role definition properties. */
|
|
@@ -437,11 +386,58 @@ export interface _RoleDefinitionListResult {
|
|
|
437
386
|
}
|
|
438
387
|
export declare function _roleDefinitionListResultDeserializer(item: any): _RoleDefinitionListResult;
|
|
439
388
|
export declare function roleDefinitionArrayDeserializer(result: Array<RoleDefinition>): any[];
|
|
389
|
+
/** Role Assignments */
|
|
390
|
+
export interface RoleAssignment {
|
|
391
|
+
/** The role assignment ID. */
|
|
392
|
+
readonly id?: string;
|
|
393
|
+
/** The role assignment name. */
|
|
394
|
+
readonly name?: string;
|
|
395
|
+
/** The role assignment type. */
|
|
396
|
+
readonly type?: string;
|
|
397
|
+
/** Role assignment properties. */
|
|
398
|
+
properties?: RoleAssignmentPropertiesWithScope;
|
|
399
|
+
}
|
|
400
|
+
export declare function roleAssignmentDeserializer(item: any): RoleAssignment;
|
|
401
|
+
/** Role assignment properties with scope. */
|
|
402
|
+
export interface RoleAssignmentPropertiesWithScope {
|
|
403
|
+
/** The role scope. */
|
|
404
|
+
scope?: RoleScope;
|
|
405
|
+
/** The role definition ID. */
|
|
406
|
+
roleDefinitionId?: string;
|
|
407
|
+
/** The principal ID. */
|
|
408
|
+
principalId?: string;
|
|
409
|
+
}
|
|
410
|
+
export declare function roleAssignmentPropertiesWithScopeDeserializer(item: any): RoleAssignmentPropertiesWithScope;
|
|
411
|
+
/** Role assignment create parameters. */
|
|
412
|
+
export interface RoleAssignmentCreateParameters {
|
|
413
|
+
/** Role assignment properties. */
|
|
414
|
+
properties: RoleAssignmentProperties;
|
|
415
|
+
}
|
|
416
|
+
export declare function roleAssignmentCreateParametersSerializer(item: RoleAssignmentCreateParameters): any;
|
|
417
|
+
/** Role assignment properties. */
|
|
418
|
+
export interface RoleAssignmentProperties {
|
|
419
|
+
/** The role definition ID used in the role assignment. */
|
|
420
|
+
roleDefinitionId: string;
|
|
421
|
+
/** The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group. */
|
|
422
|
+
principalId: string;
|
|
423
|
+
}
|
|
424
|
+
export declare function roleAssignmentPropertiesSerializer(item: RoleAssignmentProperties): any;
|
|
425
|
+
/** Role assignment list operation result. */
|
|
426
|
+
export interface _RoleAssignmentListResult {
|
|
427
|
+
/** Role assignment list. */
|
|
428
|
+
value?: RoleAssignment[];
|
|
429
|
+
/** The URL to use for getting the next set of results. */
|
|
430
|
+
nextLink?: string;
|
|
431
|
+
}
|
|
432
|
+
export declare function _roleAssignmentListResultDeserializer(item: any): _RoleAssignmentListResult;
|
|
433
|
+
export declare function roleAssignmentArrayDeserializer(result: Array<RoleAssignment>): any[];
|
|
440
434
|
/** The available API versions. */
|
|
441
435
|
export declare enum KnownVersions {
|
|
442
436
|
/** The 7.5 API version. */
|
|
443
|
-
|
|
437
|
+
V75 = "7.5",
|
|
444
438
|
/** The 7.6-preview.2 API version. */
|
|
445
|
-
|
|
439
|
+
V76Preview2 = "7.6-preview.2",
|
|
440
|
+
/** The 7.6 API version. */
|
|
441
|
+
V76 = "7.6"
|
|
446
442
|
}
|
|
447
443
|
//# sourceMappingURL=models.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../../src/generated/models/models.ts"],"names":[],"mappings":"AAGA,4BAA4B;AAC5B,MAAM,WAAW,mBAAmB;IAClC,sCAAsC;IACtC,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,8CAA8C;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mEAAmE;IACnE,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,oDAAoD;IACpD,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,kDAAkD;IAClD,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0EAA0E;IAC1E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,+BAA+B,CAC7C,IAAI,EAAE,GAAG,GACR,mBAAmB,CAgBrB;AAED,8CAA8C;AAC9C,oBAAY,oBAAoB;IAC9B,oCAAoC;IACpC,UAAU,eAAe;IACzB,4CAA4C;IAC5C,SAAS,cAAc;IACvB,kCAAkC;IAClC,QAAQ,aAAa;IACrB,4BAA4B;IAC5B,MAAM,WAAW;CAClB;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC;AACrC,2BAA2B;AAC3B,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRo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AAiC,CAMnC;AAED,yCAAyC;AACzC,MAAM,WAAW,8BAA8B;IAC7C,kCAAkC;IAClC,UAAU,EAAE,wBAAwB,CAAC;CACtC;AAED,wBAAgB,wCAAwC,CACtD,IAAI,EAAE,8BAA8B,GACnC,GAAG,CAEL;AAED,kCAAkC;AAClC,MAAM,WAAW,wBAAwB;IACvC,0DAA0D;IAC1D,gBAAgB,EAAE,MAAM,CAAC;IACzB,4JAA4J;IAC5J,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,kCAAkC,CAChD,IAAI,EAAE,wBAAwB,GAC7B,GAAG,CAKL;AAED,6CAA6C;AAC7C,MAAM,WAAW,yBAAyB;IACxC,4BAA4B;IAC5B,KAAK,CAAC,EAAE,cAAc,EAAE,CAAC;IACzB,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,qCAAqC,CACnD,IAAI,EAAE,GAAG,GACR,yBAAyB,CAO3B;AAED,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,GAC5B,GAAG,EAAE,CAIP;AAED,kCAAkC;AAClC,oBAAY,aAAa;IACvB,2BAA2B;IAC3B,GAAG,QAAQ;IACX,qCAAqC;IACrC,WAAW,kBAAkB;IAC7B,2BAA2B;IAC3B,GAAG,QAAQ;CACZ"}
|
|
@@ -45,7 +45,7 @@ export function keyVaultErrorDeserializer(item) {
|
|
|
45
45
|
: _fullBackupOperationErrorDeserializer(item["error"]),
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
export function
|
|
48
|
+
export function sasTokenParameterSerializer(item) {
|
|
49
49
|
return {
|
|
50
50
|
storageResourceUri: item["storageResourceUri"],
|
|
51
51
|
token: item["token"],
|
|
@@ -75,17 +75,17 @@ export function restoreOperationDeserializer(item) {
|
|
|
75
75
|
: new Date(item["endTime"] * 1000),
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
|
-
export function
|
|
78
|
+
export function restoreOperationParametersSerializer(item) {
|
|
79
79
|
return {
|
|
80
|
-
sasTokenParameters:
|
|
81
|
-
? item["sasTokenParameters"]
|
|
82
|
-
: sASTokenParameterSerializer(item["sasTokenParameters"]),
|
|
80
|
+
sasTokenParameters: sasTokenParameterSerializer(item["sasTokenParameters"]),
|
|
83
81
|
folderToRestore: item["folderToRestore"],
|
|
84
82
|
};
|
|
85
83
|
}
|
|
86
|
-
export function
|
|
84
|
+
export function preRestoreOperationParametersSerializer(item) {
|
|
87
85
|
return {
|
|
88
|
-
sasTokenParameters:
|
|
86
|
+
sasTokenParameters: !item["sasTokenParameters"]
|
|
87
|
+
? item["sasTokenParameters"]
|
|
88
|
+
: sasTokenParameterSerializer(item["sasTokenParameters"]),
|
|
89
89
|
folderToRestore: item["folderToRestore"],
|
|
90
90
|
};
|
|
91
91
|
}
|
|
@@ -107,7 +107,7 @@ export function selectiveKeyRestoreOperationDeserializer(item) {
|
|
|
107
107
|
}
|
|
108
108
|
export function selectiveKeyRestoreOperationParametersSerializer(item) {
|
|
109
109
|
return {
|
|
110
|
-
sasTokenParameters:
|
|
110
|
+
sasTokenParameters: sasTokenParameterSerializer(item["sasTokenParameters"]),
|
|
111
111
|
folder: item["folder"],
|
|
112
112
|
};
|
|
113
113
|
}
|
|
@@ -125,7 +125,7 @@ export function settingDeserializer(item) {
|
|
|
125
125
|
export var KnownSettingTypeEnum;
|
|
126
126
|
(function (KnownSettingTypeEnum) {
|
|
127
127
|
/** A boolean setting value. */
|
|
128
|
-
KnownSettingTypeEnum["
|
|
128
|
+
KnownSettingTypeEnum["Boolean"] = "boolean";
|
|
129
129
|
})(KnownSettingTypeEnum || (KnownSettingTypeEnum = {}));
|
|
130
130
|
export function settingsListResultDeserializer(item) {
|
|
131
131
|
return {
|
|
@@ -139,53 +139,6 @@ export function settingArrayDeserializer(result) {
|
|
|
139
139
|
return settingDeserializer(item);
|
|
140
140
|
});
|
|
141
141
|
}
|
|
142
|
-
export function roleAssignmentDeserializer(item) {
|
|
143
|
-
return {
|
|
144
|
-
id: item["id"],
|
|
145
|
-
name: item["name"],
|
|
146
|
-
type: item["type"],
|
|
147
|
-
properties: !item["properties"]
|
|
148
|
-
? item["properties"]
|
|
149
|
-
: roleAssignmentPropertiesWithScopeDeserializer(item["properties"]),
|
|
150
|
-
};
|
|
151
|
-
}
|
|
152
|
-
export function roleAssignmentPropertiesWithScopeDeserializer(item) {
|
|
153
|
-
return {
|
|
154
|
-
scope: item["scope"],
|
|
155
|
-
roleDefinitionId: item["roleDefinitionId"],
|
|
156
|
-
principalId: item["principalId"],
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
/** The role scope. */
|
|
160
|
-
export var KnownRoleScope;
|
|
161
|
-
(function (KnownRoleScope) {
|
|
162
|
-
/** Global scope */
|
|
163
|
-
KnownRoleScope["Global"] = "/";
|
|
164
|
-
/** Keys scope */
|
|
165
|
-
KnownRoleScope["Keys"] = "/keys";
|
|
166
|
-
})(KnownRoleScope || (KnownRoleScope = {}));
|
|
167
|
-
export function roleAssignmentCreateParametersSerializer(item) {
|
|
168
|
-
return { properties: roleAssignmentPropertiesSerializer(item["properties"]) };
|
|
169
|
-
}
|
|
170
|
-
export function roleAssignmentPropertiesSerializer(item) {
|
|
171
|
-
return {
|
|
172
|
-
roleDefinitionId: item["roleDefinitionId"],
|
|
173
|
-
principalId: item["principalId"],
|
|
174
|
-
};
|
|
175
|
-
}
|
|
176
|
-
export function _roleAssignmentListResultDeserializer(item) {
|
|
177
|
-
return {
|
|
178
|
-
value: !item["value"]
|
|
179
|
-
? item["value"]
|
|
180
|
-
: roleAssignmentArrayDeserializer(item["value"]),
|
|
181
|
-
nextLink: item["nextLink"],
|
|
182
|
-
};
|
|
183
|
-
}
|
|
184
|
-
export function roleAssignmentArrayDeserializer(result) {
|
|
185
|
-
return result.map((item) => {
|
|
186
|
-
return roleAssignmentDeserializer(item);
|
|
187
|
-
});
|
|
188
|
-
}
|
|
189
142
|
export function roleDefinitionDeserializer(item) {
|
|
190
143
|
return {
|
|
191
144
|
id: item["id"],
|
|
@@ -200,7 +153,7 @@ export function roleDefinitionDeserializer(item) {
|
|
|
200
153
|
export var KnownRoleDefinitionType;
|
|
201
154
|
(function (KnownRoleDefinitionType) {
|
|
202
155
|
/** Microsoft-defined role definitions. */
|
|
203
|
-
KnownRoleDefinitionType["
|
|
156
|
+
KnownRoleDefinitionType["MicrosoftAuthorizationRoleDefinitions"] = "Microsoft.Authorization/roleDefinitions";
|
|
204
157
|
})(KnownRoleDefinitionType || (KnownRoleDefinitionType = {}));
|
|
205
158
|
export function roleDefinitionPropertiesSerializer(item) {
|
|
206
159
|
return {
|
|
@@ -370,6 +323,14 @@ export var KnownDataAction;
|
|
|
370
323
|
/** Generate random numbers. */
|
|
371
324
|
KnownDataAction["RandomNumbersGenerate"] = "Microsoft.KeyVault/managedHsm/rng/action";
|
|
372
325
|
})(KnownDataAction || (KnownDataAction = {}));
|
|
326
|
+
/** The role scope. */
|
|
327
|
+
export var KnownRoleScope;
|
|
328
|
+
(function (KnownRoleScope) {
|
|
329
|
+
/** Global scope */
|
|
330
|
+
KnownRoleScope["Global"] = "/";
|
|
331
|
+
/** Keys scope */
|
|
332
|
+
KnownRoleScope["Keys"] = "/keys";
|
|
333
|
+
})(KnownRoleScope || (KnownRoleScope = {}));
|
|
373
334
|
export function roleDefinitionCreateParametersSerializer(item) {
|
|
374
335
|
return { properties: roleDefinitionPropertiesSerializer(item["properties"]) };
|
|
375
336
|
}
|
|
@@ -386,12 +347,53 @@ export function roleDefinitionArrayDeserializer(result) {
|
|
|
386
347
|
return roleDefinitionDeserializer(item);
|
|
387
348
|
});
|
|
388
349
|
}
|
|
350
|
+
export function roleAssignmentDeserializer(item) {
|
|
351
|
+
return {
|
|
352
|
+
id: item["id"],
|
|
353
|
+
name: item["name"],
|
|
354
|
+
type: item["type"],
|
|
355
|
+
properties: !item["properties"]
|
|
356
|
+
? item["properties"]
|
|
357
|
+
: roleAssignmentPropertiesWithScopeDeserializer(item["properties"]),
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
export function roleAssignmentPropertiesWithScopeDeserializer(item) {
|
|
361
|
+
return {
|
|
362
|
+
scope: item["scope"],
|
|
363
|
+
roleDefinitionId: item["roleDefinitionId"],
|
|
364
|
+
principalId: item["principalId"],
|
|
365
|
+
};
|
|
366
|
+
}
|
|
367
|
+
export function roleAssignmentCreateParametersSerializer(item) {
|
|
368
|
+
return { properties: roleAssignmentPropertiesSerializer(item["properties"]) };
|
|
369
|
+
}
|
|
370
|
+
export function roleAssignmentPropertiesSerializer(item) {
|
|
371
|
+
return {
|
|
372
|
+
roleDefinitionId: item["roleDefinitionId"],
|
|
373
|
+
principalId: item["principalId"],
|
|
374
|
+
};
|
|
375
|
+
}
|
|
376
|
+
export function _roleAssignmentListResultDeserializer(item) {
|
|
377
|
+
return {
|
|
378
|
+
value: !item["value"]
|
|
379
|
+
? item["value"]
|
|
380
|
+
: roleAssignmentArrayDeserializer(item["value"]),
|
|
381
|
+
nextLink: item["nextLink"],
|
|
382
|
+
};
|
|
383
|
+
}
|
|
384
|
+
export function roleAssignmentArrayDeserializer(result) {
|
|
385
|
+
return result.map((item) => {
|
|
386
|
+
return roleAssignmentDeserializer(item);
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
389
|
/** The available API versions. */
|
|
390
390
|
export var KnownVersions;
|
|
391
391
|
(function (KnownVersions) {
|
|
392
392
|
/** The 7.5 API version. */
|
|
393
|
-
KnownVersions["
|
|
393
|
+
KnownVersions["V75"] = "7.5";
|
|
394
394
|
/** The 7.6-preview.2 API version. */
|
|
395
|
-
KnownVersions["
|
|
395
|
+
KnownVersions["V76Preview2"] = "7.6-preview.2";
|
|
396
|
+
/** The 7.6 API version. */
|
|
397
|
+
KnownVersions["V76"] = "7.6";
|
|
396
398
|
})(KnownVersions || (KnownVersions = {}));
|
|
397
399
|
//# sourceMappingURL=models.js.map
|