@azure/keyvault-admin 4.2.0-alpha.20220315.1 → 4.2.0-alpha.20220321.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -2
- package/dist/index.js +13 -15
- package/dist/index.js.map +1 -1
- package/dist-esm/keyvault-admin/src/accessControlClient.js +0 -3
- package/dist-esm/keyvault-admin/src/accessControlClient.js.map +1 -1
- package/dist-esm/keyvault-admin/src/challengeAuthenticationCallbacks.js.map +1 -1
- package/dist-esm/keyvault-admin/src/constants.js +2 -2
- package/dist-esm/keyvault-admin/src/constants.js.map +1 -1
- package/dist-esm/keyvault-admin/src/generated/keyVaultClient.js +2 -1
- package/dist-esm/keyvault-admin/src/generated/keyVaultClient.js.map +1 -1
- package/dist-esm/keyvault-admin/src/generated/keyVaultClientContext.js +2 -2
- package/dist-esm/keyvault-admin/src/generated/keyVaultClientContext.js.map +1 -1
- package/dist-esm/keyvault-admin/src/generated/models/index.js +6 -6
- package/dist-esm/keyvault-admin/src/generated/models/index.js.map +1 -1
- package/dist-esm/keyvault-admin/src/generated/operations/roleAssignments.js +1 -1
- package/dist-esm/keyvault-admin/src/generated/operations/roleAssignments.js.map +1 -1
- package/dist-esm/keyvault-admin/src/generated/operations/roleDefinitions.js +1 -1
- package/dist-esm/keyvault-admin/src/generated/operations/roleDefinitions.js.map +1 -1
- package/dist-esm/keyvault-admin/src/lro/backup/operation.js.map +1 -1
- package/dist-esm/keyvault-admin/src/lro/restore/operation.js.map +1 -1
- package/dist-esm/keyvault-admin/src/lro/selectiveKeyRestore/operation.js.map +1 -1
- package/package.json +1 -1
- package/types/keyvault-admin.d.ts +2 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
-
## 4.2.0
|
|
3
|
+
## 4.2.0 (Unreleased)
|
|
4
4
|
|
|
5
5
|
### Features Added
|
|
6
6
|
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
### Other Changes
|
|
12
12
|
|
|
13
|
+
- This release updates `BackupClient` and `AccessControlClient` to support service version 7.3 by default.
|
|
14
|
+
|
|
13
15
|
## 4.2.0-beta.2 (2021-11-09)
|
|
14
16
|
|
|
15
17
|
### Features Added
|
|
@@ -29,7 +31,7 @@
|
|
|
29
31
|
```typescript
|
|
30
32
|
let rawResponse: FullOperationResponse | undefined;
|
|
31
33
|
await client.getRoleDefinition(globalScope, "roleDefinitionName", {
|
|
32
|
-
onResponse: (response) => (rawResponse = response)
|
|
34
|
+
onResponse: (response) => (rawResponse = response),
|
|
33
35
|
});
|
|
34
36
|
```
|
|
35
37
|
|
package/dist/index.js
CHANGED
|
@@ -35,11 +35,11 @@ var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
|
35
35
|
/**
|
|
36
36
|
* Current version of the Key Vault Admin SDK.
|
|
37
37
|
*/
|
|
38
|
-
const SDK_VERSION = "4.2.0
|
|
38
|
+
const SDK_VERSION = "4.2.0";
|
|
39
39
|
/**
|
|
40
40
|
* The latest supported Key Vault service API version.
|
|
41
41
|
*/
|
|
42
|
-
const LATEST_API_VERSION = "7.3
|
|
42
|
+
const LATEST_API_VERSION = "7.3";
|
|
43
43
|
/**
|
|
44
44
|
* Authentication scopes
|
|
45
45
|
*/
|
|
@@ -908,7 +908,7 @@ const keyName = {
|
|
|
908
908
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
909
909
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
910
910
|
*/
|
|
911
|
-
/** Class
|
|
911
|
+
/** Class containing RoleDefinitions operations. */
|
|
912
912
|
class RoleDefinitionsImpl {
|
|
913
913
|
/**
|
|
914
914
|
* Initialize a new instance of the class RoleDefinitions class.
|
|
@@ -1076,7 +1076,7 @@ const listNextOperationSpec = {
|
|
|
1076
1076
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1077
1077
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1078
1078
|
*/
|
|
1079
|
-
/** Class
|
|
1079
|
+
/** Class containing RoleAssignments operations. */
|
|
1080
1080
|
class RoleAssignmentsImpl {
|
|
1081
1081
|
/**
|
|
1082
1082
|
* Initialize a new instance of the class RoleAssignments class.
|
|
@@ -1260,7 +1260,7 @@ class KeyVaultClientContext extends coreClient__namespace.ServiceClient {
|
|
|
1260
1260
|
const defaults = {
|
|
1261
1261
|
requestContentType: "application/json; charset=utf-8"
|
|
1262
1262
|
};
|
|
1263
|
-
const packageDetails = `azsdk-js-keyvault-admin/4.2.0
|
|
1263
|
+
const packageDetails = `azsdk-js-keyvault-admin/4.2.0`;
|
|
1264
1264
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
1265
1265
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
1266
1266
|
: `${packageDetails}`;
|
|
@@ -1292,7 +1292,8 @@ class KeyVaultClient extends KeyVaultClientContext {
|
|
|
1292
1292
|
this.roleAssignments = new RoleAssignmentsImpl(this);
|
|
1293
1293
|
}
|
|
1294
1294
|
/**
|
|
1295
|
-
* Creates a full backup using a user-provided SAS token to an Azure blob storage container.
|
|
1295
|
+
* Creates a full backup using a user-provided SAS token to an Azure blob storage container. This
|
|
1296
|
+
* operation is supported only by the Managed HSM service.
|
|
1296
1297
|
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
|
|
1297
1298
|
* @param options The options parameters.
|
|
1298
1299
|
*/
|
|
@@ -1954,9 +1955,6 @@ class KeyVaultAccessControlClient {
|
|
|
1954
1955
|
* console.log(roleDefinition);
|
|
1955
1956
|
* ```
|
|
1956
1957
|
* @param roleScope - The scope of the role definition.
|
|
1957
|
-
* @param name - The name of the role definition. Must be a UUID.
|
|
1958
|
-
* @param permissions - The set of {@link KeyVaultPermission} for this role definition.
|
|
1959
|
-
* @param description - The role definition description.
|
|
1960
1958
|
* @param options - The optional parameters.
|
|
1961
1959
|
*/
|
|
1962
1960
|
setRoleDefinition(roleScope, options = {}) {
|
|
@@ -2000,12 +1998,12 @@ class KeyVaultAccessControlClient {
|
|
|
2000
1998
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2001
1999
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2002
2000
|
*/
|
|
2003
|
-
/** Known values of {@link
|
|
2004
|
-
var
|
|
2005
|
-
(function (
|
|
2006
|
-
/** Api Version '7.3
|
|
2007
|
-
|
|
2008
|
-
})(
|
|
2001
|
+
/** Known values of {@link ApiVersion73} that the service accepts. */
|
|
2002
|
+
var KnownApiVersion73;
|
|
2003
|
+
(function (KnownApiVersion73) {
|
|
2004
|
+
/** Api Version '7.3' */
|
|
2005
|
+
KnownApiVersion73["Seven3"] = "7.3";
|
|
2006
|
+
})(KnownApiVersion73 || (KnownApiVersion73 = {}));
|
|
2009
2007
|
/** Known values of {@link RoleType} that the service accepts. */
|
|
2010
2008
|
var KnownRoleType;
|
|
2011
2009
|
(function (KnownRoleType) {
|