@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/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
-
## 2.0.
|
|
3
|
+
## 2.0.1 (Unreleased)
|
|
4
4
|
|
|
5
5
|
### Features Added
|
|
6
6
|
|
|
@@ -10,17 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
### Other Changes
|
|
12
12
|
|
|
13
|
-
## 2.0.0
|
|
13
|
+
## 2.0.0 (2022-01-17)
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
The package of @azure/arm-keyvault is using our next generation design principles since version 2.0.0, which contains breaking changes.
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
- Authentication: The packages `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` are no longer supported. Use package [@azure/identity](https://www.npmjs.com/package/@azure/identity) instead. Select a credential from Azure Identity examples based on the authentication method of your choice.
|
|
23
|
-
- Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead.
|
|
24
|
-
- List operations now return an iterable result that follows the `PagedAsyncIterableIterator` interface as opposed to the previous model where you had to make a new request using the link to the next page.
|
|
25
|
-
- Long running operations i.e. the Lro related object returned by methods whose names started with `begin`, now uses `pollUntilDone` to check whether the request is finished, instead of `pollUntilFinished`. To get the final result, use the corresponding method that will have the suffix `AndWait`.
|
|
26
|
-
- The SDK only supports ECMAScript 2015 (ES6) and beyond, all projects that referenced this SDK should be upgraded to use ES6.
|
|
21
|
+
To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
|
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure KeyVaultManagement client.
|
|
4
4
|
|
|
5
|
-
You can also follow this [link](https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/keyvault/arm-keyvault) to see the previous stable versions for this package. Note that they might not implement the guidelines(https://azure.github.io/azure-sdk/typescript_introduction.html) or have the same feature set as the new releases.
|
|
6
|
-
|
|
7
5
|
The Azure management API provides a RESTful set of web services that interact with Azure Key Vault.
|
|
8
6
|
|
|
9
7
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/arm-keyvault) |
|
|
@@ -35,9 +33,9 @@ npm install @azure/arm-keyvault
|
|
|
35
33
|
To create a client object to access the Azure KeyVaultManagement API, you will need the `endpoint` of your Azure KeyVaultManagement resource and a `credential`. The Azure KeyVaultManagement client can use Azure Active Directory credentials to authenticate.
|
|
36
34
|
You can find the endpoint for your Azure KeyVaultManagement resource in the [Azure Portal][azure_portal].
|
|
37
35
|
|
|
38
|
-
|
|
36
|
+
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
|
|
39
37
|
|
|
40
|
-
|
|
38
|
+
To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
|
|
41
39
|
|
|
42
40
|
```bash
|
|
43
41
|
npm install @azure/identity
|
|
@@ -55,6 +53,10 @@ const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
|
55
53
|
const client = new KeyVaultManagementClient(new DefaultAzureCredential(), subscriptionId);
|
|
56
54
|
```
|
|
57
55
|
|
|
56
|
+
|
|
57
|
+
### JavaScript Bundle
|
|
58
|
+
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
|
|
59
|
+
|
|
58
60
|
## Key concepts
|
|
59
61
|
|
|
60
62
|
### KeyVaultManagementClient
|
|
@@ -68,7 +70,7 @@ const client = new KeyVaultManagementClient(new DefaultAzureCredential(), subscr
|
|
|
68
70
|
Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
|
|
69
71
|
|
|
70
72
|
```javascript
|
|
71
|
-
|
|
73
|
+
const { setLogLevel } = require("@azure/logger");
|
|
72
74
|
setLogLevel("info");
|
|
73
75
|
```
|
|
74
76
|
|
package/dist/index.js
CHANGED
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib = require('tslib');
|
|
6
|
-
require('@azure/core-paging');
|
|
7
5
|
var coreClient = require('@azure/core-client');
|
|
6
|
+
var tslib = require('tslib');
|
|
8
7
|
var coreLro = require('@azure/core-lro');
|
|
9
8
|
|
|
10
9
|
/*
|
|
@@ -62,8 +61,6 @@ var coreLro = require('@azure/core-lro');
|
|
|
62
61
|
KnownKeyPermissions["Restore"] = "restore";
|
|
63
62
|
KnownKeyPermissions["Recover"] = "recover";
|
|
64
63
|
KnownKeyPermissions["Purge"] = "purge";
|
|
65
|
-
KnownKeyPermissions["Release"] = "release";
|
|
66
|
-
KnownKeyPermissions["Rotate"] = "rotate";
|
|
67
64
|
})(exports.KnownKeyPermissions || (exports.KnownKeyPermissions = {}));
|
|
68
65
|
(function (KnownSecretPermissions) {
|
|
69
66
|
KnownSecretPermissions["All"] = "all";
|
|
@@ -147,9 +144,6 @@ var coreLro = require('@azure/core-lro');
|
|
|
147
144
|
KnownIdentityType["ManagedIdentity"] = "ManagedIdentity";
|
|
148
145
|
KnownIdentityType["Key"] = "Key";
|
|
149
146
|
})(exports.KnownIdentityType || (exports.KnownIdentityType = {}));
|
|
150
|
-
(function (KnownManagedHsmSkuFamily) {
|
|
151
|
-
KnownManagedHsmSkuFamily["B"] = "B";
|
|
152
|
-
})(exports.KnownManagedHsmSkuFamily || (exports.KnownManagedHsmSkuFamily = {}));
|
|
153
147
|
(function (KnownProvisioningState) {
|
|
154
148
|
/** The managed HSM Pool has been full provisioned. */
|
|
155
149
|
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
@@ -172,6 +166,9 @@ var coreLro = require('@azure/core-lro');
|
|
|
172
166
|
KnownPublicNetworkAccess["Enabled"] = "Enabled";
|
|
173
167
|
KnownPublicNetworkAccess["Disabled"] = "Disabled";
|
|
174
168
|
})(exports.KnownPublicNetworkAccess || (exports.KnownPublicNetworkAccess = {}));
|
|
169
|
+
(function (KnownManagedHsmSkuFamily) {
|
|
170
|
+
KnownManagedHsmSkuFamily["B"] = "B";
|
|
171
|
+
})(exports.KnownManagedHsmSkuFamily || (exports.KnownManagedHsmSkuFamily = {}));
|
|
175
172
|
|
|
176
173
|
/*
|
|
177
174
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -256,13 +253,6 @@ const KeyProperties = {
|
|
|
256
253
|
type: {
|
|
257
254
|
name: "String"
|
|
258
255
|
}
|
|
259
|
-
},
|
|
260
|
-
rotationPolicy: {
|
|
261
|
-
serializedName: "rotationPolicy",
|
|
262
|
-
type: {
|
|
263
|
-
name: "Composite",
|
|
264
|
-
className: "RotationPolicy"
|
|
265
|
-
}
|
|
266
256
|
}
|
|
267
257
|
}
|
|
268
258
|
}
|
|
@@ -310,117 +300,11 @@ const KeyAttributes = {
|
|
|
310
300
|
type: {
|
|
311
301
|
name: "String"
|
|
312
302
|
}
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
};
|
|
317
|
-
const RotationPolicy = {
|
|
318
|
-
type: {
|
|
319
|
-
name: "Composite",
|
|
320
|
-
className: "RotationPolicy",
|
|
321
|
-
modelProperties: {
|
|
322
|
-
attributes: {
|
|
323
|
-
serializedName: "attributes",
|
|
324
|
-
type: {
|
|
325
|
-
name: "Composite",
|
|
326
|
-
className: "KeyRotationPolicyAttributes"
|
|
327
|
-
}
|
|
328
303
|
},
|
|
329
|
-
|
|
330
|
-
serializedName: "
|
|
304
|
+
exportable: {
|
|
305
|
+
serializedName: "exportable",
|
|
331
306
|
type: {
|
|
332
|
-
name: "
|
|
333
|
-
element: {
|
|
334
|
-
type: {
|
|
335
|
-
name: "Composite",
|
|
336
|
-
className: "LifetimeAction"
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
};
|
|
344
|
-
const KeyRotationPolicyAttributes = {
|
|
345
|
-
type: {
|
|
346
|
-
name: "Composite",
|
|
347
|
-
className: "KeyRotationPolicyAttributes",
|
|
348
|
-
modelProperties: {
|
|
349
|
-
created: {
|
|
350
|
-
serializedName: "created",
|
|
351
|
-
readOnly: true,
|
|
352
|
-
type: {
|
|
353
|
-
name: "Number"
|
|
354
|
-
}
|
|
355
|
-
},
|
|
356
|
-
updated: {
|
|
357
|
-
serializedName: "updated",
|
|
358
|
-
readOnly: true,
|
|
359
|
-
type: {
|
|
360
|
-
name: "Number"
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
expiryTime: {
|
|
364
|
-
serializedName: "expiryTime",
|
|
365
|
-
type: {
|
|
366
|
-
name: "String"
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
};
|
|
372
|
-
const LifetimeAction = {
|
|
373
|
-
type: {
|
|
374
|
-
name: "Composite",
|
|
375
|
-
className: "LifetimeAction",
|
|
376
|
-
modelProperties: {
|
|
377
|
-
trigger: {
|
|
378
|
-
serializedName: "trigger",
|
|
379
|
-
type: {
|
|
380
|
-
name: "Composite",
|
|
381
|
-
className: "Trigger"
|
|
382
|
-
}
|
|
383
|
-
},
|
|
384
|
-
action: {
|
|
385
|
-
serializedName: "action",
|
|
386
|
-
type: {
|
|
387
|
-
name: "Composite",
|
|
388
|
-
className: "Action"
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
};
|
|
394
|
-
const Trigger = {
|
|
395
|
-
type: {
|
|
396
|
-
name: "Composite",
|
|
397
|
-
className: "Trigger",
|
|
398
|
-
modelProperties: {
|
|
399
|
-
timeAfterCreate: {
|
|
400
|
-
serializedName: "timeAfterCreate",
|
|
401
|
-
type: {
|
|
402
|
-
name: "String"
|
|
403
|
-
}
|
|
404
|
-
},
|
|
405
|
-
timeBeforeExpiry: {
|
|
406
|
-
serializedName: "timeBeforeExpiry",
|
|
407
|
-
type: {
|
|
408
|
-
name: "String"
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
};
|
|
414
|
-
const Action = {
|
|
415
|
-
type: {
|
|
416
|
-
name: "Composite",
|
|
417
|
-
className: "Action",
|
|
418
|
-
modelProperties: {
|
|
419
|
-
type: {
|
|
420
|
-
serializedName: "type",
|
|
421
|
-
type: {
|
|
422
|
-
name: "Enum",
|
|
423
|
-
allowedValues: ["rotate", "notify"]
|
|
307
|
+
name: "Boolean"
|
|
424
308
|
}
|
|
425
309
|
}
|
|
426
310
|
}
|
|
@@ -637,6 +521,7 @@ const VaultProperties = {
|
|
|
637
521
|
}
|
|
638
522
|
},
|
|
639
523
|
enableRbacAuthorization: {
|
|
524
|
+
defaultValue: false,
|
|
640
525
|
serializedName: "enableRbacAuthorization",
|
|
641
526
|
type: {
|
|
642
527
|
name: "Boolean"
|
|
@@ -1507,85 +1392,6 @@ const PrivateLinkResourceListResult = {
|
|
|
1507
1392
|
}
|
|
1508
1393
|
}
|
|
1509
1394
|
};
|
|
1510
|
-
const ManagedHsmResource = {
|
|
1511
|
-
type: {
|
|
1512
|
-
name: "Composite",
|
|
1513
|
-
className: "ManagedHsmResource",
|
|
1514
|
-
modelProperties: {
|
|
1515
|
-
id: {
|
|
1516
|
-
serializedName: "id",
|
|
1517
|
-
readOnly: true,
|
|
1518
|
-
type: {
|
|
1519
|
-
name: "String"
|
|
1520
|
-
}
|
|
1521
|
-
},
|
|
1522
|
-
name: {
|
|
1523
|
-
serializedName: "name",
|
|
1524
|
-
readOnly: true,
|
|
1525
|
-
type: {
|
|
1526
|
-
name: "String"
|
|
1527
|
-
}
|
|
1528
|
-
},
|
|
1529
|
-
type: {
|
|
1530
|
-
serializedName: "type",
|
|
1531
|
-
readOnly: true,
|
|
1532
|
-
type: {
|
|
1533
|
-
name: "String"
|
|
1534
|
-
}
|
|
1535
|
-
},
|
|
1536
|
-
location: {
|
|
1537
|
-
serializedName: "location",
|
|
1538
|
-
type: {
|
|
1539
|
-
name: "String"
|
|
1540
|
-
}
|
|
1541
|
-
},
|
|
1542
|
-
sku: {
|
|
1543
|
-
serializedName: "sku",
|
|
1544
|
-
type: {
|
|
1545
|
-
name: "Composite",
|
|
1546
|
-
className: "ManagedHsmSku"
|
|
1547
|
-
}
|
|
1548
|
-
},
|
|
1549
|
-
tags: {
|
|
1550
|
-
serializedName: "tags",
|
|
1551
|
-
type: {
|
|
1552
|
-
name: "Dictionary",
|
|
1553
|
-
value: { type: { name: "String" } }
|
|
1554
|
-
}
|
|
1555
|
-
},
|
|
1556
|
-
systemData: {
|
|
1557
|
-
serializedName: "systemData",
|
|
1558
|
-
type: {
|
|
1559
|
-
name: "Composite",
|
|
1560
|
-
className: "SystemData"
|
|
1561
|
-
}
|
|
1562
|
-
}
|
|
1563
|
-
}
|
|
1564
|
-
}
|
|
1565
|
-
};
|
|
1566
|
-
const ManagedHsmSku = {
|
|
1567
|
-
type: {
|
|
1568
|
-
name: "Composite",
|
|
1569
|
-
className: "ManagedHsmSku",
|
|
1570
|
-
modelProperties: {
|
|
1571
|
-
family: {
|
|
1572
|
-
serializedName: "family",
|
|
1573
|
-
required: true,
|
|
1574
|
-
type: {
|
|
1575
|
-
name: "String"
|
|
1576
|
-
}
|
|
1577
|
-
},
|
|
1578
|
-
name: {
|
|
1579
|
-
serializedName: "name",
|
|
1580
|
-
required: true,
|
|
1581
|
-
type: {
|
|
1582
|
-
name: "Enum",
|
|
1583
|
-
allowedValues: ["Standard_B1", "Custom_B32"]
|
|
1584
|
-
}
|
|
1585
|
-
}
|
|
1586
|
-
}
|
|
1587
|
-
}
|
|
1588
|
-
};
|
|
1589
1395
|
const ManagedHsmProperties = {
|
|
1590
1396
|
type: {
|
|
1591
1397
|
name: "Composite",
|
|
@@ -1836,6 +1642,85 @@ const MhsmPrivateLinkServiceConnectionState = {
|
|
|
1836
1642
|
}
|
|
1837
1643
|
}
|
|
1838
1644
|
};
|
|
1645
|
+
const ManagedHsmResource = {
|
|
1646
|
+
type: {
|
|
1647
|
+
name: "Composite",
|
|
1648
|
+
className: "ManagedHsmResource",
|
|
1649
|
+
modelProperties: {
|
|
1650
|
+
id: {
|
|
1651
|
+
serializedName: "id",
|
|
1652
|
+
readOnly: true,
|
|
1653
|
+
type: {
|
|
1654
|
+
name: "String"
|
|
1655
|
+
}
|
|
1656
|
+
},
|
|
1657
|
+
name: {
|
|
1658
|
+
serializedName: "name",
|
|
1659
|
+
readOnly: true,
|
|
1660
|
+
type: {
|
|
1661
|
+
name: "String"
|
|
1662
|
+
}
|
|
1663
|
+
},
|
|
1664
|
+
type: {
|
|
1665
|
+
serializedName: "type",
|
|
1666
|
+
readOnly: true,
|
|
1667
|
+
type: {
|
|
1668
|
+
name: "String"
|
|
1669
|
+
}
|
|
1670
|
+
},
|
|
1671
|
+
location: {
|
|
1672
|
+
serializedName: "location",
|
|
1673
|
+
type: {
|
|
1674
|
+
name: "String"
|
|
1675
|
+
}
|
|
1676
|
+
},
|
|
1677
|
+
sku: {
|
|
1678
|
+
serializedName: "sku",
|
|
1679
|
+
type: {
|
|
1680
|
+
name: "Composite",
|
|
1681
|
+
className: "ManagedHsmSku"
|
|
1682
|
+
}
|
|
1683
|
+
},
|
|
1684
|
+
tags: {
|
|
1685
|
+
serializedName: "tags",
|
|
1686
|
+
type: {
|
|
1687
|
+
name: "Dictionary",
|
|
1688
|
+
value: { type: { name: "String" } }
|
|
1689
|
+
}
|
|
1690
|
+
},
|
|
1691
|
+
systemData: {
|
|
1692
|
+
serializedName: "systemData",
|
|
1693
|
+
type: {
|
|
1694
|
+
name: "Composite",
|
|
1695
|
+
className: "SystemData"
|
|
1696
|
+
}
|
|
1697
|
+
}
|
|
1698
|
+
}
|
|
1699
|
+
}
|
|
1700
|
+
};
|
|
1701
|
+
const ManagedHsmSku = {
|
|
1702
|
+
type: {
|
|
1703
|
+
name: "Composite",
|
|
1704
|
+
className: "ManagedHsmSku",
|
|
1705
|
+
modelProperties: {
|
|
1706
|
+
family: {
|
|
1707
|
+
serializedName: "family",
|
|
1708
|
+
required: true,
|
|
1709
|
+
type: {
|
|
1710
|
+
name: "String"
|
|
1711
|
+
}
|
|
1712
|
+
},
|
|
1713
|
+
name: {
|
|
1714
|
+
serializedName: "name",
|
|
1715
|
+
required: true,
|
|
1716
|
+
type: {
|
|
1717
|
+
name: "Enum",
|
|
1718
|
+
allowedValues: ["Standard_B1", "Custom_B32"]
|
|
1719
|
+
}
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
};
|
|
1839
1724
|
const ManagedHsmError = {
|
|
1840
1725
|
type: {
|
|
1841
1726
|
name: "Composite",
|
|
@@ -2562,12 +2447,6 @@ const Key = {
|
|
|
2562
2447
|
type: {
|
|
2563
2448
|
name: "String"
|
|
2564
2449
|
}
|
|
2565
|
-
}, rotationPolicy: {
|
|
2566
|
-
serializedName: "properties.rotationPolicy",
|
|
2567
|
-
type: {
|
|
2568
|
-
name: "Composite",
|
|
2569
|
-
className: "RotationPolicy"
|
|
2570
|
-
}
|
|
2571
2450
|
} })
|
|
2572
2451
|
}
|
|
2573
2452
|
};
|
|
@@ -2816,11 +2695,6 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
2816
2695
|
KeyCreateParameters: KeyCreateParameters,
|
|
2817
2696
|
KeyProperties: KeyProperties,
|
|
2818
2697
|
KeyAttributes: KeyAttributes,
|
|
2819
|
-
RotationPolicy: RotationPolicy,
|
|
2820
|
-
KeyRotationPolicyAttributes: KeyRotationPolicyAttributes,
|
|
2821
|
-
LifetimeAction: LifetimeAction,
|
|
2822
|
-
Trigger: Trigger,
|
|
2823
|
-
Action: Action,
|
|
2824
2698
|
Resource: Resource,
|
|
2825
2699
|
CloudError: CloudError,
|
|
2826
2700
|
CloudErrorBody: CloudErrorBody,
|
|
@@ -2851,8 +2725,6 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
2851
2725
|
CheckNameAvailabilityResult: CheckNameAvailabilityResult,
|
|
2852
2726
|
PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
|
|
2853
2727
|
PrivateLinkResourceListResult: PrivateLinkResourceListResult,
|
|
2854
|
-
ManagedHsmResource: ManagedHsmResource,
|
|
2855
|
-
ManagedHsmSku: ManagedHsmSku,
|
|
2856
2728
|
ManagedHsmProperties: ManagedHsmProperties,
|
|
2857
2729
|
MhsmNetworkRuleSet: MhsmNetworkRuleSet,
|
|
2858
2730
|
MhsmipRule: MhsmipRule,
|
|
@@ -2860,6 +2732,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
2860
2732
|
MhsmPrivateEndpointConnectionItem: MhsmPrivateEndpointConnectionItem,
|
|
2861
2733
|
MhsmPrivateEndpoint: MhsmPrivateEndpoint,
|
|
2862
2734
|
MhsmPrivateLinkServiceConnectionState: MhsmPrivateLinkServiceConnectionState,
|
|
2735
|
+
ManagedHsmResource: ManagedHsmResource,
|
|
2736
|
+
ManagedHsmSku: ManagedHsmSku,
|
|
2863
2737
|
ManagedHsmError: ManagedHsmError,
|
|
2864
2738
|
ErrorModel: ErrorModel,
|
|
2865
2739
|
ManagedHsmListResult: ManagedHsmListResult,
|
|
@@ -2988,7 +2862,7 @@ const keyName = {
|
|
|
2988
2862
|
const apiVersion = {
|
|
2989
2863
|
parameterPath: "apiVersion",
|
|
2990
2864
|
mapper: {
|
|
2991
|
-
defaultValue: "2021-
|
|
2865
|
+
defaultValue: "2021-10-01",
|
|
2992
2866
|
isConstant: true,
|
|
2993
2867
|
serializedName: "api-version",
|
|
2994
2868
|
type: {
|
|
@@ -3170,7 +3044,7 @@ const secretName1 = {
|
|
|
3170
3044
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3171
3045
|
*/
|
|
3172
3046
|
/// <reference lib="esnext.asynciterable" />
|
|
3173
|
-
/** Class
|
|
3047
|
+
/** Class containing Keys operations. */
|
|
3174
3048
|
class KeysImpl {
|
|
3175
3049
|
/**
|
|
3176
3050
|
* Initialize a new instance of the class Keys class.
|
|
@@ -3551,7 +3425,7 @@ class LroImpl {
|
|
|
3551
3425
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3552
3426
|
*/
|
|
3553
3427
|
/// <reference lib="esnext.asynciterable" />
|
|
3554
|
-
/** Class
|
|
3428
|
+
/** Class containing Vaults operations. */
|
|
3555
3429
|
class VaultsImpl {
|
|
3556
3430
|
/**
|
|
3557
3431
|
* Initialize a new instance of the class Vaults class.
|
|
@@ -4085,10 +3959,6 @@ const updateAccessPolicyOperationSpec = {
|
|
|
4085
3959
|
201: {
|
|
4086
3960
|
bodyMapper: VaultAccessPolicyParameters
|
|
4087
3961
|
},
|
|
4088
|
-
404: {
|
|
4089
|
-
bodyMapper: CloudError,
|
|
4090
|
-
isError: true
|
|
4091
|
-
},
|
|
4092
3962
|
default: {
|
|
4093
3963
|
bodyMapper: CloudError
|
|
4094
3964
|
}
|
|
@@ -4187,10 +4057,6 @@ const purgeDeletedOperationSpec = {
|
|
|
4187
4057
|
201: {},
|
|
4188
4058
|
202: {},
|
|
4189
4059
|
204: {},
|
|
4190
|
-
404: {
|
|
4191
|
-
bodyMapper: CloudError,
|
|
4192
|
-
isError: true
|
|
4193
|
-
},
|
|
4194
4060
|
default: {
|
|
4195
4061
|
bodyMapper: CloudError
|
|
4196
4062
|
}
|
|
@@ -4329,7 +4195,7 @@ const listNextOperationSpec$1 = {
|
|
|
4329
4195
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4330
4196
|
*/
|
|
4331
4197
|
/// <reference lib="esnext.asynciterable" />
|
|
4332
|
-
/** Class
|
|
4198
|
+
/** Class containing PrivateEndpointConnections operations. */
|
|
4333
4199
|
class PrivateEndpointConnectionsImpl {
|
|
4334
4200
|
/**
|
|
4335
4201
|
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
@@ -4624,7 +4490,7 @@ const listByResourceNextOperationSpec = {
|
|
|
4624
4490
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4625
4491
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4626
4492
|
*/
|
|
4627
|
-
/** Class
|
|
4493
|
+
/** Class containing PrivateLinkResources operations. */
|
|
4628
4494
|
class PrivateLinkResourcesImpl {
|
|
4629
4495
|
/**
|
|
4630
4496
|
* Initialize a new instance of the class PrivateLinkResources class.
|
|
@@ -4675,7 +4541,7 @@ const listByVaultOperationSpec = {
|
|
|
4675
4541
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4676
4542
|
*/
|
|
4677
4543
|
/// <reference lib="esnext.asynciterable" />
|
|
4678
|
-
/** Class
|
|
4544
|
+
/** Class containing ManagedHsms operations. */
|
|
4679
4545
|
class ManagedHsmsImpl {
|
|
4680
4546
|
/**
|
|
4681
4547
|
* Initialize a new instance of the class ManagedHsms class.
|
|
@@ -5373,7 +5239,7 @@ const listDeletedNextOperationSpec$1 = {
|
|
|
5373
5239
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5374
5240
|
*/
|
|
5375
5241
|
/// <reference lib="esnext.asynciterable" />
|
|
5376
|
-
/** Class
|
|
5242
|
+
/** Class containing MhsmPrivateEndpointConnections operations. */
|
|
5377
5243
|
class MhsmPrivateEndpointConnectionsImpl {
|
|
5378
5244
|
/**
|
|
5379
5245
|
* Initialize a new instance of the class MhsmPrivateEndpointConnections class.
|
|
@@ -5667,7 +5533,7 @@ const listByResourceNextOperationSpec$1 = {
|
|
|
5667
5533
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
5668
5534
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5669
5535
|
*/
|
|
5670
|
-
/** Class
|
|
5536
|
+
/** Class containing MhsmPrivateLinkResources operations. */
|
|
5671
5537
|
class MhsmPrivateLinkResourcesImpl {
|
|
5672
5538
|
/**
|
|
5673
5539
|
* Initialize a new instance of the class MhsmPrivateLinkResources class.
|
|
@@ -5718,7 +5584,7 @@ const listByMhsmResourceOperationSpec = {
|
|
|
5718
5584
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5719
5585
|
*/
|
|
5720
5586
|
/// <reference lib="esnext.asynciterable" />
|
|
5721
|
-
/** Class
|
|
5587
|
+
/** Class containing Operations operations. */
|
|
5722
5588
|
class OperationsImpl {
|
|
5723
5589
|
/**
|
|
5724
5590
|
* Initialize a new instance of the class Operations class.
|
|
@@ -5834,7 +5700,7 @@ const listNextOperationSpec$2 = {
|
|
|
5834
5700
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5835
5701
|
*/
|
|
5836
5702
|
/// <reference lib="esnext.asynciterable" />
|
|
5837
|
-
/** Class
|
|
5703
|
+
/** Class containing Secrets operations. */
|
|
5838
5704
|
class SecretsImpl {
|
|
5839
5705
|
/**
|
|
5840
5706
|
* Initialize a new instance of the class Secrets class.
|
|
@@ -6082,9 +5948,9 @@ const listNextOperationSpec$3 = {
|
|
|
6082
5948
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6083
5949
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6084
5950
|
*/
|
|
6085
|
-
class
|
|
5951
|
+
class KeyVaultManagementClient extends coreClient.ServiceClient {
|
|
6086
5952
|
/**
|
|
6087
|
-
* Initializes a new instance of the
|
|
5953
|
+
* Initializes a new instance of the KeyVaultManagementClient class.
|
|
6088
5954
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
6089
5955
|
* @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure subscription.
|
|
6090
5956
|
* The subscription ID forms part of the URI for every service call.
|
|
@@ -6105,7 +5971,7 @@ class KeyVaultManagementClientContext extends coreClient.ServiceClient {
|
|
|
6105
5971
|
requestContentType: "application/json; charset=utf-8",
|
|
6106
5972
|
credential: credentials
|
|
6107
5973
|
};
|
|
6108
|
-
const packageDetails = `azsdk-js-arm-keyvault/2.0.0
|
|
5974
|
+
const packageDetails = `azsdk-js-arm-keyvault/2.0.0`;
|
|
6109
5975
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
6110
5976
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
6111
5977
|
: `${packageDetails}`;
|
|
@@ -6120,27 +5986,7 @@ class KeyVaultManagementClientContext extends coreClient.ServiceClient {
|
|
|
6120
5986
|
this.subscriptionId = subscriptionId;
|
|
6121
5987
|
// Assigning values to Constant parameters
|
|
6122
5988
|
this.$host = options.$host || "https://management.azure.com";
|
|
6123
|
-
this.apiVersion = options.apiVersion || "2021-
|
|
6124
|
-
}
|
|
6125
|
-
}
|
|
6126
|
-
|
|
6127
|
-
/*
|
|
6128
|
-
* Copyright (c) Microsoft Corporation.
|
|
6129
|
-
* Licensed under the MIT License.
|
|
6130
|
-
*
|
|
6131
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6132
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6133
|
-
*/
|
|
6134
|
-
class KeyVaultManagementClient extends KeyVaultManagementClientContext {
|
|
6135
|
-
/**
|
|
6136
|
-
* Initializes a new instance of the KeyVaultManagementClient class.
|
|
6137
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
6138
|
-
* @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure subscription.
|
|
6139
|
-
* The subscription ID forms part of the URI for every service call.
|
|
6140
|
-
* @param options The parameter options
|
|
6141
|
-
*/
|
|
6142
|
-
constructor(credentials, subscriptionId, options) {
|
|
6143
|
-
super(credentials, subscriptionId, options);
|
|
5989
|
+
this.apiVersion = options.apiVersion || "2021-10-01";
|
|
6144
5990
|
this.keys = new KeysImpl(this);
|
|
6145
5991
|
this.vaults = new VaultsImpl(this);
|
|
6146
5992
|
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
@@ -6154,5 +6000,4 @@ class KeyVaultManagementClient extends KeyVaultManagementClientContext {
|
|
|
6154
6000
|
}
|
|
6155
6001
|
|
|
6156
6002
|
exports.KeyVaultManagementClient = KeyVaultManagementClient;
|
|
6157
|
-
exports.KeyVaultManagementClientContext = KeyVaultManagementClientContext;
|
|
6158
6003
|
//# sourceMappingURL=index.js.map
|