@azure/keyvault-admin 4.3.1-alpha.20221107.3 → 4.4.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +261 -11
- package/dist/index.js.map +1 -1
- package/dist-esm/src/constants.js +2 -2
- package/dist-esm/src/constants.js.map +1 -1
- package/dist-esm/src/generated/keyVaultClient.js +81 -2
- package/dist-esm/src/generated/keyVaultClient.js.map +1 -1
- package/dist-esm/src/generated/keyVaultClientContext.js +1 -1
- package/dist-esm/src/generated/keyVaultClientContext.js.map +1 -1
- package/dist-esm/src/generated/models/index.js +11 -6
- package/dist-esm/src/generated/models/index.js.map +1 -1
- package/dist-esm/src/generated/models/mappers.js +64 -0
- package/dist-esm/src/generated/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/models/parameters.js +15 -1
- package/dist-esm/src/generated/models/parameters.js.map +1 -1
- package/dist-esm/src/index.js +2 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/settingsClient.js +94 -0
- package/dist-esm/src/settingsClient.js.map +1 -0
- package/dist-esm/src/settingsClientModels.js +4 -0
- package/dist-esm/src/settingsClientModels.js.map +1 -0
- package/package.json +5 -5
- package/types/keyvault-admin.d.ts +143 -2
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Current version of the Key Vault Admin SDK.
|
|
5
5
|
*/
|
|
6
|
-
export const SDK_VERSION = "4.
|
|
6
|
+
export const SDK_VERSION = "4.4.0-beta.1";
|
|
7
7
|
/**
|
|
8
8
|
* The latest supported Key Vault service API version.
|
|
9
9
|
*/
|
|
10
|
-
export const LATEST_API_VERSION = "7.
|
|
10
|
+
export const LATEST_API_VERSION = "7.4-preview.1";
|
|
11
11
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAW,
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAW,cAAc,CAAC;AAElD;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,eAAe,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * Current version of the Key Vault Admin SDK.\n */\nexport const SDK_VERSION: string = \"4.4.0-beta.1\";\n\n/**\n * The latest supported Key Vault service API version.\n */\nexport const LATEST_API_VERSION = \"7.4-preview.1\";\n\n/**\n * Supported API versions\n */\nexport type SUPPORTED_API_VERSIONS = \"7.2\" | \"7.3\" | \"7.4-preview.1\";\n"]}
|
|
@@ -22,8 +22,7 @@ export class KeyVaultClient extends KeyVaultClientContext {
|
|
|
22
22
|
this.roleAssignments = new RoleAssignmentsImpl(this);
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
-
* Creates a full backup using a user-provided SAS token to an Azure blob storage container.
|
|
26
|
-
* operation is supported only by the Managed HSM service.
|
|
25
|
+
* Creates a full backup using a user-provided SAS token to an Azure blob storage container.
|
|
27
26
|
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
|
|
28
27
|
* @param options The options parameters.
|
|
29
28
|
*/
|
|
@@ -67,6 +66,33 @@ export class KeyVaultClient extends KeyVaultClientContext {
|
|
|
67
66
|
selectiveKeyRestoreOperation(vaultBaseUrl, keyName, options) {
|
|
68
67
|
return this.sendOperationRequest({ vaultBaseUrl, keyName, options }, selectiveKeyRestoreOperationOperationSpec);
|
|
69
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* Description of the pool setting to be updated
|
|
71
|
+
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
|
|
72
|
+
* @param settingName The name of the account setting. Must be a valid settings option.
|
|
73
|
+
* @param value The value of the pool setting.
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
updateSetting(vaultBaseUrl, settingName, value, options) {
|
|
77
|
+
return this.sendOperationRequest({ vaultBaseUrl, settingName, value, options }, updateSettingOperationSpec);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Retrieves the setting object of a specified setting name.
|
|
81
|
+
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
|
|
82
|
+
* @param settingName The name of the account setting. Must be a valid settings option.
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
getSetting(vaultBaseUrl, settingName, options) {
|
|
86
|
+
return this.sendOperationRequest({ vaultBaseUrl, settingName, options }, getSettingOperationSpec);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Retrieves a list of all the available account settings that can be configured.
|
|
90
|
+
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
|
|
91
|
+
* @param options The options parameters.
|
|
92
|
+
*/
|
|
93
|
+
getSettings(vaultBaseUrl, options) {
|
|
94
|
+
return this.sendOperationRequest({ vaultBaseUrl, options }, getSettingsOperationSpec);
|
|
95
|
+
}
|
|
70
96
|
}
|
|
71
97
|
// Operation Specifications
|
|
72
98
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
@@ -159,4 +185,57 @@ const selectiveKeyRestoreOperationOperationSpec = {
|
|
|
159
185
|
mediaType: "json",
|
|
160
186
|
serializer
|
|
161
187
|
};
|
|
188
|
+
const updateSettingOperationSpec = {
|
|
189
|
+
path: "/settings/{setting-name}",
|
|
190
|
+
httpMethod: "PATCH",
|
|
191
|
+
responses: {
|
|
192
|
+
200: {
|
|
193
|
+
bodyMapper: Mappers.Setting
|
|
194
|
+
},
|
|
195
|
+
default: {
|
|
196
|
+
bodyMapper: Mappers.KeyVaultError
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
requestBody: {
|
|
200
|
+
parameterPath: { value: ["value"] },
|
|
201
|
+
mapper: Object.assign(Object.assign({}, Mappers.UpdateSettingRequest), { required: true })
|
|
202
|
+
},
|
|
203
|
+
queryParameters: [Parameters.apiVersion],
|
|
204
|
+
urlParameters: [Parameters.vaultBaseUrl, Parameters.settingName],
|
|
205
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
206
|
+
mediaType: "json",
|
|
207
|
+
serializer
|
|
208
|
+
};
|
|
209
|
+
const getSettingOperationSpec = {
|
|
210
|
+
path: "/settings/{setting-name}",
|
|
211
|
+
httpMethod: "GET",
|
|
212
|
+
responses: {
|
|
213
|
+
200: {
|
|
214
|
+
bodyMapper: Mappers.Setting
|
|
215
|
+
},
|
|
216
|
+
default: {
|
|
217
|
+
bodyMapper: Mappers.KeyVaultError
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
queryParameters: [Parameters.apiVersion],
|
|
221
|
+
urlParameters: [Parameters.vaultBaseUrl, Parameters.settingName],
|
|
222
|
+
headerParameters: [Parameters.accept],
|
|
223
|
+
serializer
|
|
224
|
+
};
|
|
225
|
+
const getSettingsOperationSpec = {
|
|
226
|
+
path: "/settings",
|
|
227
|
+
httpMethod: "GET",
|
|
228
|
+
responses: {
|
|
229
|
+
200: {
|
|
230
|
+
bodyMapper: Mappers.SettingsListResult
|
|
231
|
+
},
|
|
232
|
+
default: {
|
|
233
|
+
bodyMapper: Mappers.KeyVaultError
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
queryParameters: [Parameters.apiVersion],
|
|
237
|
+
urlParameters: [Parameters.vaultBaseUrl],
|
|
238
|
+
headerParameters: [Parameters.accept],
|
|
239
|
+
serializer
|
|
240
|
+
};
|
|
162
241
|
//# sourceMappingURL=keyVaultClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyVaultClient.js","sourceRoot":"","sources":["../../../src/generated/keyVaultClient.ts"],"names":[],"mappings":"AAAA;;;;;;GA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eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,YAAY,EAAE,UAAU,CAAC,OAAO,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport { RoleDefinitionsImpl, RoleAssignmentsImpl } from \"./operations\";\nimport { RoleDefinitions, RoleAssignments } from \"./operationsInterfaces\";\nimport * as Parameters from \"./models/parameters\";\nimport * as Mappers from \"./models/mappers\";\nimport { KeyVaultClientContext } from \"./keyVaultClientContext\";\nimport {\n KeyVaultClientOptionalParams,\n ApiVersion73,\n FullBackupOptionalParams,\n FullBackupResponse,\n FullBackupStatusOptionalParams,\n FullBackupStatusResponse,\n FullRestoreOperationOptionalParams,\n FullRestoreOperationResponse,\n RestoreStatusOptionalParams,\n RestoreStatusResponse,\n SelectiveKeyRestoreOperationOptionalParams,\n SelectiveKeyRestoreOperationResponse\n} from \"./models\";\n\nexport class KeyVaultClient extends KeyVaultClientContext {\n /**\n * Initializes a new instance of the KeyVaultClient class.\n * @param apiVersion Api Version\n * @param options The parameter options\n */\n constructor(\n apiVersion: ApiVersion73,\n options?: KeyVaultClientOptionalParams\n ) {\n super(apiVersion, options);\n this.roleDefinitions = new RoleDefinitionsImpl(this);\n this.roleAssignments = new RoleAssignmentsImpl(this);\n }\n\n /**\n * Creates a full backup using a user-provided SAS token to an Azure blob storage container. This\n * operation is supported only by the Managed HSM service.\n * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.\n * @param options The options parameters.\n */\n fullBackup(\n vaultBaseUrl: string,\n options?: FullBackupOptionalParams\n ): Promise<FullBackupResponse> {\n return this.sendOperationRequest(\n { vaultBaseUrl, options },\n fullBackupOperationSpec\n );\n }\n\n /**\n * Returns the status of full backup operation\n * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.\n * @param jobId The id returned as part of the backup request\n * @param options The options parameters.\n */\n fullBackupStatus(\n vaultBaseUrl: string,\n jobId: string,\n options?: FullBackupStatusOptionalParams\n ): Promise<FullBackupStatusResponse> {\n return this.sendOperationRequest(\n { vaultBaseUrl, jobId, options },\n fullBackupStatusOperationSpec\n );\n }\n\n /**\n * Restores all key materials using the SAS token pointing to a previously stored Azure Blob storage\n * backup folder\n * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.\n * @param options The options parameters.\n */\n fullRestoreOperation(\n vaultBaseUrl: string,\n options?: FullRestoreOperationOptionalParams\n ): Promise<FullRestoreOperationResponse> {\n return this.sendOperationRequest(\n { vaultBaseUrl, options },\n fullRestoreOperationOperationSpec\n );\n }\n\n /**\n * Returns the status of restore operation\n * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.\n * @param jobId The Job Id returned part of the restore operation\n * @param options The options parameters.\n */\n restoreStatus(\n vaultBaseUrl: string,\n jobId: string,\n options?: RestoreStatusOptionalParams\n ): Promise<RestoreStatusResponse> {\n return this.sendOperationRequest(\n { vaultBaseUrl, jobId, options },\n restoreStatusOperationSpec\n );\n }\n\n /**\n * Restores all key versions of a given key using user supplied SAS token pointing to a previously\n * stored Azure Blob storage backup folder\n * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.\n * @param keyName The name of the key to be restored from the user supplied backup\n * @param options The options parameters.\n */\n selectiveKeyRestoreOperation(\n vaultBaseUrl: string,\n keyName: string,\n options?: SelectiveKeyRestoreOperationOptionalParams\n ): Promise<SelectiveKeyRestoreOperationResponse> {\n return this.sendOperationRequest(\n { vaultBaseUrl, keyName, options },\n selectiveKeyRestoreOperationOperationSpec\n );\n }\n\n roleDefinitions: RoleDefinitions;\n roleAssignments: RoleAssignments;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst fullBackupOperationSpec: coreClient.OperationSpec = {\n path: \"/backup\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.FullBackupOperation,\n headersMapper: Mappers.KeyVaultClientFullBackupHeaders\n },\n default: {\n bodyMapper: Mappers.KeyVaultError\n }\n },\n requestBody: Parameters.azureStorageBlobContainerUri,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.vaultBaseUrl],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst fullBackupStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/backup/{jobId}/pending\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FullBackupOperation\n },\n default: {\n bodyMapper: Mappers.KeyVaultError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.vaultBaseUrl, Parameters.jobId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst fullRestoreOperationOperationSpec: coreClient.OperationSpec = {\n path: \"/restore\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n bodyMapper: Mappers.RestoreOperation,\n headersMapper: Mappers.KeyVaultClientFullRestoreOperationHeaders\n },\n default: {\n bodyMapper: Mappers.KeyVaultError\n }\n },\n requestBody: Parameters.restoreBlobDetails,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.vaultBaseUrl],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst restoreStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/restore/{jobId}/pending\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RestoreOperation\n },\n default: {\n bodyMapper: Mappers.KeyVaultError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.vaultBaseUrl, Parameters.jobId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst selectiveKeyRestoreOperationOperationSpec: coreClient.OperationSpec = {\n path: \"/keys/{keyName}/restore\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n bodyMapper: Mappers.SelectiveKeyRestoreOperation,\n headersMapper: Mappers.KeyVaultClientSelectiveKeyRestoreOperationHeaders\n },\n default: {\n bodyMapper: Mappers.KeyVaultError\n }\n },\n requestBody: Parameters.restoreBlobDetails1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.vaultBaseUrl, Parameters.keyName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
|
|
1
|
+
{"version":3,"file":"keyVaultClient.js","sourceRoot":"","sources":["../../../src/generated/keyVaultClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAExE,OAAO,KAAK,UAAU,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAsBhE,MAAM,OAAO,cAAe,SAAQ,qBAAqB;IACvD;;;;OAIG;IACH,YACE,UAAgC,EAChC,OAAsC;QAEtC,KAAK,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;QAC3B,IAAI,CAAC,eAAe,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,eAAe,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACvD,CAAC;IAED;;;;OAIG;IACH,UAAU,CACR,YAAoB,EACpB,OAAkC;QAElC,OAAO,IAAI,CAAC,oBAAoB,CAC9B,EAAE,YAAY,EAAE,OAAO,EAAE,EACzB,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,gBAAgB,CACd,YAAoB,EAC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O,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;IACxC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport { RoleDefinitionsImpl, RoleAssignmentsImpl } from \"./operations\";\nimport { RoleDefinitions, RoleAssignments } from \"./operationsInterfaces\";\nimport * as Parameters from \"./models/parameters\";\nimport * as Mappers from \"./models/mappers\";\nimport { KeyVaultClientContext } from \"./keyVaultClientContext\";\nimport {\n KeyVaultClientOptionalParams,\n ApiVersion74Preview1,\n FullBackupOptionalParams,\n FullBackupResponse,\n FullBackupStatusOptionalParams,\n FullBackupStatusResponse,\n FullRestoreOperationOptionalParams,\n FullRestoreOperationResponse,\n RestoreStatusOptionalParams,\n RestoreStatusResponse,\n SelectiveKeyRestoreOperationOptionalParams,\n SelectiveKeyRestoreOperationResponse,\n UpdateSettingOptionalParams,\n UpdateSettingResponse,\n GetSettingOptionalParams,\n GetSettingResponse,\n GetSettingsOptionalParams,\n GetSettingsResponse\n} from \"./models\";\n\nexport class KeyVaultClient extends KeyVaultClientContext {\n /**\n * Initializes a new instance of the KeyVaultClient class.\n * @param apiVersion Api Version\n * @param options The parameter options\n */\n constructor(\n apiVersion: ApiVersion74Preview1,\n options?: KeyVaultClientOptionalParams\n ) {\n super(apiVersion, options);\n this.roleDefinitions = new RoleDefinitionsImpl(this);\n this.roleAssignments = new RoleAssignmentsImpl(this);\n }\n\n /**\n * Creates a full backup using a user-provided SAS token to an Azure blob storage container.\n * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.\n * @param options The options parameters.\n */\n fullBackup(\n vaultBaseUrl: string,\n options?: FullBackupOptionalParams\n ): Promise<FullBackupResponse> {\n return this.sendOperationRequest(\n { vaultBaseUrl, options },\n fullBackupOperationSpec\n );\n }\n\n /**\n * Returns the status of full backup operation\n * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.\n * @param jobId The id returned as part of the backup request\n * @param options The options parameters.\n */\n fullBackupStatus(\n vaultBaseUrl: string,\n jobId: string,\n options?: FullBackupStatusOptionalParams\n ): Promise<FullBackupStatusResponse> {\n return this.sendOperationRequest(\n { vaultBaseUrl, jobId, options },\n fullBackupStatusOperationSpec\n );\n }\n\n /**\n * Restores all key materials using the SAS token pointing to a previously stored Azure Blob storage\n * backup folder\n * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.\n * @param options The options parameters.\n */\n fullRestoreOperation(\n vaultBaseUrl: string,\n options?: FullRestoreOperationOptionalParams\n ): Promise<FullRestoreOperationResponse> {\n return this.sendOperationRequest(\n { vaultBaseUrl, options },\n fullRestoreOperationOperationSpec\n );\n }\n\n /**\n * Returns the status of restore operation\n * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.\n * @param jobId The Job Id returned part of the restore operation\n * @param options The options parameters.\n */\n restoreStatus(\n vaultBaseUrl: string,\n jobId: string,\n options?: RestoreStatusOptionalParams\n ): Promise<RestoreStatusResponse> {\n return this.sendOperationRequest(\n { vaultBaseUrl, jobId, options },\n restoreStatusOperationSpec\n );\n }\n\n /**\n * Restores all key versions of a given key using user supplied SAS token pointing to a previously\n * stored Azure Blob storage backup folder\n * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.\n * @param keyName The name of the key to be restored from the user supplied backup\n * @param options The options parameters.\n */\n selectiveKeyRestoreOperation(\n vaultBaseUrl: string,\n keyName: string,\n options?: SelectiveKeyRestoreOperationOptionalParams\n ): Promise<SelectiveKeyRestoreOperationResponse> {\n return this.sendOperationRequest(\n { vaultBaseUrl, keyName, options },\n selectiveKeyRestoreOperationOperationSpec\n );\n }\n\n /**\n * Description of the pool setting to be updated\n * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.\n * @param settingName The name of the account setting. Must be a valid settings option.\n * @param value The value of the pool setting.\n * @param options The options parameters.\n */\n updateSetting(\n vaultBaseUrl: string,\n settingName: string,\n value: string,\n options?: UpdateSettingOptionalParams\n ): Promise<UpdateSettingResponse> {\n return this.sendOperationRequest(\n { vaultBaseUrl, settingName, value, options },\n updateSettingOperationSpec\n );\n }\n\n /**\n * Retrieves the setting object of a specified setting name.\n * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.\n * @param settingName The name of the account setting. Must be a valid settings option.\n * @param options The options parameters.\n */\n getSetting(\n vaultBaseUrl: string,\n settingName: string,\n options?: GetSettingOptionalParams\n ): Promise<GetSettingResponse> {\n return this.sendOperationRequest(\n { vaultBaseUrl, settingName, options },\n getSettingOperationSpec\n );\n }\n\n /**\n * Retrieves a list of all the available account settings that can be configured.\n * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.\n * @param options The options parameters.\n */\n getSettings(\n vaultBaseUrl: string,\n options?: GetSettingsOptionalParams\n ): Promise<GetSettingsResponse> {\n return this.sendOperationRequest(\n { vaultBaseUrl, options },\n getSettingsOperationSpec\n );\n }\n\n roleDefinitions: RoleDefinitions;\n roleAssignments: RoleAssignments;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst fullBackupOperationSpec: coreClient.OperationSpec = {\n path: \"/backup\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.FullBackupOperation,\n headersMapper: Mappers.KeyVaultClientFullBackupHeaders\n },\n default: {\n bodyMapper: Mappers.KeyVaultError\n }\n },\n requestBody: Parameters.azureStorageBlobContainerUri,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.vaultBaseUrl],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst fullBackupStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/backup/{jobId}/pending\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FullBackupOperation\n },\n default: {\n bodyMapper: Mappers.KeyVaultError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.vaultBaseUrl, Parameters.jobId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst fullRestoreOperationOperationSpec: coreClient.OperationSpec = {\n path: \"/restore\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n bodyMapper: Mappers.RestoreOperation,\n headersMapper: Mappers.KeyVaultClientFullRestoreOperationHeaders\n },\n default: {\n bodyMapper: Mappers.KeyVaultError\n }\n },\n requestBody: Parameters.restoreBlobDetails,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.vaultBaseUrl],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst restoreStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/restore/{jobId}/pending\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RestoreOperation\n },\n default: {\n bodyMapper: Mappers.KeyVaultError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.vaultBaseUrl, Parameters.jobId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst selectiveKeyRestoreOperationOperationSpec: coreClient.OperationSpec = {\n path: \"/keys/{keyName}/restore\",\n httpMethod: \"PUT\",\n responses: {\n 202: {\n bodyMapper: Mappers.SelectiveKeyRestoreOperation,\n headersMapper: Mappers.KeyVaultClientSelectiveKeyRestoreOperationHeaders\n },\n default: {\n bodyMapper: Mappers.KeyVaultError\n }\n },\n requestBody: Parameters.restoreBlobDetails1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.vaultBaseUrl, Parameters.keyName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateSettingOperationSpec: coreClient.OperationSpec = {\n path: \"/settings/{setting-name}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Setting\n },\n default: {\n bodyMapper: Mappers.KeyVaultError\n }\n },\n requestBody: {\n parameterPath: { value: [\"value\"] },\n mapper: { ...Mappers.UpdateSettingRequest, required: true }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.vaultBaseUrl, Parameters.settingName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getSettingOperationSpec: coreClient.OperationSpec = {\n path: \"/settings/{setting-name}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Setting\n },\n default: {\n bodyMapper: Mappers.KeyVaultError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.vaultBaseUrl, Parameters.settingName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getSettingsOperationSpec: coreClient.OperationSpec = {\n path: \"/settings\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SettingsListResult\n },\n default: {\n bodyMapper: Mappers.KeyVaultError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.vaultBaseUrl],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -23,7 +23,7 @@ export class KeyVaultClientContext extends coreClient.ServiceClient {
|
|
|
23
23
|
const defaults = {
|
|
24
24
|
requestContentType: "application/json; charset=utf-8"
|
|
25
25
|
};
|
|
26
|
-
const packageDetails = `azsdk-js-keyvault-admin/4.
|
|
26
|
+
const packageDetails = `azsdk-js-keyvault-admin/4.4.0-beta.1`;
|
|
27
27
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
28
28
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
29
29
|
: `${packageDetails}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyVaultClientContext.js","sourceRoot":"","sources":["../../../src/generated/keyVaultClientContext.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,MAAM,OAAO,qBAAsB,SAAQ,UAAU,CAAC,aAAa;IAGjE;;;;OAIG;IACH,YACE,
|
|
1
|
+
{"version":3,"file":"keyVaultClientContext.js","sourceRoot":"","sources":["../../../src/generated/keyVaultClientContext.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,MAAM,OAAO,qBAAsB,SAAQ,UAAU,CAAC,aAAa;IAGjE;;;;OAIG;IACH,YACE,UAAgC,EAChC,OAAsC;QAEtC,IAAI,UAAU,KAAK,SAAS,EAAE;YAC5B,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;SAChD;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,MAAM,QAAQ,GAAiC;YAC7C,kBAAkB,EAAE,iCAAiC;SACtD,CAAC;QAEF,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,OAAO,EAAE,OAAO,CAAC,QAAQ,IAAI,gBAAgB,GAC9C,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAC3B,wBAAwB;QACxB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;CACF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport { ApiVersion74Preview1, KeyVaultClientOptionalParams } from \"./models\";\n\nexport class KeyVaultClientContext extends coreClient.ServiceClient {\n apiVersion: ApiVersion74Preview1;\n\n /**\n * Initializes a new instance of the KeyVaultClientContext class.\n * @param apiVersion Api Version\n * @param options The parameter options\n */\n constructor(\n apiVersion: ApiVersion74Preview1,\n options?: KeyVaultClientOptionalParams\n ) {\n if (apiVersion === undefined) {\n throw new Error(\"'apiVersion' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: KeyVaultClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\"\n };\n\n const packageDetails = `azsdk-js-keyvault-admin/4.4.0-beta.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint || \"{vaultBaseUrl}\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.apiVersion = apiVersion;\n }\n}\n"]}
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
/** Known values of {@link
|
|
9
|
-
export var
|
|
10
|
-
(function (
|
|
11
|
-
/** Api Version '7.
|
|
12
|
-
|
|
13
|
-
})(
|
|
8
|
+
/** Known values of {@link ApiVersion74Preview1} that the service accepts. */
|
|
9
|
+
export var KnownApiVersion74Preview1;
|
|
10
|
+
(function (KnownApiVersion74Preview1) {
|
|
11
|
+
/** Api Version '7.4-preview.1' */
|
|
12
|
+
KnownApiVersion74Preview1["Seven4Preview1"] = "7.4-preview.1";
|
|
13
|
+
})(KnownApiVersion74Preview1 || (KnownApiVersion74Preview1 = {}));
|
|
14
14
|
/** Known values of {@link RoleType} that the service accepts. */
|
|
15
15
|
export var KnownRoleType;
|
|
16
16
|
(function (KnownRoleType) {
|
|
@@ -104,4 +104,9 @@ export var KnownRoleDefinitionType;
|
|
|
104
104
|
(function (KnownRoleDefinitionType) {
|
|
105
105
|
KnownRoleDefinitionType["MicrosoftAuthorizationRoleDefinitions"] = "Microsoft.Authorization/roleDefinitions";
|
|
106
106
|
})(KnownRoleDefinitionType || (KnownRoleDefinitionType = {}));
|
|
107
|
+
/** Known values of {@link SettingTypeEnum} that the service accepts. */
|
|
108
|
+
export var KnownSettingTypeEnum;
|
|
109
|
+
(function (KnownSettingTypeEnum) {
|
|
110
|
+
KnownSettingTypeEnum["Boolean"] = "boolean";
|
|
111
|
+
})(KnownSettingTypeEnum || (KnownSettingTypeEnum = {}));
|
|
107
112
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAmQH,qEAAqE;AACrE,MAAM,CAAN,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,wBAAwB;IACxB,mCAAc,CAAA;AAChB,CAAC,EAHW,iBAAiB,KAAjB,iBAAiB,QAG5B;AAWD,iEAAiE;AACjE,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,qBAAqB;IACrB,+CAA8B,CAAA;IAC9B,mBAAmB;IACnB,0CAAyB,CAAA;AAC3B,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AAYD,mEAAmE;AACnE,MAAM,CAAN,IAAY,eAqEX;AArED,WAAY,eAAe;IACzB,6BAA6B;IAC7B,gFAA6D,CAAA;IAC7D,yBAAyB;IACzB,kFAA+D,CAAA;IAC/D,4BAA4B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,cAAc;IACxB,mBAAmB;IACnB,8BAAY,CAAA;IACZ,iBAAiB;IACjB,gCAAc,CAAA;AAChB,CAAC,EALW,cAAc,KAAd,cAAc,QAKzB;AAYD,2EAA2E;AAC3E,MAAM,CAAN,IAAY,uBAEX;AAFD,WAAY,uBAAuB;IACjC,4GAAiF,CAAA;AACnF,CAAC,EAFW,uBAAuB,KAAvB,uBAAuB,QAElC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** The key vault error exception. */\nexport interface KeyVaultError {\n /**\n * The key vault server error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly error?: ErrorModel;\n}\n\n/** The key vault server error. */\nexport interface ErrorModel {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The key vault server error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly innerError?: ErrorModel;\n}\n\n/** Role definition create parameters. */\nexport interface RoleDefinitionCreateParameters {\n /** Role definition properties. */\n properties: RoleDefinitionProperties;\n}\n\n/** Role definition properties. */\nexport interface RoleDefinitionProperties {\n /** The role name. */\n roleName?: string;\n /** The role definition description. */\n description?: string;\n /** The role type. */\n roleType?: RoleType;\n /** Role definition permissions. */\n permissions?: Permission[];\n /** Role definition assignable scopes. */\n assignableScopes?: RoleScope[];\n}\n\n/** Role definition permissions. */\nexport interface Permission {\n /** Action permissions that are granted. */\n actions?: string[];\n /** Action permissions that are excluded but not denied. They may be granted by other role definitions assigned to a principal. */\n notActions?: string[];\n /** Data action permissions that are granted. */\n dataActions?: DataAction[];\n /** Data action permissions that are excluded but not denied. They may be granted by other role definitions assigned to a principal. */\n notDataActions?: DataAction[];\n}\n\n/** Role definition. */\nexport interface RoleDefinition {\n /**\n * The role definition ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The role definition name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The role definition type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: RoleDefinitionType;\n /** The role name. */\n roleName?: string;\n /** The role definition description. */\n description?: string;\n /** The role type. */\n roleType?: RoleType;\n /** Role definition permissions. */\n permissions?: Permission[];\n /** Role definition assignable scopes. */\n assignableScopes?: RoleScope[];\n}\n\n/** Role definition list operation result. */\nexport interface RoleDefinitionListResult {\n /** Role definition list. */\n value?: RoleDefinition[];\n /** The URL to use for getting the next set of results. */\n nextLink?: string;\n}\n\n/** Role assignment create parameters. */\nexport interface RoleAssignmentCreateParameters {\n /** Role assignment properties. */\n properties: RoleAssignmentProperties;\n}\n\n/** Role assignment properties. */\nexport interface RoleAssignmentProperties {\n /** The role definition ID used in the role assignment. */\n roleDefinitionId: string;\n /** 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. */\n principalId: string;\n}\n\n/** Role Assignments */\nexport interface RoleAssignment {\n /**\n * The role assignment ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The role assignment name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The role assignment type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /** Role assignment properties. */\n properties?: RoleAssignmentPropertiesWithScope;\n}\n\n/** Role assignment properties with scope. */\nexport interface RoleAssignmentPropertiesWithScope {\n /** The role scope. */\n scope?: RoleScope;\n /** The role definition ID. */\n roleDefinitionId?: string;\n /** The principal ID. */\n principalId?: string;\n}\n\n/** Role assignment list operation result. */\nexport interface RoleAssignmentListResult {\n /** Role assignment list. */\n value?: RoleAssignment[];\n /** The URL to use for getting the next set of results. */\n nextLink?: string;\n}\n\nexport interface SASTokenParameter {\n /** Azure Blob storage container Uri */\n storageResourceUri: string;\n /** The SAS token pointing to an Azure Blob storage container */\n token: string;\n}\n\n/** Full backup operation */\nexport interface FullBackupOperation {\n /** Status of the backup operation. */\n status?: string;\n /** The status details of backup operation. */\n statusDetails?: string;\n /** Error encountered, if any, during the full backup operation. */\n error?: ErrorModel;\n /** The start time of the backup operation in UTC */\n startTime?: Date;\n /** The end time of the backup operation in UTC */\n endTime?: Date;\n /** Identifier for the full backup operation. */\n jobId?: string;\n /** The Azure blob storage container Uri which contains the full backup */\n azureStorageBlobContainerUri?: string;\n}\n\nexport interface RestoreOperationParameters {\n sasTokenParameters: SASTokenParameter;\n /** The Folder name of the blob where the previous successful full backup was stored */\n folderToRestore: string;\n}\n\n/** Restore operation */\nexport interface RestoreOperation {\n /** Status of the restore operation. */\n status?: string;\n /** The status details of restore operation. */\n statusDetails?: string;\n /** Error encountered, if any, during the restore operation. */\n error?: ErrorModel;\n /** Identifier for the restore operation. */\n jobId?: string;\n /** The start time of the restore operation */\n startTime?: Date;\n /** The end time of the restore operation */\n endTime?: Date;\n}\n\nexport interface SelectiveKeyRestoreOperationParameters {\n sasTokenParameters: SASTokenParameter;\n /** The Folder name of the blob where the previous successful full backup was stored */\n folder: string;\n}\n\n/** Selective Key Restore operation */\nexport interface SelectiveKeyRestoreOperation {\n /** Status of the restore operation. */\n status?: string;\n /** The status details of restore operation. */\n statusDetails?: string;\n /** Error encountered, if any, during the selective key restore operation. */\n error?: ErrorModel;\n /** Identifier for the selective key restore operation. */\n jobId?: string;\n /** The start time of the restore operation */\n startTime?: Date;\n /** The end time of the restore operation */\n endTime?: Date;\n}\n\n/** Role Assignments filter */\nexport interface RoleAssignmentFilter {\n /** Returns role assignment of the specific principal. */\n principalId?: string;\n}\n\n/** Role Definitions filter */\nexport interface RoleDefinitionFilter {\n /** Returns role definition with the specific name. */\n roleName?: string;\n}\n\n/** Defines headers for KeyVaultClient_fullBackup operation. */\nexport interface KeyVaultClientFullBackupHeaders {\n /** The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation. */\n retryAfter?: number;\n /** The URI to poll for completion status. */\n azureAsyncOperation?: string;\n}\n\n/** Defines headers for KeyVaultClient_fullRestoreOperation operation. */\nexport interface KeyVaultClientFullRestoreOperationHeaders {\n /** The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation. */\n retryAfter?: number;\n /** The URI to poll for completion status. */\n azureAsyncOperation?: string;\n}\n\n/** Defines headers for KeyVaultClient_selectiveKeyRestoreOperation operation. */\nexport interface KeyVaultClientSelectiveKeyRestoreOperationHeaders {\n /** The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation. */\n retryAfter?: number;\n /** The URI to poll for completion status. */\n azureAsyncOperation?: string;\n}\n\n/** Known values of {@link ApiVersion73} that the service accepts. */\nexport enum KnownApiVersion73 {\n /** Api Version '7.3' */\n Seven3 = \"7.3\"\n}\n\n/**\n * Defines values for ApiVersion73. \\\n * {@link KnownApiVersion73} can be used interchangeably with ApiVersion73,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **7.3**: Api Version '7.3'\n */\nexport type ApiVersion73 = string;\n\n/** Known values of {@link RoleType} that the service accepts. */\nexport enum KnownRoleType {\n /** Built in role. */\n BuiltInRole = \"AKVBuiltInRole\",\n /** Custom role. */\n CustomRole = \"CustomRole\"\n}\n\n/**\n * Defines values for RoleType. \\\n * {@link KnownRoleType} can be used interchangeably with RoleType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **AKVBuiltInRole**: Built in role. \\\n * **CustomRole**: Custom role.\n */\nexport type RoleType = string;\n\n/** Known values of {@link DataAction} that the service accepts. */\nexport enum KnownDataAction {\n /** Read HSM key metadata. */\n ReadHsmKey = \"Microsoft.KeyVault/managedHsm/keys/read/action\",\n /** Update an HSM key. */\n WriteHsmKey = \"Microsoft.KeyVault/managedHsm/keys/write/action\",\n /** Read deleted HSM key. */\n ReadDeletedHsmKey = \"Microsoft.KeyVault/managedHsm/keys/deletedKeys/read/action\",\n /** Recover deleted HSM key. */\n RecoverDeletedHsmKey = \"Microsoft.KeyVault/managedHsm/keys/deletedKeys/recover/action\",\n /** Backup HSM keys. */\n BackupHsmKeys = \"Microsoft.KeyVault/managedHsm/keys/backup/action\",\n /** Restore HSM keys. */\n RestoreHsmKeys = \"Microsoft.KeyVault/managedHsm/keys/restore/action\",\n /** Delete role assignment. */\n DeleteRoleAssignment = \"Microsoft.KeyVault/managedHsm/roleAssignments/delete/action\",\n /** Get role assignment. */\n GetRoleAssignment = \"Microsoft.KeyVault/managedHsm/roleAssignments/read/action\",\n /** Create or update role assignment. */\n WriteRoleAssignment = \"Microsoft.KeyVault/managedHsm/roleAssignments/write/action\",\n /** Get role definition. */\n ReadRoleDefinition = \"Microsoft.KeyVault/managedHsm/roleDefinitions/read/action\",\n /** Create or update role definition. */\n WriteRoleDefinition = \"Microsoft.KeyVault/managedHsm/roleDefinitions/write/action\",\n /** Delete role definition. */\n DeleteRoleDefinition = \"Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action\",\n /** Encrypt using an HSM key. */\n EncryptHsmKey = \"Microsoft.KeyVault/managedHsm/keys/encrypt/action\",\n /** Decrypt using an HSM key. */\n DecryptHsmKey = \"Microsoft.KeyVault/managedHsm/keys/decrypt/action\",\n /** Wrap using an HSM key. */\n WrapHsmKey = \"Microsoft.KeyVault/managedHsm/keys/wrap/action\",\n /** Unwrap using an HSM key. */\n UnwrapHsmKey = \"Microsoft.KeyVault/managedHsm/keys/unwrap/action\",\n /** Sign using an HSM key. */\n SignHsmKey = \"Microsoft.KeyVault/managedHsm/keys/sign/action\",\n /** Verify using an HSM key. */\n VerifyHsmKey = \"Microsoft.KeyVault/managedHsm/keys/verify/action\",\n /** Create an HSM key. */\n CreateHsmKey = \"Microsoft.KeyVault/managedHsm/keys/create\",\n /** Delete an HSM key. */\n DeleteHsmKey = \"Microsoft.KeyVault/managedHsm/keys/delete\",\n /** Export an HSM key. */\n ExportHsmKey = \"Microsoft.KeyVault/managedHsm/keys/export/action\",\n /** Release an HSM key using Secure Key Release. */\n ReleaseKey = \"Microsoft.KeyVault/managedHsm/keys/release/action\",\n /** Import an HSM key. */\n ImportHsmKey = \"Microsoft.KeyVault/managedHsm/keys/import/action\",\n /** Purge a deleted HSM key. */\n PurgeDeletedHsmKey = \"Microsoft.KeyVault/managedHsm/keys/deletedKeys/delete\",\n /** Download an HSM security domain. */\n DownloadHsmSecurityDomain = \"Microsoft.KeyVault/managedHsm/securitydomain/download/action\",\n /** Check status of HSM security domain download. */\n DownloadHsmSecurityDomainStatus = \"Microsoft.KeyVault/managedHsm/securitydomain/download/read\",\n /** Upload an HSM security domain. */\n UploadHsmSecurityDomain = \"Microsoft.KeyVault/managedHsm/securitydomain/upload/action\",\n /** Check the status of the HSM security domain exchange file. */\n ReadHsmSecurityDomainStatus = \"Microsoft.KeyVault/managedHsm/securitydomain/upload/read\",\n /** Download an HSM security domain transfer key. */\n ReadHsmSecurityDomainTransferKey = \"Microsoft.KeyVault/managedHsm/securitydomain/transferkey/read\",\n /** Start an HSM backup. */\n StartHsmBackup = \"Microsoft.KeyVault/managedHsm/backup/start/action\",\n /** Start an HSM restore. */\n StartHsmRestore = \"Microsoft.KeyVault/managedHsm/restore/start/action\",\n /** Read an HSM backup status. */\n ReadHsmBackupStatus = \"Microsoft.KeyVault/managedHsm/backup/status/action\",\n /** Read an HSM restore status. */\n ReadHsmRestoreStatus = \"Microsoft.KeyVault/managedHsm/restore/status/action\",\n /** Generate random numbers. */\n RandomNumbersGenerate = \"Microsoft.KeyVault/managedHsm/rng/action\"\n}\n\n/**\n * Defines values for DataAction. \\\n * {@link KnownDataAction} can be used interchangeably with DataAction,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/read\\/action**: Read HSM key metadata. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/write\\/action**: Update an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/deletedKeys\\/read\\/action**: Read deleted HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/deletedKeys\\/recover\\/action**: Recover deleted HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/backup\\/action**: Backup HSM keys. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/restore\\/action**: Restore HSM keys. \\\n * **Microsoft.KeyVault\\/managedHsm\\/roleAssignments\\/delete\\/action**: Delete role assignment. \\\n * **Microsoft.KeyVault\\/managedHsm\\/roleAssignments\\/read\\/action**: Get role assignment. \\\n * **Microsoft.KeyVault\\/managedHsm\\/roleAssignments\\/write\\/action**: Create or update role assignment. \\\n * **Microsoft.KeyVault\\/managedHsm\\/roleDefinitions\\/read\\/action**: Get role definition. \\\n * **Microsoft.KeyVault\\/managedHsm\\/roleDefinitions\\/write\\/action**: Create or update role definition. \\\n * **Microsoft.KeyVault\\/managedHsm\\/roleDefinitions\\/delete\\/action**: Delete role definition. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/encrypt\\/action**: Encrypt using an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/decrypt\\/action**: Decrypt using an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/wrap\\/action**: Wrap using an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/unwrap\\/action**: Unwrap using an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/sign\\/action**: Sign using an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/verify\\/action**: Verify using an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/create**: Create an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/delete**: Delete an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/export\\/action**: Export an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/release\\/action**: Release an HSM key using Secure Key Release. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/import\\/action**: Import an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/deletedKeys\\/delete**: Purge a deleted HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/securitydomain\\/download\\/action**: Download an HSM security domain. \\\n * **Microsoft.KeyVault\\/managedHsm\\/securitydomain\\/download\\/read**: Check status of HSM security domain download. \\\n * **Microsoft.KeyVault\\/managedHsm\\/securitydomain\\/upload\\/action**: Upload an HSM security domain. \\\n * **Microsoft.KeyVault\\/managedHsm\\/securitydomain\\/upload\\/read**: Check the status of the HSM security domain exchange file. \\\n * **Microsoft.KeyVault\\/managedHsm\\/securitydomain\\/transferkey\\/read**: Download an HSM security domain transfer key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/backup\\/start\\/action**: Start an HSM backup. \\\n * **Microsoft.KeyVault\\/managedHsm\\/restore\\/start\\/action**: Start an HSM restore. \\\n * **Microsoft.KeyVault\\/managedHsm\\/backup\\/status\\/action**: Read an HSM backup status. \\\n * **Microsoft.KeyVault\\/managedHsm\\/restore\\/status\\/action**: Read an HSM restore status. \\\n * **Microsoft.KeyVault\\/managedHsm\\/rng\\/action**: Generate random numbers.\n */\nexport type DataAction = string;\n\n/** Known values of {@link RoleScope} that the service accepts. */\nexport enum KnownRoleScope {\n /** Global scope */\n Global = \"/\",\n /** Keys scope */\n Keys = \"/keys\"\n}\n\n/**\n * Defines values for RoleScope. \\\n * {@link KnownRoleScope} can be used interchangeably with RoleScope,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **\\/**: Global scope \\\n * **\\/keys**: Keys scope\n */\nexport type RoleScope = string;\n\n/** Known values of {@link RoleDefinitionType} that the service accepts. */\nexport enum KnownRoleDefinitionType {\n MicrosoftAuthorizationRoleDefinitions = \"Microsoft.Authorization/roleDefinitions\"\n}\n\n/**\n * Defines values for RoleDefinitionType. \\\n * {@link KnownRoleDefinitionType} can be used interchangeably with RoleDefinitionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Microsoft.Authorization\\/roleDefinitions**\n */\nexport type RoleDefinitionType = string;\n\n/** Optional parameters. */\nexport interface RoleDefinitionsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface RoleDefinitionsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type RoleDefinitionsCreateOrUpdateResponse = RoleDefinition;\n\n/** Optional parameters. */\nexport interface RoleDefinitionsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type RoleDefinitionsGetResponse = RoleDefinition;\n\n/** Optional parameters. */\nexport interface RoleDefinitionsListOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as well. */\n filter?: string;\n}\n\n/** Contains response data for the list operation. */\nexport type RoleDefinitionsListResponse = RoleDefinitionListResult;\n\n/** Optional parameters. */\nexport interface RoleDefinitionsListNextOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as well. */\n filter?: string;\n}\n\n/** Contains response data for the listNext operation. */\nexport type RoleDefinitionsListNextResponse = RoleDefinitionListResult;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface RoleAssignmentsCreateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the create operation. */\nexport type RoleAssignmentsCreateResponse = RoleAssignment;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type RoleAssignmentsGetResponse = RoleAssignment;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsListForScopeOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal. */\n filter?: string;\n}\n\n/** Contains response data for the listForScope operation. */\nexport type RoleAssignmentsListForScopeResponse = RoleAssignmentListResult;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsListForScopeNextOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal. */\n filter?: string;\n}\n\n/** Contains response data for the listForScopeNext operation. */\nexport type RoleAssignmentsListForScopeNextResponse = RoleAssignmentListResult;\n\n/** Optional parameters. */\nexport interface FullBackupOptionalParams extends coreClient.OperationOptions {\n /** Azure blob shared access signature token pointing to a valid Azure blob container where full backup needs to be stored. This token needs to be valid for at least next 24 hours from the time of making this call */\n azureStorageBlobContainerUri?: SASTokenParameter;\n}\n\n/** Contains response data for the fullBackup operation. */\nexport type FullBackupResponse = KeyVaultClientFullBackupHeaders &\n FullBackupOperation;\n\n/** Optional parameters. */\nexport interface FullBackupStatusOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the fullBackupStatus operation. */\nexport type FullBackupStatusResponse = FullBackupOperation;\n\n/** Optional parameters. */\nexport interface FullRestoreOperationOptionalParams\n extends coreClient.OperationOptions {\n /** The Azure blob SAS token pointing to a folder where the previous successful full backup was stored */\n restoreBlobDetails?: RestoreOperationParameters;\n}\n\n/** Contains response data for the fullRestoreOperation operation. */\nexport type FullRestoreOperationResponse = KeyVaultClientFullRestoreOperationHeaders &\n RestoreOperation;\n\n/** Optional parameters. */\nexport interface RestoreStatusOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the restoreStatus operation. */\nexport type RestoreStatusResponse = RestoreOperation;\n\n/** Optional parameters. */\nexport interface SelectiveKeyRestoreOperationOptionalParams\n extends coreClient.OperationOptions {\n /** The Azure blob SAS token pointing to a folder where the previous successful full backup was stored */\n restoreBlobDetails?: SelectiveKeyRestoreOperationParameters;\n}\n\n/** Contains response data for the selectiveKeyRestoreOperation operation. */\nexport type SelectiveKeyRestoreOperationResponse = KeyVaultClientSelectiveKeyRestoreOperationHeaders &\n SelectiveKeyRestoreOperation;\n\n/** Optional parameters. */\nexport interface KeyVaultClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA2RH,6EAA6E;AAC7E,MAAM,CAAN,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,kCAAkC;IAClC,6DAAgC,CAAA;AAClC,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,QAGpC;AAWD,iEAAiE;AACjE,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,qBAAqB;IACrB,+CAA8B,CAAA;IAC9B,mBAAmB;IACnB,0CAAyB,CAAA;AAC3B,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AAYD,mEAAmE;AACnE,MAAM,CAAN,IAAY,eAqEX;AArED,WAAY,eAAe;IACzB,6BAA6B;IAC7B,gFAA6D,CAAA;IAC7D,yBAAyB;IACzB,kFAA+D,CAAA;IAC/D,4BAA4B;IAC5B,mGAAgF,CAAA;IAChF,+BAA+B;IAC/B,yGAAsF,CAAA;IACtF,uBAAuB;IACvB,qFAAkE,CAAA;IAClE,wBAAwB;IACxB,uFAAoE,CAAA;IACpE,8BAA8B;IAC9B,uGAAoF,CAAA;IACpF,2BAA2B;IAC3B,kGAA+E,CAAA;IAC/E,wCAAwC;IACxC,qGAAkF,CAAA;IAClF,2BAA2B;IAC3B,mGAAgF,CAAA;IAChF,wCAAwC;IACxC,qGAAkF,CAAA;IAClF,8BAA8B;IAC9B,uGAAoF,CAAA;IACpF,gCAAgC;IAChC,sFAAmE,CAAA;IACnE,gCAAgC;IAChC,sFAAmE,CAAA;I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soft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** The key vault error exception. */\nexport interface KeyVaultError {\n /**\n * The key vault server error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly error?: ErrorModel;\n}\n\n/** The key vault server error. */\nexport interface ErrorModel {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The key vault server error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly innerError?: ErrorModel;\n}\n\n/** Role definition create parameters. */\nexport interface RoleDefinitionCreateParameters {\n /** Role definition properties. */\n properties: RoleDefinitionProperties;\n}\n\n/** Role definition properties. */\nexport interface RoleDefinitionProperties {\n /** The role name. */\n roleName?: string;\n /** The role definition description. */\n description?: string;\n /** The role type. */\n roleType?: RoleType;\n /** Role definition permissions. */\n permissions?: Permission[];\n /** Role definition assignable scopes. */\n assignableScopes?: RoleScope[];\n}\n\n/** Role definition permissions. */\nexport interface Permission {\n /** Action permissions that are granted. */\n actions?: string[];\n /** Action permissions that are excluded but not denied. They may be granted by other role definitions assigned to a principal. */\n notActions?: string[];\n /** Data action permissions that are granted. */\n dataActions?: DataAction[];\n /** Data action permissions that are excluded but not denied. They may be granted by other role definitions assigned to a principal. */\n notDataActions?: DataAction[];\n}\n\n/** Role definition. */\nexport interface RoleDefinition {\n /**\n * The role definition ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The role definition name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The role definition type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: RoleDefinitionType;\n /** The role name. */\n roleName?: string;\n /** The role definition description. */\n description?: string;\n /** The role type. */\n roleType?: RoleType;\n /** Role definition permissions. */\n permissions?: Permission[];\n /** Role definition assignable scopes. */\n assignableScopes?: RoleScope[];\n}\n\n/** Role definition list operation result. */\nexport interface RoleDefinitionListResult {\n /** Role definition list. */\n value?: RoleDefinition[];\n /** The URL to use for getting the next set of results. */\n nextLink?: string;\n}\n\n/** Role assignment create parameters. */\nexport interface RoleAssignmentCreateParameters {\n /** Role assignment properties. */\n properties: RoleAssignmentProperties;\n}\n\n/** Role assignment properties. */\nexport interface RoleAssignmentProperties {\n /** The role definition ID used in the role assignment. */\n roleDefinitionId: string;\n /** 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. */\n principalId: string;\n}\n\n/** Role Assignments */\nexport interface RoleAssignment {\n /**\n * The role assignment ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The role assignment name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The role assignment type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /** Role assignment properties. */\n properties?: RoleAssignmentPropertiesWithScope;\n}\n\n/** Role assignment properties with scope. */\nexport interface RoleAssignmentPropertiesWithScope {\n /** The role scope. */\n scope?: RoleScope;\n /** The role definition ID. */\n roleDefinitionId?: string;\n /** The principal ID. */\n principalId?: string;\n}\n\n/** Role assignment list operation result. */\nexport interface RoleAssignmentListResult {\n /** Role assignment list. */\n value?: RoleAssignment[];\n /** The URL to use for getting the next set of results. */\n nextLink?: string;\n}\n\nexport interface SASTokenParameter {\n /** Azure Blob storage container Uri */\n storageResourceUri: string;\n /** The SAS token pointing to an Azure Blob storage container */\n token: string;\n}\n\n/** Full backup operation */\nexport interface FullBackupOperation {\n /** Status of the backup operation. */\n status?: string;\n /** The status details of backup operation. */\n statusDetails?: string;\n /** Error encountered, if any, during the full backup operation. */\n error?: ErrorModel;\n /** The start time of the backup operation in UTC */\n startTime?: Date;\n /** The end time of the backup operation in UTC */\n endTime?: Date;\n /** Identifier for the full backup operation. */\n jobId?: string;\n /** The Azure blob storage container Uri which contains the full backup */\n azureStorageBlobContainerUri?: string;\n}\n\nexport interface RestoreOperationParameters {\n sasTokenParameters: SASTokenParameter;\n /** The Folder name of the blob where the previous successful full backup was stored */\n folderToRestore: string;\n}\n\n/** Restore operation */\nexport interface RestoreOperation {\n /** Status of the restore operation. */\n status?: string;\n /** The status details of restore operation. */\n statusDetails?: string;\n /** Error encountered, if any, during the restore operation. */\n error?: ErrorModel;\n /** Identifier for the restore operation. */\n jobId?: string;\n /** The start time of the restore operation */\n startTime?: Date;\n /** The end time of the restore operation */\n endTime?: Date;\n}\n\nexport interface SelectiveKeyRestoreOperationParameters {\n sasTokenParameters: SASTokenParameter;\n /** The Folder name of the blob where the previous successful full backup was stored */\n folder: string;\n}\n\n/** Selective Key Restore operation */\nexport interface SelectiveKeyRestoreOperation {\n /** Status of the restore operation. */\n status?: string;\n /** The status details of restore operation. */\n statusDetails?: string;\n /** Error encountered, if any, during the selective key restore operation. */\n error?: ErrorModel;\n /** Identifier for the selective key restore operation. */\n jobId?: string;\n /** The start time of the restore operation */\n startTime?: Date;\n /** The end time of the restore operation */\n endTime?: Date;\n}\n\n/** The update settings request object. */\nexport interface UpdateSettingRequest {\n /** The value of the pool setting. */\n value: string;\n}\n\nexport interface Setting {\n /** The account setting to be updated */\n name: string;\n /** The value of the pool setting. */\n value: string;\n /** The type specifier of the value. */\n type?: SettingTypeEnum;\n}\n\n/** The settings list result. */\nexport interface SettingsListResult {\n /**\n * A response message containing a list of account settings with their associated value.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly settings?: Setting[];\n}\n\n/** Role Assignments filter */\nexport interface RoleAssignmentFilter {\n /** Returns role assignment of the specific principal. */\n principalId?: string;\n}\n\n/** Role Definitions filter */\nexport interface RoleDefinitionFilter {\n /** Returns role definition with the specific name. */\n roleName?: string;\n}\n\n/** Defines headers for KeyVaultClient_fullBackup operation. */\nexport interface KeyVaultClientFullBackupHeaders {\n /** The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation. */\n retryAfter?: number;\n /** The URI to poll for completion status. */\n azureAsyncOperation?: string;\n}\n\n/** Defines headers for KeyVaultClient_fullRestoreOperation operation. */\nexport interface KeyVaultClientFullRestoreOperationHeaders {\n /** The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation. */\n retryAfter?: number;\n /** The URI to poll for completion status. */\n azureAsyncOperation?: string;\n}\n\n/** Defines headers for KeyVaultClient_selectiveKeyRestoreOperation operation. */\nexport interface KeyVaultClientSelectiveKeyRestoreOperationHeaders {\n /** The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation. */\n retryAfter?: number;\n /** The URI to poll for completion status. */\n azureAsyncOperation?: string;\n}\n\n/** Known values of {@link ApiVersion74Preview1} that the service accepts. */\nexport enum KnownApiVersion74Preview1 {\n /** Api Version '7.4-preview.1' */\n Seven4Preview1 = \"7.4-preview.1\"\n}\n\n/**\n * Defines values for ApiVersion74Preview1. \\\n * {@link KnownApiVersion74Preview1} can be used interchangeably with ApiVersion74Preview1,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **7.4-preview.1**: Api Version '7.4-preview.1'\n */\nexport type ApiVersion74Preview1 = string;\n\n/** Known values of {@link RoleType} that the service accepts. */\nexport enum KnownRoleType {\n /** Built in role. */\n BuiltInRole = \"AKVBuiltInRole\",\n /** Custom role. */\n CustomRole = \"CustomRole\"\n}\n\n/**\n * Defines values for RoleType. \\\n * {@link KnownRoleType} can be used interchangeably with RoleType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **AKVBuiltInRole**: Built in role. \\\n * **CustomRole**: Custom role.\n */\nexport type RoleType = string;\n\n/** Known values of {@link DataAction} that the service accepts. */\nexport enum KnownDataAction {\n /** Read HSM key metadata. */\n ReadHsmKey = \"Microsoft.KeyVault/managedHsm/keys/read/action\",\n /** Update an HSM key. */\n WriteHsmKey = \"Microsoft.KeyVault/managedHsm/keys/write/action\",\n /** Read deleted HSM key. */\n ReadDeletedHsmKey = \"Microsoft.KeyVault/managedHsm/keys/deletedKeys/read/action\",\n /** Recover deleted HSM key. */\n RecoverDeletedHsmKey = \"Microsoft.KeyVault/managedHsm/keys/deletedKeys/recover/action\",\n /** Backup HSM keys. */\n BackupHsmKeys = \"Microsoft.KeyVault/managedHsm/keys/backup/action\",\n /** Restore HSM keys. */\n RestoreHsmKeys = \"Microsoft.KeyVault/managedHsm/keys/restore/action\",\n /** Delete role assignment. */\n DeleteRoleAssignment = \"Microsoft.KeyVault/managedHsm/roleAssignments/delete/action\",\n /** Get role assignment. */\n GetRoleAssignment = \"Microsoft.KeyVault/managedHsm/roleAssignments/read/action\",\n /** Create or update role assignment. */\n WriteRoleAssignment = \"Microsoft.KeyVault/managedHsm/roleAssignments/write/action\",\n /** Get role definition. */\n ReadRoleDefinition = \"Microsoft.KeyVault/managedHsm/roleDefinitions/read/action\",\n /** Create or update role definition. */\n WriteRoleDefinition = \"Microsoft.KeyVault/managedHsm/roleDefinitions/write/action\",\n /** Delete role definition. */\n DeleteRoleDefinition = \"Microsoft.KeyVault/managedHsm/roleDefinitions/delete/action\",\n /** Encrypt using an HSM key. */\n EncryptHsmKey = \"Microsoft.KeyVault/managedHsm/keys/encrypt/action\",\n /** Decrypt using an HSM key. */\n DecryptHsmKey = \"Microsoft.KeyVault/managedHsm/keys/decrypt/action\",\n /** Wrap using an HSM key. */\n WrapHsmKey = \"Microsoft.KeyVault/managedHsm/keys/wrap/action\",\n /** Unwrap using an HSM key. */\n UnwrapHsmKey = \"Microsoft.KeyVault/managedHsm/keys/unwrap/action\",\n /** Sign using an HSM key. */\n SignHsmKey = \"Microsoft.KeyVault/managedHsm/keys/sign/action\",\n /** Verify using an HSM key. */\n VerifyHsmKey = \"Microsoft.KeyVault/managedHsm/keys/verify/action\",\n /** Create an HSM key. */\n CreateHsmKey = \"Microsoft.KeyVault/managedHsm/keys/create\",\n /** Delete an HSM key. */\n DeleteHsmKey = \"Microsoft.KeyVault/managedHsm/keys/delete\",\n /** Export an HSM key. */\n ExportHsmKey = \"Microsoft.KeyVault/managedHsm/keys/export/action\",\n /** Release an HSM key using Secure Key Release. */\n ReleaseKey = \"Microsoft.KeyVault/managedHsm/keys/release/action\",\n /** Import an HSM key. */\n ImportHsmKey = \"Microsoft.KeyVault/managedHsm/keys/import/action\",\n /** Purge a deleted HSM key. */\n PurgeDeletedHsmKey = \"Microsoft.KeyVault/managedHsm/keys/deletedKeys/delete\",\n /** Download an HSM security domain. */\n DownloadHsmSecurityDomain = \"Microsoft.KeyVault/managedHsm/securitydomain/download/action\",\n /** Check status of HSM security domain download. */\n DownloadHsmSecurityDomainStatus = \"Microsoft.KeyVault/managedHsm/securitydomain/download/read\",\n /** Upload an HSM security domain. */\n UploadHsmSecurityDomain = \"Microsoft.KeyVault/managedHsm/securitydomain/upload/action\",\n /** Check the status of the HSM security domain exchange file. */\n ReadHsmSecurityDomainStatus = \"Microsoft.KeyVault/managedHsm/securitydomain/upload/read\",\n /** Download an HSM security domain transfer key. */\n ReadHsmSecurityDomainTransferKey = \"Microsoft.KeyVault/managedHsm/securitydomain/transferkey/read\",\n /** Start an HSM backup. */\n StartHsmBackup = \"Microsoft.KeyVault/managedHsm/backup/start/action\",\n /** Start an HSM restore. */\n StartHsmRestore = \"Microsoft.KeyVault/managedHsm/restore/start/action\",\n /** Read an HSM backup status. */\n ReadHsmBackupStatus = \"Microsoft.KeyVault/managedHsm/backup/status/action\",\n /** Read an HSM restore status. */\n ReadHsmRestoreStatus = \"Microsoft.KeyVault/managedHsm/restore/status/action\",\n /** Generate random numbers. */\n RandomNumbersGenerate = \"Microsoft.KeyVault/managedHsm/rng/action\"\n}\n\n/**\n * Defines values for DataAction. \\\n * {@link KnownDataAction} can be used interchangeably with DataAction,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/read\\/action**: Read HSM key metadata. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/write\\/action**: Update an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/deletedKeys\\/read\\/action**: Read deleted HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/deletedKeys\\/recover\\/action**: Recover deleted HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/backup\\/action**: Backup HSM keys. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/restore\\/action**: Restore HSM keys. \\\n * **Microsoft.KeyVault\\/managedHsm\\/roleAssignments\\/delete\\/action**: Delete role assignment. \\\n * **Microsoft.KeyVault\\/managedHsm\\/roleAssignments\\/read\\/action**: Get role assignment. \\\n * **Microsoft.KeyVault\\/managedHsm\\/roleAssignments\\/write\\/action**: Create or update role assignment. \\\n * **Microsoft.KeyVault\\/managedHsm\\/roleDefinitions\\/read\\/action**: Get role definition. \\\n * **Microsoft.KeyVault\\/managedHsm\\/roleDefinitions\\/write\\/action**: Create or update role definition. \\\n * **Microsoft.KeyVault\\/managedHsm\\/roleDefinitions\\/delete\\/action**: Delete role definition. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/encrypt\\/action**: Encrypt using an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/decrypt\\/action**: Decrypt using an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/wrap\\/action**: Wrap using an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/unwrap\\/action**: Unwrap using an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/sign\\/action**: Sign using an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/verify\\/action**: Verify using an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/create**: Create an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/delete**: Delete an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/export\\/action**: Export an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/release\\/action**: Release an HSM key using Secure Key Release. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/import\\/action**: Import an HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/keys\\/deletedKeys\\/delete**: Purge a deleted HSM key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/securitydomain\\/download\\/action**: Download an HSM security domain. \\\n * **Microsoft.KeyVault\\/managedHsm\\/securitydomain\\/download\\/read**: Check status of HSM security domain download. \\\n * **Microsoft.KeyVault\\/managedHsm\\/securitydomain\\/upload\\/action**: Upload an HSM security domain. \\\n * **Microsoft.KeyVault\\/managedHsm\\/securitydomain\\/upload\\/read**: Check the status of the HSM security domain exchange file. \\\n * **Microsoft.KeyVault\\/managedHsm\\/securitydomain\\/transferkey\\/read**: Download an HSM security domain transfer key. \\\n * **Microsoft.KeyVault\\/managedHsm\\/backup\\/start\\/action**: Start an HSM backup. \\\n * **Microsoft.KeyVault\\/managedHsm\\/restore\\/start\\/action**: Start an HSM restore. \\\n * **Microsoft.KeyVault\\/managedHsm\\/backup\\/status\\/action**: Read an HSM backup status. \\\n * **Microsoft.KeyVault\\/managedHsm\\/restore\\/status\\/action**: Read an HSM restore status. \\\n * **Microsoft.KeyVault\\/managedHsm\\/rng\\/action**: Generate random numbers.\n */\nexport type DataAction = string;\n\n/** Known values of {@link RoleScope} that the service accepts. */\nexport enum KnownRoleScope {\n /** Global scope */\n Global = \"/\",\n /** Keys scope */\n Keys = \"/keys\"\n}\n\n/**\n * Defines values for RoleScope. \\\n * {@link KnownRoleScope} can be used interchangeably with RoleScope,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **\\/**: Global scope \\\n * **\\/keys**: Keys scope\n */\nexport type RoleScope = string;\n\n/** Known values of {@link RoleDefinitionType} that the service accepts. */\nexport enum KnownRoleDefinitionType {\n MicrosoftAuthorizationRoleDefinitions = \"Microsoft.Authorization/roleDefinitions\"\n}\n\n/**\n * Defines values for RoleDefinitionType. \\\n * {@link KnownRoleDefinitionType} can be used interchangeably with RoleDefinitionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Microsoft.Authorization\\/roleDefinitions**\n */\nexport type RoleDefinitionType = string;\n\n/** Known values of {@link SettingTypeEnum} that the service accepts. */\nexport enum KnownSettingTypeEnum {\n Boolean = \"boolean\"\n}\n\n/**\n * Defines values for SettingTypeEnum. \\\n * {@link KnownSettingTypeEnum} can be used interchangeably with SettingTypeEnum,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **boolean**\n */\nexport type SettingTypeEnum = string;\n\n/** Optional parameters. */\nexport interface RoleDefinitionsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface RoleDefinitionsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type RoleDefinitionsCreateOrUpdateResponse = RoleDefinition;\n\n/** Optional parameters. */\nexport interface RoleDefinitionsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type RoleDefinitionsGetResponse = RoleDefinition;\n\n/** Optional parameters. */\nexport interface RoleDefinitionsListOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as well. */\n filter?: string;\n}\n\n/** Contains response data for the list operation. */\nexport type RoleDefinitionsListResponse = RoleDefinitionListResult;\n\n/** Optional parameters. */\nexport interface RoleDefinitionsListNextOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as well. */\n filter?: string;\n}\n\n/** Contains response data for the listNext operation. */\nexport type RoleDefinitionsListNextResponse = RoleDefinitionListResult;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface RoleAssignmentsCreateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the create operation. */\nexport type RoleAssignmentsCreateResponse = RoleAssignment;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type RoleAssignmentsGetResponse = RoleAssignment;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsListForScopeOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal. */\n filter?: string;\n}\n\n/** Contains response data for the listForScope operation. */\nexport type RoleAssignmentsListForScopeResponse = RoleAssignmentListResult;\n\n/** Optional parameters. */\nexport interface RoleAssignmentsListForScopeNextOptionalParams\n extends coreClient.OperationOptions {\n /** The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal. */\n filter?: string;\n}\n\n/** Contains response data for the listForScopeNext operation. */\nexport type RoleAssignmentsListForScopeNextResponse = RoleAssignmentListResult;\n\n/** Optional parameters. */\nexport interface FullBackupOptionalParams extends coreClient.OperationOptions {\n /** Azure blob shared access signature token pointing to a valid Azure blob container where full backup needs to be stored. This token needs to be valid for at least next 24 hours from the time of making this call */\n azureStorageBlobContainerUri?: SASTokenParameter;\n}\n\n/** Contains response data for the fullBackup operation. */\nexport type FullBackupResponse = KeyVaultClientFullBackupHeaders &\n FullBackupOperation;\n\n/** Optional parameters. */\nexport interface FullBackupStatusOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the fullBackupStatus operation. */\nexport type FullBackupStatusResponse = FullBackupOperation;\n\n/** Optional parameters. */\nexport interface FullRestoreOperationOptionalParams\n extends coreClient.OperationOptions {\n /** The Azure blob SAS token pointing to a folder where the previous successful full backup was stored */\n restoreBlobDetails?: RestoreOperationParameters;\n}\n\n/** Contains response data for the fullRestoreOperation operation. */\nexport type FullRestoreOperationResponse = KeyVaultClientFullRestoreOperationHeaders &\n RestoreOperation;\n\n/** Optional parameters. */\nexport interface RestoreStatusOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the restoreStatus operation. */\nexport type RestoreStatusResponse = RestoreOperation;\n\n/** Optional parameters. */\nexport interface SelectiveKeyRestoreOperationOptionalParams\n extends coreClient.OperationOptions {\n /** The Azure blob SAS token pointing to a folder where the previous successful full backup was stored */\n restoreBlobDetails?: SelectiveKeyRestoreOperationParameters;\n}\n\n/** Contains response data for the selectiveKeyRestoreOperation operation. */\nexport type SelectiveKeyRestoreOperationResponse = KeyVaultClientSelectiveKeyRestoreOperationHeaders &\n SelectiveKeyRestoreOperation;\n\n/** Optional parameters. */\nexport interface UpdateSettingOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the updateSetting operation. */\nexport type UpdateSettingResponse = Setting;\n\n/** Optional parameters. */\nexport interface GetSettingOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the getSetting operation. */\nexport type GetSettingResponse = Setting;\n\n/** Optional parameters. */\nexport interface GetSettingsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getSettings operation. */\nexport type GetSettingsResponse = SettingsListResult;\n\n/** Optional parameters. */\nexport interface KeyVaultClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
|
@@ -596,6 +596,70 @@ export const SelectiveKeyRestoreOperation = {
|
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
};
|
|
599
|
+
export const UpdateSettingRequest = {
|
|
600
|
+
type: {
|
|
601
|
+
name: "Composite",
|
|
602
|
+
className: "UpdateSettingRequest",
|
|
603
|
+
modelProperties: {
|
|
604
|
+
value: {
|
|
605
|
+
serializedName: "value",
|
|
606
|
+
required: true,
|
|
607
|
+
type: {
|
|
608
|
+
name: "String"
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
};
|
|
614
|
+
export const Setting = {
|
|
615
|
+
type: {
|
|
616
|
+
name: "Composite",
|
|
617
|
+
className: "Setting",
|
|
618
|
+
modelProperties: {
|
|
619
|
+
name: {
|
|
620
|
+
serializedName: "name",
|
|
621
|
+
required: true,
|
|
622
|
+
type: {
|
|
623
|
+
name: "String"
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
value: {
|
|
627
|
+
serializedName: "value",
|
|
628
|
+
required: true,
|
|
629
|
+
type: {
|
|
630
|
+
name: "String"
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
type: {
|
|
634
|
+
serializedName: "type",
|
|
635
|
+
type: {
|
|
636
|
+
name: "String"
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
};
|
|
642
|
+
export const SettingsListResult = {
|
|
643
|
+
type: {
|
|
644
|
+
name: "Composite",
|
|
645
|
+
className: "SettingsListResult",
|
|
646
|
+
modelProperties: {
|
|
647
|
+
settings: {
|
|
648
|
+
serializedName: "settings",
|
|
649
|
+
readOnly: true,
|
|
650
|
+
type: {
|
|
651
|
+
name: "Sequence",
|
|
652
|
+
element: {
|
|
653
|
+
type: {
|
|
654
|
+
name: "Composite",
|
|
655
|
+
className: "Setting"
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
};
|
|
599
663
|
export const RoleAssignmentFilter = {
|
|
600
664
|
type: {
|
|
601
665
|
name: "Composite",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../src/generated/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,aAAa,GAA+B;IACvD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,eAAe;QAC1B,eAAe,EAAE;YACf,KAAK,EAAE;gBAC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ACV,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,mBAAmB,EAAE;gBACnB,cAAc,EAAE,sBAAsB;gBACtC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iDAAiD,GAA+B;IAC3F,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,mDAAmD;QAC9D,eAAe,EAAE;YACf,UAAU,EAAE;gBACV,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,mBAAmB,EAAE;gBACnB,cAAc,EAAE,sBAAsB;gBACtC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const KeyVaultError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyVaultError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorModel\"\n }\n }\n }\n }\n};\n\nexport const ErrorModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorModel\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n innerError: {\n serializedName: \"innererror\",\n type: {\n name: \"Composite\",\n className: \"ErrorModel\"\n }\n }\n }\n }\n};\n\nexport const RoleDefinitionCreateParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleDefinitionCreateParameters\",\n modelProperties: {\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"RoleDefinitionProperties\"\n }\n }\n }\n }\n};\n\nexport const RoleDefinitionProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleDefinitionProperties\",\n modelProperties: {\n roleName: {\n serializedName: \"roleName\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n },\n roleType: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n },\n permissions: {\n serializedName: \"permissions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Permission\"\n }\n }\n }\n },\n assignableScopes: {\n serializedName: \"assignableScopes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Permission: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Permission\",\n modelProperties: {\n actions: {\n serializedName: \"actions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n notActions: {\n serializedName: \"notActions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n dataActions: {\n serializedName: \"dataActions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n notDataActions: {\n serializedName: \"notDataActions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const RoleDefinition: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleDefinition\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n roleName: {\n serializedName: \"properties.roleName\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"properties.description\",\n type: {\n name: \"String\"\n }\n },\n roleType: {\n serializedName: \"properties.type\",\n type: {\n name: \"String\"\n }\n },\n permissions: {\n serializedName: \"properties.permissions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Permission\"\n }\n }\n }\n },\n assignableScopes: {\n serializedName: \"properties.assignableScopes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const RoleDefinitionListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleDefinitionListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"RoleDefinition\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RoleAssignmentCreateParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentCreateParameters\",\n modelProperties: {\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentProperties\"\n }\n }\n }\n }\n};\n\nexport const RoleAssignmentProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentProperties\",\n modelProperties: {\n roleDefinitionId: {\n serializedName: \"roleDefinitionId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n principalId: {\n serializedName: \"principalId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RoleAssignment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignment\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentPropertiesWithScope\"\n }\n }\n }\n }\n};\n\nexport const RoleAssignmentPropertiesWithScope: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentPropertiesWithScope\",\n modelProperties: {\n scope: {\n serializedName: \"scope\",\n type: {\n name: \"String\"\n }\n },\n roleDefinitionId: {\n serializedName: \"roleDefinitionId\",\n type: {\n name: \"String\"\n }\n },\n principalId: {\n serializedName: \"principalId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RoleAssignmentListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"RoleAssignment\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SASTokenParameter: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SASTokenParameter\",\n modelProperties: {\n storageResourceUri: {\n serializedName: \"storageResourceUri\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n token: {\n serializedName: \"token\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const FullBackupOperation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FullBackupOperation\",\n modelProperties: {\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\"\n }\n },\n statusDetails: {\n serializedName: \"statusDetails\",\n type: {\n name: \"String\"\n }\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorModel\"\n }\n },\n startTime: {\n serializedName: \"startTime\",\n type: {\n name: \"UnixTime\"\n }\n },\n endTime: {\n serializedName: \"endTime\",\n nullable: true,\n type: {\n name: \"UnixTime\"\n }\n },\n jobId: {\n serializedName: \"jobId\",\n type: {\n name: \"String\"\n }\n },\n azureStorageBlobContainerUri: {\n serializedName: \"azureStorageBlobContainerUri\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RestoreOperationParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RestoreOperationParameters\",\n modelProperties: {\n sasTokenParameters: {\n serializedName: \"sasTokenParameters\",\n type: {\n name: \"Composite\",\n className: \"SASTokenParameter\"\n }\n },\n folderToRestore: {\n serializedName: \"folderToRestore\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RestoreOperation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RestoreOperation\",\n modelProperties: {\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\"\n }\n },\n statusDetails: {\n serializedName: \"statusDetails\",\n type: {\n name: \"String\"\n }\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorModel\"\n }\n },\n jobId: {\n serializedName: \"jobId\",\n type: {\n name: \"String\"\n }\n },\n startTime: {\n serializedName: \"startTime\",\n type: {\n name: \"UnixTime\"\n }\n },\n endTime: {\n serializedName: \"endTime\",\n nullable: true,\n type: {\n name: \"UnixTime\"\n }\n }\n }\n }\n};\n\nexport const SelectiveKeyRestoreOperationParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SelectiveKeyRestoreOperationParameters\",\n modelProperties: {\n sasTokenParameters: {\n serializedName: \"sasTokenParameters\",\n type: {\n name: \"Composite\",\n className: \"SASTokenParameter\"\n }\n },\n folder: {\n serializedName: \"folder\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SelectiveKeyRestoreOperation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SelectiveKeyRestoreOperation\",\n modelProperties: {\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\"\n }\n },\n statusDetails: {\n serializedName: \"statusDetails\",\n type: {\n name: \"String\"\n }\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorModel\"\n }\n },\n jobId: {\n serializedName: \"jobId\",\n type: {\n name: \"String\"\n }\n },\n startTime: {\n serializedName: \"startTime\",\n type: {\n name: \"UnixTime\"\n }\n },\n endTime: {\n serializedName: \"endTime\",\n nullable: true,\n type: {\n name: \"UnixTime\"\n }\n }\n }\n }\n};\n\nexport const RoleAssignmentFilter: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentFilter\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RoleDefinitionFilter: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleDefinitionFilter\",\n modelProperties: {\n roleName: {\n serializedName: \"roleName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const KeyVaultClientFullBackupHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyVaultClientFullBackupHeaders\",\n modelProperties: {\n retryAfter: {\n serializedName: \"retry-after\",\n type: {\n name: \"Number\"\n }\n },\n azureAsyncOperation: {\n serializedName: \"azure-asyncoperation\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const KeyVaultClientFullRestoreOperationHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyVaultClientFullRestoreOperationHeaders\",\n modelProperties: {\n retryAfter: {\n serializedName: \"retry-after\",\n type: {\n name: \"Number\"\n }\n },\n azureAsyncOperation: {\n serializedName: \"azure-asyncoperation\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const KeyVaultClientSelectiveKeyRestoreOperationHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyVaultClientSelectiveKeyRestoreOperationHeaders\",\n modelProperties: {\n retryAfter: {\n serializedName: \"retry-after\",\n type: {\n name: \"Number\"\n }\n },\n azureAsyncOperation: {\n serializedName: \"azure-asyncoperation\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../src/generated/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,aAAa,GAA+B;IACvD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,eAAe;QAC1B,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,YAAY;iBACxB;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA+B;IACpD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,YAAY;QACvB,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,YAAY;iBACxB;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAA+B;IACxE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,gCAAgC;QAC3C,eAAe,EAAE;YACf,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,0BAA0B;iBACtC;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,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,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,yCAAyC,GAA+B;IACnF,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,2CAA2C;QACtD,eAAe,EAAE;YACf,UAAU,EAAE;gBACV,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,mBAAmB,EAAE;gBACnB,cAAc,EAAE,sBAAsB;gBACtC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iDAAiD,GAA+B;IAC3F,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,mDAAmD;QAC9D,eAAe,EAAE;YACf,UAAU,EAAE;gBACV,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,mBAAmB,EAAE;gBACnB,cAAc,EAAE,sBAAsB;gBACtC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const KeyVaultError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyVaultError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorModel\"\n }\n }\n }\n }\n};\n\nexport const ErrorModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorModel\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n innerError: {\n serializedName: \"innererror\",\n type: {\n name: \"Composite\",\n className: \"ErrorModel\"\n }\n }\n }\n }\n};\n\nexport const RoleDefinitionCreateParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleDefinitionCreateParameters\",\n modelProperties: {\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"RoleDefinitionProperties\"\n }\n }\n }\n }\n};\n\nexport const RoleDefinitionProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleDefinitionProperties\",\n modelProperties: {\n roleName: {\n serializedName: \"roleName\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n },\n roleType: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n },\n permissions: {\n serializedName: \"permissions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Permission\"\n }\n }\n }\n },\n assignableScopes: {\n serializedName: \"assignableScopes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Permission: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Permission\",\n modelProperties: {\n actions: {\n serializedName: \"actions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n notActions: {\n serializedName: \"notActions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n dataActions: {\n serializedName: \"dataActions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n notDataActions: {\n serializedName: \"notDataActions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const RoleDefinition: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleDefinition\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n roleName: {\n serializedName: \"properties.roleName\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"properties.description\",\n type: {\n name: \"String\"\n }\n },\n roleType: {\n serializedName: \"properties.type\",\n type: {\n name: \"String\"\n }\n },\n permissions: {\n serializedName: \"properties.permissions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Permission\"\n }\n }\n }\n },\n assignableScopes: {\n serializedName: \"properties.assignableScopes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const RoleDefinitionListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleDefinitionListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"RoleDefinition\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RoleAssignmentCreateParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentCreateParameters\",\n modelProperties: {\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentProperties\"\n }\n }\n }\n }\n};\n\nexport const RoleAssignmentProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentProperties\",\n modelProperties: {\n roleDefinitionId: {\n serializedName: \"roleDefinitionId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n principalId: {\n serializedName: \"principalId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RoleAssignment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignment\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentPropertiesWithScope\"\n }\n }\n }\n }\n};\n\nexport const RoleAssignmentPropertiesWithScope: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentPropertiesWithScope\",\n modelProperties: {\n scope: {\n serializedName: \"scope\",\n type: {\n name: \"String\"\n }\n },\n roleDefinitionId: {\n serializedName: \"roleDefinitionId\",\n type: {\n name: \"String\"\n }\n },\n principalId: {\n serializedName: \"principalId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RoleAssignmentListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"RoleAssignment\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SASTokenParameter: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SASTokenParameter\",\n modelProperties: {\n storageResourceUri: {\n serializedName: \"storageResourceUri\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n token: {\n serializedName: \"token\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const FullBackupOperation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FullBackupOperation\",\n modelProperties: {\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\"\n }\n },\n statusDetails: {\n serializedName: \"statusDetails\",\n type: {\n name: \"String\"\n }\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorModel\"\n }\n },\n startTime: {\n serializedName: \"startTime\",\n type: {\n name: \"UnixTime\"\n }\n },\n endTime: {\n serializedName: \"endTime\",\n nullable: true,\n type: {\n name: \"UnixTime\"\n }\n },\n jobId: {\n serializedName: \"jobId\",\n type: {\n name: \"String\"\n }\n },\n azureStorageBlobContainerUri: {\n serializedName: \"azureStorageBlobContainerUri\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RestoreOperationParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RestoreOperationParameters\",\n modelProperties: {\n sasTokenParameters: {\n serializedName: \"sasTokenParameters\",\n type: {\n name: \"Composite\",\n className: \"SASTokenParameter\"\n }\n },\n folderToRestore: {\n serializedName: \"folderToRestore\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RestoreOperation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RestoreOperation\",\n modelProperties: {\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\"\n }\n },\n statusDetails: {\n serializedName: \"statusDetails\",\n type: {\n name: \"String\"\n }\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorModel\"\n }\n },\n jobId: {\n serializedName: \"jobId\",\n type: {\n name: \"String\"\n }\n },\n startTime: {\n serializedName: \"startTime\",\n type: {\n name: \"UnixTime\"\n }\n },\n endTime: {\n serializedName: \"endTime\",\n nullable: true,\n type: {\n name: \"UnixTime\"\n }\n }\n }\n }\n};\n\nexport const SelectiveKeyRestoreOperationParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SelectiveKeyRestoreOperationParameters\",\n modelProperties: {\n sasTokenParameters: {\n serializedName: \"sasTokenParameters\",\n type: {\n name: \"Composite\",\n className: \"SASTokenParameter\"\n }\n },\n folder: {\n serializedName: \"folder\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SelectiveKeyRestoreOperation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SelectiveKeyRestoreOperation\",\n modelProperties: {\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\"\n }\n },\n statusDetails: {\n serializedName: \"statusDetails\",\n type: {\n name: \"String\"\n }\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorModel\"\n }\n },\n jobId: {\n serializedName: \"jobId\",\n type: {\n name: \"String\"\n }\n },\n startTime: {\n serializedName: \"startTime\",\n type: {\n name: \"UnixTime\"\n }\n },\n endTime: {\n serializedName: \"endTime\",\n nullable: true,\n type: {\n name: \"UnixTime\"\n }\n }\n }\n }\n};\n\nexport const UpdateSettingRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UpdateSettingRequest\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Setting: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Setting\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SettingsListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SettingsListResult\",\n modelProperties: {\n settings: {\n serializedName: \"settings\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Setting\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const RoleAssignmentFilter: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleAssignmentFilter\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RoleDefinitionFilter: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RoleDefinitionFilter\",\n modelProperties: {\n roleName: {\n serializedName: \"roleName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const KeyVaultClientFullBackupHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyVaultClientFullBackupHeaders\",\n modelProperties: {\n retryAfter: {\n serializedName: \"retry-after\",\n type: {\n name: \"Number\"\n }\n },\n azureAsyncOperation: {\n serializedName: \"azure-asyncoperation\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const KeyVaultClientFullRestoreOperationHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyVaultClientFullRestoreOperationHeaders\",\n modelProperties: {\n retryAfter: {\n serializedName: \"retry-after\",\n type: {\n name: \"Number\"\n }\n },\n azureAsyncOperation: {\n serializedName: \"azure-asyncoperation\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const KeyVaultClientSelectiveKeyRestoreOperationHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyVaultClientSelectiveKeyRestoreOperationHeaders\",\n modelProperties: {\n retryAfter: {\n serializedName: \"retry-after\",\n type: {\n name: \"Number\"\n }\n },\n azureAsyncOperation: {\n serializedName: \"azure-asyncoperation\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
|