@azure/arm-keyvault-profile-2020-09-01-hybrid 2.1.1-alpha.20250717.1 → 2.1.1-alpha.20250729.1

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.
Files changed (75) hide show
  1. package/dist/browser/keyVaultManagementClient.js +18 -5
  2. package/dist/browser/keyVaultManagementClient.js.map +1 -1
  3. package/dist/browser/lroImpl.js +11 -3
  4. package/dist/browser/lroImpl.js.map +1 -1
  5. package/dist/browser/models/mappers.js +28 -12
  6. package/dist/browser/models/mappers.js.map +1 -1
  7. package/dist/browser/operations/operations.js +23 -40
  8. package/dist/browser/operations/operations.js.map +1 -1
  9. package/dist/browser/operations/privateEndpointConnections.js +12 -6
  10. package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
  11. package/dist/browser/operations/privateLinkResources.js +1 -0
  12. package/dist/browser/operations/privateLinkResources.js.map +1 -1
  13. package/dist/browser/operations/secrets.js +23 -40
  14. package/dist/browser/operations/secrets.js.map +1 -1
  15. package/dist/browser/operations/vaults.js +111 -169
  16. package/dist/browser/operations/vaults.js.map +1 -1
  17. package/dist/browser/pagingHelper.js +2 -4
  18. package/dist/browser/pagingHelper.js.map +1 -1
  19. package/dist/commonjs/keyVaultManagementClient.js +18 -5
  20. package/dist/commonjs/keyVaultManagementClient.js.map +1 -1
  21. package/dist/commonjs/lroImpl.js +11 -3
  22. package/dist/commonjs/lroImpl.js.map +1 -1
  23. package/dist/commonjs/models/mappers.js +28 -12
  24. package/dist/commonjs/models/mappers.js.map +1 -1
  25. package/dist/commonjs/operations/operations.js +23 -39
  26. package/dist/commonjs/operations/operations.js.map +1 -1
  27. package/dist/commonjs/operations/privateEndpointConnections.js +12 -6
  28. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
  29. package/dist/commonjs/operations/privateLinkResources.js +1 -0
  30. package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
  31. package/dist/commonjs/operations/secrets.js +23 -39
  32. package/dist/commonjs/operations/secrets.js.map +1 -1
  33. package/dist/commonjs/operations/vaults.js +111 -168
  34. package/dist/commonjs/operations/vaults.js.map +1 -1
  35. package/dist/commonjs/pagingHelper.js +2 -4
  36. package/dist/commonjs/pagingHelper.js.map +1 -1
  37. package/dist/commonjs/tsdoc-metadata.json +11 -11
  38. package/dist/esm/keyVaultManagementClient.js +18 -5
  39. package/dist/esm/keyVaultManagementClient.js.map +1 -1
  40. package/dist/esm/lroImpl.js +11 -3
  41. package/dist/esm/lroImpl.js.map +1 -1
  42. package/dist/esm/models/mappers.js +28 -12
  43. package/dist/esm/models/mappers.js.map +1 -1
  44. package/dist/esm/operations/operations.js +23 -40
  45. package/dist/esm/operations/operations.js.map +1 -1
  46. package/dist/esm/operations/privateEndpointConnections.js +12 -6
  47. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  48. package/dist/esm/operations/privateLinkResources.js +1 -0
  49. package/dist/esm/operations/privateLinkResources.js.map +1 -1
  50. package/dist/esm/operations/secrets.js +23 -40
  51. package/dist/esm/operations/secrets.js.map +1 -1
  52. package/dist/esm/operations/vaults.js +111 -169
  53. package/dist/esm/operations/vaults.js.map +1 -1
  54. package/dist/esm/pagingHelper.js +2 -4
  55. package/dist/esm/pagingHelper.js.map +1 -1
  56. package/dist/react-native/keyVaultManagementClient.js +18 -5
  57. package/dist/react-native/keyVaultManagementClient.js.map +1 -1
  58. package/dist/react-native/lroImpl.js +11 -3
  59. package/dist/react-native/lroImpl.js.map +1 -1
  60. package/dist/react-native/models/mappers.js +28 -12
  61. package/dist/react-native/models/mappers.js.map +1 -1
  62. package/dist/react-native/operations/operations.js +23 -40
  63. package/dist/react-native/operations/operations.js.map +1 -1
  64. package/dist/react-native/operations/privateEndpointConnections.js +12 -6
  65. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  66. package/dist/react-native/operations/privateLinkResources.js +1 -0
  67. package/dist/react-native/operations/privateLinkResources.js.map +1 -1
  68. package/dist/react-native/operations/secrets.js +23 -40
  69. package/dist/react-native/operations/secrets.js.map +1 -1
  70. package/dist/react-native/operations/vaults.js +111 -169
  71. package/dist/react-native/operations/vaults.js.map +1 -1
  72. package/dist/react-native/pagingHelper.js +2 -4
  73. package/dist/react-native/pagingHelper.js.map +1 -1
  74. package/package.json +2 -2
  75. package/review/arm-keyvault-profile-2020-09-01-hybrid-node.api.md +801 -801
@@ -1,801 +1,801 @@
1
- ## API Report File for "@azure/arm-keyvault-profile-2020-09-01-hybrid"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import * as coreAuth from '@azure/core-auth';
8
- import * as coreClient from '@azure/core-client';
9
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
- import { PollerLike } from '@azure/core-lro';
11
- import { PollOperationState } from '@azure/core-lro';
12
-
13
- // @public
14
- export interface AccessPolicyEntry {
15
- applicationId?: string;
16
- objectId: string;
17
- permissions: Permissions;
18
- tenantId: string;
19
- }
20
-
21
- // @public
22
- export type AccessPolicyUpdateKind = "add" | "replace" | "remove";
23
-
24
- // @public
25
- export interface Attributes {
26
- readonly created?: Date;
27
- enabled?: boolean;
28
- expires?: Date;
29
- notBefore?: Date;
30
- readonly updated?: Date;
31
- }
32
-
33
- // @public
34
- export type CertificatePermissions = string;
35
-
36
- // @public
37
- export interface CheckNameAvailabilityResult {
38
- readonly message?: string;
39
- readonly nameAvailable?: boolean;
40
- readonly reason?: Reason;
41
- }
42
-
43
- // @public
44
- export interface CloudError {
45
- error?: CloudErrorBody;
46
- }
47
-
48
- // @public
49
- export interface CloudErrorBody {
50
- code?: string;
51
- message?: string;
52
- }
53
-
54
- // @public
55
- export type CreateMode = "recover" | "default";
56
-
57
- // @public
58
- export interface DeletedVault {
59
- readonly id?: string;
60
- readonly name?: string;
61
- properties?: DeletedVaultProperties;
62
- readonly type?: string;
63
- }
64
-
65
- // @public
66
- export interface DeletedVaultListResult {
67
- nextLink?: string;
68
- value?: DeletedVault[];
69
- }
70
-
71
- // @public
72
- export interface DeletedVaultProperties {
73
- readonly deletionDate?: Date;
74
- readonly location?: string;
75
- readonly purgeProtectionEnabled?: boolean;
76
- readonly scheduledPurgeDate?: Date;
77
- readonly tags?: {
78
- [propertyName: string]: string;
79
- };
80
- readonly vaultId?: string;
81
- }
82
-
83
- // @public
84
- export interface DimensionProperties {
85
- displayName?: string;
86
- name?: string;
87
- toBeExportedForShoebox?: boolean;
88
- }
89
-
90
- // @public
91
- export function getContinuationToken(page: unknown): string | undefined;
92
-
93
- // @public
94
- export interface IPRule {
95
- value: string;
96
- }
97
-
98
- // @public
99
- export type KeyPermissions = string;
100
-
101
- // @public (undocumented)
102
- export class KeyVaultManagementClient extends coreClient.ServiceClient {
103
- // (undocumented)
104
- $host: string;
105
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: KeyVaultManagementClientOptionalParams);
106
- // (undocumented)
107
- apiVersion: string;
108
- // (undocumented)
109
- operations: Operations;
110
- // (undocumented)
111
- privateEndpointConnections: PrivateEndpointConnections;
112
- // (undocumented)
113
- privateLinkResources: PrivateLinkResources;
114
- // (undocumented)
115
- secrets: Secrets;
116
- // (undocumented)
117
- subscriptionId: string;
118
- // (undocumented)
119
- vaults: Vaults;
120
- }
121
-
122
- // @public
123
- export interface KeyVaultManagementClientOptionalParams extends coreClient.ServiceClientOptions {
124
- $host?: string;
125
- apiVersion?: string;
126
- endpoint?: string;
127
- }
128
-
129
- // @public
130
- export enum KnownCertificatePermissions {
131
- All = "all",
132
- Backup = "backup",
133
- Create = "create",
134
- Delete = "delete",
135
- Deleteissuers = "deleteissuers",
136
- Get = "get",
137
- Getissuers = "getissuers",
138
- Import = "import",
139
- List = "list",
140
- Listissuers = "listissuers",
141
- Managecontacts = "managecontacts",
142
- Manageissuers = "manageissuers",
143
- Purge = "purge",
144
- Recover = "recover",
145
- Restore = "restore",
146
- Setissuers = "setissuers",
147
- Update = "update"
148
- }
149
-
150
- // @public
151
- export enum KnownKeyPermissions {
152
- All = "all",
153
- Backup = "backup",
154
- Create = "create",
155
- Decrypt = "decrypt",
156
- Delete = "delete",
157
- Encrypt = "encrypt",
158
- Get = "get",
159
- Import = "import",
160
- List = "list",
161
- Purge = "purge",
162
- Recover = "recover",
163
- Restore = "restore",
164
- Sign = "sign",
165
- UnwrapKey = "unwrapKey",
166
- Update = "update",
167
- Verify = "verify",
168
- WrapKey = "wrapKey"
169
- }
170
-
171
- // @public
172
- export enum KnownNetworkRuleAction {
173
- Allow = "Allow",
174
- Deny = "Deny"
175
- }
176
-
177
- // @public
178
- export enum KnownNetworkRuleBypassOptions {
179
- AzureServices = "AzureServices",
180
- None = "None"
181
- }
182
-
183
- // @public
184
- export enum KnownPrivateEndpointConnectionProvisioningState {
185
- Creating = "Creating",
186
- Deleting = "Deleting",
187
- Disconnected = "Disconnected",
188
- Failed = "Failed",
189
- Succeeded = "Succeeded",
190
- Updating = "Updating"
191
- }
192
-
193
- // @public
194
- export enum KnownPrivateEndpointServiceConnectionStatus {
195
- Approved = "Approved",
196
- Disconnected = "Disconnected",
197
- Pending = "Pending",
198
- Rejected = "Rejected"
199
- }
200
-
201
- // @public
202
- export enum KnownSecretPermissions {
203
- All = "all",
204
- Backup = "backup",
205
- Delete = "delete",
206
- Get = "get",
207
- List = "list",
208
- Purge = "purge",
209
- Recover = "recover",
210
- Restore = "restore",
211
- Set = "set"
212
- }
213
-
214
- // @public
215
- export enum KnownSkuFamily {
216
- // (undocumented)
217
- A = "A"
218
- }
219
-
220
- // @public
221
- export enum KnownStoragePermissions {
222
- All = "all",
223
- Backup = "backup",
224
- Delete = "delete",
225
- Deletesas = "deletesas",
226
- Get = "get",
227
- Getsas = "getsas",
228
- List = "list",
229
- Listsas = "listsas",
230
- Purge = "purge",
231
- Recover = "recover",
232
- Regeneratekey = "regeneratekey",
233
- Restore = "restore",
234
- Set = "set",
235
- Setsas = "setsas",
236
- Update = "update"
237
- }
238
-
239
- // @public
240
- export enum KnownVaultProvisioningState {
241
- RegisteringDns = "RegisteringDns",
242
- Succeeded = "Succeeded"
243
- }
244
-
245
- // @public
246
- export interface LogSpecification {
247
- blobDuration?: string;
248
- displayName?: string;
249
- name?: string;
250
- }
251
-
252
- // @public
253
- export interface MetricSpecification {
254
- aggregationType?: string;
255
- dimensions?: DimensionProperties[];
256
- displayDescription?: string;
257
- displayName?: string;
258
- fillGapWithZero?: boolean;
259
- internalMetricName?: string;
260
- lockAggregationType?: string;
261
- name?: string;
262
- supportedAggregationTypes?: string[];
263
- supportedTimeGrainTypes?: string[];
264
- unit?: string;
265
- }
266
-
267
- // @public
268
- export type NetworkRuleAction = string;
269
-
270
- // @public
271
- export type NetworkRuleBypassOptions = string;
272
-
273
- // @public
274
- export interface NetworkRuleSet {
275
- bypass?: NetworkRuleBypassOptions;
276
- defaultAction?: NetworkRuleAction;
277
- ipRules?: IPRule[];
278
- virtualNetworkRules?: VirtualNetworkRule[];
279
- }
280
-
281
- // @public
282
- export interface Operation {
283
- display?: OperationDisplay;
284
- isDataAction?: boolean;
285
- name?: string;
286
- origin?: string;
287
- serviceSpecification?: ServiceSpecification;
288
- }
289
-
290
- // @public
291
- export interface OperationDisplay {
292
- description?: string;
293
- operation?: string;
294
- provider?: string;
295
- resource?: string;
296
- }
297
-
298
- // @public
299
- export interface OperationListResult {
300
- nextLink?: string;
301
- value?: Operation[];
302
- }
303
-
304
- // @public
305
- export interface Operations {
306
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
307
- }
308
-
309
- // @public
310
- export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
311
- }
312
-
313
- // @public
314
- export type OperationsListNextResponse = OperationListResult;
315
-
316
- // @public
317
- export interface OperationsListOptionalParams extends coreClient.OperationOptions {
318
- }
319
-
320
- // @public
321
- export type OperationsListResponse = OperationListResult;
322
-
323
- // @public
324
- export interface Permissions {
325
- certificates?: CertificatePermissions[];
326
- keys?: KeyPermissions[];
327
- secrets?: SecretPermissions[];
328
- storage?: StoragePermissions[];
329
- }
330
-
331
- // @public
332
- export interface PrivateEndpoint {
333
- readonly id?: string;
334
- }
335
-
336
- // @public
337
- export interface PrivateEndpointConnection extends Resource {
338
- etag?: string;
339
- privateEndpoint?: PrivateEndpoint;
340
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
341
- readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
342
- }
343
-
344
- // @public
345
- export interface PrivateEndpointConnectionItem {
346
- etag?: string;
347
- id?: string;
348
- privateEndpoint?: PrivateEndpoint;
349
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
350
- readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
351
- }
352
-
353
- // @public
354
- export type PrivateEndpointConnectionProvisioningState = string;
355
-
356
- // @public
357
- export interface PrivateEndpointConnections {
358
- beginDelete(resourceGroupName: string, vaultName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsDeleteResponse>, PrivateEndpointConnectionsDeleteResponse>>;
359
- beginDeleteAndWait(resourceGroupName: string, vaultName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PrivateEndpointConnectionsDeleteResponse>;
360
- get(resourceGroupName: string, vaultName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
361
- put(resourceGroupName: string, vaultName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<PrivateEndpointConnectionsPutResponse>;
362
- }
363
-
364
- // @public
365
- export interface PrivateEndpointConnectionsDeleteHeaders {
366
- location?: string;
367
- retryAfter?: number;
368
- }
369
-
370
- // @public
371
- export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
372
- resumeFrom?: string;
373
- updateIntervalInMs?: number;
374
- }
375
-
376
- // @public
377
- export type PrivateEndpointConnectionsDeleteResponse = PrivateEndpointConnection;
378
-
379
- // @public
380
- export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
381
- }
382
-
383
- // @public
384
- export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
385
-
386
- // @public
387
- export interface PrivateEndpointConnectionsPutHeaders {
388
- azureAsyncOperation?: string;
389
- retryAfter?: number;
390
- }
391
-
392
- // @public
393
- export interface PrivateEndpointConnectionsPutOptionalParams extends coreClient.OperationOptions {
394
- }
395
-
396
- // @public
397
- export type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnectionsPutHeaders & PrivateEndpointConnection;
398
-
399
- // @public
400
- export type PrivateEndpointServiceConnectionStatus = string;
401
-
402
- // @public
403
- export interface PrivateLinkResource extends Resource {
404
- readonly groupId?: string;
405
- readonly requiredMembers?: string[];
406
- requiredZoneNames?: string[];
407
- }
408
-
409
- // @public
410
- export interface PrivateLinkResourceListResult {
411
- value?: PrivateLinkResource[];
412
- }
413
-
414
- // @public
415
- export interface PrivateLinkResources {
416
- listByVault(resourceGroupName: string, vaultName: string, options?: PrivateLinkResourcesListByVaultOptionalParams): Promise<PrivateLinkResourcesListByVaultResponse>;
417
- }
418
-
419
- // @public
420
- export interface PrivateLinkResourcesListByVaultOptionalParams extends coreClient.OperationOptions {
421
- }
422
-
423
- // @public
424
- export type PrivateLinkResourcesListByVaultResponse = PrivateLinkResourceListResult;
425
-
426
- // @public
427
- export interface PrivateLinkServiceConnectionState {
428
- actionsRequired?: string;
429
- description?: string;
430
- status?: PrivateEndpointServiceConnectionStatus;
431
- }
432
-
433
- // @public
434
- export type Reason = "AccountNameInvalid" | "AlreadyExists";
435
-
436
- // @public
437
- export interface Resource {
438
- readonly id?: string;
439
- readonly location?: string;
440
- readonly name?: string;
441
- readonly tags?: {
442
- [propertyName: string]: string;
443
- };
444
- readonly type?: string;
445
- }
446
-
447
- // @public
448
- export interface ResourceListResult {
449
- nextLink?: string;
450
- value?: Resource[];
451
- }
452
-
453
- // @public
454
- export interface Secret extends Resource {
455
- properties: SecretProperties;
456
- }
457
-
458
- // @public
459
- export interface SecretAttributes extends Attributes {
460
- }
461
-
462
- // @public
463
- export interface SecretCreateOrUpdateParameters {
464
- properties: SecretProperties;
465
- tags?: {
466
- [propertyName: string]: string;
467
- };
468
- }
469
-
470
- // @public
471
- export interface SecretListResult {
472
- nextLink?: string;
473
- value?: Secret[];
474
- }
475
-
476
- // @public
477
- export interface SecretPatchParameters {
478
- properties?: SecretPatchProperties;
479
- tags?: {
480
- [propertyName: string]: string;
481
- };
482
- }
483
-
484
- // @public
485
- export interface SecretPatchProperties {
486
- attributes?: SecretAttributes;
487
- contentType?: string;
488
- value?: string;
489
- }
490
-
491
- // @public
492
- export type SecretPermissions = string;
493
-
494
- // @public
495
- export interface SecretProperties {
496
- attributes?: SecretAttributes;
497
- contentType?: string;
498
- readonly secretUri?: string;
499
- readonly secretUriWithVersion?: string;
500
- value?: string;
501
- }
502
-
503
- // @public
504
- export interface Secrets {
505
- createOrUpdate(resourceGroupName: string, vaultName: string, secretName: string, parameters: SecretCreateOrUpdateParameters, options?: SecretsCreateOrUpdateOptionalParams): Promise<SecretsCreateOrUpdateResponse>;
506
- get(resourceGroupName: string, vaultName: string, secretName: string, options?: SecretsGetOptionalParams): Promise<SecretsGetResponse>;
507
- list(resourceGroupName: string, vaultName: string, options?: SecretsListOptionalParams): PagedAsyncIterableIterator<Secret>;
508
- update(resourceGroupName: string, vaultName: string, secretName: string, parameters: SecretPatchParameters, options?: SecretsUpdateOptionalParams): Promise<SecretsUpdateResponse>;
509
- }
510
-
511
- // @public
512
- export interface SecretsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
513
- }
514
-
515
- // @public
516
- export type SecretsCreateOrUpdateResponse = Secret;
517
-
518
- // @public
519
- export interface SecretsGetOptionalParams extends coreClient.OperationOptions {
520
- }
521
-
522
- // @public
523
- export type SecretsGetResponse = Secret;
524
-
525
- // @public
526
- export interface SecretsListNextOptionalParams extends coreClient.OperationOptions {
527
- }
528
-
529
- // @public
530
- export type SecretsListNextResponse = SecretListResult;
531
-
532
- // @public
533
- export interface SecretsListOptionalParams extends coreClient.OperationOptions {
534
- top?: number;
535
- }
536
-
537
- // @public
538
- export type SecretsListResponse = SecretListResult;
539
-
540
- // @public
541
- export interface SecretsUpdateOptionalParams extends coreClient.OperationOptions {
542
- }
543
-
544
- // @public
545
- export type SecretsUpdateResponse = Secret;
546
-
547
- // @public
548
- export interface ServiceSpecification {
549
- logSpecifications?: LogSpecification[];
550
- metricSpecifications?: MetricSpecification[];
551
- }
552
-
553
- // @public
554
- export interface Sku {
555
- family: SkuFamily;
556
- name: SkuName;
557
- }
558
-
559
- // @public
560
- export type SkuFamily = string;
561
-
562
- // @public
563
- export type SkuName = "standard" | "premium";
564
-
565
- // @public
566
- export type StoragePermissions = string;
567
-
568
- // @public
569
- export interface Vault {
570
- readonly id?: string;
571
- location?: string;
572
- readonly name?: string;
573
- properties: VaultProperties;
574
- tags?: {
575
- [propertyName: string]: string;
576
- };
577
- readonly type?: string;
578
- }
579
-
580
- // @public
581
- export interface VaultAccessPolicyParameters {
582
- readonly id?: string;
583
- readonly location?: string;
584
- readonly name?: string;
585
- properties: VaultAccessPolicyProperties;
586
- readonly type?: string;
587
- }
588
-
589
- // @public
590
- export interface VaultAccessPolicyProperties {
591
- accessPolicies: AccessPolicyEntry[];
592
- }
593
-
594
- // @public
595
- export interface VaultCheckNameAvailabilityParameters {
596
- name: string;
597
- type: "Microsoft.KeyVault/vaults";
598
- }
599
-
600
- // @public
601
- export interface VaultCreateOrUpdateParameters {
602
- location: string;
603
- properties: VaultProperties;
604
- tags?: {
605
- [propertyName: string]: string;
606
- };
607
- }
608
-
609
- // @public
610
- export interface VaultListResult {
611
- nextLink?: string;
612
- value?: Vault[];
613
- }
614
-
615
- // @public
616
- export interface VaultPatchParameters {
617
- properties?: VaultPatchProperties;
618
- tags?: {
619
- [propertyName: string]: string;
620
- };
621
- }
622
-
623
- // @public
624
- export interface VaultPatchProperties {
625
- accessPolicies?: AccessPolicyEntry[];
626
- createMode?: CreateMode;
627
- enabledForDeployment?: boolean;
628
- enabledForDiskEncryption?: boolean;
629
- enabledForTemplateDeployment?: boolean;
630
- enablePurgeProtection?: boolean;
631
- enableRbacAuthorization?: boolean;
632
- enableSoftDelete?: boolean;
633
- networkAcls?: NetworkRuleSet;
634
- sku?: Sku;
635
- softDeleteRetentionInDays?: number;
636
- tenantId?: string;
637
- }
638
-
639
- // @public
640
- export interface VaultProperties {
641
- accessPolicies?: AccessPolicyEntry[];
642
- createMode?: CreateMode;
643
- enabledForDeployment?: boolean;
644
- enabledForDiskEncryption?: boolean;
645
- enabledForTemplateDeployment?: boolean;
646
- enablePurgeProtection?: boolean;
647
- enableRbacAuthorization?: boolean;
648
- enableSoftDelete?: boolean;
649
- readonly hsmPoolResourceId?: string;
650
- networkAcls?: NetworkRuleSet;
651
- readonly privateEndpointConnections?: PrivateEndpointConnectionItem[];
652
- provisioningState?: VaultProvisioningState;
653
- sku: Sku;
654
- softDeleteRetentionInDays?: number;
655
- tenantId: string;
656
- vaultUri?: string;
657
- }
658
-
659
- // @public
660
- export type VaultProvisioningState = string;
661
-
662
- // @public
663
- export interface Vaults {
664
- beginCreateOrUpdate(resourceGroupName: string, vaultName: string, parameters: VaultCreateOrUpdateParameters, options?: VaultsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<VaultsCreateOrUpdateResponse>, VaultsCreateOrUpdateResponse>>;
665
- beginCreateOrUpdateAndWait(resourceGroupName: string, vaultName: string, parameters: VaultCreateOrUpdateParameters, options?: VaultsCreateOrUpdateOptionalParams): Promise<VaultsCreateOrUpdateResponse>;
666
- beginPurgeDeleted(vaultName: string, location: string, options?: VaultsPurgeDeletedOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
667
- beginPurgeDeletedAndWait(vaultName: string, location: string, options?: VaultsPurgeDeletedOptionalParams): Promise<void>;
668
- checkNameAvailability(vaultName: VaultCheckNameAvailabilityParameters, options?: VaultsCheckNameAvailabilityOptionalParams): Promise<VaultsCheckNameAvailabilityResponse>;
669
- delete(resourceGroupName: string, vaultName: string, options?: VaultsDeleteOptionalParams): Promise<void>;
670
- get(resourceGroupName: string, vaultName: string, options?: VaultsGetOptionalParams): Promise<VaultsGetResponse>;
671
- getDeleted(vaultName: string, location: string, options?: VaultsGetDeletedOptionalParams): Promise<VaultsGetDeletedResponse>;
672
- list(options?: VaultsListOptionalParams): PagedAsyncIterableIterator<Resource>;
673
- listByResourceGroup(resourceGroupName: string, options?: VaultsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Vault>;
674
- listBySubscription(options?: VaultsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Vault>;
675
- listDeleted(options?: VaultsListDeletedOptionalParams): PagedAsyncIterableIterator<DeletedVault>;
676
- update(resourceGroupName: string, vaultName: string, parameters: VaultPatchParameters, options?: VaultsUpdateOptionalParams): Promise<VaultsUpdateResponse>;
677
- updateAccessPolicy(resourceGroupName: string, vaultName: string, operationKind: AccessPolicyUpdateKind, parameters: VaultAccessPolicyParameters, options?: VaultsUpdateAccessPolicyOptionalParams): Promise<VaultsUpdateAccessPolicyResponse>;
678
- }
679
-
680
- // @public
681
- export interface VaultsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
682
- }
683
-
684
- // @public
685
- export type VaultsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
686
-
687
- // @public
688
- export interface VaultsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
689
- resumeFrom?: string;
690
- updateIntervalInMs?: number;
691
- }
692
-
693
- // @public
694
- export type VaultsCreateOrUpdateResponse = Vault;
695
-
696
- // @public
697
- export interface VaultsDeleteOptionalParams extends coreClient.OperationOptions {
698
- }
699
-
700
- // @public
701
- export interface VaultsGetDeletedOptionalParams extends coreClient.OperationOptions {
702
- }
703
-
704
- // @public
705
- export type VaultsGetDeletedResponse = DeletedVault;
706
-
707
- // @public
708
- export interface VaultsGetOptionalParams extends coreClient.OperationOptions {
709
- }
710
-
711
- // @public
712
- export type VaultsGetResponse = Vault;
713
-
714
- // @public
715
- export interface VaultsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
716
- }
717
-
718
- // @public
719
- export type VaultsListByResourceGroupNextResponse = VaultListResult;
720
-
721
- // @public
722
- export interface VaultsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
723
- top?: number;
724
- }
725
-
726
- // @public
727
- export type VaultsListByResourceGroupResponse = VaultListResult;
728
-
729
- // @public
730
- export interface VaultsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
731
- }
732
-
733
- // @public
734
- export type VaultsListBySubscriptionNextResponse = VaultListResult;
735
-
736
- // @public
737
- export interface VaultsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
738
- top?: number;
739
- }
740
-
741
- // @public
742
- export type VaultsListBySubscriptionResponse = VaultListResult;
743
-
744
- // @public
745
- export interface VaultsListDeletedNextOptionalParams extends coreClient.OperationOptions {
746
- }
747
-
748
- // @public
749
- export type VaultsListDeletedNextResponse = DeletedVaultListResult;
750
-
751
- // @public
752
- export interface VaultsListDeletedOptionalParams extends coreClient.OperationOptions {
753
- }
754
-
755
- // @public
756
- export type VaultsListDeletedResponse = DeletedVaultListResult;
757
-
758
- // @public
759
- export interface VaultsListNextOptionalParams extends coreClient.OperationOptions {
760
- }
761
-
762
- // @public
763
- export type VaultsListNextResponse = ResourceListResult;
764
-
765
- // @public
766
- export interface VaultsListOptionalParams extends coreClient.OperationOptions {
767
- top?: number;
768
- }
769
-
770
- // @public
771
- export type VaultsListResponse = ResourceListResult;
772
-
773
- // @public
774
- export interface VaultsPurgeDeletedOptionalParams extends coreClient.OperationOptions {
775
- resumeFrom?: string;
776
- updateIntervalInMs?: number;
777
- }
778
-
779
- // @public
780
- export interface VaultsUpdateAccessPolicyOptionalParams extends coreClient.OperationOptions {
781
- }
782
-
783
- // @public
784
- export type VaultsUpdateAccessPolicyResponse = VaultAccessPolicyParameters;
785
-
786
- // @public
787
- export interface VaultsUpdateOptionalParams extends coreClient.OperationOptions {
788
- }
789
-
790
- // @public
791
- export type VaultsUpdateResponse = Vault;
792
-
793
- // @public
794
- export interface VirtualNetworkRule {
795
- id: string;
796
- ignoreMissingVnetServiceEndpoint?: boolean;
797
- }
798
-
799
- // (No @packageDocumentation comment for this package)
800
-
801
- ```
1
+ ## API Report File for "@azure/arm-keyvault-profile-2020-09-01-hybrid"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
+ import { PollerLike } from '@azure/core-lro';
11
+ import { PollOperationState } from '@azure/core-lro';
12
+
13
+ // @public
14
+ export interface AccessPolicyEntry {
15
+ applicationId?: string;
16
+ objectId: string;
17
+ permissions: Permissions;
18
+ tenantId: string;
19
+ }
20
+
21
+ // @public
22
+ export type AccessPolicyUpdateKind = "add" | "replace" | "remove";
23
+
24
+ // @public
25
+ export interface Attributes {
26
+ readonly created?: Date;
27
+ enabled?: boolean;
28
+ expires?: Date;
29
+ notBefore?: Date;
30
+ readonly updated?: Date;
31
+ }
32
+
33
+ // @public
34
+ export type CertificatePermissions = string;
35
+
36
+ // @public
37
+ export interface CheckNameAvailabilityResult {
38
+ readonly message?: string;
39
+ readonly nameAvailable?: boolean;
40
+ readonly reason?: Reason;
41
+ }
42
+
43
+ // @public
44
+ export interface CloudError {
45
+ error?: CloudErrorBody;
46
+ }
47
+
48
+ // @public
49
+ export interface CloudErrorBody {
50
+ code?: string;
51
+ message?: string;
52
+ }
53
+
54
+ // @public
55
+ export type CreateMode = "recover" | "default";
56
+
57
+ // @public
58
+ export interface DeletedVault {
59
+ readonly id?: string;
60
+ readonly name?: string;
61
+ properties?: DeletedVaultProperties;
62
+ readonly type?: string;
63
+ }
64
+
65
+ // @public
66
+ export interface DeletedVaultListResult {
67
+ nextLink?: string;
68
+ value?: DeletedVault[];
69
+ }
70
+
71
+ // @public
72
+ export interface DeletedVaultProperties {
73
+ readonly deletionDate?: Date;
74
+ readonly location?: string;
75
+ readonly purgeProtectionEnabled?: boolean;
76
+ readonly scheduledPurgeDate?: Date;
77
+ readonly tags?: {
78
+ [propertyName: string]: string;
79
+ };
80
+ readonly vaultId?: string;
81
+ }
82
+
83
+ // @public
84
+ export interface DimensionProperties {
85
+ displayName?: string;
86
+ name?: string;
87
+ toBeExportedForShoebox?: boolean;
88
+ }
89
+
90
+ // @public
91
+ export function getContinuationToken(page: unknown): string | undefined;
92
+
93
+ // @public
94
+ export interface IPRule {
95
+ value: string;
96
+ }
97
+
98
+ // @public
99
+ export type KeyPermissions = string;
100
+
101
+ // @public (undocumented)
102
+ export class KeyVaultManagementClient extends coreClient.ServiceClient {
103
+ // (undocumented)
104
+ $host: string;
105
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: KeyVaultManagementClientOptionalParams);
106
+ // (undocumented)
107
+ apiVersion: string;
108
+ // (undocumented)
109
+ operations: Operations;
110
+ // (undocumented)
111
+ privateEndpointConnections: PrivateEndpointConnections;
112
+ // (undocumented)
113
+ privateLinkResources: PrivateLinkResources;
114
+ // (undocumented)
115
+ secrets: Secrets;
116
+ // (undocumented)
117
+ subscriptionId: string;
118
+ // (undocumented)
119
+ vaults: Vaults;
120
+ }
121
+
122
+ // @public
123
+ export interface KeyVaultManagementClientOptionalParams extends coreClient.ServiceClientOptions {
124
+ $host?: string;
125
+ apiVersion?: string;
126
+ endpoint?: string;
127
+ }
128
+
129
+ // @public
130
+ export enum KnownCertificatePermissions {
131
+ All = "all",
132
+ Backup = "backup",
133
+ Create = "create",
134
+ Delete = "delete",
135
+ Deleteissuers = "deleteissuers",
136
+ Get = "get",
137
+ Getissuers = "getissuers",
138
+ Import = "import",
139
+ List = "list",
140
+ Listissuers = "listissuers",
141
+ Managecontacts = "managecontacts",
142
+ Manageissuers = "manageissuers",
143
+ Purge = "purge",
144
+ Recover = "recover",
145
+ Restore = "restore",
146
+ Setissuers = "setissuers",
147
+ Update = "update"
148
+ }
149
+
150
+ // @public
151
+ export enum KnownKeyPermissions {
152
+ All = "all",
153
+ Backup = "backup",
154
+ Create = "create",
155
+ Decrypt = "decrypt",
156
+ Delete = "delete",
157
+ Encrypt = "encrypt",
158
+ Get = "get",
159
+ Import = "import",
160
+ List = "list",
161
+ Purge = "purge",
162
+ Recover = "recover",
163
+ Restore = "restore",
164
+ Sign = "sign",
165
+ UnwrapKey = "unwrapKey",
166
+ Update = "update",
167
+ Verify = "verify",
168
+ WrapKey = "wrapKey"
169
+ }
170
+
171
+ // @public
172
+ export enum KnownNetworkRuleAction {
173
+ Allow = "Allow",
174
+ Deny = "Deny"
175
+ }
176
+
177
+ // @public
178
+ export enum KnownNetworkRuleBypassOptions {
179
+ AzureServices = "AzureServices",
180
+ None = "None"
181
+ }
182
+
183
+ // @public
184
+ export enum KnownPrivateEndpointConnectionProvisioningState {
185
+ Creating = "Creating",
186
+ Deleting = "Deleting",
187
+ Disconnected = "Disconnected",
188
+ Failed = "Failed",
189
+ Succeeded = "Succeeded",
190
+ Updating = "Updating"
191
+ }
192
+
193
+ // @public
194
+ export enum KnownPrivateEndpointServiceConnectionStatus {
195
+ Approved = "Approved",
196
+ Disconnected = "Disconnected",
197
+ Pending = "Pending",
198
+ Rejected = "Rejected"
199
+ }
200
+
201
+ // @public
202
+ export enum KnownSecretPermissions {
203
+ All = "all",
204
+ Backup = "backup",
205
+ Delete = "delete",
206
+ Get = "get",
207
+ List = "list",
208
+ Purge = "purge",
209
+ Recover = "recover",
210
+ Restore = "restore",
211
+ Set = "set"
212
+ }
213
+
214
+ // @public
215
+ export enum KnownSkuFamily {
216
+ // (undocumented)
217
+ A = "A"
218
+ }
219
+
220
+ // @public
221
+ export enum KnownStoragePermissions {
222
+ All = "all",
223
+ Backup = "backup",
224
+ Delete = "delete",
225
+ Deletesas = "deletesas",
226
+ Get = "get",
227
+ Getsas = "getsas",
228
+ List = "list",
229
+ Listsas = "listsas",
230
+ Purge = "purge",
231
+ Recover = "recover",
232
+ Regeneratekey = "regeneratekey",
233
+ Restore = "restore",
234
+ Set = "set",
235
+ Setsas = "setsas",
236
+ Update = "update"
237
+ }
238
+
239
+ // @public
240
+ export enum KnownVaultProvisioningState {
241
+ RegisteringDns = "RegisteringDns",
242
+ Succeeded = "Succeeded"
243
+ }
244
+
245
+ // @public
246
+ export interface LogSpecification {
247
+ blobDuration?: string;
248
+ displayName?: string;
249
+ name?: string;
250
+ }
251
+
252
+ // @public
253
+ export interface MetricSpecification {
254
+ aggregationType?: string;
255
+ dimensions?: DimensionProperties[];
256
+ displayDescription?: string;
257
+ displayName?: string;
258
+ fillGapWithZero?: boolean;
259
+ internalMetricName?: string;
260
+ lockAggregationType?: string;
261
+ name?: string;
262
+ supportedAggregationTypes?: string[];
263
+ supportedTimeGrainTypes?: string[];
264
+ unit?: string;
265
+ }
266
+
267
+ // @public
268
+ export type NetworkRuleAction = string;
269
+
270
+ // @public
271
+ export type NetworkRuleBypassOptions = string;
272
+
273
+ // @public
274
+ export interface NetworkRuleSet {
275
+ bypass?: NetworkRuleBypassOptions;
276
+ defaultAction?: NetworkRuleAction;
277
+ ipRules?: IPRule[];
278
+ virtualNetworkRules?: VirtualNetworkRule[];
279
+ }
280
+
281
+ // @public
282
+ export interface Operation {
283
+ display?: OperationDisplay;
284
+ isDataAction?: boolean;
285
+ name?: string;
286
+ origin?: string;
287
+ serviceSpecification?: ServiceSpecification;
288
+ }
289
+
290
+ // @public
291
+ export interface OperationDisplay {
292
+ description?: string;
293
+ operation?: string;
294
+ provider?: string;
295
+ resource?: string;
296
+ }
297
+
298
+ // @public
299
+ export interface OperationListResult {
300
+ nextLink?: string;
301
+ value?: Operation[];
302
+ }
303
+
304
+ // @public
305
+ export interface Operations {
306
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
307
+ }
308
+
309
+ // @public
310
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
311
+ }
312
+
313
+ // @public
314
+ export type OperationsListNextResponse = OperationListResult;
315
+
316
+ // @public
317
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
318
+ }
319
+
320
+ // @public
321
+ export type OperationsListResponse = OperationListResult;
322
+
323
+ // @public
324
+ export interface Permissions {
325
+ certificates?: CertificatePermissions[];
326
+ keys?: KeyPermissions[];
327
+ secrets?: SecretPermissions[];
328
+ storage?: StoragePermissions[];
329
+ }
330
+
331
+ // @public
332
+ export interface PrivateEndpoint {
333
+ readonly id?: string;
334
+ }
335
+
336
+ // @public
337
+ export interface PrivateEndpointConnection extends Resource {
338
+ etag?: string;
339
+ privateEndpoint?: PrivateEndpoint;
340
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
341
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
342
+ }
343
+
344
+ // @public
345
+ export interface PrivateEndpointConnectionItem {
346
+ etag?: string;
347
+ id?: string;
348
+ privateEndpoint?: PrivateEndpoint;
349
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
350
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
351
+ }
352
+
353
+ // @public
354
+ export type PrivateEndpointConnectionProvisioningState = string;
355
+
356
+ // @public
357
+ export interface PrivateEndpointConnections {
358
+ beginDelete(resourceGroupName: string, vaultName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsDeleteResponse>, PrivateEndpointConnectionsDeleteResponse>>;
359
+ beginDeleteAndWait(resourceGroupName: string, vaultName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PrivateEndpointConnectionsDeleteResponse>;
360
+ get(resourceGroupName: string, vaultName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
361
+ put(resourceGroupName: string, vaultName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<PrivateEndpointConnectionsPutResponse>;
362
+ }
363
+
364
+ // @public
365
+ export interface PrivateEndpointConnectionsDeleteHeaders {
366
+ location?: string;
367
+ retryAfter?: number;
368
+ }
369
+
370
+ // @public
371
+ export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
372
+ resumeFrom?: string;
373
+ updateIntervalInMs?: number;
374
+ }
375
+
376
+ // @public
377
+ export type PrivateEndpointConnectionsDeleteResponse = PrivateEndpointConnection;
378
+
379
+ // @public
380
+ export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
381
+ }
382
+
383
+ // @public
384
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
385
+
386
+ // @public
387
+ export interface PrivateEndpointConnectionsPutHeaders {
388
+ azureAsyncOperation?: string;
389
+ retryAfter?: number;
390
+ }
391
+
392
+ // @public
393
+ export interface PrivateEndpointConnectionsPutOptionalParams extends coreClient.OperationOptions {
394
+ }
395
+
396
+ // @public
397
+ export type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnectionsPutHeaders & PrivateEndpointConnection;
398
+
399
+ // @public
400
+ export type PrivateEndpointServiceConnectionStatus = string;
401
+
402
+ // @public
403
+ export interface PrivateLinkResource extends Resource {
404
+ readonly groupId?: string;
405
+ readonly requiredMembers?: string[];
406
+ requiredZoneNames?: string[];
407
+ }
408
+
409
+ // @public
410
+ export interface PrivateLinkResourceListResult {
411
+ value?: PrivateLinkResource[];
412
+ }
413
+
414
+ // @public
415
+ export interface PrivateLinkResources {
416
+ listByVault(resourceGroupName: string, vaultName: string, options?: PrivateLinkResourcesListByVaultOptionalParams): Promise<PrivateLinkResourcesListByVaultResponse>;
417
+ }
418
+
419
+ // @public
420
+ export interface PrivateLinkResourcesListByVaultOptionalParams extends coreClient.OperationOptions {
421
+ }
422
+
423
+ // @public
424
+ export type PrivateLinkResourcesListByVaultResponse = PrivateLinkResourceListResult;
425
+
426
+ // @public
427
+ export interface PrivateLinkServiceConnectionState {
428
+ actionsRequired?: string;
429
+ description?: string;
430
+ status?: PrivateEndpointServiceConnectionStatus;
431
+ }
432
+
433
+ // @public
434
+ export type Reason = "AccountNameInvalid" | "AlreadyExists";
435
+
436
+ // @public
437
+ export interface Resource {
438
+ readonly id?: string;
439
+ readonly location?: string;
440
+ readonly name?: string;
441
+ readonly tags?: {
442
+ [propertyName: string]: string;
443
+ };
444
+ readonly type?: string;
445
+ }
446
+
447
+ // @public
448
+ export interface ResourceListResult {
449
+ nextLink?: string;
450
+ value?: Resource[];
451
+ }
452
+
453
+ // @public
454
+ export interface Secret extends Resource {
455
+ properties: SecretProperties;
456
+ }
457
+
458
+ // @public
459
+ export interface SecretAttributes extends Attributes {
460
+ }
461
+
462
+ // @public
463
+ export interface SecretCreateOrUpdateParameters {
464
+ properties: SecretProperties;
465
+ tags?: {
466
+ [propertyName: string]: string;
467
+ };
468
+ }
469
+
470
+ // @public
471
+ export interface SecretListResult {
472
+ nextLink?: string;
473
+ value?: Secret[];
474
+ }
475
+
476
+ // @public
477
+ export interface SecretPatchParameters {
478
+ properties?: SecretPatchProperties;
479
+ tags?: {
480
+ [propertyName: string]: string;
481
+ };
482
+ }
483
+
484
+ // @public
485
+ export interface SecretPatchProperties {
486
+ attributes?: SecretAttributes;
487
+ contentType?: string;
488
+ value?: string;
489
+ }
490
+
491
+ // @public
492
+ export type SecretPermissions = string;
493
+
494
+ // @public
495
+ export interface SecretProperties {
496
+ attributes?: SecretAttributes;
497
+ contentType?: string;
498
+ readonly secretUri?: string;
499
+ readonly secretUriWithVersion?: string;
500
+ value?: string;
501
+ }
502
+
503
+ // @public
504
+ export interface Secrets {
505
+ createOrUpdate(resourceGroupName: string, vaultName: string, secretName: string, parameters: SecretCreateOrUpdateParameters, options?: SecretsCreateOrUpdateOptionalParams): Promise<SecretsCreateOrUpdateResponse>;
506
+ get(resourceGroupName: string, vaultName: string, secretName: string, options?: SecretsGetOptionalParams): Promise<SecretsGetResponse>;
507
+ list(resourceGroupName: string, vaultName: string, options?: SecretsListOptionalParams): PagedAsyncIterableIterator<Secret>;
508
+ update(resourceGroupName: string, vaultName: string, secretName: string, parameters: SecretPatchParameters, options?: SecretsUpdateOptionalParams): Promise<SecretsUpdateResponse>;
509
+ }
510
+
511
+ // @public
512
+ export interface SecretsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
513
+ }
514
+
515
+ // @public
516
+ export type SecretsCreateOrUpdateResponse = Secret;
517
+
518
+ // @public
519
+ export interface SecretsGetOptionalParams extends coreClient.OperationOptions {
520
+ }
521
+
522
+ // @public
523
+ export type SecretsGetResponse = Secret;
524
+
525
+ // @public
526
+ export interface SecretsListNextOptionalParams extends coreClient.OperationOptions {
527
+ }
528
+
529
+ // @public
530
+ export type SecretsListNextResponse = SecretListResult;
531
+
532
+ // @public
533
+ export interface SecretsListOptionalParams extends coreClient.OperationOptions {
534
+ top?: number;
535
+ }
536
+
537
+ // @public
538
+ export type SecretsListResponse = SecretListResult;
539
+
540
+ // @public
541
+ export interface SecretsUpdateOptionalParams extends coreClient.OperationOptions {
542
+ }
543
+
544
+ // @public
545
+ export type SecretsUpdateResponse = Secret;
546
+
547
+ // @public
548
+ export interface ServiceSpecification {
549
+ logSpecifications?: LogSpecification[];
550
+ metricSpecifications?: MetricSpecification[];
551
+ }
552
+
553
+ // @public
554
+ export interface Sku {
555
+ family: SkuFamily;
556
+ name: SkuName;
557
+ }
558
+
559
+ // @public
560
+ export type SkuFamily = string;
561
+
562
+ // @public
563
+ export type SkuName = "standard" | "premium";
564
+
565
+ // @public
566
+ export type StoragePermissions = string;
567
+
568
+ // @public
569
+ export interface Vault {
570
+ readonly id?: string;
571
+ location?: string;
572
+ readonly name?: string;
573
+ properties: VaultProperties;
574
+ tags?: {
575
+ [propertyName: string]: string;
576
+ };
577
+ readonly type?: string;
578
+ }
579
+
580
+ // @public
581
+ export interface VaultAccessPolicyParameters {
582
+ readonly id?: string;
583
+ readonly location?: string;
584
+ readonly name?: string;
585
+ properties: VaultAccessPolicyProperties;
586
+ readonly type?: string;
587
+ }
588
+
589
+ // @public
590
+ export interface VaultAccessPolicyProperties {
591
+ accessPolicies: AccessPolicyEntry[];
592
+ }
593
+
594
+ // @public
595
+ export interface VaultCheckNameAvailabilityParameters {
596
+ name: string;
597
+ type: "Microsoft.KeyVault/vaults";
598
+ }
599
+
600
+ // @public
601
+ export interface VaultCreateOrUpdateParameters {
602
+ location: string;
603
+ properties: VaultProperties;
604
+ tags?: {
605
+ [propertyName: string]: string;
606
+ };
607
+ }
608
+
609
+ // @public
610
+ export interface VaultListResult {
611
+ nextLink?: string;
612
+ value?: Vault[];
613
+ }
614
+
615
+ // @public
616
+ export interface VaultPatchParameters {
617
+ properties?: VaultPatchProperties;
618
+ tags?: {
619
+ [propertyName: string]: string;
620
+ };
621
+ }
622
+
623
+ // @public
624
+ export interface VaultPatchProperties {
625
+ accessPolicies?: AccessPolicyEntry[];
626
+ createMode?: CreateMode;
627
+ enabledForDeployment?: boolean;
628
+ enabledForDiskEncryption?: boolean;
629
+ enabledForTemplateDeployment?: boolean;
630
+ enablePurgeProtection?: boolean;
631
+ enableRbacAuthorization?: boolean;
632
+ enableSoftDelete?: boolean;
633
+ networkAcls?: NetworkRuleSet;
634
+ sku?: Sku;
635
+ softDeleteRetentionInDays?: number;
636
+ tenantId?: string;
637
+ }
638
+
639
+ // @public
640
+ export interface VaultProperties {
641
+ accessPolicies?: AccessPolicyEntry[];
642
+ createMode?: CreateMode;
643
+ enabledForDeployment?: boolean;
644
+ enabledForDiskEncryption?: boolean;
645
+ enabledForTemplateDeployment?: boolean;
646
+ enablePurgeProtection?: boolean;
647
+ enableRbacAuthorization?: boolean;
648
+ enableSoftDelete?: boolean;
649
+ readonly hsmPoolResourceId?: string;
650
+ networkAcls?: NetworkRuleSet;
651
+ readonly privateEndpointConnections?: PrivateEndpointConnectionItem[];
652
+ provisioningState?: VaultProvisioningState;
653
+ sku: Sku;
654
+ softDeleteRetentionInDays?: number;
655
+ tenantId: string;
656
+ vaultUri?: string;
657
+ }
658
+
659
+ // @public
660
+ export type VaultProvisioningState = string;
661
+
662
+ // @public
663
+ export interface Vaults {
664
+ beginCreateOrUpdate(resourceGroupName: string, vaultName: string, parameters: VaultCreateOrUpdateParameters, options?: VaultsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<VaultsCreateOrUpdateResponse>, VaultsCreateOrUpdateResponse>>;
665
+ beginCreateOrUpdateAndWait(resourceGroupName: string, vaultName: string, parameters: VaultCreateOrUpdateParameters, options?: VaultsCreateOrUpdateOptionalParams): Promise<VaultsCreateOrUpdateResponse>;
666
+ beginPurgeDeleted(vaultName: string, location: string, options?: VaultsPurgeDeletedOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
667
+ beginPurgeDeletedAndWait(vaultName: string, location: string, options?: VaultsPurgeDeletedOptionalParams): Promise<void>;
668
+ checkNameAvailability(vaultName: VaultCheckNameAvailabilityParameters, options?: VaultsCheckNameAvailabilityOptionalParams): Promise<VaultsCheckNameAvailabilityResponse>;
669
+ delete(resourceGroupName: string, vaultName: string, options?: VaultsDeleteOptionalParams): Promise<void>;
670
+ get(resourceGroupName: string, vaultName: string, options?: VaultsGetOptionalParams): Promise<VaultsGetResponse>;
671
+ getDeleted(vaultName: string, location: string, options?: VaultsGetDeletedOptionalParams): Promise<VaultsGetDeletedResponse>;
672
+ list(options?: VaultsListOptionalParams): PagedAsyncIterableIterator<Resource>;
673
+ listByResourceGroup(resourceGroupName: string, options?: VaultsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Vault>;
674
+ listBySubscription(options?: VaultsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Vault>;
675
+ listDeleted(options?: VaultsListDeletedOptionalParams): PagedAsyncIterableIterator<DeletedVault>;
676
+ update(resourceGroupName: string, vaultName: string, parameters: VaultPatchParameters, options?: VaultsUpdateOptionalParams): Promise<VaultsUpdateResponse>;
677
+ updateAccessPolicy(resourceGroupName: string, vaultName: string, operationKind: AccessPolicyUpdateKind, parameters: VaultAccessPolicyParameters, options?: VaultsUpdateAccessPolicyOptionalParams): Promise<VaultsUpdateAccessPolicyResponse>;
678
+ }
679
+
680
+ // @public
681
+ export interface VaultsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
682
+ }
683
+
684
+ // @public
685
+ export type VaultsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
686
+
687
+ // @public
688
+ export interface VaultsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
689
+ resumeFrom?: string;
690
+ updateIntervalInMs?: number;
691
+ }
692
+
693
+ // @public
694
+ export type VaultsCreateOrUpdateResponse = Vault;
695
+
696
+ // @public
697
+ export interface VaultsDeleteOptionalParams extends coreClient.OperationOptions {
698
+ }
699
+
700
+ // @public
701
+ export interface VaultsGetDeletedOptionalParams extends coreClient.OperationOptions {
702
+ }
703
+
704
+ // @public
705
+ export type VaultsGetDeletedResponse = DeletedVault;
706
+
707
+ // @public
708
+ export interface VaultsGetOptionalParams extends coreClient.OperationOptions {
709
+ }
710
+
711
+ // @public
712
+ export type VaultsGetResponse = Vault;
713
+
714
+ // @public
715
+ export interface VaultsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
716
+ }
717
+
718
+ // @public
719
+ export type VaultsListByResourceGroupNextResponse = VaultListResult;
720
+
721
+ // @public
722
+ export interface VaultsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
723
+ top?: number;
724
+ }
725
+
726
+ // @public
727
+ export type VaultsListByResourceGroupResponse = VaultListResult;
728
+
729
+ // @public
730
+ export interface VaultsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
731
+ }
732
+
733
+ // @public
734
+ export type VaultsListBySubscriptionNextResponse = VaultListResult;
735
+
736
+ // @public
737
+ export interface VaultsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
738
+ top?: number;
739
+ }
740
+
741
+ // @public
742
+ export type VaultsListBySubscriptionResponse = VaultListResult;
743
+
744
+ // @public
745
+ export interface VaultsListDeletedNextOptionalParams extends coreClient.OperationOptions {
746
+ }
747
+
748
+ // @public
749
+ export type VaultsListDeletedNextResponse = DeletedVaultListResult;
750
+
751
+ // @public
752
+ export interface VaultsListDeletedOptionalParams extends coreClient.OperationOptions {
753
+ }
754
+
755
+ // @public
756
+ export type VaultsListDeletedResponse = DeletedVaultListResult;
757
+
758
+ // @public
759
+ export interface VaultsListNextOptionalParams extends coreClient.OperationOptions {
760
+ }
761
+
762
+ // @public
763
+ export type VaultsListNextResponse = ResourceListResult;
764
+
765
+ // @public
766
+ export interface VaultsListOptionalParams extends coreClient.OperationOptions {
767
+ top?: number;
768
+ }
769
+
770
+ // @public
771
+ export type VaultsListResponse = ResourceListResult;
772
+
773
+ // @public
774
+ export interface VaultsPurgeDeletedOptionalParams extends coreClient.OperationOptions {
775
+ resumeFrom?: string;
776
+ updateIntervalInMs?: number;
777
+ }
778
+
779
+ // @public
780
+ export interface VaultsUpdateAccessPolicyOptionalParams extends coreClient.OperationOptions {
781
+ }
782
+
783
+ // @public
784
+ export type VaultsUpdateAccessPolicyResponse = VaultAccessPolicyParameters;
785
+
786
+ // @public
787
+ export interface VaultsUpdateOptionalParams extends coreClient.OperationOptions {
788
+ }
789
+
790
+ // @public
791
+ export type VaultsUpdateResponse = Vault;
792
+
793
+ // @public
794
+ export interface VirtualNetworkRule {
795
+ id: string;
796
+ ignoreMissingVnetServiceEndpoint?: boolean;
797
+ }
798
+
799
+ // (No @packageDocumentation comment for this package)
800
+
801
+ ```