@azure/arm-keyvault 2.0.0-alpha.20211216.1 → 2.0.1-alpha.20220117.2
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/CHANGELOG.md +6 -11
- package/LICENSE +1 -1
- package/README.md +7 -5
- package/dist/index.js +103 -258
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/{index.d.ts → src/index.d.ts} +0 -1
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/{index.js → src/index.js} +0 -1
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/{keyVaultManagementClient.d.ts → src/keyVaultManagementClient.d.ts} +5 -2
- package/dist-esm/src/keyVaultManagementClient.d.ts.map +1 -0
- package/dist-esm/{keyVaultManagementClientContext.js → src/keyVaultManagementClient.js} +15 -5
- package/dist-esm/src/keyVaultManagementClient.js.map +1 -0
- package/dist-esm/{lroImpl.d.ts → src/lroImpl.d.ts} +0 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/{lroImpl.js → src/lroImpl.js} +0 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/{models → src/models}/index.d.ts +56 -100
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/{models → src/models}/index.js +5 -7
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/{models → src/models}/mappers.d.ts +2 -7
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/{models → src/models}/mappers.js +83 -201
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/{models → src/models}/parameters.d.ts +0 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/{models → src/models}/parameters.js +1 -1
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/{operations → src/operations}/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/{operations → src/operations}/index.js +0 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/{operations → src/operations}/keys.d.ts +3 -4
- package/dist-esm/src/operations/keys.d.ts.map +1 -0
- package/dist-esm/{operations → src/operations}/keys.js +1 -2
- package/dist-esm/src/operations/keys.js.map +1 -0
- package/dist-esm/{operations → src/operations}/managedHsms.d.ts +3 -4
- package/dist-esm/src/operations/managedHsms.d.ts.map +1 -0
- package/dist-esm/{operations → src/operations}/managedHsms.js +1 -2
- package/dist-esm/src/operations/managedHsms.js.map +1 -0
- package/dist-esm/{operations → src/operations}/mhsmPrivateEndpointConnections.d.ts +3 -4
- package/dist-esm/src/operations/mhsmPrivateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/{operations → src/operations}/mhsmPrivateEndpointConnections.js +1 -2
- package/dist-esm/src/operations/mhsmPrivateEndpointConnections.js.map +1 -0
- package/dist-esm/{operations → src/operations}/mhsmPrivateLinkResources.d.ts +3 -3
- package/dist-esm/src/operations/mhsmPrivateLinkResources.d.ts.map +1 -0
- package/dist-esm/{operations → src/operations}/mhsmPrivateLinkResources.js +1 -1
- package/dist-esm/src/operations/mhsmPrivateLinkResources.js.map +1 -0
- package/dist-esm/{operations → src/operations}/operations.d.ts +3 -4
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/{operations → src/operations}/operations.js +1 -2
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/{operations → src/operations}/privateEndpointConnections.d.ts +3 -4
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/{operations → src/operations}/privateEndpointConnections.js +1 -2
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/{operations → src/operations}/privateLinkResources.d.ts +3 -3
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/{operations → src/operations}/privateLinkResources.js +1 -1
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/{operations → src/operations}/secrets.d.ts +3 -4
- package/dist-esm/src/operations/secrets.d.ts.map +1 -0
- package/dist-esm/{operations → src/operations}/secrets.js +1 -2
- package/dist-esm/src/operations/secrets.js.map +1 -0
- package/dist-esm/{operations → src/operations}/vaults.d.ts +3 -4
- package/dist-esm/src/operations/vaults.d.ts.map +1 -0
- package/dist-esm/{operations → src/operations}/vaults.js +1 -10
- package/dist-esm/src/operations/vaults.js.map +1 -0
- package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/index.d.ts +0 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/index.js +0 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/keys.d.ts +0 -1
- package/dist-esm/src/operationsInterfaces/keys.d.ts.map +1 -0
- package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/keys.js +1 -1
- package/dist-esm/src/operationsInterfaces/keys.js.map +1 -0
- package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/managedHsms.d.ts +0 -1
- package/dist-esm/src/operationsInterfaces/managedHsms.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/managedHsms.js +9 -0
- package/dist-esm/src/operationsInterfaces/managedHsms.js.map +1 -0
- package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/mhsmPrivateEndpointConnections.d.ts +0 -1
- package/dist-esm/src/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/{operationsInterfaces/operations.js → src/operationsInterfaces/mhsmPrivateEndpointConnections.js} +2 -2
- package/dist-esm/src/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +1 -0
- package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/mhsmPrivateLinkResources.d.ts +0 -0
- package/dist-esm/src/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +1 -0
- package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/mhsmPrivateLinkResources.js +0 -0
- package/dist-esm/src/operationsInterfaces/mhsmPrivateLinkResources.js.map +1 -0
- package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/operations.d.ts +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/privateEndpointConnections.d.ts +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/{operationsInterfaces/secrets.js → src/operationsInterfaces/privateEndpointConnections.js} +2 -2
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/privateLinkResources.d.ts +0 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/privateLinkResources.js +0 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/secrets.d.ts +0 -1
- package/dist-esm/src/operationsInterfaces/secrets.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/secrets.js +9 -0
- package/dist-esm/src/operationsInterfaces/secrets.js.map +1 -0
- package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/vaults.d.ts +0 -1
- package/dist-esm/src/operationsInterfaces/vaults.d.ts.map +1 -0
- package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/vaults.js +1 -1
- package/dist-esm/src/operationsInterfaces/vaults.js.map +1 -0
- package/dist-esm/test/keyvault_examples.d.ts +4 -0
- package/dist-esm/test/keyvault_examples.d.ts.map +1 -0
- package/dist-esm/test/keyvault_examples.js +247 -0
- package/dist-esm/test/keyvault_examples.js.map +1 -0
- package/package.json +17 -14
- package/review/arm-keyvault.api.md +8 -51
- package/src/index.ts +0 -1
- package/src/keyVaultManagementClient.ts +46 -3
- package/src/models/index.ts +58 -107
- package/src/models/mappers.ts +85 -209
- package/src/models/parameters.ts +1 -1
- package/src/operations/keys.ts +4 -5
- package/src/operations/managedHsms.ts +4 -5
- package/src/operations/mhsmPrivateEndpointConnections.ts +4 -5
- package/src/operations/mhsmPrivateLinkResources.ts +4 -4
- package/src/operations/operations.ts +4 -5
- package/src/operations/privateEndpointConnections.ts +4 -5
- package/src/operations/privateLinkResources.ts +4 -4
- package/src/operations/secrets.ts +4 -5
- package/src/operations/vaults.ts +4 -13
- package/src/operationsInterfaces/keys.ts +0 -1
- package/src/operationsInterfaces/managedHsms.ts +0 -1
- package/src/operationsInterfaces/mhsmPrivateEndpointConnections.ts +0 -1
- package/src/operationsInterfaces/operations.ts +0 -1
- package/src/operationsInterfaces/privateEndpointConnections.ts +0 -1
- package/src/operationsInterfaces/secrets.ts +0 -1
- package/src/operationsInterfaces/vaults.ts +0 -1
- package/tsconfig.json +1 -1
- package/types/arm-keyvault.d.ts +10 -71
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/index.d.ts.map +0 -1
- package/dist-esm/index.js.map +0 -1
- package/dist-esm/keyVaultManagementClient.d.ts.map +0 -1
- package/dist-esm/keyVaultManagementClient.js +0 -31
- package/dist-esm/keyVaultManagementClient.js.map +0 -1
- package/dist-esm/keyVaultManagementClientContext.d.ts +0 -17
- package/dist-esm/keyVaultManagementClientContext.d.ts.map +0 -1
- package/dist-esm/keyVaultManagementClientContext.js.map +0 -1
- package/dist-esm/lroImpl.d.ts.map +0 -1
- package/dist-esm/lroImpl.js.map +0 -1
- package/dist-esm/models/index.d.ts.map +0 -1
- package/dist-esm/models/index.js.map +0 -1
- package/dist-esm/models/mappers.d.ts.map +0 -1
- package/dist-esm/models/mappers.js.map +0 -1
- package/dist-esm/models/parameters.d.ts.map +0 -1
- package/dist-esm/models/parameters.js.map +0 -1
- package/dist-esm/operations/index.d.ts.map +0 -1
- package/dist-esm/operations/index.js.map +0 -1
- package/dist-esm/operations/keys.d.ts.map +0 -1
- package/dist-esm/operations/keys.js.map +0 -1
- package/dist-esm/operations/managedHsms.d.ts.map +0 -1
- package/dist-esm/operations/managedHsms.js.map +0 -1
- package/dist-esm/operations/mhsmPrivateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/operations/mhsmPrivateEndpointConnections.js.map +0 -1
- package/dist-esm/operations/mhsmPrivateLinkResources.d.ts.map +0 -1
- package/dist-esm/operations/mhsmPrivateLinkResources.js.map +0 -1
- package/dist-esm/operations/operations.d.ts.map +0 -1
- package/dist-esm/operations/operations.js.map +0 -1
- package/dist-esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/operations/privateEndpointConnections.js.map +0 -1
- package/dist-esm/operations/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/operations/privateLinkResources.js.map +0 -1
- package/dist-esm/operations/secrets.d.ts.map +0 -1
- package/dist-esm/operations/secrets.js.map +0 -1
- package/dist-esm/operations/vaults.d.ts.map +0 -1
- package/dist-esm/operations/vaults.js.map +0 -1
- package/dist-esm/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/operationsInterfaces/keys.d.ts.map +0 -1
- package/dist-esm/operationsInterfaces/keys.js.map +0 -1
- package/dist-esm/operationsInterfaces/managedHsms.d.ts.map +0 -1
- package/dist-esm/operationsInterfaces/managedHsms.js +0 -9
- package/dist-esm/operationsInterfaces/managedHsms.js.map +0 -1
- package/dist-esm/operationsInterfaces/mhsmPrivateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/operationsInterfaces/mhsmPrivateEndpointConnections.js +0 -9
- package/dist-esm/operationsInterfaces/mhsmPrivateEndpointConnections.js.map +0 -1
- package/dist-esm/operationsInterfaces/mhsmPrivateLinkResources.d.ts.map +0 -1
- package/dist-esm/operationsInterfaces/mhsmPrivateLinkResources.js.map +0 -1
- package/dist-esm/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/operationsInterfaces/privateEndpointConnections.js +0 -9
- package/dist-esm/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist-esm/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist-esm/operationsInterfaces/secrets.d.ts.map +0 -1
- package/dist-esm/operationsInterfaces/secrets.js.map +0 -1
- package/dist-esm/operationsInterfaces/vaults.d.ts.map +0 -1
- package/dist-esm/operationsInterfaces/vaults.js.map +0 -1
- package/src/keyVaultManagementClientContext.ts +0 -71
package/src/models/index.ts
CHANGED
|
@@ -37,8 +37,6 @@ export interface KeyProperties {
|
|
|
37
37
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
38
38
|
*/
|
|
39
39
|
readonly keyUriWithVersion?: string;
|
|
40
|
-
/** Key rotation policy in response. It will be used for both output and input. Omitted if empty */
|
|
41
|
-
rotationPolicy?: RotationPolicy;
|
|
42
40
|
}
|
|
43
41
|
|
|
44
42
|
/** The object attributes managed by the Azure Key Vault service. */
|
|
@@ -64,47 +62,8 @@ export interface KeyAttributes {
|
|
|
64
62
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
65
63
|
*/
|
|
66
64
|
readonly recoveryLevel?: DeletionRecoveryLevel;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
export interface RotationPolicy {
|
|
70
|
-
/** The attributes of key rotation policy. */
|
|
71
|
-
attributes?: KeyRotationPolicyAttributes;
|
|
72
|
-
/** The lifetimeActions for key rotation action. */
|
|
73
|
-
lifetimeActions?: LifetimeAction[];
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export interface KeyRotationPolicyAttributes {
|
|
77
|
-
/**
|
|
78
|
-
* Creation time in seconds since 1970-01-01T00:00:00Z.
|
|
79
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
80
|
-
*/
|
|
81
|
-
readonly created?: number;
|
|
82
|
-
/**
|
|
83
|
-
* Last updated time in seconds since 1970-01-01T00:00:00Z.
|
|
84
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
85
|
-
*/
|
|
86
|
-
readonly updated?: number;
|
|
87
|
-
/** The expiration time for the new key version. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'. */
|
|
88
|
-
expiryTime?: string;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export interface LifetimeAction {
|
|
92
|
-
/** The trigger of key rotation policy lifetimeAction. */
|
|
93
|
-
trigger?: Trigger;
|
|
94
|
-
/** The action of key rotation policy lifetimeAction. */
|
|
95
|
-
action?: Action;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
export interface Trigger {
|
|
99
|
-
/** The time duration after key creation to rotate the key. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'. */
|
|
100
|
-
timeAfterCreate?: string;
|
|
101
|
-
/** The time duration before key expiring to rotate the key. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'. */
|
|
102
|
-
timeBeforeExpiry?: string;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
export interface Action {
|
|
106
|
-
/** The type of action. */
|
|
107
|
-
type?: KeyRotationPolicyActionType;
|
|
65
|
+
/** Indicates if the private key can be exported. */
|
|
66
|
+
exportable?: boolean;
|
|
108
67
|
}
|
|
109
68
|
|
|
110
69
|
/** Key Vault resource */
|
|
@@ -193,7 +152,7 @@ export interface VaultProperties {
|
|
|
193
152
|
enableSoftDelete?: boolean;
|
|
194
153
|
/** softDelete data retention days. It accepts >=7 and <=90. */
|
|
195
154
|
softDeleteRetentionInDays?: number;
|
|
196
|
-
/** Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be ignored
|
|
155
|
+
/** Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be ignored. When false, the key vault will use the access policies specified in vault properties, and any policy stored on Azure Resource Manager will be ignored. If null or not specified, the vault is created with the default value of false. Note that management actions are always authorized with RBAC. */
|
|
197
156
|
enableRbacAuthorization?: boolean;
|
|
198
157
|
/** The vault's create mode to indicate whether the vault need to be recovered or not. */
|
|
199
158
|
createMode?: CreateMode;
|
|
@@ -373,7 +332,7 @@ export interface VaultPatchProperties {
|
|
|
373
332
|
enabledForTemplateDeployment?: boolean;
|
|
374
333
|
/** Property to specify whether the 'soft delete' functionality is enabled for this key vault. Once set to true, it cannot be reverted to false. */
|
|
375
334
|
enableSoftDelete?: boolean;
|
|
376
|
-
/** Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be ignored
|
|
335
|
+
/** Property that controls how data actions are authorized. When true, the key vault will use Role Based Access Control (RBAC) for authorization of data actions, and the access policies specified in vault properties will be ignored. When false, the key vault will use the access policies specified in vault properties, and any policy stored on Azure Resource Manager will be ignored. If null or not specified, the value of this property will not change. */
|
|
377
336
|
enableRbacAuthorization?: boolean;
|
|
378
337
|
/** softDelete data retention days. It accepts >=7 and <=90. */
|
|
379
338
|
softDeleteRetentionInDays?: number;
|
|
@@ -539,44 +498,6 @@ export interface PrivateLinkResourceListResult {
|
|
|
539
498
|
value?: PrivateLinkResource[];
|
|
540
499
|
}
|
|
541
500
|
|
|
542
|
-
/** Managed HSM resource */
|
|
543
|
-
export interface ManagedHsmResource {
|
|
544
|
-
/**
|
|
545
|
-
* The Azure Resource Manager resource ID for the managed HSM Pool.
|
|
546
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
547
|
-
*/
|
|
548
|
-
readonly id?: string;
|
|
549
|
-
/**
|
|
550
|
-
* The name of the managed HSM Pool.
|
|
551
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
552
|
-
*/
|
|
553
|
-
readonly name?: string;
|
|
554
|
-
/**
|
|
555
|
-
* The resource type of the managed HSM Pool.
|
|
556
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
557
|
-
*/
|
|
558
|
-
readonly type?: string;
|
|
559
|
-
/** The supported Azure location where the managed HSM Pool should be created. */
|
|
560
|
-
location?: string;
|
|
561
|
-
/** SKU details */
|
|
562
|
-
sku?: ManagedHsmSku;
|
|
563
|
-
/** Resource tags */
|
|
564
|
-
tags?: { [propertyName: string]: string };
|
|
565
|
-
/**
|
|
566
|
-
* Metadata pertaining to creation and last modification of the key vault resource.
|
|
567
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
568
|
-
*/
|
|
569
|
-
readonly systemData?: SystemData;
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
/** SKU details */
|
|
573
|
-
export interface ManagedHsmSku {
|
|
574
|
-
/** SKU Family of the managed HSM Pool */
|
|
575
|
-
family: ManagedHsmSkuFamily;
|
|
576
|
-
/** SKU of the managed HSM Pool */
|
|
577
|
-
name: ManagedHsmSkuName;
|
|
578
|
-
}
|
|
579
|
-
|
|
580
501
|
/** Properties of the managed HSM Pool */
|
|
581
502
|
export interface ManagedHsmProperties {
|
|
582
503
|
/** The Azure Active Directory tenant ID that should be used for authenticating requests to the managed HSM pool. */
|
|
@@ -675,6 +596,44 @@ export interface MhsmPrivateLinkServiceConnectionState {
|
|
|
675
596
|
actionsRequired?: ActionsRequired;
|
|
676
597
|
}
|
|
677
598
|
|
|
599
|
+
/** Managed HSM resource */
|
|
600
|
+
export interface ManagedHsmResource {
|
|
601
|
+
/**
|
|
602
|
+
* The Azure Resource Manager resource ID for the managed HSM Pool.
|
|
603
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
604
|
+
*/
|
|
605
|
+
readonly id?: string;
|
|
606
|
+
/**
|
|
607
|
+
* The name of the managed HSM Pool.
|
|
608
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
609
|
+
*/
|
|
610
|
+
readonly name?: string;
|
|
611
|
+
/**
|
|
612
|
+
* The resource type of the managed HSM Pool.
|
|
613
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
614
|
+
*/
|
|
615
|
+
readonly type?: string;
|
|
616
|
+
/** The supported Azure location where the managed HSM Pool should be created. */
|
|
617
|
+
location?: string;
|
|
618
|
+
/** SKU details */
|
|
619
|
+
sku?: ManagedHsmSku;
|
|
620
|
+
/** Resource tags */
|
|
621
|
+
tags?: { [propertyName: string]: string };
|
|
622
|
+
/**
|
|
623
|
+
* Metadata pertaining to creation and last modification of the key vault resource.
|
|
624
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
625
|
+
*/
|
|
626
|
+
readonly systemData?: SystemData;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
/** SKU details */
|
|
630
|
+
export interface ManagedHsmSku {
|
|
631
|
+
/** SKU Family of the managed HSM Pool */
|
|
632
|
+
family: ManagedHsmSkuFamily;
|
|
633
|
+
/** SKU of the managed HSM Pool */
|
|
634
|
+
name: ManagedHsmSkuName;
|
|
635
|
+
}
|
|
636
|
+
|
|
678
637
|
/** The error exception. */
|
|
679
638
|
export interface ManagedHsmError {
|
|
680
639
|
/**
|
|
@@ -970,8 +929,6 @@ export type Key = Resource & {
|
|
|
970
929
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
971
930
|
*/
|
|
972
931
|
readonly keyUriWithVersion?: string;
|
|
973
|
-
/** Key rotation policy in response. It will be used for both output and input. Omitted if empty */
|
|
974
|
-
rotationPolicy?: RotationPolicy;
|
|
975
932
|
};
|
|
976
933
|
|
|
977
934
|
/** Private endpoint connection resource. */
|
|
@@ -1195,9 +1152,7 @@ export enum KnownKeyPermissions {
|
|
|
1195
1152
|
Backup = "backup",
|
|
1196
1153
|
Restore = "restore",
|
|
1197
1154
|
Recover = "recover",
|
|
1198
|
-
Purge = "purge"
|
|
1199
|
-
Release = "release",
|
|
1200
|
-
Rotate = "rotate"
|
|
1155
|
+
Purge = "purge"
|
|
1201
1156
|
}
|
|
1202
1157
|
|
|
1203
1158
|
/**
|
|
@@ -1221,9 +1176,7 @@ export enum KnownKeyPermissions {
|
|
|
1221
1176
|
* **backup** \
|
|
1222
1177
|
* **restore** \
|
|
1223
1178
|
* **recover** \
|
|
1224
|
-
* **purge**
|
|
1225
|
-
* **release** \
|
|
1226
|
-
* **rotate**
|
|
1179
|
+
* **purge**
|
|
1227
1180
|
*/
|
|
1228
1181
|
export type KeyPermissions = string;
|
|
1229
1182
|
|
|
@@ -1471,20 +1424,6 @@ export enum KnownIdentityType {
|
|
|
1471
1424
|
*/
|
|
1472
1425
|
export type IdentityType = string;
|
|
1473
1426
|
|
|
1474
|
-
/** Known values of {@link ManagedHsmSkuFamily} that the service accepts. */
|
|
1475
|
-
export enum KnownManagedHsmSkuFamily {
|
|
1476
|
-
B = "B"
|
|
1477
|
-
}
|
|
1478
|
-
|
|
1479
|
-
/**
|
|
1480
|
-
* Defines values for ManagedHsmSkuFamily. \
|
|
1481
|
-
* {@link KnownManagedHsmSkuFamily} can be used interchangeably with ManagedHsmSkuFamily,
|
|
1482
|
-
* this enum contains the known values that the service supports.
|
|
1483
|
-
* ### Known values supported by the service
|
|
1484
|
-
* **B**
|
|
1485
|
-
*/
|
|
1486
|
-
export type ManagedHsmSkuFamily = string;
|
|
1487
|
-
|
|
1488
1427
|
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
1489
1428
|
export enum KnownProvisioningState {
|
|
1490
1429
|
/** The managed HSM Pool has been full provisioned. */
|
|
@@ -1536,8 +1475,20 @@ export enum KnownPublicNetworkAccess {
|
|
|
1536
1475
|
* **Disabled**
|
|
1537
1476
|
*/
|
|
1538
1477
|
export type PublicNetworkAccess = string;
|
|
1539
|
-
|
|
1540
|
-
|
|
1478
|
+
|
|
1479
|
+
/** Known values of {@link ManagedHsmSkuFamily} that the service accepts. */
|
|
1480
|
+
export enum KnownManagedHsmSkuFamily {
|
|
1481
|
+
B = "B"
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
/**
|
|
1485
|
+
* Defines values for ManagedHsmSkuFamily. \
|
|
1486
|
+
* {@link KnownManagedHsmSkuFamily} can be used interchangeably with ManagedHsmSkuFamily,
|
|
1487
|
+
* this enum contains the known values that the service supports.
|
|
1488
|
+
* ### Known values supported by the service
|
|
1489
|
+
* **B**
|
|
1490
|
+
*/
|
|
1491
|
+
export type ManagedHsmSkuFamily = string;
|
|
1541
1492
|
/** Defines values for SkuName. */
|
|
1542
1493
|
export type SkuName = "standard" | "premium";
|
|
1543
1494
|
/** Defines values for CreateMode. */
|
package/src/models/mappers.ts
CHANGED
|
@@ -85,13 +85,6 @@ export const KeyProperties: coreClient.CompositeMapper = {
|
|
|
85
85
|
type: {
|
|
86
86
|
name: "String"
|
|
87
87
|
}
|
|
88
|
-
},
|
|
89
|
-
rotationPolicy: {
|
|
90
|
-
serializedName: "rotationPolicy",
|
|
91
|
-
type: {
|
|
92
|
-
name: "Composite",
|
|
93
|
-
className: "RotationPolicy"
|
|
94
|
-
}
|
|
95
88
|
}
|
|
96
89
|
}
|
|
97
90
|
}
|
|
@@ -140,122 +133,11 @@ export const KeyAttributes: coreClient.CompositeMapper = {
|
|
|
140
133
|
type: {
|
|
141
134
|
name: "String"
|
|
142
135
|
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
export const RotationPolicy: coreClient.CompositeMapper = {
|
|
149
|
-
type: {
|
|
150
|
-
name: "Composite",
|
|
151
|
-
className: "RotationPolicy",
|
|
152
|
-
modelProperties: {
|
|
153
|
-
attributes: {
|
|
154
|
-
serializedName: "attributes",
|
|
155
|
-
type: {
|
|
156
|
-
name: "Composite",
|
|
157
|
-
className: "KeyRotationPolicyAttributes"
|
|
158
|
-
}
|
|
159
136
|
},
|
|
160
|
-
|
|
161
|
-
serializedName: "
|
|
137
|
+
exportable: {
|
|
138
|
+
serializedName: "exportable",
|
|
162
139
|
type: {
|
|
163
|
-
name: "
|
|
164
|
-
element: {
|
|
165
|
-
type: {
|
|
166
|
-
name: "Composite",
|
|
167
|
-
className: "LifetimeAction"
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
};
|
|
175
|
-
|
|
176
|
-
export const KeyRotationPolicyAttributes: coreClient.CompositeMapper = {
|
|
177
|
-
type: {
|
|
178
|
-
name: "Composite",
|
|
179
|
-
className: "KeyRotationPolicyAttributes",
|
|
180
|
-
modelProperties: {
|
|
181
|
-
created: {
|
|
182
|
-
serializedName: "created",
|
|
183
|
-
readOnly: true,
|
|
184
|
-
type: {
|
|
185
|
-
name: "Number"
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
updated: {
|
|
189
|
-
serializedName: "updated",
|
|
190
|
-
readOnly: true,
|
|
191
|
-
type: {
|
|
192
|
-
name: "Number"
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
expiryTime: {
|
|
196
|
-
serializedName: "expiryTime",
|
|
197
|
-
type: {
|
|
198
|
-
name: "String"
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
};
|
|
204
|
-
|
|
205
|
-
export const LifetimeAction: coreClient.CompositeMapper = {
|
|
206
|
-
type: {
|
|
207
|
-
name: "Composite",
|
|
208
|
-
className: "LifetimeAction",
|
|
209
|
-
modelProperties: {
|
|
210
|
-
trigger: {
|
|
211
|
-
serializedName: "trigger",
|
|
212
|
-
type: {
|
|
213
|
-
name: "Composite",
|
|
214
|
-
className: "Trigger"
|
|
215
|
-
}
|
|
216
|
-
},
|
|
217
|
-
action: {
|
|
218
|
-
serializedName: "action",
|
|
219
|
-
type: {
|
|
220
|
-
name: "Composite",
|
|
221
|
-
className: "Action"
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
};
|
|
227
|
-
|
|
228
|
-
export const Trigger: coreClient.CompositeMapper = {
|
|
229
|
-
type: {
|
|
230
|
-
name: "Composite",
|
|
231
|
-
className: "Trigger",
|
|
232
|
-
modelProperties: {
|
|
233
|
-
timeAfterCreate: {
|
|
234
|
-
serializedName: "timeAfterCreate",
|
|
235
|
-
type: {
|
|
236
|
-
name: "String"
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
timeBeforeExpiry: {
|
|
240
|
-
serializedName: "timeBeforeExpiry",
|
|
241
|
-
type: {
|
|
242
|
-
name: "String"
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
};
|
|
248
|
-
|
|
249
|
-
export const Action: coreClient.CompositeMapper = {
|
|
250
|
-
type: {
|
|
251
|
-
name: "Composite",
|
|
252
|
-
className: "Action",
|
|
253
|
-
modelProperties: {
|
|
254
|
-
type: {
|
|
255
|
-
serializedName: "type",
|
|
256
|
-
type: {
|
|
257
|
-
name: "Enum",
|
|
258
|
-
allowedValues: ["rotate", "notify"]
|
|
140
|
+
name: "Boolean"
|
|
259
141
|
}
|
|
260
142
|
}
|
|
261
143
|
}
|
|
@@ -478,6 +360,7 @@ export const VaultProperties: coreClient.CompositeMapper = {
|
|
|
478
360
|
}
|
|
479
361
|
},
|
|
480
362
|
enableRbacAuthorization: {
|
|
363
|
+
defaultValue: false,
|
|
481
364
|
serializedName: "enableRbacAuthorization",
|
|
482
365
|
type: {
|
|
483
366
|
name: "Boolean"
|
|
@@ -1373,87 +1256,6 @@ export const PrivateLinkResourceListResult: coreClient.CompositeMapper = {
|
|
|
1373
1256
|
}
|
|
1374
1257
|
};
|
|
1375
1258
|
|
|
1376
|
-
export const ManagedHsmResource: coreClient.CompositeMapper = {
|
|
1377
|
-
type: {
|
|
1378
|
-
name: "Composite",
|
|
1379
|
-
className: "ManagedHsmResource",
|
|
1380
|
-
modelProperties: {
|
|
1381
|
-
id: {
|
|
1382
|
-
serializedName: "id",
|
|
1383
|
-
readOnly: true,
|
|
1384
|
-
type: {
|
|
1385
|
-
name: "String"
|
|
1386
|
-
}
|
|
1387
|
-
},
|
|
1388
|
-
name: {
|
|
1389
|
-
serializedName: "name",
|
|
1390
|
-
readOnly: true,
|
|
1391
|
-
type: {
|
|
1392
|
-
name: "String"
|
|
1393
|
-
}
|
|
1394
|
-
},
|
|
1395
|
-
type: {
|
|
1396
|
-
serializedName: "type",
|
|
1397
|
-
readOnly: true,
|
|
1398
|
-
type: {
|
|
1399
|
-
name: "String"
|
|
1400
|
-
}
|
|
1401
|
-
},
|
|
1402
|
-
location: {
|
|
1403
|
-
serializedName: "location",
|
|
1404
|
-
type: {
|
|
1405
|
-
name: "String"
|
|
1406
|
-
}
|
|
1407
|
-
},
|
|
1408
|
-
sku: {
|
|
1409
|
-
serializedName: "sku",
|
|
1410
|
-
type: {
|
|
1411
|
-
name: "Composite",
|
|
1412
|
-
className: "ManagedHsmSku"
|
|
1413
|
-
}
|
|
1414
|
-
},
|
|
1415
|
-
tags: {
|
|
1416
|
-
serializedName: "tags",
|
|
1417
|
-
type: {
|
|
1418
|
-
name: "Dictionary",
|
|
1419
|
-
value: { type: { name: "String" } }
|
|
1420
|
-
}
|
|
1421
|
-
},
|
|
1422
|
-
systemData: {
|
|
1423
|
-
serializedName: "systemData",
|
|
1424
|
-
type: {
|
|
1425
|
-
name: "Composite",
|
|
1426
|
-
className: "SystemData"
|
|
1427
|
-
}
|
|
1428
|
-
}
|
|
1429
|
-
}
|
|
1430
|
-
}
|
|
1431
|
-
};
|
|
1432
|
-
|
|
1433
|
-
export const ManagedHsmSku: coreClient.CompositeMapper = {
|
|
1434
|
-
type: {
|
|
1435
|
-
name: "Composite",
|
|
1436
|
-
className: "ManagedHsmSku",
|
|
1437
|
-
modelProperties: {
|
|
1438
|
-
family: {
|
|
1439
|
-
serializedName: "family",
|
|
1440
|
-
required: true,
|
|
1441
|
-
type: {
|
|
1442
|
-
name: "String"
|
|
1443
|
-
}
|
|
1444
|
-
},
|
|
1445
|
-
name: {
|
|
1446
|
-
serializedName: "name",
|
|
1447
|
-
required: true,
|
|
1448
|
-
type: {
|
|
1449
|
-
name: "Enum",
|
|
1450
|
-
allowedValues: ["Standard_B1", "Custom_B32"]
|
|
1451
|
-
}
|
|
1452
|
-
}
|
|
1453
|
-
}
|
|
1454
|
-
}
|
|
1455
|
-
};
|
|
1456
|
-
|
|
1457
1259
|
export const ManagedHsmProperties: coreClient.CompositeMapper = {
|
|
1458
1260
|
type: {
|
|
1459
1261
|
name: "Composite",
|
|
@@ -1711,6 +1513,87 @@ export const MhsmPrivateLinkServiceConnectionState: coreClient.CompositeMapper =
|
|
|
1711
1513
|
}
|
|
1712
1514
|
};
|
|
1713
1515
|
|
|
1516
|
+
export const ManagedHsmResource: coreClient.CompositeMapper = {
|
|
1517
|
+
type: {
|
|
1518
|
+
name: "Composite",
|
|
1519
|
+
className: "ManagedHsmResource",
|
|
1520
|
+
modelProperties: {
|
|
1521
|
+
id: {
|
|
1522
|
+
serializedName: "id",
|
|
1523
|
+
readOnly: true,
|
|
1524
|
+
type: {
|
|
1525
|
+
name: "String"
|
|
1526
|
+
}
|
|
1527
|
+
},
|
|
1528
|
+
name: {
|
|
1529
|
+
serializedName: "name",
|
|
1530
|
+
readOnly: true,
|
|
1531
|
+
type: {
|
|
1532
|
+
name: "String"
|
|
1533
|
+
}
|
|
1534
|
+
},
|
|
1535
|
+
type: {
|
|
1536
|
+
serializedName: "type",
|
|
1537
|
+
readOnly: true,
|
|
1538
|
+
type: {
|
|
1539
|
+
name: "String"
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
location: {
|
|
1543
|
+
serializedName: "location",
|
|
1544
|
+
type: {
|
|
1545
|
+
name: "String"
|
|
1546
|
+
}
|
|
1547
|
+
},
|
|
1548
|
+
sku: {
|
|
1549
|
+
serializedName: "sku",
|
|
1550
|
+
type: {
|
|
1551
|
+
name: "Composite",
|
|
1552
|
+
className: "ManagedHsmSku"
|
|
1553
|
+
}
|
|
1554
|
+
},
|
|
1555
|
+
tags: {
|
|
1556
|
+
serializedName: "tags",
|
|
1557
|
+
type: {
|
|
1558
|
+
name: "Dictionary",
|
|
1559
|
+
value: { type: { name: "String" } }
|
|
1560
|
+
}
|
|
1561
|
+
},
|
|
1562
|
+
systemData: {
|
|
1563
|
+
serializedName: "systemData",
|
|
1564
|
+
type: {
|
|
1565
|
+
name: "Composite",
|
|
1566
|
+
className: "SystemData"
|
|
1567
|
+
}
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
};
|
|
1572
|
+
|
|
1573
|
+
export const ManagedHsmSku: coreClient.CompositeMapper = {
|
|
1574
|
+
type: {
|
|
1575
|
+
name: "Composite",
|
|
1576
|
+
className: "ManagedHsmSku",
|
|
1577
|
+
modelProperties: {
|
|
1578
|
+
family: {
|
|
1579
|
+
serializedName: "family",
|
|
1580
|
+
required: true,
|
|
1581
|
+
type: {
|
|
1582
|
+
name: "String"
|
|
1583
|
+
}
|
|
1584
|
+
},
|
|
1585
|
+
name: {
|
|
1586
|
+
serializedName: "name",
|
|
1587
|
+
required: true,
|
|
1588
|
+
type: {
|
|
1589
|
+
name: "Enum",
|
|
1590
|
+
allowedValues: ["Standard_B1", "Custom_B32"]
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
};
|
|
1596
|
+
|
|
1714
1597
|
export const ManagedHsmError: coreClient.CompositeMapper = {
|
|
1715
1598
|
type: {
|
|
1716
1599
|
name: "Composite",
|
|
@@ -2466,13 +2349,6 @@ export const Key: coreClient.CompositeMapper = {
|
|
|
2466
2349
|
type: {
|
|
2467
2350
|
name: "String"
|
|
2468
2351
|
}
|
|
2469
|
-
},
|
|
2470
|
-
rotationPolicy: {
|
|
2471
|
-
serializedName: "properties.rotationPolicy",
|
|
2472
|
-
type: {
|
|
2473
|
-
name: "Composite",
|
|
2474
|
-
className: "RotationPolicy"
|
|
2475
|
-
}
|
|
2476
2352
|
}
|
|
2477
2353
|
}
|
|
2478
2354
|
}
|
package/src/models/parameters.ts
CHANGED
|
@@ -118,7 +118,7 @@ export const keyName: OperationURLParameter = {
|
|
|
118
118
|
export const apiVersion: OperationQueryParameter = {
|
|
119
119
|
parameterPath: "apiVersion",
|
|
120
120
|
mapper: {
|
|
121
|
-
defaultValue: "2021-
|
|
121
|
+
defaultValue: "2021-10-01",
|
|
122
122
|
isConstant: true,
|
|
123
123
|
serializedName: "api-version",
|
|
124
124
|
type: {
|
package/src/operations/keys.ts
CHANGED
|
@@ -6,13 +6,12 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import "@azure/core-paging";
|
|
10
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
11
10
|
import { Keys } from "../operationsInterfaces";
|
|
12
11
|
import * as coreClient from "@azure/core-client";
|
|
13
12
|
import * as Mappers from "../models/mappers";
|
|
14
13
|
import * as Parameters from "../models/parameters";
|
|
15
|
-
import {
|
|
14
|
+
import { KeyVaultManagementClient } from "../keyVaultManagementClient";
|
|
16
15
|
import {
|
|
17
16
|
Key,
|
|
18
17
|
KeysListNextOptionalParams,
|
|
@@ -33,15 +32,15 @@ import {
|
|
|
33
32
|
} from "../models";
|
|
34
33
|
|
|
35
34
|
/// <reference lib="esnext.asynciterable" />
|
|
36
|
-
/** Class
|
|
35
|
+
/** Class containing Keys operations. */
|
|
37
36
|
export class KeysImpl implements Keys {
|
|
38
|
-
private readonly client:
|
|
37
|
+
private readonly client: KeyVaultManagementClient;
|
|
39
38
|
|
|
40
39
|
/**
|
|
41
40
|
* Initialize a new instance of the class Keys class.
|
|
42
41
|
* @param client Reference to the service client
|
|
43
42
|
*/
|
|
44
|
-
constructor(client:
|
|
43
|
+
constructor(client: KeyVaultManagementClient) {
|
|
45
44
|
this.client = client;
|
|
46
45
|
}
|
|
47
46
|
|
|
@@ -6,13 +6,12 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import "@azure/core-paging";
|
|
10
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
11
10
|
import { ManagedHsms } from "../operationsInterfaces";
|
|
12
11
|
import * as coreClient from "@azure/core-client";
|
|
13
12
|
import * as Mappers from "../models/mappers";
|
|
14
13
|
import * as Parameters from "../models/parameters";
|
|
15
|
-
import {
|
|
14
|
+
import { KeyVaultManagementClient } from "../keyVaultManagementClient";
|
|
16
15
|
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
17
16
|
import { LroImpl } from "../lroImpl";
|
|
18
17
|
import {
|
|
@@ -43,15 +42,15 @@ import {
|
|
|
43
42
|
} from "../models";
|
|
44
43
|
|
|
45
44
|
/// <reference lib="esnext.asynciterable" />
|
|
46
|
-
/** Class
|
|
45
|
+
/** Class containing ManagedHsms operations. */
|
|
47
46
|
export class ManagedHsmsImpl implements ManagedHsms {
|
|
48
|
-
private readonly client:
|
|
47
|
+
private readonly client: KeyVaultManagementClient;
|
|
49
48
|
|
|
50
49
|
/**
|
|
51
50
|
* Initialize a new instance of the class ManagedHsms class.
|
|
52
51
|
* @param client Reference to the service client
|
|
53
52
|
*/
|
|
54
|
-
constructor(client:
|
|
53
|
+
constructor(client: KeyVaultManagementClient) {
|
|
55
54
|
this.client = client;
|
|
56
55
|
}
|
|
57
56
|
|
|
@@ -6,13 +6,12 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import "@azure/core-paging";
|
|
10
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
11
10
|
import { MhsmPrivateEndpointConnections } from "../operationsInterfaces";
|
|
12
11
|
import * as coreClient from "@azure/core-client";
|
|
13
12
|
import * as Mappers from "../models/mappers";
|
|
14
13
|
import * as Parameters from "../models/parameters";
|
|
15
|
-
import {
|
|
14
|
+
import { KeyVaultManagementClient } from "../keyVaultManagementClient";
|
|
16
15
|
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
17
16
|
import { LroImpl } from "../lroImpl";
|
|
18
17
|
import {
|
|
@@ -30,16 +29,16 @@ import {
|
|
|
30
29
|
} from "../models";
|
|
31
30
|
|
|
32
31
|
/// <reference lib="esnext.asynciterable" />
|
|
33
|
-
/** Class
|
|
32
|
+
/** Class containing MhsmPrivateEndpointConnections operations. */
|
|
34
33
|
export class MhsmPrivateEndpointConnectionsImpl
|
|
35
34
|
implements MhsmPrivateEndpointConnections {
|
|
36
|
-
private readonly client:
|
|
35
|
+
private readonly client: KeyVaultManagementClient;
|
|
37
36
|
|
|
38
37
|
/**
|
|
39
38
|
* Initialize a new instance of the class MhsmPrivateEndpointConnections class.
|
|
40
39
|
* @param client Reference to the service client
|
|
41
40
|
*/
|
|
42
|
-
constructor(client:
|
|
41
|
+
constructor(client: KeyVaultManagementClient) {
|
|
43
42
|
this.client = client;
|
|
44
43
|
}
|
|
45
44
|
|