@azure/keyvault-admin 4.6.1-alpha.20250221.1 → 4.7.0-alpha.20250226.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/dist/commonjs/backupClient.d.ts +130 -3
- package/dist/commonjs/backupClient.d.ts.map +1 -1
- package/dist/commonjs/backupClient.js +123 -30
- package/dist/commonjs/backupClient.js.map +1 -1
- package/dist/commonjs/backupClientModels.d.ts +15 -3
- package/dist/commonjs/backupClientModels.d.ts.map +1 -1
- package/dist/commonjs/backupClientModels.js.map +1 -1
- package/dist/commonjs/constants.d.ts +2 -2
- package/dist/commonjs/constants.d.ts.map +1 -1
- package/dist/commonjs/constants.js +2 -2
- package/dist/commonjs/constants.js.map +1 -1
- package/dist/commonjs/generated/api/index.d.ts +2 -2
- package/dist/commonjs/generated/api/index.d.ts.map +1 -1
- package/dist/commonjs/generated/api/index.js +11 -10
- package/dist/commonjs/generated/api/index.js.map +1 -1
- package/dist/commonjs/generated/api/keyVaultContext.d.ts +4 -1
- package/dist/commonjs/generated/api/keyVaultContext.d.ts.map +1 -1
- package/dist/commonjs/generated/api/keyVaultContext.js +4 -4
- package/dist/commonjs/generated/api/keyVaultContext.js.map +1 -1
- package/dist/commonjs/generated/api/operations.d.ts +42 -38
- package/dist/commonjs/generated/api/operations.d.ts.map +1 -1
- package/dist/commonjs/generated/api/operations.js +188 -145
- package/dist/commonjs/generated/api/operations.js.map +1 -1
- package/dist/commonjs/generated/api/options.d.ts +34 -42
- package/dist/commonjs/generated/api/options.d.ts.map +1 -1
- package/dist/commonjs/generated/api/options.js.map +1 -1
- package/dist/commonjs/generated/api/roleAssignments/index.d.ts +12 -12
- package/dist/commonjs/generated/api/roleAssignments/index.d.ts.map +1 -1
- package/dist/commonjs/generated/api/roleAssignments/index.js +66 -51
- package/dist/commonjs/generated/api/roleAssignments/index.js.map +1 -1
- package/dist/commonjs/generated/api/roleDefinitions/index.d.ts +12 -12
- package/dist/commonjs/generated/api/roleDefinitions/index.d.ts.map +1 -1
- package/dist/commonjs/generated/api/roleDefinitions/index.js +66 -51
- package/dist/commonjs/generated/api/roleDefinitions/index.js.map +1 -1
- package/dist/commonjs/generated/classic/roleAssignments/index.d.ts +8 -14
- package/dist/commonjs/generated/classic/roleAssignments/index.d.ts.map +1 -1
- package/dist/commonjs/generated/classic/roleAssignments/index.js +7 -8
- package/dist/commonjs/generated/classic/roleAssignments/index.js.map +1 -1
- package/dist/commonjs/generated/classic/roleDefinitions/index.d.ts +8 -14
- package/dist/commonjs/generated/classic/roleDefinitions/index.d.ts.map +1 -1
- package/dist/commonjs/generated/classic/roleDefinitions/index.js +7 -8
- package/dist/commonjs/generated/classic/roleDefinitions/index.js.map +1 -1
- package/dist/commonjs/generated/index.d.ts +2 -2
- package/dist/commonjs/generated/index.d.ts.map +1 -1
- package/dist/commonjs/generated/index.js +2 -2
- package/dist/commonjs/generated/index.js.map +1 -1
- package/dist/commonjs/generated/keyVaultClient.d.ts +27 -25
- package/dist/commonjs/generated/keyVaultClient.d.ts.map +1 -1
- package/dist/commonjs/generated/keyVaultClient.js +39 -35
- package/dist/commonjs/generated/keyVaultClient.js.map +1 -1
- package/dist/commonjs/generated/models/index.d.ts +1 -1
- package/dist/commonjs/generated/models/index.d.ts.map +1 -1
- package/dist/commonjs/generated/models/index.js +2 -2
- package/dist/commonjs/generated/models/index.js.map +1 -1
- package/dist/commonjs/generated/models/models.d.ts +90 -78
- package/dist/commonjs/generated/models/models.d.ts.map +1 -1
- package/dist/commonjs/generated/models/models.js +78 -70
- package/dist/commonjs/generated/models/models.js.map +1 -1
- package/dist/commonjs/generated/restorePollerHelpers.js +8 -8
- package/dist/commonjs/generated/restorePollerHelpers.js.map +1 -1
- package/dist/commonjs/lro/shim.d.ts +7 -0
- package/dist/commonjs/lro/shim.d.ts.map +1 -1
- package/dist/commonjs/lro/shim.js +17 -1
- package/dist/commonjs/lro/shim.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/backupClient.d.ts +130 -3
- package/dist/esm/backupClient.d.ts.map +1 -1
- package/dist/esm/backupClient.js +124 -31
- package/dist/esm/backupClient.js.map +1 -1
- package/dist/esm/backupClientModels.d.ts +15 -3
- package/dist/esm/backupClientModels.d.ts.map +1 -1
- package/dist/esm/backupClientModels.js.map +1 -1
- package/dist/esm/constants.d.ts +2 -2
- package/dist/esm/constants.d.ts.map +1 -1
- package/dist/esm/constants.js +2 -2
- package/dist/esm/constants.js.map +1 -1
- package/dist/esm/generated/api/index.d.ts +2 -2
- package/dist/esm/generated/api/index.d.ts.map +1 -1
- package/dist/esm/generated/api/index.js +1 -1
- package/dist/esm/generated/api/index.js.map +1 -1
- package/dist/esm/generated/api/keyVaultContext.d.ts +4 -1
- package/dist/esm/generated/api/keyVaultContext.d.ts.map +1 -1
- package/dist/esm/generated/api/keyVaultContext.js +4 -4
- package/dist/esm/generated/api/keyVaultContext.js.map +1 -1
- package/dist/esm/generated/api/operations.d.ts +42 -38
- package/dist/esm/generated/api/operations.d.ts.map +1 -1
- package/dist/esm/generated/api/operations.js +159 -119
- package/dist/esm/generated/api/operations.js.map +1 -1
- package/dist/esm/generated/api/options.d.ts +34 -42
- package/dist/esm/generated/api/options.d.ts.map +1 -1
- package/dist/esm/generated/api/options.js.map +1 -1
- package/dist/esm/generated/api/roleAssignments/index.d.ts +12 -12
- package/dist/esm/generated/api/roleAssignments/index.d.ts.map +1 -1
- package/dist/esm/generated/api/roleAssignments/index.js +58 -43
- package/dist/esm/generated/api/roleAssignments/index.js.map +1 -1
- package/dist/esm/generated/api/roleDefinitions/index.d.ts +12 -12
- package/dist/esm/generated/api/roleDefinitions/index.d.ts.map +1 -1
- package/dist/esm/generated/api/roleDefinitions/index.js +58 -43
- package/dist/esm/generated/api/roleDefinitions/index.js.map +1 -1
- package/dist/esm/generated/classic/roleAssignments/index.d.ts +8 -14
- package/dist/esm/generated/classic/roleAssignments/index.d.ts.map +1 -1
- package/dist/esm/generated/classic/roleAssignments/index.js +7 -7
- package/dist/esm/generated/classic/roleAssignments/index.js.map +1 -1
- package/dist/esm/generated/classic/roleDefinitions/index.d.ts +8 -14
- package/dist/esm/generated/classic/roleDefinitions/index.d.ts.map +1 -1
- package/dist/esm/generated/classic/roleDefinitions/index.js +7 -7
- package/dist/esm/generated/classic/roleDefinitions/index.js.map +1 -1
- package/dist/esm/generated/index.d.ts +2 -2
- package/dist/esm/generated/index.d.ts.map +1 -1
- package/dist/esm/generated/index.js +1 -1
- package/dist/esm/generated/index.js.map +1 -1
- package/dist/esm/generated/keyVaultClient.d.ts +27 -25
- package/dist/esm/generated/keyVaultClient.d.ts.map +1 -1
- package/dist/esm/generated/keyVaultClient.js +42 -38
- package/dist/esm/generated/keyVaultClient.js.map +1 -1
- package/dist/esm/generated/models/index.d.ts +1 -1
- package/dist/esm/generated/models/index.d.ts.map +1 -1
- package/dist/esm/generated/models/index.js +1 -1
- package/dist/esm/generated/models/index.js.map +1 -1
- package/dist/esm/generated/models/models.d.ts +90 -78
- package/dist/esm/generated/models/models.d.ts.map +1 -1
- package/dist/esm/generated/models/models.js +69 -61
- package/dist/esm/generated/models/models.js.map +1 -1
- package/dist/esm/generated/restorePollerHelpers.js +9 -9
- package/dist/esm/generated/restorePollerHelpers.js.map +1 -1
- package/dist/esm/lro/shim.d.ts +7 -0
- package/dist/esm/lro/shim.d.ts.map +1 -1
- package/dist/esm/lro/shim.js +16 -1
- package/dist/esm/lro/shim.js.map +1 -1
- package/package.json +1 -1
- package/dist/commonjs/generated/helpers/serializerHelpers.d.ts +0 -3
- package/dist/commonjs/generated/helpers/serializerHelpers.d.ts.map +0 -1
- package/dist/commonjs/generated/helpers/serializerHelpers.js +0 -28
- package/dist/commonjs/generated/helpers/serializerHelpers.js.map +0 -1
- package/dist/esm/generated/helpers/serializerHelpers.d.ts +0 -3
- package/dist/esm/generated/helpers/serializerHelpers.d.ts.map +0 -1
- package/dist/esm/generated/helpers/serializerHelpers.js +0 -25
- package/dist/esm/generated/helpers/serializerHelpers.js.map +0 -1
|
@@ -8,58 +8,62 @@ const index_js_2 = require("./classic/roleDefinitions/index.js");
|
|
|
8
8
|
const index_js_3 = require("./api/index.js");
|
|
9
9
|
class KeyVaultClient {
|
|
10
10
|
/** The key vault client performs cryptographic key operations and vault operations against the Key Vault service. */
|
|
11
|
-
constructor(
|
|
11
|
+
constructor(endpointParam, credential, options = {}) {
|
|
12
12
|
var _a;
|
|
13
13
|
const prefixFromOptions = (_a = options === null || options === void 0 ? void 0 : options.userAgentOptions) === null || _a === void 0 ? void 0 : _a.userAgentPrefix;
|
|
14
14
|
const userAgentPrefix = prefixFromOptions
|
|
15
15
|
? `${prefixFromOptions} azsdk-js-client`
|
|
16
16
|
: `azsdk-js-client`;
|
|
17
|
-
this._client = (0, index_js_3.createKeyVault)(
|
|
17
|
+
this._client = (0, index_js_3.createKeyVault)(endpointParam, credential, Object.assign(Object.assign({}, options), { userAgentOptions: { userAgentPrefix } }));
|
|
18
18
|
this.pipeline = this._client.pipeline;
|
|
19
|
-
this.roleAssignments = (0, index_js_1.
|
|
20
|
-
this.roleDefinitions = (0, index_js_2.
|
|
19
|
+
this.roleAssignments = (0, index_js_1._getRoleAssignmentsOperations)(this._client);
|
|
20
|
+
this.roleDefinitions = (0, index_js_2._getRoleDefinitionsOperations)(this._client);
|
|
21
21
|
}
|
|
22
|
-
/**
|
|
23
|
-
|
|
24
|
-
return (0, index_js_3.
|
|
22
|
+
/** Retrieves a list of all the available account settings that can be configured. */
|
|
23
|
+
getSettings(options = { requestOptions: {} }) {
|
|
24
|
+
return (0, index_js_3.getSettings)(this._client, options);
|
|
25
25
|
}
|
|
26
|
-
/**
|
|
27
|
-
|
|
28
|
-
return (0, index_js_3.
|
|
26
|
+
/** Retrieves the setting object of a specified setting name. */
|
|
27
|
+
getSetting(settingName, options = { requestOptions: {} }) {
|
|
28
|
+
return (0, index_js_3.getSetting)(this._client, settingName, options);
|
|
29
29
|
}
|
|
30
|
-
/**
|
|
31
|
-
|
|
32
|
-
return (0, index_js_3.
|
|
30
|
+
/** Description of the pool setting to be updated */
|
|
31
|
+
updateSetting(settingName, parameters, options = { requestOptions: {} }) {
|
|
32
|
+
return (0, index_js_3.updateSetting)(this._client, settingName, parameters, options);
|
|
33
33
|
}
|
|
34
|
-
/**
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
/** Restores all key versions of a given key using user supplied SAS token pointing to a previously stored Azure Blob storage backup folder */
|
|
35
|
+
selectiveKeyRestoreOperation(keyName, restoreBlobDetails, options = {
|
|
36
|
+
requestOptions: {},
|
|
37
|
+
}) {
|
|
38
|
+
return (0, index_js_3.selectiveKeyRestoreOperation)(this._client, keyName, restoreBlobDetails, options);
|
|
37
39
|
}
|
|
38
|
-
/**
|
|
39
|
-
|
|
40
|
-
return (0, index_js_3.
|
|
40
|
+
/** Returns the status of the selective key restore operation */
|
|
41
|
+
selectiveKeyRestoreStatus(jobId, options = { requestOptions: {} }) {
|
|
42
|
+
return (0, index_js_3.selectiveKeyRestoreStatus)(this._client, jobId, options);
|
|
41
43
|
}
|
|
42
44
|
/** Restores all key materials using the SAS token pointing to a previously stored Azure Blob storage backup folder */
|
|
43
|
-
fullRestoreOperation(options = { requestOptions: {} }) {
|
|
44
|
-
return (0, index_js_3.fullRestoreOperation)(this._client, options);
|
|
45
|
+
fullRestoreOperation(restoreBlobDetails, options = { requestOptions: {} }) {
|
|
46
|
+
return (0, index_js_3.fullRestoreOperation)(this._client, restoreBlobDetails, options);
|
|
45
47
|
}
|
|
46
|
-
/**
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}) {
|
|
50
|
-
return (0, index_js_3.selectiveKeyRestoreOperation)(this._client, keyName, options);
|
|
48
|
+
/** Pre-restore operation for checking whether the customer can perform a full restore operation. */
|
|
49
|
+
preFullRestoreOperation(preRestoreOperationParameters, options = { requestOptions: {} }) {
|
|
50
|
+
return (0, index_js_3.preFullRestoreOperation)(this._client, preRestoreOperationParameters, options);
|
|
51
51
|
}
|
|
52
|
-
/**
|
|
53
|
-
|
|
54
|
-
return (0, index_js_3.
|
|
52
|
+
/** Returns the status of restore operation */
|
|
53
|
+
restoreStatus(jobId, options = { requestOptions: {} }) {
|
|
54
|
+
return (0, index_js_3.restoreStatus)(this._client, jobId, options);
|
|
55
55
|
}
|
|
56
|
-
/**
|
|
57
|
-
|
|
58
|
-
return (0, index_js_3.
|
|
56
|
+
/** Pre-backup operation for checking whether the customer can perform a full backup operation. */
|
|
57
|
+
preFullBackup(preBackupOperationParameters, options = { requestOptions: {} }) {
|
|
58
|
+
return (0, index_js_3.preFullBackup)(this._client, preBackupOperationParameters, options);
|
|
59
59
|
}
|
|
60
|
-
/**
|
|
61
|
-
|
|
62
|
-
return (0, index_js_3.
|
|
60
|
+
/** Creates a full backup using a user-provided SAS token to an Azure blob storage container. */
|
|
61
|
+
fullBackup(azureStorageBlobContainerUri, options = { requestOptions: {} }) {
|
|
62
|
+
return (0, index_js_3.fullBackup)(this._client, azureStorageBlobContainerUri, options);
|
|
63
|
+
}
|
|
64
|
+
/** Returns the status of full backup operation */
|
|
65
|
+
fullBackupStatus(jobId, options = { requestOptions: {} }) {
|
|
66
|
+
return (0, index_js_3.fullBackupStatus)(this._client, jobId, options);
|
|
63
67
|
}
|
|
64
68
|
}
|
|
65
69
|
exports.KeyVaultClient = KeyVaultClient;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyVaultClient.js","sourceRoot":"","sources":["../../../src/generated/keyVaultClient.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,iEAG4C;AAC5C,iEAG4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"keyVaultClient.js","sourceRoot":"","sources":["../../../src/generated/keyVaultClient.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,iEAG4C;AAC5C,iEAG4C;AAC5C,6CA0BwB;AAoBxB,MAAa,cAAc;IAKzB,qHAAqH;IACrH,YACE,aAAq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,CAAC;IAED,kDAAkD;IAClD,gBAAgB,CACd,KAAa,EACb,UAA0C,EAAE,cAAc,EAAE,EAAE,EAAE;QAEhE,OAAO,IAAA,2BAAgB,EAAC,IAAI,CAAC,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;CACF;AAnID,wCAmIC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n _getRoleAssignmentsOperations,\n RoleAssignmentsOperations,\n} from \"./classic/roleAssignments/index.js\";\nimport {\n _getRoleDefinitionsOperations,\n RoleDefinitionsOperations,\n} from \"./classic/roleDefinitions/index.js\";\nimport {\n createKeyVault,\n KeyVaultContext,\n KeyVaultClientOptionalParams,\n getSettings,\n getSetting,\n updateSetting,\n selectiveKeyRestoreOperation,\n selectiveKeyRestoreStatus,\n fullRestoreOperation,\n preFullRestoreOperation,\n restoreStatus,\n preFullBackup,\n fullBackup,\n fullBackupStatus,\n GetSettingsOptionalParams,\n GetSettingOptionalParams,\n UpdateSettingOptionalParams,\n SelectiveKeyRestoreOperationOptionalParams,\n SelectiveKeyRestoreStatusOptionalParams,\n FullRestoreOperationOptionalParams,\n PreFullRestoreOperationOptionalParams,\n RestoreStatusOptionalParams,\n PreFullBackupOptionalParams,\n FullBackupOptionalParams,\n FullBackupStatusOptionalParams,\n} from \"./api/index.js\";\nimport {\n FullBackupOperation,\n SASTokenParameter,\n PreBackupOperationParameters,\n RestoreOperation,\n PreRestoreOperationParameters,\n RestoreOperationParameters,\n SelectiveKeyRestoreOperation,\n SelectiveKeyRestoreOperationParameters,\n UpdateSettingRequest,\n Setting,\n SettingsListResult,\n} from \"./models/models.js\";\nimport { Pipeline } from \"@azure/core-rest-pipeline\";\nimport { TokenCredential } from \"@azure/core-auth\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport { KeyVaultClientOptionalParams } from \"./api/keyVaultContext.js\";\n\nexport class KeyVaultClient {\n private _client: KeyVaultContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n /** The key vault client performs cryptographic key operations and vault operations against the Key Vault service. */\n constructor(\n endpointParam: string,\n credential: TokenCredential,\n options: KeyVaultClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createKeyVault(endpointParam, credential, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n this.roleAssignments = _getRoleAssignmentsOperations(this._client);\n this.roleDefinitions = _getRoleDefinitionsOperations(this._client);\n }\n\n /** The operation groups for roleAssignments */\n public readonly roleAssignments: RoleAssignmentsOperations;\n /** The operation groups for roleDefinitions */\n public readonly roleDefinitions: RoleDefinitionsOperations;\n\n /** Retrieves a list of all the available account settings that can be configured. */\n getSettings(\n options: GetSettingsOptionalParams = { requestOptions: {} },\n ): Promise<SettingsListResult> {\n return getSettings(this._client, options);\n }\n\n /** Retrieves the setting object of a specified setting name. */\n getSetting(\n settingName: string,\n options: GetSettingOptionalParams = { requestOptions: {} },\n ): Promise<Setting> {\n return getSetting(this._client, settingName, options);\n }\n\n /** Description of the pool setting to be updated */\n updateSetting(\n settingName: string,\n parameters: UpdateSettingRequest,\n options: UpdateSettingOptionalParams = { requestOptions: {} },\n ): Promise<Setting> {\n return updateSetting(this._client, settingName, parameters, options);\n }\n\n /** Restores all key versions of a given key using user supplied SAS token pointing to a previously stored Azure Blob storage backup folder */\n selectiveKeyRestoreOperation(\n keyName: string,\n restoreBlobDetails: SelectiveKeyRestoreOperationParameters,\n options: SelectiveKeyRestoreOperationOptionalParams = {\n requestOptions: {},\n },\n ): PollerLike<\n OperationState<SelectiveKeyRestoreOperation>,\n SelectiveKeyRestoreOperation\n > {\n return selectiveKeyRestoreOperation(\n this._client,\n keyName,\n restoreBlobDetails,\n options,\n );\n }\n\n /** Returns the status of the selective key restore operation */\n selectiveKeyRestoreStatus(\n jobId: string,\n options: SelectiveKeyRestoreStatusOptionalParams = { requestOptions: {} },\n ): Promise<SelectiveKeyRestoreOperation> {\n return selectiveKeyRestoreStatus(this._client, jobId, options);\n }\n\n /** Restores all key materials using the SAS token pointing to a previously stored Azure Blob storage backup folder */\n fullRestoreOperation(\n restoreBlobDetails: RestoreOperationParameters,\n options: FullRestoreOperationOptionalParams = { requestOptions: {} },\n ): PollerLike<OperationState<RestoreOperation>, RestoreOperation> {\n return fullRestoreOperation(this._client, restoreBlobDetails, options);\n }\n\n /** Pre-restore operation for checking whether the customer can perform a full restore operation. */\n preFullRestoreOperation(\n preRestoreOperationParameters: PreRestoreOperationParameters,\n options: PreFullRestoreOperationOptionalParams = { requestOptions: {} },\n ): PollerLike<OperationState<RestoreOperation>, RestoreOperation> {\n return preFullRestoreOperation(\n this._client,\n preRestoreOperationParameters,\n options,\n );\n }\n\n /** Returns the status of restore operation */\n restoreStatus(\n jobId: string,\n options: RestoreStatusOptionalParams = { requestOptions: {} },\n ): Promise<RestoreOperation> {\n return restoreStatus(this._client, jobId, options);\n }\n\n /** Pre-backup operation for checking whether the customer can perform a full backup operation. */\n preFullBackup(\n preBackupOperationParameters: PreBackupOperationParameters,\n options: PreFullBackupOptionalParams = { requestOptions: {} },\n ): PollerLike<OperationState<FullBackupOperation>, FullBackupOperation> {\n return preFullBackup(this._client, preBackupOperationParameters, options);\n }\n\n /** Creates a full backup using a user-provided SAS token to an Azure blob storage container. */\n fullBackup(\n azureStorageBlobContainerUri: SASTokenParameter,\n options: FullBackupOptionalParams = { requestOptions: {} },\n ): PollerLike<OperationState<FullBackupOperation>, FullBackupOperation> {\n return fullBackup(this._client, azureStorageBlobContainerUri, options);\n }\n\n /** Returns the status of full backup operation */\n fullBackupStatus(\n jobId: string,\n options: FullBackupStatusOptionalParams = { requestOptions: {} },\n ): Promise<FullBackupOperation> {\n return fullBackupStatus(this._client, jobId, options);\n }\n}\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { FullBackupOperation, KnownOperationStatus, OperationStatus, ErrorModel, KeyVaultError, SASTokenParameter, PreBackupOperationParameters, RestoreOperation, PreRestoreOperationParameters, RestoreOperationParameters,
|
|
1
|
+
export { FullBackupOperation, KnownOperationStatus, OperationStatus, ErrorModel, ErrorModel_1, KeyVaultError, SASTokenParameter, PreBackupOperationParameters, RestoreOperation, PreRestoreOperationParameters, RestoreOperationParameters, SelectiveKeyRestoreOperation, SelectiveKeyRestoreOperationParameters, UpdateSettingRequest, Setting, KnownSettingTypeEnum, SettingTypeEnum, SettingsListResult, RoleAssignment, RoleAssignmentPropertiesWithScope, KnownRoleScope, RoleScope, RoleAssignmentCreateParameters, RoleAssignmentProperties, RoleDefinition, KnownRoleDefinitionType, RoleDefinitionType, RoleDefinitionProperties, KnownRoleType, RoleType, Permission, KnownDataAction, DataAction, RoleDefinitionCreateParameters, KnownVersions, } from "./models.js";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,UAAU,EACV,aAAa,EACb,iBAAiB,EACjB,4BAA4B,EAC5B,gBAAgB,EAChB,6BAA6B,EAC7B,0BAA0B,EAC1B,sCAAsC,EACtC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,UAAU,EACV,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,4BAA4B,EAC5B,gBAAgB,EAChB,6BAA6B,EAC7B,0BAA0B,EAC1B,4BAA4B,EAC5B,sCAAsC,EACtC,oBAAoB,EACpB,OAAO,EACP,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,iCAAiC,EACjC,cAAc,EACd,SAAS,EACT,8BAA8B,EAC9B,wBAAwB,EACxB,cAAc,EACd,uBAAuB,EACvB,kBAAkB,EAClB,wBAAwB,EACxB,aAAa,EACb,QAAQ,EACR,UAAU,EACV,eAAe,EACf,UAAU,EACV,8BAA8B,EAC9B,aAAa,GACd,MAAM,aAAa,CAAC"}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// Copyright (c) Microsoft Corporation.
|
|
3
3
|
// Licensed under the MIT License.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.KnownVersions = exports.
|
|
5
|
+
exports.KnownVersions = exports.KnownDataAction = exports.KnownRoleType = exports.KnownRoleDefinitionType = exports.KnownRoleScope = exports.KnownSettingTypeEnum = exports.KnownOperationStatus = void 0;
|
|
6
6
|
var models_js_1 = require("./models.js");
|
|
7
7
|
Object.defineProperty(exports, "KnownOperationStatus", { enumerable: true, get: function () { return models_js_1.KnownOperationStatus; } });
|
|
8
8
|
Object.defineProperty(exports, "KnownSettingTypeEnum", { enumerable: true, get: function () { return models_js_1.KnownSettingTypeEnum; } });
|
|
9
|
+
Object.defineProperty(exports, "KnownRoleScope", { enumerable: true, get: function () { return models_js_1.KnownRoleScope; } });
|
|
9
10
|
Object.defineProperty(exports, "KnownRoleDefinitionType", { enumerable: true, get: function () { return models_js_1.KnownRoleDefinitionType; } });
|
|
10
11
|
Object.defineProperty(exports, "KnownRoleType", { enumerable: true, get: function () { return models_js_1.KnownRoleType; } });
|
|
11
12
|
Object.defineProperty(exports, "KnownDataAction", { enumerable: true, get: function () { return models_js_1.KnownDataAction; } });
|
|
12
|
-
Object.defineProperty(exports, "KnownRoleScope", { enumerable: true, get: function () { return models_js_1.KnownRoleScope; } });
|
|
13
13
|
Object.defineProperty(exports, "KnownVersions", { enumerable: true, get: function () { return models_js_1.KnownVersions; } });
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,yCAoCqB;AAlCnB,iHAAA,oBAAoB,OAAA;AAcpB,iHAAA,oBAAoB,OAAA;AAKpB,2GAAA,cAAc,OAAA;AAKd,oHAAA,uBAAuB,OAAA;AAGvB,0GAAA,aAAa,OAAA;AAGb,4GAAA,eAAe,OAAA;AAGf,0GAAA,aAAa,OAAA","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n FullBackupOperation,\n KnownOperationStatus,\n OperationStatus,\n ErrorModel,\n ErrorModel_1,\n KeyVaultError,\n SASTokenParameter,\n PreBackupOperationParameters,\n RestoreOperation,\n PreRestoreOperationParameters,\n RestoreOperationParameters,\n SelectiveKeyRestoreOperation,\n SelectiveKeyRestoreOperationParameters,\n UpdateSettingRequest,\n Setting,\n KnownSettingTypeEnum,\n SettingTypeEnum,\n SettingsListResult,\n RoleAssignment,\n RoleAssignmentPropertiesWithScope,\n KnownRoleScope,\n RoleScope,\n RoleAssignmentCreateParameters,\n RoleAssignmentProperties,\n RoleDefinition,\n KnownRoleDefinitionType,\n RoleDefinitionType,\n RoleDefinitionProperties,\n KnownRoleType,\n RoleType,\n Permission,\n KnownDataAction,\n DataAction,\n RoleDefinitionCreateParameters,\n KnownVersions,\n} from \"./models.js\";\n"]}
|
|
@@ -9,7 +9,7 @@ export interface FullBackupOperation {
|
|
|
9
9
|
/** The start time of the backup operation in UTC */
|
|
10
10
|
startTime?: Date;
|
|
11
11
|
/** The end time of the backup operation in UTC */
|
|
12
|
-
endTime?: Date;
|
|
12
|
+
endTime?: Date | null;
|
|
13
13
|
/** Identifier for the full backup operation. */
|
|
14
14
|
jobId?: string;
|
|
15
15
|
/** The Azure blob storage container Uri which contains the full backup */
|
|
@@ -38,16 +38,28 @@ export declare enum KnownOperationStatus {
|
|
|
38
38
|
* **Failed**: The operation failed.
|
|
39
39
|
*/
|
|
40
40
|
export type OperationStatus = string;
|
|
41
|
-
/**
|
|
42
|
-
export
|
|
41
|
+
/** Alias for ErrorModel */
|
|
42
|
+
export type ErrorModel = {
|
|
43
|
+
code?: string;
|
|
44
|
+
message?: string;
|
|
45
|
+
innerError?: ErrorModel_1;
|
|
46
|
+
} | null;
|
|
47
|
+
/** model interface _FullBackupOperationError */
|
|
48
|
+
export interface _FullBackupOperationError {
|
|
43
49
|
/** The error code. */
|
|
44
50
|
readonly code?: string;
|
|
45
51
|
/** The error message. */
|
|
46
52
|
readonly message?: string;
|
|
47
53
|
/** The key vault server error. */
|
|
48
|
-
readonly innerError?:
|
|
54
|
+
readonly innerError?: ErrorModel_1;
|
|
49
55
|
}
|
|
50
|
-
export declare function
|
|
56
|
+
export declare function _fullBackupOperationErrorDeserializer(item: any): _FullBackupOperationError;
|
|
57
|
+
/** Alias for ErrorModel */
|
|
58
|
+
export type ErrorModel_1 = {
|
|
59
|
+
code?: string;
|
|
60
|
+
message?: string;
|
|
61
|
+
innerError?: ErrorModel_1;
|
|
62
|
+
} | null;
|
|
51
63
|
/** The key vault error exception. */
|
|
52
64
|
export interface KeyVaultError {
|
|
53
65
|
/** The key vault server error. */
|
|
@@ -87,7 +99,7 @@ export interface RestoreOperation {
|
|
|
87
99
|
/** The start time of the restore operation */
|
|
88
100
|
startTime?: Date;
|
|
89
101
|
/** The end time of the restore operation */
|
|
90
|
-
endTime?: Date;
|
|
102
|
+
endTime?: Date | null;
|
|
91
103
|
}
|
|
92
104
|
export declare function restoreOperationDeserializer(item: any): RestoreOperation;
|
|
93
105
|
/** The authentication method and location for the restore operation. */
|
|
@@ -106,14 +118,6 @@ export interface RestoreOperationParameters {
|
|
|
106
118
|
folderToRestore: string;
|
|
107
119
|
}
|
|
108
120
|
export declare function restoreOperationParametersSerializer(item: RestoreOperationParameters): any;
|
|
109
|
-
/** The authentication method and location for the selective key restore operation. */
|
|
110
|
-
export interface SelectiveKeyRestoreOperationParameters {
|
|
111
|
-
/** A user-provided SAS token to an Azure blob storage container. */
|
|
112
|
-
sasTokenParameters: SASTokenParameter;
|
|
113
|
-
/** The Folder name of the blob where the previous successful full backup was stored */
|
|
114
|
-
folder: string;
|
|
115
|
-
}
|
|
116
|
-
export declare function selectiveKeyRestoreOperationParametersSerializer(item: SelectiveKeyRestoreOperationParameters): any;
|
|
117
121
|
/** Selective Key Restore operation */
|
|
118
122
|
export interface SelectiveKeyRestoreOperation {
|
|
119
123
|
/** Status of the restore operation. */
|
|
@@ -127,9 +131,17 @@ export interface SelectiveKeyRestoreOperation {
|
|
|
127
131
|
/** The start time of the restore operation */
|
|
128
132
|
startTime?: Date;
|
|
129
133
|
/** The end time of the restore operation */
|
|
130
|
-
endTime?: Date;
|
|
134
|
+
endTime?: Date | null;
|
|
131
135
|
}
|
|
132
136
|
export declare function selectiveKeyRestoreOperationDeserializer(item: any): SelectiveKeyRestoreOperation;
|
|
137
|
+
/** The authentication method and location for the selective key restore operation. */
|
|
138
|
+
export interface SelectiveKeyRestoreOperationParameters {
|
|
139
|
+
/** A user-provided SAS token to an Azure blob storage container. */
|
|
140
|
+
sasTokenParameters: SASTokenParameter;
|
|
141
|
+
/** The Folder name of the blob where the previous successful full backup was stored */
|
|
142
|
+
folder: string;
|
|
143
|
+
}
|
|
144
|
+
export declare function selectiveKeyRestoreOperationParametersSerializer(item: SelectiveKeyRestoreOperationParameters): any;
|
|
133
145
|
/** The update settings request object. */
|
|
134
146
|
export interface UpdateSettingRequest {
|
|
135
147
|
/** The value of the pool setting. */
|
|
@@ -166,6 +178,67 @@ export interface SettingsListResult {
|
|
|
166
178
|
}
|
|
167
179
|
export declare function settingsListResultDeserializer(item: any): SettingsListResult;
|
|
168
180
|
export declare function settingArrayDeserializer(result: Array<Setting>): any[];
|
|
181
|
+
/** Role Assignments */
|
|
182
|
+
export interface RoleAssignment {
|
|
183
|
+
/** The role assignment ID. */
|
|
184
|
+
readonly id?: string;
|
|
185
|
+
/** The role assignment name. */
|
|
186
|
+
readonly name?: string;
|
|
187
|
+
/** The role assignment type. */
|
|
188
|
+
readonly type?: string;
|
|
189
|
+
/** Role assignment properties. */
|
|
190
|
+
properties?: RoleAssignmentPropertiesWithScope;
|
|
191
|
+
}
|
|
192
|
+
export declare function roleAssignmentDeserializer(item: any): RoleAssignment;
|
|
193
|
+
/** Role assignment properties with scope. */
|
|
194
|
+
export interface RoleAssignmentPropertiesWithScope {
|
|
195
|
+
/** The role scope. */
|
|
196
|
+
scope?: RoleScope;
|
|
197
|
+
/** The role definition ID. */
|
|
198
|
+
roleDefinitionId?: string;
|
|
199
|
+
/** The principal ID. */
|
|
200
|
+
principalId?: string;
|
|
201
|
+
}
|
|
202
|
+
export declare function roleAssignmentPropertiesWithScopeDeserializer(item: any): RoleAssignmentPropertiesWithScope;
|
|
203
|
+
/** The role scope. */
|
|
204
|
+
export declare enum KnownRoleScope {
|
|
205
|
+
/** Global scope */
|
|
206
|
+
Global = "/",
|
|
207
|
+
/** Keys scope */
|
|
208
|
+
Keys = "/keys"
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* The role scope. \
|
|
212
|
+
* {@link KnownRoleScope} can be used interchangeably with RoleScope,
|
|
213
|
+
* this enum contains the known values that the service supports.
|
|
214
|
+
* ### Known values supported by the service
|
|
215
|
+
* **\/**: Global scope \
|
|
216
|
+
* **\/keys**: Keys scope
|
|
217
|
+
*/
|
|
218
|
+
export type RoleScope = string;
|
|
219
|
+
/** Role assignment create parameters. */
|
|
220
|
+
export interface RoleAssignmentCreateParameters {
|
|
221
|
+
/** Role assignment properties. */
|
|
222
|
+
properties: RoleAssignmentProperties;
|
|
223
|
+
}
|
|
224
|
+
export declare function roleAssignmentCreateParametersSerializer(item: RoleAssignmentCreateParameters): any;
|
|
225
|
+
/** Role assignment properties. */
|
|
226
|
+
export interface RoleAssignmentProperties {
|
|
227
|
+
/** The role definition ID used in the role assignment. */
|
|
228
|
+
roleDefinitionId: string;
|
|
229
|
+
/** The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group. */
|
|
230
|
+
principalId: string;
|
|
231
|
+
}
|
|
232
|
+
export declare function roleAssignmentPropertiesSerializer(item: RoleAssignmentProperties): any;
|
|
233
|
+
/** Role assignment list operation result. */
|
|
234
|
+
export interface _RoleAssignmentListResult {
|
|
235
|
+
/** Role assignment list. */
|
|
236
|
+
value?: RoleAssignment[];
|
|
237
|
+
/** The URL to use for getting the next set of results. */
|
|
238
|
+
nextLink?: string;
|
|
239
|
+
}
|
|
240
|
+
export declare function _roleAssignmentListResultDeserializer(item: any): _RoleAssignmentListResult;
|
|
241
|
+
export declare function roleAssignmentArrayDeserializer(result: Array<RoleAssignment>): any[];
|
|
169
242
|
/** Role definition. */
|
|
170
243
|
export interface RoleDefinition {
|
|
171
244
|
/** The role definition ID. */
|
|
@@ -349,22 +422,6 @@ export declare enum KnownDataAction {
|
|
|
349
422
|
* **Microsoft.KeyVault\/managedHsm\/rng\/action**: Generate random numbers.
|
|
350
423
|
*/
|
|
351
424
|
export type DataAction = string;
|
|
352
|
-
/** The role scope. */
|
|
353
|
-
export declare enum KnownRoleScope {
|
|
354
|
-
/** Global scope */
|
|
355
|
-
Global = "/",
|
|
356
|
-
/** Keys scope */
|
|
357
|
-
Keys = "/keys"
|
|
358
|
-
}
|
|
359
|
-
/**
|
|
360
|
-
* The role scope. \
|
|
361
|
-
* {@link KnownRoleScope} can be used interchangeably with RoleScope,
|
|
362
|
-
* this enum contains the known values that the service supports.
|
|
363
|
-
* ### Known values supported by the service
|
|
364
|
-
* **\/**: Global scope \
|
|
365
|
-
* **\/keys**: Keys scope
|
|
366
|
-
*/
|
|
367
|
-
export type RoleScope = string;
|
|
368
425
|
/** Role definition create parameters. */
|
|
369
426
|
export interface RoleDefinitionCreateParameters {
|
|
370
427
|
/** Role definition properties. */
|
|
@@ -380,56 +437,11 @@ export interface _RoleDefinitionListResult {
|
|
|
380
437
|
}
|
|
381
438
|
export declare function _roleDefinitionListResultDeserializer(item: any): _RoleDefinitionListResult;
|
|
382
439
|
export declare function roleDefinitionArrayDeserializer(result: Array<RoleDefinition>): any[];
|
|
383
|
-
/** Role Assignments */
|
|
384
|
-
export interface RoleAssignment {
|
|
385
|
-
/** The role assignment ID. */
|
|
386
|
-
readonly id?: string;
|
|
387
|
-
/** The role assignment name. */
|
|
388
|
-
readonly name?: string;
|
|
389
|
-
/** The role assignment type. */
|
|
390
|
-
readonly type?: string;
|
|
391
|
-
/** Role assignment properties. */
|
|
392
|
-
properties?: RoleAssignmentPropertiesWithScope;
|
|
393
|
-
}
|
|
394
|
-
export declare function roleAssignmentDeserializer(item: any): RoleAssignment;
|
|
395
|
-
/** Role assignment properties with scope. */
|
|
396
|
-
export interface RoleAssignmentPropertiesWithScope {
|
|
397
|
-
/** The role scope. */
|
|
398
|
-
scope?: RoleScope;
|
|
399
|
-
/** The role definition ID. */
|
|
400
|
-
roleDefinitionId?: string;
|
|
401
|
-
/** The principal ID. */
|
|
402
|
-
principalId?: string;
|
|
403
|
-
}
|
|
404
|
-
export declare function roleAssignmentPropertiesWithScopeDeserializer(item: any): RoleAssignmentPropertiesWithScope;
|
|
405
|
-
/** Role assignment create parameters. */
|
|
406
|
-
export interface RoleAssignmentCreateParameters {
|
|
407
|
-
/** Role assignment properties. */
|
|
408
|
-
properties: RoleAssignmentProperties;
|
|
409
|
-
}
|
|
410
|
-
export declare function roleAssignmentCreateParametersSerializer(item: RoleAssignmentCreateParameters): any;
|
|
411
|
-
/** Role assignment properties. */
|
|
412
|
-
export interface RoleAssignmentProperties {
|
|
413
|
-
/** The role definition ID used in the role assignment. */
|
|
414
|
-
roleDefinitionId: string;
|
|
415
|
-
/** The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group. */
|
|
416
|
-
principalId: string;
|
|
417
|
-
}
|
|
418
|
-
export declare function roleAssignmentPropertiesSerializer(item: RoleAssignmentProperties): any;
|
|
419
|
-
/** Role assignment list operation result. */
|
|
420
|
-
export interface _RoleAssignmentListResult {
|
|
421
|
-
/** Role assignment list. */
|
|
422
|
-
value?: RoleAssignment[];
|
|
423
|
-
/** The URL to use for getting the next set of results. */
|
|
424
|
-
nextLink?: string;
|
|
425
|
-
}
|
|
426
|
-
export declare function _roleAssignmentListResultDeserializer(item: any): _RoleAssignmentListResult;
|
|
427
|
-
export declare function roleAssignmentArrayDeserializer(result: Array<RoleAssignment>): any[];
|
|
428
440
|
/** The available API versions. */
|
|
429
441
|
export declare enum KnownVersions {
|
|
430
442
|
/** The 7.5 API version. */
|
|
431
443
|
"v7.5" = "7.5",
|
|
432
|
-
/** The 7.6-preview.
|
|
433
|
-
"v7.6_preview.
|
|
444
|
+
/** The 7.6-preview.2 API version. */
|
|
445
|
+
"v7.6_preview.2" = "7.6-preview.2"
|
|
434
446
|
}
|
|
435
447
|
//# sourceMappingURL=models.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../../src/generated/models/models.ts"],"names":[],"mappings":"AAGA,4BAA4B;AAC5B,MAAM,WAAW,mBAAmB;IAClC,sCAAsC;IACtC,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,8CAA8C;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mEAAmE;IACnE,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,oDAAoD;IACpD,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,kDAAkD;IAClD,OAAO,CAAC,EAAE,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../../src/generated/models/models.ts"],"names":[],"mappings":"AAGA,4BAA4B;AAC5B,MAAM,WAAW,mBAAmB;IAClC,sCAAsC;IACtC,MAAM,CAAC,EAAE,eAAe,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