@azure/arm-keyvault 2.0.1-alpha.20220118.1 → 2.0.1-alpha.20220201.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 +198 -140
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -6,6 +6,26 @@ var coreClient = require('@azure/core-client');
|
|
|
6
6
|
var tslib = require('tslib');
|
|
7
7
|
var coreLro = require('@azure/core-lro');
|
|
8
8
|
|
|
9
|
+
function _interopNamespace(e) {
|
|
10
|
+
if (e && e.__esModule) return e;
|
|
11
|
+
var n = Object.create(null);
|
|
12
|
+
if (e) {
|
|
13
|
+
Object.keys(e).forEach(function (k) {
|
|
14
|
+
if (k !== 'default') {
|
|
15
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return e[k]; }
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n["default"] = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
28
|
+
|
|
9
29
|
/*
|
|
10
30
|
* Copyright (c) Microsoft Corporation.
|
|
11
31
|
* Licensed under the MIT License.
|
|
@@ -13,18 +33,24 @@ var coreLro = require('@azure/core-lro');
|
|
|
13
33
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
14
34
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
15
35
|
*/
|
|
36
|
+
/** Known values of {@link DeletionRecoveryLevel} that the service accepts. */
|
|
37
|
+
exports.KnownDeletionRecoveryLevel = void 0;
|
|
16
38
|
(function (KnownDeletionRecoveryLevel) {
|
|
17
39
|
KnownDeletionRecoveryLevel["Purgeable"] = "Purgeable";
|
|
18
40
|
KnownDeletionRecoveryLevel["RecoverablePurgeable"] = "Recoverable+Purgeable";
|
|
19
41
|
KnownDeletionRecoveryLevel["Recoverable"] = "Recoverable";
|
|
20
42
|
KnownDeletionRecoveryLevel["RecoverableProtectedSubscription"] = "Recoverable+ProtectedSubscription";
|
|
21
43
|
})(exports.KnownDeletionRecoveryLevel || (exports.KnownDeletionRecoveryLevel = {}));
|
|
44
|
+
/** Known values of {@link JsonWebKeyType} that the service accepts. */
|
|
45
|
+
exports.KnownJsonWebKeyType = void 0;
|
|
22
46
|
(function (KnownJsonWebKeyType) {
|
|
23
47
|
KnownJsonWebKeyType["EC"] = "EC";
|
|
24
48
|
KnownJsonWebKeyType["ECHSM"] = "EC-HSM";
|
|
25
49
|
KnownJsonWebKeyType["RSA"] = "RSA";
|
|
26
50
|
KnownJsonWebKeyType["RSAHSM"] = "RSA-HSM";
|
|
27
51
|
})(exports.KnownJsonWebKeyType || (exports.KnownJsonWebKeyType = {}));
|
|
52
|
+
/** Known values of {@link JsonWebKeyOperation} that the service accepts. */
|
|
53
|
+
exports.KnownJsonWebKeyOperation = void 0;
|
|
28
54
|
(function (KnownJsonWebKeyOperation) {
|
|
29
55
|
KnownJsonWebKeyOperation["Encrypt"] = "encrypt";
|
|
30
56
|
KnownJsonWebKeyOperation["Decrypt"] = "decrypt";
|
|
@@ -34,15 +60,21 @@ var coreLro = require('@azure/core-lro');
|
|
|
34
60
|
KnownJsonWebKeyOperation["UnwrapKey"] = "unwrapKey";
|
|
35
61
|
KnownJsonWebKeyOperation["Import"] = "import";
|
|
36
62
|
})(exports.KnownJsonWebKeyOperation || (exports.KnownJsonWebKeyOperation = {}));
|
|
63
|
+
/** Known values of {@link JsonWebKeyCurveName} that the service accepts. */
|
|
64
|
+
exports.KnownJsonWebKeyCurveName = void 0;
|
|
37
65
|
(function (KnownJsonWebKeyCurveName) {
|
|
38
66
|
KnownJsonWebKeyCurveName["P256"] = "P-256";
|
|
39
67
|
KnownJsonWebKeyCurveName["P384"] = "P-384";
|
|
40
68
|
KnownJsonWebKeyCurveName["P521"] = "P-521";
|
|
41
69
|
KnownJsonWebKeyCurveName["P256K"] = "P-256K";
|
|
42
70
|
})(exports.KnownJsonWebKeyCurveName || (exports.KnownJsonWebKeyCurveName = {}));
|
|
71
|
+
/** Known values of {@link SkuFamily} that the service accepts. */
|
|
72
|
+
exports.KnownSkuFamily = void 0;
|
|
43
73
|
(function (KnownSkuFamily) {
|
|
44
74
|
KnownSkuFamily["A"] = "A";
|
|
45
75
|
})(exports.KnownSkuFamily || (exports.KnownSkuFamily = {}));
|
|
76
|
+
/** Known values of {@link KeyPermissions} that the service accepts. */
|
|
77
|
+
exports.KnownKeyPermissions = void 0;
|
|
46
78
|
(function (KnownKeyPermissions) {
|
|
47
79
|
KnownKeyPermissions["All"] = "all";
|
|
48
80
|
KnownKeyPermissions["Encrypt"] = "encrypt";
|
|
@@ -62,6 +94,8 @@ var coreLro = require('@azure/core-lro');
|
|
|
62
94
|
KnownKeyPermissions["Recover"] = "recover";
|
|
63
95
|
KnownKeyPermissions["Purge"] = "purge";
|
|
64
96
|
})(exports.KnownKeyPermissions || (exports.KnownKeyPermissions = {}));
|
|
97
|
+
/** Known values of {@link SecretPermissions} that the service accepts. */
|
|
98
|
+
exports.KnownSecretPermissions = void 0;
|
|
65
99
|
(function (KnownSecretPermissions) {
|
|
66
100
|
KnownSecretPermissions["All"] = "all";
|
|
67
101
|
KnownSecretPermissions["Get"] = "get";
|
|
@@ -73,6 +107,8 @@ var coreLro = require('@azure/core-lro');
|
|
|
73
107
|
KnownSecretPermissions["Recover"] = "recover";
|
|
74
108
|
KnownSecretPermissions["Purge"] = "purge";
|
|
75
109
|
})(exports.KnownSecretPermissions || (exports.KnownSecretPermissions = {}));
|
|
110
|
+
/** Known values of {@link CertificatePermissions} that the service accepts. */
|
|
111
|
+
exports.KnownCertificatePermissions = void 0;
|
|
76
112
|
(function (KnownCertificatePermissions) {
|
|
77
113
|
KnownCertificatePermissions["All"] = "all";
|
|
78
114
|
KnownCertificatePermissions["Get"] = "get";
|
|
@@ -92,6 +128,8 @@ var coreLro = require('@azure/core-lro');
|
|
|
92
128
|
KnownCertificatePermissions["Backup"] = "backup";
|
|
93
129
|
KnownCertificatePermissions["Restore"] = "restore";
|
|
94
130
|
})(exports.KnownCertificatePermissions || (exports.KnownCertificatePermissions = {}));
|
|
131
|
+
/** Known values of {@link StoragePermissions} that the service accepts. */
|
|
132
|
+
exports.KnownStoragePermissions = void 0;
|
|
95
133
|
(function (KnownStoragePermissions) {
|
|
96
134
|
KnownStoragePermissions["All"] = "all";
|
|
97
135
|
KnownStoragePermissions["Get"] = "get";
|
|
@@ -109,27 +147,39 @@ var coreLro = require('@azure/core-lro');
|
|
|
109
147
|
KnownStoragePermissions["Getsas"] = "getsas";
|
|
110
148
|
KnownStoragePermissions["Deletesas"] = "deletesas";
|
|
111
149
|
})(exports.KnownStoragePermissions || (exports.KnownStoragePermissions = {}));
|
|
150
|
+
/** Known values of {@link NetworkRuleBypassOptions} that the service accepts. */
|
|
151
|
+
exports.KnownNetworkRuleBypassOptions = void 0;
|
|
112
152
|
(function (KnownNetworkRuleBypassOptions) {
|
|
113
153
|
KnownNetworkRuleBypassOptions["AzureServices"] = "AzureServices";
|
|
114
154
|
KnownNetworkRuleBypassOptions["None"] = "None";
|
|
115
155
|
})(exports.KnownNetworkRuleBypassOptions || (exports.KnownNetworkRuleBypassOptions = {}));
|
|
156
|
+
/** Known values of {@link NetworkRuleAction} that the service accepts. */
|
|
157
|
+
exports.KnownNetworkRuleAction = void 0;
|
|
116
158
|
(function (KnownNetworkRuleAction) {
|
|
117
159
|
KnownNetworkRuleAction["Allow"] = "Allow";
|
|
118
160
|
KnownNetworkRuleAction["Deny"] = "Deny";
|
|
119
161
|
})(exports.KnownNetworkRuleAction || (exports.KnownNetworkRuleAction = {}));
|
|
162
|
+
/** Known values of {@link VaultProvisioningState} that the service accepts. */
|
|
163
|
+
exports.KnownVaultProvisioningState = void 0;
|
|
120
164
|
(function (KnownVaultProvisioningState) {
|
|
121
165
|
KnownVaultProvisioningState["Succeeded"] = "Succeeded";
|
|
122
166
|
KnownVaultProvisioningState["RegisteringDns"] = "RegisteringDns";
|
|
123
167
|
})(exports.KnownVaultProvisioningState || (exports.KnownVaultProvisioningState = {}));
|
|
168
|
+
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
|
169
|
+
exports.KnownPrivateEndpointServiceConnectionStatus = void 0;
|
|
124
170
|
(function (KnownPrivateEndpointServiceConnectionStatus) {
|
|
125
171
|
KnownPrivateEndpointServiceConnectionStatus["Pending"] = "Pending";
|
|
126
172
|
KnownPrivateEndpointServiceConnectionStatus["Approved"] = "Approved";
|
|
127
173
|
KnownPrivateEndpointServiceConnectionStatus["Rejected"] = "Rejected";
|
|
128
174
|
KnownPrivateEndpointServiceConnectionStatus["Disconnected"] = "Disconnected";
|
|
129
175
|
})(exports.KnownPrivateEndpointServiceConnectionStatus || (exports.KnownPrivateEndpointServiceConnectionStatus = {}));
|
|
176
|
+
/** Known values of {@link ActionsRequired} that the service accepts. */
|
|
177
|
+
exports.KnownActionsRequired = void 0;
|
|
130
178
|
(function (KnownActionsRequired) {
|
|
131
179
|
KnownActionsRequired["None"] = "None";
|
|
132
180
|
})(exports.KnownActionsRequired || (exports.KnownActionsRequired = {}));
|
|
181
|
+
/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
|
|
182
|
+
exports.KnownPrivateEndpointConnectionProvisioningState = void 0;
|
|
133
183
|
(function (KnownPrivateEndpointConnectionProvisioningState) {
|
|
134
184
|
KnownPrivateEndpointConnectionProvisioningState["Succeeded"] = "Succeeded";
|
|
135
185
|
KnownPrivateEndpointConnectionProvisioningState["Creating"] = "Creating";
|
|
@@ -138,12 +188,16 @@ var coreLro = require('@azure/core-lro');
|
|
|
138
188
|
KnownPrivateEndpointConnectionProvisioningState["Failed"] = "Failed";
|
|
139
189
|
KnownPrivateEndpointConnectionProvisioningState["Disconnected"] = "Disconnected";
|
|
140
190
|
})(exports.KnownPrivateEndpointConnectionProvisioningState || (exports.KnownPrivateEndpointConnectionProvisioningState = {}));
|
|
191
|
+
/** Known values of {@link IdentityType} that the service accepts. */
|
|
192
|
+
exports.KnownIdentityType = void 0;
|
|
141
193
|
(function (KnownIdentityType) {
|
|
142
194
|
KnownIdentityType["User"] = "User";
|
|
143
195
|
KnownIdentityType["Application"] = "Application";
|
|
144
196
|
KnownIdentityType["ManagedIdentity"] = "ManagedIdentity";
|
|
145
197
|
KnownIdentityType["Key"] = "Key";
|
|
146
198
|
})(exports.KnownIdentityType || (exports.KnownIdentityType = {}));
|
|
199
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
200
|
+
exports.KnownProvisioningState = void 0;
|
|
147
201
|
(function (KnownProvisioningState) {
|
|
148
202
|
/** The managed HSM Pool has been full provisioned. */
|
|
149
203
|
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
@@ -162,10 +216,14 @@ var coreLro = require('@azure/core-lro');
|
|
|
162
216
|
/** The managed HSM pool is being restored from full HSM backup. */
|
|
163
217
|
KnownProvisioningState["Restoring"] = "Restoring";
|
|
164
218
|
})(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
|
|
219
|
+
/** Known values of {@link PublicNetworkAccess} that the service accepts. */
|
|
220
|
+
exports.KnownPublicNetworkAccess = void 0;
|
|
165
221
|
(function (KnownPublicNetworkAccess) {
|
|
166
222
|
KnownPublicNetworkAccess["Enabled"] = "Enabled";
|
|
167
223
|
KnownPublicNetworkAccess["Disabled"] = "Disabled";
|
|
168
224
|
})(exports.KnownPublicNetworkAccess || (exports.KnownPublicNetworkAccess = {}));
|
|
225
|
+
/** Known values of {@link ManagedHsmSkuFamily} that the service accepts. */
|
|
226
|
+
exports.KnownManagedHsmSkuFamily = void 0;
|
|
169
227
|
(function (KnownManagedHsmSkuFamily) {
|
|
170
228
|
KnownManagedHsmSkuFamily["B"] = "B";
|
|
171
229
|
})(exports.KnownManagedHsmSkuFamily || (exports.KnownManagedHsmSkuFamily = {}));
|
|
@@ -3175,7 +3233,7 @@ class KeysImpl {
|
|
|
3175
3233
|
* @param options The options parameters.
|
|
3176
3234
|
*/
|
|
3177
3235
|
get(resourceGroupName, vaultName, keyName, options) {
|
|
3178
|
-
return this.client.sendOperationRequest({ resourceGroupName, vaultName, keyName, options }, getOperationSpec);
|
|
3236
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, keyName, options }, getOperationSpec$5);
|
|
3179
3237
|
}
|
|
3180
3238
|
/**
|
|
3181
3239
|
* Lists the keys in the specified key vault.
|
|
@@ -3184,7 +3242,7 @@ class KeysImpl {
|
|
|
3184
3242
|
* @param options The options parameters.
|
|
3185
3243
|
*/
|
|
3186
3244
|
_list(resourceGroupName, vaultName, options) {
|
|
3187
|
-
return this.client.sendOperationRequest({ resourceGroupName, vaultName, options }, listOperationSpec);
|
|
3245
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, options }, listOperationSpec$3);
|
|
3188
3246
|
}
|
|
3189
3247
|
/**
|
|
3190
3248
|
* Gets the specified version of the specified key in the specified key vault.
|
|
@@ -3215,7 +3273,7 @@ class KeysImpl {
|
|
|
3215
3273
|
* @param options The options parameters.
|
|
3216
3274
|
*/
|
|
3217
3275
|
_listNext(resourceGroupName, vaultName, nextLink, options) {
|
|
3218
|
-
return this.client.sendOperationRequest({ resourceGroupName, vaultName, nextLink, options }, listNextOperationSpec);
|
|
3276
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, nextLink, options }, listNextOperationSpec$3);
|
|
3219
3277
|
}
|
|
3220
3278
|
/**
|
|
3221
3279
|
* ListVersionsNext
|
|
@@ -3230,7 +3288,7 @@ class KeysImpl {
|
|
|
3230
3288
|
}
|
|
3231
3289
|
}
|
|
3232
3290
|
// Operation Specifications
|
|
3233
|
-
const serializer =
|
|
3291
|
+
const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3234
3292
|
const createIfNotExistOperationSpec = {
|
|
3235
3293
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys/{keyName}",
|
|
3236
3294
|
httpMethod: "PUT",
|
|
@@ -3253,9 +3311,9 @@ const createIfNotExistOperationSpec = {
|
|
|
3253
3311
|
],
|
|
3254
3312
|
headerParameters: [contentType, accept],
|
|
3255
3313
|
mediaType: "json",
|
|
3256
|
-
serializer
|
|
3314
|
+
serializer: serializer$8
|
|
3257
3315
|
};
|
|
3258
|
-
const getOperationSpec = {
|
|
3316
|
+
const getOperationSpec$5 = {
|
|
3259
3317
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys/{keyName}",
|
|
3260
3318
|
httpMethod: "GET",
|
|
3261
3319
|
responses: {
|
|
@@ -3275,9 +3333,9 @@ const getOperationSpec = {
|
|
|
3275
3333
|
keyName
|
|
3276
3334
|
],
|
|
3277
3335
|
headerParameters: [accept],
|
|
3278
|
-
serializer
|
|
3336
|
+
serializer: serializer$8
|
|
3279
3337
|
};
|
|
3280
|
-
const listOperationSpec = {
|
|
3338
|
+
const listOperationSpec$3 = {
|
|
3281
3339
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys",
|
|
3282
3340
|
httpMethod: "GET",
|
|
3283
3341
|
responses: {
|
|
@@ -3296,7 +3354,7 @@ const listOperationSpec = {
|
|
|
3296
3354
|
vaultName
|
|
3297
3355
|
],
|
|
3298
3356
|
headerParameters: [accept],
|
|
3299
|
-
serializer
|
|
3357
|
+
serializer: serializer$8
|
|
3300
3358
|
};
|
|
3301
3359
|
const getVersionOperationSpec = {
|
|
3302
3360
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys/{keyName}/versions/{keyVersion}",
|
|
@@ -3319,7 +3377,7 @@ const getVersionOperationSpec = {
|
|
|
3319
3377
|
keyVersion
|
|
3320
3378
|
],
|
|
3321
3379
|
headerParameters: [accept],
|
|
3322
|
-
serializer
|
|
3380
|
+
serializer: serializer$8
|
|
3323
3381
|
};
|
|
3324
3382
|
const listVersionsOperationSpec = {
|
|
3325
3383
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/keys/{keyName}/versions",
|
|
@@ -3341,9 +3399,9 @@ const listVersionsOperationSpec = {
|
|
|
3341
3399
|
keyName
|
|
3342
3400
|
],
|
|
3343
3401
|
headerParameters: [accept],
|
|
3344
|
-
serializer
|
|
3402
|
+
serializer: serializer$8
|
|
3345
3403
|
};
|
|
3346
|
-
const listNextOperationSpec = {
|
|
3404
|
+
const listNextOperationSpec$3 = {
|
|
3347
3405
|
path: "{nextLink}",
|
|
3348
3406
|
httpMethod: "GET",
|
|
3349
3407
|
responses: {
|
|
@@ -3363,7 +3421,7 @@ const listNextOperationSpec = {
|
|
|
3363
3421
|
nextLink
|
|
3364
3422
|
],
|
|
3365
3423
|
headerParameters: [accept],
|
|
3366
|
-
serializer
|
|
3424
|
+
serializer: serializer$8
|
|
3367
3425
|
};
|
|
3368
3426
|
const listVersionsNextOperationSpec = {
|
|
3369
3427
|
path: "{nextLink}",
|
|
@@ -3386,7 +3444,7 @@ const listVersionsNextOperationSpec = {
|
|
|
3386
3444
|
nextLink
|
|
3387
3445
|
],
|
|
3388
3446
|
headerParameters: [accept],
|
|
3389
|
-
serializer
|
|
3447
|
+
serializer: serializer$8
|
|
3390
3448
|
};
|
|
3391
3449
|
|
|
3392
3450
|
/*
|
|
@@ -3659,7 +3717,7 @@ class VaultsImpl {
|
|
|
3659
3717
|
}
|
|
3660
3718
|
};
|
|
3661
3719
|
});
|
|
3662
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, vaultName, parameters, options }, createOrUpdateOperationSpec);
|
|
3720
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, vaultName, parameters, options }, createOrUpdateOperationSpec$2);
|
|
3663
3721
|
return new coreLro.LroEngine(lro, {
|
|
3664
3722
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3665
3723
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -3687,7 +3745,7 @@ class VaultsImpl {
|
|
|
3687
3745
|
* @param options The options parameters.
|
|
3688
3746
|
*/
|
|
3689
3747
|
update(resourceGroupName, vaultName, parameters, options) {
|
|
3690
|
-
return this.client.sendOperationRequest({ resourceGroupName, vaultName, parameters, options }, updateOperationSpec);
|
|
3748
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, parameters, options }, updateOperationSpec$2);
|
|
3691
3749
|
}
|
|
3692
3750
|
/**
|
|
3693
3751
|
* Deletes the specified Azure key vault.
|
|
@@ -3696,7 +3754,7 @@ class VaultsImpl {
|
|
|
3696
3754
|
* @param options The options parameters.
|
|
3697
3755
|
*/
|
|
3698
3756
|
delete(resourceGroupName, vaultName, options) {
|
|
3699
|
-
return this.client.sendOperationRequest({ resourceGroupName, vaultName, options }, deleteOperationSpec);
|
|
3757
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, options }, deleteOperationSpec$3);
|
|
3700
3758
|
}
|
|
3701
3759
|
/**
|
|
3702
3760
|
* Gets the specified Azure key vault.
|
|
@@ -3705,7 +3763,7 @@ class VaultsImpl {
|
|
|
3705
3763
|
* @param options The options parameters.
|
|
3706
3764
|
*/
|
|
3707
3765
|
get(resourceGroupName, vaultName, options) {
|
|
3708
|
-
return this.client.sendOperationRequest({ resourceGroupName, vaultName, options }, getOperationSpec$
|
|
3766
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, options }, getOperationSpec$4);
|
|
3709
3767
|
}
|
|
3710
3768
|
/**
|
|
3711
3769
|
* Update access policies in a key vault in the specified subscription.
|
|
@@ -3725,21 +3783,21 @@ class VaultsImpl {
|
|
|
3725
3783
|
* @param options The options parameters.
|
|
3726
3784
|
*/
|
|
3727
3785
|
_listByResourceGroup(resourceGroupName, options) {
|
|
3728
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
3786
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$1);
|
|
3729
3787
|
}
|
|
3730
3788
|
/**
|
|
3731
3789
|
* The List operation gets information about the vaults associated with the subscription.
|
|
3732
3790
|
* @param options The options parameters.
|
|
3733
3791
|
*/
|
|
3734
3792
|
_listBySubscription(options) {
|
|
3735
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
3793
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec$1);
|
|
3736
3794
|
}
|
|
3737
3795
|
/**
|
|
3738
3796
|
* Gets information about the deleted vaults in a subscription.
|
|
3739
3797
|
* @param options The options parameters.
|
|
3740
3798
|
*/
|
|
3741
3799
|
_listDeleted(options) {
|
|
3742
|
-
return this.client.sendOperationRequest({ options }, listDeletedOperationSpec);
|
|
3800
|
+
return this.client.sendOperationRequest({ options }, listDeletedOperationSpec$1);
|
|
3743
3801
|
}
|
|
3744
3802
|
/**
|
|
3745
3803
|
* Gets the deleted Azure key vault.
|
|
@@ -3748,7 +3806,7 @@ class VaultsImpl {
|
|
|
3748
3806
|
* @param options The options parameters.
|
|
3749
3807
|
*/
|
|
3750
3808
|
getDeleted(vaultName, location, options) {
|
|
3751
|
-
return this.client.sendOperationRequest({ vaultName, location, options }, getDeletedOperationSpec);
|
|
3809
|
+
return this.client.sendOperationRequest({ vaultName, location, options }, getDeletedOperationSpec$1);
|
|
3752
3810
|
}
|
|
3753
3811
|
/**
|
|
3754
3812
|
* Permanently deletes the specified vault. aka Purges the deleted Azure key vault.
|
|
@@ -3780,7 +3838,7 @@ class VaultsImpl {
|
|
|
3780
3838
|
}
|
|
3781
3839
|
};
|
|
3782
3840
|
});
|
|
3783
|
-
const lro = new LroImpl(sendOperation, { vaultName, location, options }, purgeDeletedOperationSpec);
|
|
3841
|
+
const lro = new LroImpl(sendOperation, { vaultName, location, options }, purgeDeletedOperationSpec$1);
|
|
3784
3842
|
return new coreLro.LroEngine(lro, {
|
|
3785
3843
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3786
3844
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -3804,7 +3862,7 @@ class VaultsImpl {
|
|
|
3804
3862
|
* @param options The options parameters.
|
|
3805
3863
|
*/
|
|
3806
3864
|
_list(options) {
|
|
3807
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$
|
|
3865
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$2);
|
|
3808
3866
|
}
|
|
3809
3867
|
/**
|
|
3810
3868
|
* Checks that the vault name is valid and is not already in use.
|
|
@@ -3821,7 +3879,7 @@ class VaultsImpl {
|
|
|
3821
3879
|
* @param options The options parameters.
|
|
3822
3880
|
*/
|
|
3823
3881
|
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
3824
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
3882
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec$1);
|
|
3825
3883
|
}
|
|
3826
3884
|
/**
|
|
3827
3885
|
* ListBySubscriptionNext
|
|
@@ -3829,7 +3887,7 @@ class VaultsImpl {
|
|
|
3829
3887
|
* @param options The options parameters.
|
|
3830
3888
|
*/
|
|
3831
3889
|
_listBySubscriptionNext(nextLink, options) {
|
|
3832
|
-
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
3890
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec$1);
|
|
3833
3891
|
}
|
|
3834
3892
|
/**
|
|
3835
3893
|
* ListDeletedNext
|
|
@@ -3837,7 +3895,7 @@ class VaultsImpl {
|
|
|
3837
3895
|
* @param options The options parameters.
|
|
3838
3896
|
*/
|
|
3839
3897
|
_listDeletedNext(nextLink, options) {
|
|
3840
|
-
return this.client.sendOperationRequest({ nextLink, options }, listDeletedNextOperationSpec);
|
|
3898
|
+
return this.client.sendOperationRequest({ nextLink, options }, listDeletedNextOperationSpec$1);
|
|
3841
3899
|
}
|
|
3842
3900
|
/**
|
|
3843
3901
|
* ListNext
|
|
@@ -3845,12 +3903,12 @@ class VaultsImpl {
|
|
|
3845
3903
|
* @param options The options parameters.
|
|
3846
3904
|
*/
|
|
3847
3905
|
_listNext(nextLink, options) {
|
|
3848
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$
|
|
3906
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$2);
|
|
3849
3907
|
}
|
|
3850
3908
|
}
|
|
3851
3909
|
// Operation Specifications
|
|
3852
|
-
const serializer$
|
|
3853
|
-
const createOrUpdateOperationSpec = {
|
|
3910
|
+
const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3911
|
+
const createOrUpdateOperationSpec$2 = {
|
|
3854
3912
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
|
|
3855
3913
|
httpMethod: "PUT",
|
|
3856
3914
|
responses: {
|
|
@@ -3880,9 +3938,9 @@ const createOrUpdateOperationSpec = {
|
|
|
3880
3938
|
],
|
|
3881
3939
|
headerParameters: [contentType, accept],
|
|
3882
3940
|
mediaType: "json",
|
|
3883
|
-
serializer: serializer$
|
|
3941
|
+
serializer: serializer$7
|
|
3884
3942
|
};
|
|
3885
|
-
const updateOperationSpec = {
|
|
3943
|
+
const updateOperationSpec$2 = {
|
|
3886
3944
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
|
|
3887
3945
|
httpMethod: "PATCH",
|
|
3888
3946
|
responses: {
|
|
@@ -3906,9 +3964,9 @@ const updateOperationSpec = {
|
|
|
3906
3964
|
],
|
|
3907
3965
|
headerParameters: [contentType, accept],
|
|
3908
3966
|
mediaType: "json",
|
|
3909
|
-
serializer: serializer$
|
|
3967
|
+
serializer: serializer$7
|
|
3910
3968
|
};
|
|
3911
|
-
const deleteOperationSpec = {
|
|
3969
|
+
const deleteOperationSpec$3 = {
|
|
3912
3970
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
|
|
3913
3971
|
httpMethod: "DELETE",
|
|
3914
3972
|
responses: {
|
|
@@ -3926,9 +3984,9 @@ const deleteOperationSpec = {
|
|
|
3926
3984
|
vaultName1
|
|
3927
3985
|
],
|
|
3928
3986
|
headerParameters: [accept],
|
|
3929
|
-
serializer: serializer$
|
|
3987
|
+
serializer: serializer$7
|
|
3930
3988
|
};
|
|
3931
|
-
const getOperationSpec$
|
|
3989
|
+
const getOperationSpec$4 = {
|
|
3932
3990
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}",
|
|
3933
3991
|
httpMethod: "GET",
|
|
3934
3992
|
responses: {
|
|
@@ -3947,7 +4005,7 @@ const getOperationSpec$1 = {
|
|
|
3947
4005
|
vaultName1
|
|
3948
4006
|
],
|
|
3949
4007
|
headerParameters: [accept],
|
|
3950
|
-
serializer: serializer$
|
|
4008
|
+
serializer: serializer$7
|
|
3951
4009
|
};
|
|
3952
4010
|
const updateAccessPolicyOperationSpec = {
|
|
3953
4011
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/accessPolicies/{operationKind}",
|
|
@@ -3974,9 +4032,9 @@ const updateAccessPolicyOperationSpec = {
|
|
|
3974
4032
|
],
|
|
3975
4033
|
headerParameters: [contentType, accept],
|
|
3976
4034
|
mediaType: "json",
|
|
3977
|
-
serializer: serializer$
|
|
4035
|
+
serializer: serializer$7
|
|
3978
4036
|
};
|
|
3979
|
-
const listByResourceGroupOperationSpec = {
|
|
4037
|
+
const listByResourceGroupOperationSpec$1 = {
|
|
3980
4038
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults",
|
|
3981
4039
|
httpMethod: "GET",
|
|
3982
4040
|
responses: {
|
|
@@ -3994,9 +4052,9 @@ const listByResourceGroupOperationSpec = {
|
|
|
3994
4052
|
resourceGroupName
|
|
3995
4053
|
],
|
|
3996
4054
|
headerParameters: [accept],
|
|
3997
|
-
serializer: serializer$
|
|
4055
|
+
serializer: serializer$7
|
|
3998
4056
|
};
|
|
3999
|
-
const listBySubscriptionOperationSpec = {
|
|
4057
|
+
const listBySubscriptionOperationSpec$1 = {
|
|
4000
4058
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/vaults",
|
|
4001
4059
|
httpMethod: "GET",
|
|
4002
4060
|
responses: {
|
|
@@ -4010,9 +4068,9 @@ const listBySubscriptionOperationSpec = {
|
|
|
4010
4068
|
queryParameters: [apiVersion, top],
|
|
4011
4069
|
urlParameters: [$host, subscriptionId],
|
|
4012
4070
|
headerParameters: [accept],
|
|
4013
|
-
serializer: serializer$
|
|
4071
|
+
serializer: serializer$7
|
|
4014
4072
|
};
|
|
4015
|
-
const listDeletedOperationSpec = {
|
|
4073
|
+
const listDeletedOperationSpec$1 = {
|
|
4016
4074
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/deletedVaults",
|
|
4017
4075
|
httpMethod: "GET",
|
|
4018
4076
|
responses: {
|
|
@@ -4026,9 +4084,9 @@ const listDeletedOperationSpec = {
|
|
|
4026
4084
|
queryParameters: [apiVersion],
|
|
4027
4085
|
urlParameters: [$host, subscriptionId],
|
|
4028
4086
|
headerParameters: [accept],
|
|
4029
|
-
serializer: serializer$
|
|
4087
|
+
serializer: serializer$7
|
|
4030
4088
|
};
|
|
4031
|
-
const getDeletedOperationSpec = {
|
|
4089
|
+
const getDeletedOperationSpec$1 = {
|
|
4032
4090
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}",
|
|
4033
4091
|
httpMethod: "GET",
|
|
4034
4092
|
responses: {
|
|
@@ -4047,9 +4105,9 @@ const getDeletedOperationSpec = {
|
|
|
4047
4105
|
location
|
|
4048
4106
|
],
|
|
4049
4107
|
headerParameters: [accept],
|
|
4050
|
-
serializer: serializer$
|
|
4108
|
+
serializer: serializer$7
|
|
4051
4109
|
};
|
|
4052
|
-
const purgeDeletedOperationSpec = {
|
|
4110
|
+
const purgeDeletedOperationSpec$1 = {
|
|
4053
4111
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}/purge",
|
|
4054
4112
|
httpMethod: "POST",
|
|
4055
4113
|
responses: {
|
|
@@ -4069,9 +4127,9 @@ const purgeDeletedOperationSpec = {
|
|
|
4069
4127
|
location
|
|
4070
4128
|
],
|
|
4071
4129
|
headerParameters: [accept],
|
|
4072
|
-
serializer: serializer$
|
|
4130
|
+
serializer: serializer$7
|
|
4073
4131
|
};
|
|
4074
|
-
const listOperationSpec$
|
|
4132
|
+
const listOperationSpec$2 = {
|
|
4075
4133
|
path: "/subscriptions/{subscriptionId}/resources",
|
|
4076
4134
|
httpMethod: "GET",
|
|
4077
4135
|
responses: {
|
|
@@ -4085,7 +4143,7 @@ const listOperationSpec$1 = {
|
|
|
4085
4143
|
queryParameters: [top, filter, apiVersion1],
|
|
4086
4144
|
urlParameters: [$host, subscriptionId],
|
|
4087
4145
|
headerParameters: [accept],
|
|
4088
|
-
serializer: serializer$
|
|
4146
|
+
serializer: serializer$7
|
|
4089
4147
|
};
|
|
4090
4148
|
const checkNameAvailabilityOperationSpec = {
|
|
4091
4149
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/checkNameAvailability",
|
|
@@ -4103,9 +4161,9 @@ const checkNameAvailabilityOperationSpec = {
|
|
|
4103
4161
|
urlParameters: [$host, subscriptionId],
|
|
4104
4162
|
headerParameters: [contentType, accept],
|
|
4105
4163
|
mediaType: "json",
|
|
4106
|
-
serializer: serializer$
|
|
4164
|
+
serializer: serializer$7
|
|
4107
4165
|
};
|
|
4108
|
-
const listByResourceGroupNextOperationSpec = {
|
|
4166
|
+
const listByResourceGroupNextOperationSpec$1 = {
|
|
4109
4167
|
path: "{nextLink}",
|
|
4110
4168
|
httpMethod: "GET",
|
|
4111
4169
|
responses: {
|
|
@@ -4124,9 +4182,9 @@ const listByResourceGroupNextOperationSpec = {
|
|
|
4124
4182
|
nextLink
|
|
4125
4183
|
],
|
|
4126
4184
|
headerParameters: [accept],
|
|
4127
|
-
serializer: serializer$
|
|
4185
|
+
serializer: serializer$7
|
|
4128
4186
|
};
|
|
4129
|
-
const listBySubscriptionNextOperationSpec = {
|
|
4187
|
+
const listBySubscriptionNextOperationSpec$1 = {
|
|
4130
4188
|
path: "{nextLink}",
|
|
4131
4189
|
httpMethod: "GET",
|
|
4132
4190
|
responses: {
|
|
@@ -4144,9 +4202,9 @@ const listBySubscriptionNextOperationSpec = {
|
|
|
4144
4202
|
nextLink
|
|
4145
4203
|
],
|
|
4146
4204
|
headerParameters: [accept],
|
|
4147
|
-
serializer: serializer$
|
|
4205
|
+
serializer: serializer$7
|
|
4148
4206
|
};
|
|
4149
|
-
const listDeletedNextOperationSpec = {
|
|
4207
|
+
const listDeletedNextOperationSpec$1 = {
|
|
4150
4208
|
path: "{nextLink}",
|
|
4151
4209
|
httpMethod: "GET",
|
|
4152
4210
|
responses: {
|
|
@@ -4164,9 +4222,9 @@ const listDeletedNextOperationSpec = {
|
|
|
4164
4222
|
nextLink
|
|
4165
4223
|
],
|
|
4166
4224
|
headerParameters: [accept],
|
|
4167
|
-
serializer: serializer$
|
|
4225
|
+
serializer: serializer$7
|
|
4168
4226
|
};
|
|
4169
|
-
const listNextOperationSpec$
|
|
4227
|
+
const listNextOperationSpec$2 = {
|
|
4170
4228
|
path: "{nextLink}",
|
|
4171
4229
|
httpMethod: "GET",
|
|
4172
4230
|
responses: {
|
|
@@ -4184,7 +4242,7 @@ const listNextOperationSpec$1 = {
|
|
|
4184
4242
|
nextLink
|
|
4185
4243
|
],
|
|
4186
4244
|
headerParameters: [accept],
|
|
4187
|
-
serializer: serializer$
|
|
4245
|
+
serializer: serializer$7
|
|
4188
4246
|
};
|
|
4189
4247
|
|
|
4190
4248
|
/*
|
|
@@ -4264,7 +4322,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
4264
4322
|
* @param options The options parameters.
|
|
4265
4323
|
*/
|
|
4266
4324
|
get(resourceGroupName, vaultName, privateEndpointConnectionName, options) {
|
|
4267
|
-
return this.client.sendOperationRequest({ resourceGroupName, vaultName, privateEndpointConnectionName, options }, getOperationSpec$
|
|
4325
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, privateEndpointConnectionName, options }, getOperationSpec$3);
|
|
4268
4326
|
}
|
|
4269
4327
|
/**
|
|
4270
4328
|
* Updates the specified private endpoint connection associated with the key vault.
|
|
@@ -4282,7 +4340,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
4282
4340
|
privateEndpointConnectionName,
|
|
4283
4341
|
properties,
|
|
4284
4342
|
options
|
|
4285
|
-
}, putOperationSpec);
|
|
4343
|
+
}, putOperationSpec$1);
|
|
4286
4344
|
}
|
|
4287
4345
|
/**
|
|
4288
4346
|
* Deletes the specified private endpoint connection associated with the key vault.
|
|
@@ -4316,7 +4374,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
4316
4374
|
}
|
|
4317
4375
|
};
|
|
4318
4376
|
});
|
|
4319
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, vaultName, privateEndpointConnectionName, options }, deleteOperationSpec$
|
|
4377
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, vaultName, privateEndpointConnectionName, options }, deleteOperationSpec$2);
|
|
4320
4378
|
return new coreLro.LroEngine(lro, {
|
|
4321
4379
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4322
4380
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -4345,7 +4403,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
4345
4403
|
* @param options The options parameters.
|
|
4346
4404
|
*/
|
|
4347
4405
|
_listByResource(resourceGroupName, vaultName, options) {
|
|
4348
|
-
return this.client.sendOperationRequest({ resourceGroupName, vaultName, options }, listByResourceOperationSpec);
|
|
4406
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, options }, listByResourceOperationSpec$1);
|
|
4349
4407
|
}
|
|
4350
4408
|
/**
|
|
4351
4409
|
* ListByResourceNext
|
|
@@ -4355,12 +4413,12 @@ class PrivateEndpointConnectionsImpl {
|
|
|
4355
4413
|
* @param options The options parameters.
|
|
4356
4414
|
*/
|
|
4357
4415
|
_listByResourceNext(resourceGroupName, vaultName, nextLink, options) {
|
|
4358
|
-
return this.client.sendOperationRequest({ resourceGroupName, vaultName, nextLink, options }, listByResourceNextOperationSpec);
|
|
4416
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, nextLink, options }, listByResourceNextOperationSpec$1);
|
|
4359
4417
|
}
|
|
4360
4418
|
}
|
|
4361
4419
|
// Operation Specifications
|
|
4362
|
-
const serializer$
|
|
4363
|
-
const getOperationSpec$
|
|
4420
|
+
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4421
|
+
const getOperationSpec$3 = {
|
|
4364
4422
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
4365
4423
|
httpMethod: "GET",
|
|
4366
4424
|
responses: {
|
|
@@ -4381,9 +4439,9 @@ const getOperationSpec$2 = {
|
|
|
4381
4439
|
privateEndpointConnectionName
|
|
4382
4440
|
],
|
|
4383
4441
|
headerParameters: [accept],
|
|
4384
|
-
serializer: serializer$
|
|
4442
|
+
serializer: serializer$6
|
|
4385
4443
|
};
|
|
4386
|
-
const putOperationSpec = {
|
|
4444
|
+
const putOperationSpec$1 = {
|
|
4387
4445
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
4388
4446
|
httpMethod: "PUT",
|
|
4389
4447
|
responses: {
|
|
@@ -4406,9 +4464,9 @@ const putOperationSpec = {
|
|
|
4406
4464
|
],
|
|
4407
4465
|
headerParameters: [contentType, accept],
|
|
4408
4466
|
mediaType: "json",
|
|
4409
|
-
serializer: serializer$
|
|
4467
|
+
serializer: serializer$6
|
|
4410
4468
|
};
|
|
4411
|
-
const deleteOperationSpec$
|
|
4469
|
+
const deleteOperationSpec$2 = {
|
|
4412
4470
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
4413
4471
|
httpMethod: "DELETE",
|
|
4414
4472
|
responses: {
|
|
@@ -4437,9 +4495,9 @@ const deleteOperationSpec$1 = {
|
|
|
4437
4495
|
privateEndpointConnectionName
|
|
4438
4496
|
],
|
|
4439
4497
|
headerParameters: [accept],
|
|
4440
|
-
serializer: serializer$
|
|
4498
|
+
serializer: serializer$6
|
|
4441
4499
|
};
|
|
4442
|
-
const listByResourceOperationSpec = {
|
|
4500
|
+
const listByResourceOperationSpec$1 = {
|
|
4443
4501
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateEndpointConnections",
|
|
4444
4502
|
httpMethod: "GET",
|
|
4445
4503
|
responses: {
|
|
@@ -4458,9 +4516,9 @@ const listByResourceOperationSpec = {
|
|
|
4458
4516
|
vaultName
|
|
4459
4517
|
],
|
|
4460
4518
|
headerParameters: [accept],
|
|
4461
|
-
serializer: serializer$
|
|
4519
|
+
serializer: serializer$6
|
|
4462
4520
|
};
|
|
4463
|
-
const listByResourceNextOperationSpec = {
|
|
4521
|
+
const listByResourceNextOperationSpec$1 = {
|
|
4464
4522
|
path: "{nextLink}",
|
|
4465
4523
|
httpMethod: "GET",
|
|
4466
4524
|
responses: {
|
|
@@ -4480,7 +4538,7 @@ const listByResourceNextOperationSpec = {
|
|
|
4480
4538
|
nextLink
|
|
4481
4539
|
],
|
|
4482
4540
|
headerParameters: [accept],
|
|
4483
|
-
serializer: serializer$
|
|
4541
|
+
serializer: serializer$6
|
|
4484
4542
|
};
|
|
4485
4543
|
|
|
4486
4544
|
/*
|
|
@@ -4510,7 +4568,7 @@ class PrivateLinkResourcesImpl {
|
|
|
4510
4568
|
}
|
|
4511
4569
|
}
|
|
4512
4570
|
// Operation Specifications
|
|
4513
|
-
const serializer$
|
|
4571
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4514
4572
|
const listByVaultOperationSpec = {
|
|
4515
4573
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateLinkResources",
|
|
4516
4574
|
httpMethod: "GET",
|
|
@@ -4530,7 +4588,7 @@ const listByVaultOperationSpec = {
|
|
|
4530
4588
|
vaultName
|
|
4531
4589
|
],
|
|
4532
4590
|
headerParameters: [accept],
|
|
4533
|
-
serializer: serializer$
|
|
4591
|
+
serializer: serializer$5
|
|
4534
4592
|
};
|
|
4535
4593
|
|
|
4536
4594
|
/*
|
|
@@ -4828,7 +4886,7 @@ class ManagedHsmsImpl {
|
|
|
4828
4886
|
}
|
|
4829
4887
|
};
|
|
4830
4888
|
});
|
|
4831
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, name, options }, deleteOperationSpec$
|
|
4889
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, name, options }, deleteOperationSpec$1);
|
|
4832
4890
|
return new coreLro.LroEngine(lro, {
|
|
4833
4891
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4834
4892
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -4854,7 +4912,7 @@ class ManagedHsmsImpl {
|
|
|
4854
4912
|
* @param options The options parameters.
|
|
4855
4913
|
*/
|
|
4856
4914
|
get(resourceGroupName, name, options) {
|
|
4857
|
-
return this.client.sendOperationRequest({ resourceGroupName, name, options }, getOperationSpec$
|
|
4915
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, options }, getOperationSpec$2);
|
|
4858
4916
|
}
|
|
4859
4917
|
/**
|
|
4860
4918
|
* The List operation gets information about the managed HSM Pools associated with the subscription and
|
|
@@ -4863,21 +4921,21 @@ class ManagedHsmsImpl {
|
|
|
4863
4921
|
* @param options The options parameters.
|
|
4864
4922
|
*/
|
|
4865
4923
|
_listByResourceGroup(resourceGroupName, options) {
|
|
4866
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec
|
|
4924
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
4867
4925
|
}
|
|
4868
4926
|
/**
|
|
4869
4927
|
* The List operation gets information about the managed HSM Pools associated with the subscription.
|
|
4870
4928
|
* @param options The options parameters.
|
|
4871
4929
|
*/
|
|
4872
4930
|
_listBySubscription(options) {
|
|
4873
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec
|
|
4931
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
4874
4932
|
}
|
|
4875
4933
|
/**
|
|
4876
4934
|
* The List operation gets information about the deleted managed HSMs associated with the subscription.
|
|
4877
4935
|
* @param options The options parameters.
|
|
4878
4936
|
*/
|
|
4879
4937
|
_listDeleted(options) {
|
|
4880
|
-
return this.client.sendOperationRequest({ options }, listDeletedOperationSpec
|
|
4938
|
+
return this.client.sendOperationRequest({ options }, listDeletedOperationSpec);
|
|
4881
4939
|
}
|
|
4882
4940
|
/**
|
|
4883
4941
|
* Gets the specified deleted managed HSM.
|
|
@@ -4886,7 +4944,7 @@ class ManagedHsmsImpl {
|
|
|
4886
4944
|
* @param options The options parameters.
|
|
4887
4945
|
*/
|
|
4888
4946
|
getDeleted(name, location, options) {
|
|
4889
|
-
return this.client.sendOperationRequest({ name, location, options }, getDeletedOperationSpec
|
|
4947
|
+
return this.client.sendOperationRequest({ name, location, options }, getDeletedOperationSpec);
|
|
4890
4948
|
}
|
|
4891
4949
|
/**
|
|
4892
4950
|
* Permanently deletes the specified managed HSM.
|
|
@@ -4918,7 +4976,7 @@ class ManagedHsmsImpl {
|
|
|
4918
4976
|
}
|
|
4919
4977
|
};
|
|
4920
4978
|
});
|
|
4921
|
-
const lro = new LroImpl(sendOperation, { name, location, options }, purgeDeletedOperationSpec
|
|
4979
|
+
const lro = new LroImpl(sendOperation, { name, location, options }, purgeDeletedOperationSpec);
|
|
4922
4980
|
return new coreLro.LroEngine(lro, {
|
|
4923
4981
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4924
4982
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -4944,7 +5002,7 @@ class ManagedHsmsImpl {
|
|
|
4944
5002
|
* @param options The options parameters.
|
|
4945
5003
|
*/
|
|
4946
5004
|
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
4947
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec
|
|
5005
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
4948
5006
|
}
|
|
4949
5007
|
/**
|
|
4950
5008
|
* ListBySubscriptionNext
|
|
@@ -4952,7 +5010,7 @@ class ManagedHsmsImpl {
|
|
|
4952
5010
|
* @param options The options parameters.
|
|
4953
5011
|
*/
|
|
4954
5012
|
_listBySubscriptionNext(nextLink, options) {
|
|
4955
|
-
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec
|
|
5013
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
4956
5014
|
}
|
|
4957
5015
|
/**
|
|
4958
5016
|
* ListDeletedNext
|
|
@@ -4960,11 +5018,11 @@ class ManagedHsmsImpl {
|
|
|
4960
5018
|
* @param options The options parameters.
|
|
4961
5019
|
*/
|
|
4962
5020
|
_listDeletedNext(nextLink, options) {
|
|
4963
|
-
return this.client.sendOperationRequest({ nextLink, options }, listDeletedNextOperationSpec
|
|
5021
|
+
return this.client.sendOperationRequest({ nextLink, options }, listDeletedNextOperationSpec);
|
|
4964
5022
|
}
|
|
4965
5023
|
}
|
|
4966
5024
|
// Operation Specifications
|
|
4967
|
-
const serializer$4 =
|
|
5025
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4968
5026
|
const createOrUpdateOperationSpec$1 = {
|
|
4969
5027
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}",
|
|
4970
5028
|
httpMethod: "PUT",
|
|
@@ -5029,7 +5087,7 @@ const updateOperationSpec$1 = {
|
|
|
5029
5087
|
mediaType: "json",
|
|
5030
5088
|
serializer: serializer$4
|
|
5031
5089
|
};
|
|
5032
|
-
const deleteOperationSpec$
|
|
5090
|
+
const deleteOperationSpec$1 = {
|
|
5033
5091
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}",
|
|
5034
5092
|
httpMethod: "DELETE",
|
|
5035
5093
|
responses: {
|
|
@@ -5051,7 +5109,7 @@ const deleteOperationSpec$2 = {
|
|
|
5051
5109
|
headerParameters: [accept],
|
|
5052
5110
|
serializer: serializer$4
|
|
5053
5111
|
};
|
|
5054
|
-
const getOperationSpec$
|
|
5112
|
+
const getOperationSpec$2 = {
|
|
5055
5113
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}",
|
|
5056
5114
|
httpMethod: "GET",
|
|
5057
5115
|
responses: {
|
|
@@ -5074,7 +5132,7 @@ const getOperationSpec$3 = {
|
|
|
5074
5132
|
headerParameters: [accept],
|
|
5075
5133
|
serializer: serializer$4
|
|
5076
5134
|
};
|
|
5077
|
-
const listByResourceGroupOperationSpec
|
|
5135
|
+
const listByResourceGroupOperationSpec = {
|
|
5078
5136
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs",
|
|
5079
5137
|
httpMethod: "GET",
|
|
5080
5138
|
responses: {
|
|
@@ -5094,7 +5152,7 @@ const listByResourceGroupOperationSpec$1 = {
|
|
|
5094
5152
|
headerParameters: [accept],
|
|
5095
5153
|
serializer: serializer$4
|
|
5096
5154
|
};
|
|
5097
|
-
const listBySubscriptionOperationSpec
|
|
5155
|
+
const listBySubscriptionOperationSpec = {
|
|
5098
5156
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/managedHSMs",
|
|
5099
5157
|
httpMethod: "GET",
|
|
5100
5158
|
responses: {
|
|
@@ -5110,7 +5168,7 @@ const listBySubscriptionOperationSpec$1 = {
|
|
|
5110
5168
|
headerParameters: [accept],
|
|
5111
5169
|
serializer: serializer$4
|
|
5112
5170
|
};
|
|
5113
|
-
const listDeletedOperationSpec
|
|
5171
|
+
const listDeletedOperationSpec = {
|
|
5114
5172
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/deletedManagedHSMs",
|
|
5115
5173
|
httpMethod: "GET",
|
|
5116
5174
|
responses: {
|
|
@@ -5126,7 +5184,7 @@ const listDeletedOperationSpec$1 = {
|
|
|
5126
5184
|
headerParameters: [accept],
|
|
5127
5185
|
serializer: serializer$4
|
|
5128
5186
|
};
|
|
5129
|
-
const getDeletedOperationSpec
|
|
5187
|
+
const getDeletedOperationSpec = {
|
|
5130
5188
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}",
|
|
5131
5189
|
httpMethod: "GET",
|
|
5132
5190
|
responses: {
|
|
@@ -5147,7 +5205,7 @@ const getDeletedOperationSpec$1 = {
|
|
|
5147
5205
|
headerParameters: [accept],
|
|
5148
5206
|
serializer: serializer$4
|
|
5149
5207
|
};
|
|
5150
|
-
const purgeDeletedOperationSpec
|
|
5208
|
+
const purgeDeletedOperationSpec = {
|
|
5151
5209
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}/purge",
|
|
5152
5210
|
httpMethod: "POST",
|
|
5153
5211
|
responses: {
|
|
@@ -5169,7 +5227,7 @@ const purgeDeletedOperationSpec$1 = {
|
|
|
5169
5227
|
headerParameters: [accept],
|
|
5170
5228
|
serializer: serializer$4
|
|
5171
5229
|
};
|
|
5172
|
-
const listByResourceGroupNextOperationSpec
|
|
5230
|
+
const listByResourceGroupNextOperationSpec = {
|
|
5173
5231
|
path: "{nextLink}",
|
|
5174
5232
|
httpMethod: "GET",
|
|
5175
5233
|
responses: {
|
|
@@ -5190,7 +5248,7 @@ const listByResourceGroupNextOperationSpec$1 = {
|
|
|
5190
5248
|
headerParameters: [accept],
|
|
5191
5249
|
serializer: serializer$4
|
|
5192
5250
|
};
|
|
5193
|
-
const listBySubscriptionNextOperationSpec
|
|
5251
|
+
const listBySubscriptionNextOperationSpec = {
|
|
5194
5252
|
path: "{nextLink}",
|
|
5195
5253
|
httpMethod: "GET",
|
|
5196
5254
|
responses: {
|
|
@@ -5210,7 +5268,7 @@ const listBySubscriptionNextOperationSpec$1 = {
|
|
|
5210
5268
|
headerParameters: [accept],
|
|
5211
5269
|
serializer: serializer$4
|
|
5212
5270
|
};
|
|
5213
|
-
const listDeletedNextOperationSpec
|
|
5271
|
+
const listDeletedNextOperationSpec = {
|
|
5214
5272
|
path: "{nextLink}",
|
|
5215
5273
|
httpMethod: "GET",
|
|
5216
5274
|
responses: {
|
|
@@ -5307,7 +5365,7 @@ class MhsmPrivateEndpointConnectionsImpl {
|
|
|
5307
5365
|
* @param options The options parameters.
|
|
5308
5366
|
*/
|
|
5309
5367
|
_listByResource(resourceGroupName, name, options) {
|
|
5310
|
-
return this.client.sendOperationRequest({ resourceGroupName, name, options }, listByResourceOperationSpec
|
|
5368
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, options }, listByResourceOperationSpec);
|
|
5311
5369
|
}
|
|
5312
5370
|
/**
|
|
5313
5371
|
* Gets the specified private endpoint connection associated with the managed HSM Pool.
|
|
@@ -5318,7 +5376,7 @@ class MhsmPrivateEndpointConnectionsImpl {
|
|
|
5318
5376
|
* @param options The options parameters.
|
|
5319
5377
|
*/
|
|
5320
5378
|
get(resourceGroupName, name, privateEndpointConnectionName, options) {
|
|
5321
|
-
return this.client.sendOperationRequest({ resourceGroupName, name, privateEndpointConnectionName, options }, getOperationSpec$
|
|
5379
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, privateEndpointConnectionName, options }, getOperationSpec$1);
|
|
5322
5380
|
}
|
|
5323
5381
|
/**
|
|
5324
5382
|
* Updates the specified private endpoint connection associated with the managed hsm pool.
|
|
@@ -5336,7 +5394,7 @@ class MhsmPrivateEndpointConnectionsImpl {
|
|
|
5336
5394
|
privateEndpointConnectionName,
|
|
5337
5395
|
properties,
|
|
5338
5396
|
options
|
|
5339
|
-
}, putOperationSpec
|
|
5397
|
+
}, putOperationSpec);
|
|
5340
5398
|
}
|
|
5341
5399
|
/**
|
|
5342
5400
|
* Deletes the specified private endpoint connection associated with the managed hsm pool.
|
|
@@ -5370,7 +5428,7 @@ class MhsmPrivateEndpointConnectionsImpl {
|
|
|
5370
5428
|
}
|
|
5371
5429
|
};
|
|
5372
5430
|
});
|
|
5373
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, name, privateEndpointConnectionName, options }, deleteOperationSpec
|
|
5431
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, name, privateEndpointConnectionName, options }, deleteOperationSpec);
|
|
5374
5432
|
return new coreLro.LroEngine(lro, {
|
|
5375
5433
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5376
5434
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -5399,12 +5457,12 @@ class MhsmPrivateEndpointConnectionsImpl {
|
|
|
5399
5457
|
* @param options The options parameters.
|
|
5400
5458
|
*/
|
|
5401
5459
|
_listByResourceNext(resourceGroupName, name, nextLink, options) {
|
|
5402
|
-
return this.client.sendOperationRequest({ resourceGroupName, name, nextLink, options }, listByResourceNextOperationSpec
|
|
5460
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, nextLink, options }, listByResourceNextOperationSpec);
|
|
5403
5461
|
}
|
|
5404
5462
|
}
|
|
5405
5463
|
// Operation Specifications
|
|
5406
|
-
const serializer$
|
|
5407
|
-
const listByResourceOperationSpec
|
|
5464
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5465
|
+
const listByResourceOperationSpec = {
|
|
5408
5466
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateEndpointConnections",
|
|
5409
5467
|
httpMethod: "GET",
|
|
5410
5468
|
responses: {
|
|
@@ -5423,9 +5481,9 @@ const listByResourceOperationSpec$1 = {
|
|
|
5423
5481
|
name
|
|
5424
5482
|
],
|
|
5425
5483
|
headerParameters: [accept],
|
|
5426
|
-
serializer: serializer$
|
|
5484
|
+
serializer: serializer$3
|
|
5427
5485
|
};
|
|
5428
|
-
const getOperationSpec$
|
|
5486
|
+
const getOperationSpec$1 = {
|
|
5429
5487
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
5430
5488
|
httpMethod: "GET",
|
|
5431
5489
|
responses: {
|
|
@@ -5445,9 +5503,9 @@ const getOperationSpec$4 = {
|
|
|
5445
5503
|
name
|
|
5446
5504
|
],
|
|
5447
5505
|
headerParameters: [accept],
|
|
5448
|
-
serializer: serializer$
|
|
5506
|
+
serializer: serializer$3
|
|
5449
5507
|
};
|
|
5450
|
-
const putOperationSpec
|
|
5508
|
+
const putOperationSpec = {
|
|
5451
5509
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
5452
5510
|
httpMethod: "PUT",
|
|
5453
5511
|
responses: {
|
|
@@ -5470,9 +5528,9 @@ const putOperationSpec$1 = {
|
|
|
5470
5528
|
],
|
|
5471
5529
|
headerParameters: [contentType, accept],
|
|
5472
5530
|
mediaType: "json",
|
|
5473
|
-
serializer: serializer$
|
|
5531
|
+
serializer: serializer$3
|
|
5474
5532
|
};
|
|
5475
|
-
const deleteOperationSpec
|
|
5533
|
+
const deleteOperationSpec = {
|
|
5476
5534
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
5477
5535
|
httpMethod: "DELETE",
|
|
5478
5536
|
responses: {
|
|
@@ -5501,9 +5559,9 @@ const deleteOperationSpec$3 = {
|
|
|
5501
5559
|
name
|
|
5502
5560
|
],
|
|
5503
5561
|
headerParameters: [accept],
|
|
5504
|
-
serializer: serializer$
|
|
5562
|
+
serializer: serializer$3
|
|
5505
5563
|
};
|
|
5506
|
-
const listByResourceNextOperationSpec
|
|
5564
|
+
const listByResourceNextOperationSpec = {
|
|
5507
5565
|
path: "{nextLink}",
|
|
5508
5566
|
httpMethod: "GET",
|
|
5509
5567
|
responses: {
|
|
@@ -5523,7 +5581,7 @@ const listByResourceNextOperationSpec$1 = {
|
|
|
5523
5581
|
name
|
|
5524
5582
|
],
|
|
5525
5583
|
headerParameters: [accept],
|
|
5526
|
-
serializer: serializer$
|
|
5584
|
+
serializer: serializer$3
|
|
5527
5585
|
};
|
|
5528
5586
|
|
|
5529
5587
|
/*
|
|
@@ -5553,7 +5611,7 @@ class MhsmPrivateLinkResourcesImpl {
|
|
|
5553
5611
|
}
|
|
5554
5612
|
}
|
|
5555
5613
|
// Operation Specifications
|
|
5556
|
-
const serializer$
|
|
5614
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5557
5615
|
const listByMhsmResourceOperationSpec = {
|
|
5558
5616
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateLinkResources",
|
|
5559
5617
|
httpMethod: "GET",
|
|
@@ -5573,7 +5631,7 @@ const listByMhsmResourceOperationSpec = {
|
|
|
5573
5631
|
name
|
|
5574
5632
|
],
|
|
5575
5633
|
headerParameters: [accept],
|
|
5576
|
-
serializer: serializer$
|
|
5634
|
+
serializer: serializer$2
|
|
5577
5635
|
};
|
|
5578
5636
|
|
|
5579
5637
|
/*
|
|
@@ -5646,7 +5704,7 @@ class OperationsImpl {
|
|
|
5646
5704
|
* @param options The options parameters.
|
|
5647
5705
|
*/
|
|
5648
5706
|
_list(options) {
|
|
5649
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$
|
|
5707
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$1);
|
|
5650
5708
|
}
|
|
5651
5709
|
/**
|
|
5652
5710
|
* ListNext
|
|
@@ -5654,12 +5712,12 @@ class OperationsImpl {
|
|
|
5654
5712
|
* @param options The options parameters.
|
|
5655
5713
|
*/
|
|
5656
5714
|
_listNext(nextLink, options) {
|
|
5657
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$
|
|
5715
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$1);
|
|
5658
5716
|
}
|
|
5659
5717
|
}
|
|
5660
5718
|
// Operation Specifications
|
|
5661
|
-
const serializer$
|
|
5662
|
-
const listOperationSpec$
|
|
5719
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5720
|
+
const listOperationSpec$1 = {
|
|
5663
5721
|
path: "/providers/Microsoft.KeyVault/operations",
|
|
5664
5722
|
httpMethod: "GET",
|
|
5665
5723
|
responses: {
|
|
@@ -5673,9 +5731,9 @@ const listOperationSpec$2 = {
|
|
|
5673
5731
|
queryParameters: [apiVersion],
|
|
5674
5732
|
urlParameters: [$host],
|
|
5675
5733
|
headerParameters: [accept],
|
|
5676
|
-
serializer: serializer$
|
|
5734
|
+
serializer: serializer$1
|
|
5677
5735
|
};
|
|
5678
|
-
const listNextOperationSpec$
|
|
5736
|
+
const listNextOperationSpec$1 = {
|
|
5679
5737
|
path: "{nextLink}",
|
|
5680
5738
|
httpMethod: "GET",
|
|
5681
5739
|
responses: {
|
|
@@ -5689,7 +5747,7 @@ const listNextOperationSpec$2 = {
|
|
|
5689
5747
|
queryParameters: [apiVersion],
|
|
5690
5748
|
urlParameters: [$host, nextLink],
|
|
5691
5749
|
headerParameters: [accept],
|
|
5692
|
-
serializer: serializer$
|
|
5750
|
+
serializer: serializer$1
|
|
5693
5751
|
};
|
|
5694
5752
|
|
|
5695
5753
|
/*
|
|
@@ -5772,7 +5830,7 @@ class SecretsImpl {
|
|
|
5772
5830
|
* @param options The options parameters.
|
|
5773
5831
|
*/
|
|
5774
5832
|
createOrUpdate(resourceGroupName, vaultName, secretName, parameters, options) {
|
|
5775
|
-
return this.client.sendOperationRequest({ resourceGroupName, vaultName, secretName, parameters, options }, createOrUpdateOperationSpec
|
|
5833
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, secretName, parameters, options }, createOrUpdateOperationSpec);
|
|
5776
5834
|
}
|
|
5777
5835
|
/**
|
|
5778
5836
|
* Update a secret in the specified subscription. NOTE: This API is intended for internal use in ARM
|
|
@@ -5784,7 +5842,7 @@ class SecretsImpl {
|
|
|
5784
5842
|
* @param options The options parameters.
|
|
5785
5843
|
*/
|
|
5786
5844
|
update(resourceGroupName, vaultName, secretName, parameters, options) {
|
|
5787
|
-
return this.client.sendOperationRequest({ resourceGroupName, vaultName, secretName, parameters, options }, updateOperationSpec
|
|
5845
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, secretName, parameters, options }, updateOperationSpec);
|
|
5788
5846
|
}
|
|
5789
5847
|
/**
|
|
5790
5848
|
* Gets the specified secret. NOTE: This API is intended for internal use in ARM deployments. Users
|
|
@@ -5795,7 +5853,7 @@ class SecretsImpl {
|
|
|
5795
5853
|
* @param options The options parameters.
|
|
5796
5854
|
*/
|
|
5797
5855
|
get(resourceGroupName, vaultName, secretName, options) {
|
|
5798
|
-
return this.client.sendOperationRequest({ resourceGroupName, vaultName, secretName, options }, getOperationSpec
|
|
5856
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, secretName, options }, getOperationSpec);
|
|
5799
5857
|
}
|
|
5800
5858
|
/**
|
|
5801
5859
|
* The List operation gets information about the secrets in a vault. NOTE: This API is intended for
|
|
@@ -5806,7 +5864,7 @@ class SecretsImpl {
|
|
|
5806
5864
|
* @param options The options parameters.
|
|
5807
5865
|
*/
|
|
5808
5866
|
_list(resourceGroupName, vaultName, options) {
|
|
5809
|
-
return this.client.sendOperationRequest({ resourceGroupName, vaultName, options }, listOperationSpec
|
|
5867
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, options }, listOperationSpec);
|
|
5810
5868
|
}
|
|
5811
5869
|
/**
|
|
5812
5870
|
* ListNext
|
|
@@ -5816,12 +5874,12 @@ class SecretsImpl {
|
|
|
5816
5874
|
* @param options The options parameters.
|
|
5817
5875
|
*/
|
|
5818
5876
|
_listNext(resourceGroupName, vaultName, nextLink, options) {
|
|
5819
|
-
return this.client.sendOperationRequest({ resourceGroupName, vaultName, nextLink, options }, listNextOperationSpec
|
|
5877
|
+
return this.client.sendOperationRequest({ resourceGroupName, vaultName, nextLink, options }, listNextOperationSpec);
|
|
5820
5878
|
}
|
|
5821
5879
|
}
|
|
5822
5880
|
// Operation Specifications
|
|
5823
|
-
const serializer
|
|
5824
|
-
const createOrUpdateOperationSpec
|
|
5881
|
+
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
5882
|
+
const createOrUpdateOperationSpec = {
|
|
5825
5883
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName}",
|
|
5826
5884
|
httpMethod: "PUT",
|
|
5827
5885
|
responses: {
|
|
@@ -5846,9 +5904,9 @@ const createOrUpdateOperationSpec$2 = {
|
|
|
5846
5904
|
],
|
|
5847
5905
|
headerParameters: [contentType, accept],
|
|
5848
5906
|
mediaType: "json",
|
|
5849
|
-
serializer
|
|
5907
|
+
serializer
|
|
5850
5908
|
};
|
|
5851
|
-
const updateOperationSpec
|
|
5909
|
+
const updateOperationSpec = {
|
|
5852
5910
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName}",
|
|
5853
5911
|
httpMethod: "PATCH",
|
|
5854
5912
|
responses: {
|
|
@@ -5873,9 +5931,9 @@ const updateOperationSpec$2 = {
|
|
|
5873
5931
|
],
|
|
5874
5932
|
headerParameters: [contentType, accept],
|
|
5875
5933
|
mediaType: "json",
|
|
5876
|
-
serializer
|
|
5934
|
+
serializer
|
|
5877
5935
|
};
|
|
5878
|
-
const getOperationSpec
|
|
5936
|
+
const getOperationSpec = {
|
|
5879
5937
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName}",
|
|
5880
5938
|
httpMethod: "GET",
|
|
5881
5939
|
responses: {
|
|
@@ -5895,9 +5953,9 @@ const getOperationSpec$5 = {
|
|
|
5895
5953
|
secretName1
|
|
5896
5954
|
],
|
|
5897
5955
|
headerParameters: [accept],
|
|
5898
|
-
serializer
|
|
5956
|
+
serializer
|
|
5899
5957
|
};
|
|
5900
|
-
const listOperationSpec
|
|
5958
|
+
const listOperationSpec = {
|
|
5901
5959
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets",
|
|
5902
5960
|
httpMethod: "GET",
|
|
5903
5961
|
responses: {
|
|
@@ -5916,9 +5974,9 @@ const listOperationSpec$3 = {
|
|
|
5916
5974
|
vaultName1
|
|
5917
5975
|
],
|
|
5918
5976
|
headerParameters: [accept],
|
|
5919
|
-
serializer
|
|
5977
|
+
serializer
|
|
5920
5978
|
};
|
|
5921
|
-
const listNextOperationSpec
|
|
5979
|
+
const listNextOperationSpec = {
|
|
5922
5980
|
path: "{nextLink}",
|
|
5923
5981
|
httpMethod: "GET",
|
|
5924
5982
|
responses: {
|
|
@@ -5938,7 +5996,7 @@ const listNextOperationSpec$3 = {
|
|
|
5938
5996
|
vaultName1
|
|
5939
5997
|
],
|
|
5940
5998
|
headerParameters: [accept],
|
|
5941
|
-
serializer
|
|
5999
|
+
serializer
|
|
5942
6000
|
};
|
|
5943
6001
|
|
|
5944
6002
|
/*
|
|
@@ -5948,7 +6006,7 @@ const listNextOperationSpec$3 = {
|
|
|
5948
6006
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
5949
6007
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5950
6008
|
*/
|
|
5951
|
-
class KeyVaultManagementClient extends
|
|
6009
|
+
class KeyVaultManagementClient extends coreClient__namespace.ServiceClient {
|
|
5952
6010
|
/**
|
|
5953
6011
|
* Initializes a new instance of the KeyVaultManagementClient class.
|
|
5954
6012
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|