@azure/arm-rediscache 8.0.0 → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -10
- package/LICENSE +1 -1
- package/dist/index.js +1195 -1218
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.js +3 -3
- package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.js +1 -1
- package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.js +1 -1
- package/dist-esm/samples-dev/accessPolicyAssignmentListSample.js +5 -10
- package/dist-esm/samples-dev/accessPolicyAssignmentListSample.js.map +1 -1
- package/dist-esm/samples-dev/accessPolicyCreateUpdateSample.js +2 -2
- package/dist-esm/samples-dev/accessPolicyCreateUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/accessPolicyDeleteSample.js +1 -1
- package/dist-esm/samples-dev/accessPolicyGetSample.js +1 -1
- package/dist-esm/samples-dev/accessPolicyListSample.js +5 -10
- package/dist-esm/samples-dev/accessPolicyListSample.js.map +1 -1
- package/dist-esm/samples-dev/asyncOperationStatusGetSample.js +1 -1
- package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/firewallRulesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/firewallRulesGetSample.js +1 -1
- package/dist-esm/samples-dev/firewallRulesListSample.js +5 -10
- package/dist-esm/samples-dev/firewallRulesListSample.js.map +1 -1
- package/dist-esm/samples-dev/linkedServerCreateSample.js +3 -3
- package/dist-esm/samples-dev/linkedServerCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/linkedServerDeleteSample.js +1 -1
- package/dist-esm/samples-dev/linkedServerGetSample.js +1 -1
- package/dist-esm/samples-dev/linkedServerListSample.js +5 -10
- package/dist-esm/samples-dev/linkedServerListSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +5 -10
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/patchSchedulesCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/patchSchedulesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/patchSchedulesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/patchSchedulesGetSample.js +1 -1
- package/dist-esm/samples-dev/patchSchedulesListByRedisResourceSample.js +5 -10
- package/dist-esm/samples-dev/patchSchedulesListByRedisResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +5 -10
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByRedisCacheSample.js +5 -10
- package/dist-esm/samples-dev/privateLinkResourcesListByRedisCacheSample.js.map +1 -1
- package/dist-esm/samples-dev/redisCheckNameAvailabilitySample.js +3 -3
- package/dist-esm/samples-dev/redisCheckNameAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/redisCreateSample.js +7 -7
- package/dist-esm/samples-dev/redisCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/redisDeleteSample.js +1 -1
- package/dist-esm/samples-dev/redisExportDataSample.js +3 -3
- package/dist-esm/samples-dev/redisExportDataSample.js.map +1 -1
- package/dist-esm/samples-dev/redisFlushCacheSample.js +1 -1
- package/dist-esm/samples-dev/redisForceRebootSample.js +3 -3
- package/dist-esm/samples-dev/redisForceRebootSample.js.map +1 -1
- package/dist-esm/samples-dev/redisGetSample.js +1 -1
- package/dist-esm/samples-dev/redisImportDataSample.js +3 -3
- package/dist-esm/samples-dev/redisImportDataSample.js.map +1 -1
- package/dist-esm/samples-dev/redisListByResourceGroupSample.js +5 -10
- package/dist-esm/samples-dev/redisListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/redisListBySubscriptionSample.js +5 -10
- package/dist-esm/samples-dev/redisListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/redisListKeysSample.js +1 -1
- package/dist-esm/samples-dev/redisListUpgradeNotificationsSample.js +5 -10
- package/dist-esm/samples-dev/redisListUpgradeNotificationsSample.js.map +1 -1
- package/dist-esm/samples-dev/redisRegenerateKeySample.js +2 -2
- package/dist-esm/samples-dev/redisRegenerateKeySample.js.map +1 -1
- package/dist-esm/samples-dev/redisUpdateSample.js +3 -3
- package/dist-esm/samples-dev/redisUpdateSample.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +15 -5
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +700 -667
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +75 -75
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/accessPolicy.d.ts.map +1 -1
- package/dist-esm/src/operations/accessPolicy.js +41 -46
- package/dist-esm/src/operations/accessPolicy.js.map +1 -1
- package/dist-esm/src/operations/accessPolicyAssignment.d.ts.map +1 -1
- package/dist-esm/src/operations/accessPolicyAssignment.js +42 -47
- package/dist-esm/src/operations/accessPolicyAssignment.js.map +1 -1
- package/dist-esm/src/operations/asyncOperationStatus.js +5 -5
- package/dist-esm/src/operations/asyncOperationStatus.js.map +1 -1
- package/dist-esm/src/operations/firewallRules.js +29 -34
- package/dist-esm/src/operations/firewallRules.js.map +1 -1
- package/dist-esm/src/operations/linkedServer.d.ts.map +1 -1
- package/dist-esm/src/operations/linkedServer.js +40 -45
- package/dist-esm/src/operations/linkedServer.js.map +1 -1
- package/dist-esm/src/operations/operations.js +12 -17
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/patchSchedules.js +29 -34
- package/dist-esm/src/operations/patchSchedules.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +32 -37
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +9 -14
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/redis.d.ts.map +1 -1
- package/dist-esm/src/operations/redis.js +125 -140
- package/dist-esm/src/operations/redis.js.map +1 -1
- package/dist-esm/src/pagingHelper.js.map +1 -1
- package/dist-esm/src/redisManagementClient.d.ts.map +1 -1
- package/dist-esm/src/redisManagementClient.js +9 -9
- package/dist-esm/src/redisManagementClient.js.map +1 -1
- package/dist-esm/test/redis_examples.d.ts.map +1 -1
- package/dist-esm/test/redis_examples.js +47 -51
- package/dist-esm/test/redis_examples.js.map +1 -1
- package/package.json +19 -25
- package/review/arm-rediscache.api.md +5 -0
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +47 -28
- package/src/models/mappers.ts +819 -783
- package/src/models/parameters.ts +79 -77
- package/src/operations/accessPolicy.ts +75 -81
- package/src/operations/accessPolicyAssignment.ts +76 -82
- package/src/operations/asyncOperationStatus.ts +9 -10
- package/src/operations/firewallRules.ts +47 -51
- package/src/operations/linkedServer.ts +73 -79
- package/src/operations/operations.ts +16 -16
- package/src/operations/patchSchedules.ts +49 -53
- package/src/operations/privateEndpointConnections.ts +57 -61
- package/src/operations/privateLinkResources.ts +17 -18
- package/src/operations/redis.ts +228 -247
- package/src/operationsInterfaces/accessPolicy.ts +7 -7
- package/src/operationsInterfaces/accessPolicyAssignment.ts +7 -7
- package/src/operationsInterfaces/asyncOperationStatus.ts +2 -2
- package/src/operationsInterfaces/firewallRules.ts +5 -5
- package/src/operationsInterfaces/linkedServer.ts +7 -7
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/patchSchedules.ts +5 -5
- package/src/operationsInterfaces/privateEndpointConnections.ts +6 -6
- package/src/operationsInterfaces/privateLinkResources.ts +2 -2
- package/src/operationsInterfaces/redis.ts +21 -21
- package/src/pagingHelper.ts +1 -1
- package/src/redisManagementClient.ts +18 -17
- package/types/arm-rediscache.d.ts +15 -5
- package/types/tsdoc-metadata.json +1 -1
- package/rollup.config.js +0 -122
package/dist/index.js
CHANGED
|
@@ -7,8 +7,7 @@ var coreClient = require('@azure/core-client');
|
|
|
7
7
|
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
8
8
|
var coreLro = require('@azure/core-lro');
|
|
9
9
|
|
|
10
|
-
function
|
|
11
|
-
if (e && e.__esModule) return e;
|
|
10
|
+
function _interopNamespaceDefault(e) {
|
|
12
11
|
var n = Object.create(null);
|
|
13
12
|
if (e) {
|
|
14
13
|
Object.keys(e).forEach(function (k) {
|
|
@@ -21,12 +20,12 @@ function _interopNamespace(e) {
|
|
|
21
20
|
}
|
|
22
21
|
});
|
|
23
22
|
}
|
|
24
|
-
n
|
|
23
|
+
n.default = e;
|
|
25
24
|
return Object.freeze(n);
|
|
26
25
|
}
|
|
27
26
|
|
|
28
|
-
var coreClient__namespace = /*#__PURE__*/
|
|
29
|
-
var coreRestPipeline__namespace = /*#__PURE__*/
|
|
27
|
+
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
|
28
|
+
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
|
|
30
29
|
|
|
31
30
|
/*
|
|
32
31
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -251,20 +250,20 @@ const OperationListResult = {
|
|
|
251
250
|
element: {
|
|
252
251
|
type: {
|
|
253
252
|
name: "Composite",
|
|
254
|
-
className: "Operation"
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
}
|
|
253
|
+
className: "Operation",
|
|
254
|
+
},
|
|
255
|
+
},
|
|
256
|
+
},
|
|
258
257
|
},
|
|
259
258
|
nextLink: {
|
|
260
259
|
serializedName: "nextLink",
|
|
261
260
|
readOnly: true,
|
|
262
261
|
type: {
|
|
263
|
-
name: "String"
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
}
|
|
262
|
+
name: "String",
|
|
263
|
+
},
|
|
264
|
+
},
|
|
265
|
+
},
|
|
266
|
+
},
|
|
268
267
|
};
|
|
269
268
|
const Operation = {
|
|
270
269
|
type: {
|
|
@@ -274,18 +273,18 @@ const Operation = {
|
|
|
274
273
|
name: {
|
|
275
274
|
serializedName: "name",
|
|
276
275
|
type: {
|
|
277
|
-
name: "String"
|
|
278
|
-
}
|
|
276
|
+
name: "String",
|
|
277
|
+
},
|
|
279
278
|
},
|
|
280
279
|
display: {
|
|
281
280
|
serializedName: "display",
|
|
282
281
|
type: {
|
|
283
282
|
name: "Composite",
|
|
284
|
-
className: "OperationDisplay"
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
}
|
|
283
|
+
className: "OperationDisplay",
|
|
284
|
+
},
|
|
285
|
+
},
|
|
286
|
+
},
|
|
287
|
+
},
|
|
289
288
|
};
|
|
290
289
|
const OperationDisplay = {
|
|
291
290
|
type: {
|
|
@@ -295,29 +294,29 @@ const OperationDisplay = {
|
|
|
295
294
|
provider: {
|
|
296
295
|
serializedName: "provider",
|
|
297
296
|
type: {
|
|
298
|
-
name: "String"
|
|
299
|
-
}
|
|
297
|
+
name: "String",
|
|
298
|
+
},
|
|
300
299
|
},
|
|
301
300
|
operation: {
|
|
302
301
|
serializedName: "operation",
|
|
303
302
|
type: {
|
|
304
|
-
name: "String"
|
|
305
|
-
}
|
|
303
|
+
name: "String",
|
|
304
|
+
},
|
|
306
305
|
},
|
|
307
306
|
resource: {
|
|
308
307
|
serializedName: "resource",
|
|
309
308
|
type: {
|
|
310
|
-
name: "String"
|
|
311
|
-
}
|
|
309
|
+
name: "String",
|
|
310
|
+
},
|
|
312
311
|
},
|
|
313
312
|
description: {
|
|
314
313
|
serializedName: "description",
|
|
315
314
|
type: {
|
|
316
|
-
name: "String"
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
}
|
|
315
|
+
name: "String",
|
|
316
|
+
},
|
|
317
|
+
},
|
|
318
|
+
},
|
|
319
|
+
},
|
|
321
320
|
};
|
|
322
321
|
const ErrorResponse = {
|
|
323
322
|
type: {
|
|
@@ -328,11 +327,11 @@ const ErrorResponse = {
|
|
|
328
327
|
serializedName: "error",
|
|
329
328
|
type: {
|
|
330
329
|
name: "Composite",
|
|
331
|
-
className: "ErrorDetail"
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
}
|
|
330
|
+
className: "ErrorDetail",
|
|
331
|
+
},
|
|
332
|
+
},
|
|
333
|
+
},
|
|
334
|
+
},
|
|
336
335
|
};
|
|
337
336
|
const ErrorDetail = {
|
|
338
337
|
type: {
|
|
@@ -343,22 +342,22 @@ const ErrorDetail = {
|
|
|
343
342
|
serializedName: "code",
|
|
344
343
|
readOnly: true,
|
|
345
344
|
type: {
|
|
346
|
-
name: "String"
|
|
347
|
-
}
|
|
345
|
+
name: "String",
|
|
346
|
+
},
|
|
348
347
|
},
|
|
349
348
|
message: {
|
|
350
349
|
serializedName: "message",
|
|
351
350
|
readOnly: true,
|
|
352
351
|
type: {
|
|
353
|
-
name: "String"
|
|
354
|
-
}
|
|
352
|
+
name: "String",
|
|
353
|
+
},
|
|
355
354
|
},
|
|
356
355
|
target: {
|
|
357
356
|
serializedName: "target",
|
|
358
357
|
readOnly: true,
|
|
359
358
|
type: {
|
|
360
|
-
name: "String"
|
|
361
|
-
}
|
|
359
|
+
name: "String",
|
|
360
|
+
},
|
|
362
361
|
},
|
|
363
362
|
details: {
|
|
364
363
|
serializedName: "details",
|
|
@@ -368,10 +367,10 @@ const ErrorDetail = {
|
|
|
368
367
|
element: {
|
|
369
368
|
type: {
|
|
370
369
|
name: "Composite",
|
|
371
|
-
className: "ErrorDetail"
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
}
|
|
370
|
+
className: "ErrorDetail",
|
|
371
|
+
},
|
|
372
|
+
},
|
|
373
|
+
},
|
|
375
374
|
},
|
|
376
375
|
additionalInfo: {
|
|
377
376
|
serializedName: "additionalInfo",
|
|
@@ -381,13 +380,13 @@ const ErrorDetail = {
|
|
|
381
380
|
element: {
|
|
382
381
|
type: {
|
|
383
382
|
name: "Composite",
|
|
384
|
-
className: "ErrorAdditionalInfo"
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
}
|
|
383
|
+
className: "ErrorAdditionalInfo",
|
|
384
|
+
},
|
|
385
|
+
},
|
|
386
|
+
},
|
|
387
|
+
},
|
|
388
|
+
},
|
|
389
|
+
},
|
|
391
390
|
};
|
|
392
391
|
const ErrorAdditionalInfo = {
|
|
393
392
|
type: {
|
|
@@ -398,19 +397,19 @@ const ErrorAdditionalInfo = {
|
|
|
398
397
|
serializedName: "type",
|
|
399
398
|
readOnly: true,
|
|
400
399
|
type: {
|
|
401
|
-
name: "String"
|
|
402
|
-
}
|
|
400
|
+
name: "String",
|
|
401
|
+
},
|
|
403
402
|
},
|
|
404
403
|
info: {
|
|
405
404
|
serializedName: "info",
|
|
406
405
|
readOnly: true,
|
|
407
406
|
type: {
|
|
408
407
|
name: "Dictionary",
|
|
409
|
-
value: { type: { name: "any" } }
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
}
|
|
408
|
+
value: { type: { name: "any" } },
|
|
409
|
+
},
|
|
410
|
+
},
|
|
411
|
+
},
|
|
412
|
+
},
|
|
414
413
|
};
|
|
415
414
|
const CheckNameAvailabilityParameters = {
|
|
416
415
|
type: {
|
|
@@ -421,18 +420,18 @@ const CheckNameAvailabilityParameters = {
|
|
|
421
420
|
serializedName: "name",
|
|
422
421
|
required: true,
|
|
423
422
|
type: {
|
|
424
|
-
name: "String"
|
|
425
|
-
}
|
|
423
|
+
name: "String",
|
|
424
|
+
},
|
|
426
425
|
},
|
|
427
426
|
type: {
|
|
428
427
|
serializedName: "type",
|
|
429
428
|
required: true,
|
|
430
429
|
type: {
|
|
431
|
-
name: "String"
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
}
|
|
430
|
+
name: "String",
|
|
431
|
+
},
|
|
432
|
+
},
|
|
433
|
+
},
|
|
434
|
+
},
|
|
436
435
|
};
|
|
437
436
|
const NotificationListResponse = {
|
|
438
437
|
type: {
|
|
@@ -446,20 +445,20 @@ const NotificationListResponse = {
|
|
|
446
445
|
element: {
|
|
447
446
|
type: {
|
|
448
447
|
name: "Composite",
|
|
449
|
-
className: "UpgradeNotification"
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
}
|
|
448
|
+
className: "UpgradeNotification",
|
|
449
|
+
},
|
|
450
|
+
},
|
|
451
|
+
},
|
|
453
452
|
},
|
|
454
453
|
nextLink: {
|
|
455
454
|
serializedName: "nextLink",
|
|
456
455
|
readOnly: true,
|
|
457
456
|
type: {
|
|
458
|
-
name: "String"
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
}
|
|
457
|
+
name: "String",
|
|
458
|
+
},
|
|
459
|
+
},
|
|
460
|
+
},
|
|
461
|
+
},
|
|
463
462
|
};
|
|
464
463
|
const UpgradeNotification = {
|
|
465
464
|
type: {
|
|
@@ -470,26 +469,26 @@ const UpgradeNotification = {
|
|
|
470
469
|
serializedName: "name",
|
|
471
470
|
readOnly: true,
|
|
472
471
|
type: {
|
|
473
|
-
name: "String"
|
|
474
|
-
}
|
|
472
|
+
name: "String",
|
|
473
|
+
},
|
|
475
474
|
},
|
|
476
475
|
timestamp: {
|
|
477
476
|
serializedName: "timestamp",
|
|
478
477
|
readOnly: true,
|
|
479
478
|
type: {
|
|
480
|
-
name: "DateTime"
|
|
481
|
-
}
|
|
479
|
+
name: "DateTime",
|
|
480
|
+
},
|
|
482
481
|
},
|
|
483
482
|
upsellNotification: {
|
|
484
483
|
serializedName: "upsellNotification",
|
|
485
484
|
readOnly: true,
|
|
486
485
|
type: {
|
|
487
486
|
name: "Dictionary",
|
|
488
|
-
value: { type: { name: "String" } }
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
}
|
|
487
|
+
value: { type: { name: "String" } },
|
|
488
|
+
},
|
|
489
|
+
},
|
|
490
|
+
},
|
|
491
|
+
},
|
|
493
492
|
};
|
|
494
493
|
const RedisCreateParameters = {
|
|
495
494
|
type: {
|
|
@@ -502,123 +501,130 @@ const RedisCreateParameters = {
|
|
|
502
501
|
name: "Sequence",
|
|
503
502
|
element: {
|
|
504
503
|
type: {
|
|
505
|
-
name: "String"
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
}
|
|
504
|
+
name: "String",
|
|
505
|
+
},
|
|
506
|
+
},
|
|
507
|
+
},
|
|
509
508
|
},
|
|
510
509
|
location: {
|
|
511
510
|
serializedName: "location",
|
|
512
511
|
required: true,
|
|
513
512
|
type: {
|
|
514
|
-
name: "String"
|
|
515
|
-
}
|
|
513
|
+
name: "String",
|
|
514
|
+
},
|
|
516
515
|
},
|
|
517
516
|
tags: {
|
|
518
517
|
serializedName: "tags",
|
|
519
518
|
type: {
|
|
520
519
|
name: "Dictionary",
|
|
521
|
-
value: { type: { name: "String" } }
|
|
522
|
-
}
|
|
520
|
+
value: { type: { name: "String" } },
|
|
521
|
+
},
|
|
523
522
|
},
|
|
524
523
|
identity: {
|
|
525
524
|
serializedName: "identity",
|
|
526
525
|
type: {
|
|
527
526
|
name: "Composite",
|
|
528
|
-
className: "ManagedServiceIdentity"
|
|
529
|
-
}
|
|
527
|
+
className: "ManagedServiceIdentity",
|
|
528
|
+
},
|
|
530
529
|
},
|
|
531
530
|
redisConfiguration: {
|
|
532
531
|
serializedName: "properties.redisConfiguration",
|
|
533
532
|
type: {
|
|
534
533
|
name: "Composite",
|
|
535
|
-
className: "RedisCommonPropertiesRedisConfiguration"
|
|
536
|
-
}
|
|
534
|
+
className: "RedisCommonPropertiesRedisConfiguration",
|
|
535
|
+
},
|
|
537
536
|
},
|
|
538
537
|
redisVersion: {
|
|
539
538
|
serializedName: "properties.redisVersion",
|
|
540
539
|
type: {
|
|
541
|
-
name: "String"
|
|
542
|
-
}
|
|
540
|
+
name: "String",
|
|
541
|
+
},
|
|
543
542
|
},
|
|
544
543
|
enableNonSslPort: {
|
|
545
544
|
defaultValue: false,
|
|
546
545
|
serializedName: "properties.enableNonSslPort",
|
|
547
546
|
type: {
|
|
548
|
-
name: "Boolean"
|
|
549
|
-
}
|
|
547
|
+
name: "Boolean",
|
|
548
|
+
},
|
|
550
549
|
},
|
|
551
550
|
replicasPerMaster: {
|
|
552
551
|
serializedName: "properties.replicasPerMaster",
|
|
553
552
|
type: {
|
|
554
|
-
name: "Number"
|
|
555
|
-
}
|
|
553
|
+
name: "Number",
|
|
554
|
+
},
|
|
556
555
|
},
|
|
557
556
|
replicasPerPrimary: {
|
|
558
557
|
serializedName: "properties.replicasPerPrimary",
|
|
559
558
|
type: {
|
|
560
|
-
name: "Number"
|
|
561
|
-
}
|
|
559
|
+
name: "Number",
|
|
560
|
+
},
|
|
562
561
|
},
|
|
563
562
|
tenantSettings: {
|
|
564
563
|
serializedName: "properties.tenantSettings",
|
|
565
564
|
type: {
|
|
566
565
|
name: "Dictionary",
|
|
567
|
-
value: { type: { name: "String" } }
|
|
568
|
-
}
|
|
566
|
+
value: { type: { name: "String" } },
|
|
567
|
+
},
|
|
569
568
|
},
|
|
570
569
|
shardCount: {
|
|
571
570
|
serializedName: "properties.shardCount",
|
|
572
571
|
type: {
|
|
573
|
-
name: "Number"
|
|
574
|
-
}
|
|
572
|
+
name: "Number",
|
|
573
|
+
},
|
|
575
574
|
},
|
|
576
575
|
minimumTlsVersion: {
|
|
577
576
|
serializedName: "properties.minimumTlsVersion",
|
|
578
577
|
type: {
|
|
579
|
-
name: "String"
|
|
580
|
-
}
|
|
578
|
+
name: "String",
|
|
579
|
+
},
|
|
581
580
|
},
|
|
582
581
|
publicNetworkAccess: {
|
|
583
582
|
defaultValue: "Enabled",
|
|
584
583
|
serializedName: "properties.publicNetworkAccess",
|
|
585
584
|
type: {
|
|
586
|
-
name: "String"
|
|
587
|
-
}
|
|
585
|
+
name: "String",
|
|
586
|
+
},
|
|
588
587
|
},
|
|
589
588
|
updateChannel: {
|
|
590
589
|
serializedName: "properties.updateChannel",
|
|
591
590
|
type: {
|
|
592
|
-
name: "String"
|
|
593
|
-
}
|
|
591
|
+
name: "String",
|
|
592
|
+
},
|
|
593
|
+
},
|
|
594
|
+
disableAccessKeyAuthentication: {
|
|
595
|
+
defaultValue: false,
|
|
596
|
+
serializedName: "properties.disableAccessKeyAuthentication",
|
|
597
|
+
type: {
|
|
598
|
+
name: "Boolean",
|
|
599
|
+
},
|
|
594
600
|
},
|
|
595
601
|
sku: {
|
|
596
602
|
serializedName: "properties.sku",
|
|
597
603
|
type: {
|
|
598
604
|
name: "Composite",
|
|
599
|
-
className: "Sku"
|
|
600
|
-
}
|
|
605
|
+
className: "Sku",
|
|
606
|
+
},
|
|
601
607
|
},
|
|
602
608
|
subnetId: {
|
|
603
609
|
constraints: {
|
|
604
|
-
Pattern: new RegExp("^\\/subscriptions\\/[^/]*\\/resourceGroups\\/[^/]*\\/providers\\/Microsoft.(ClassicNetwork|Network)\\/virtualNetworks\\/[^/]*\\/subnets\\/[^/]*$")
|
|
610
|
+
Pattern: new RegExp("^\\/subscriptions\\/[^/]*\\/resourceGroups\\/[^/]*\\/providers\\/Microsoft.(ClassicNetwork|Network)\\/virtualNetworks\\/[^/]*\\/subnets\\/[^/]*$"),
|
|
605
611
|
},
|
|
606
612
|
serializedName: "properties.subnetId",
|
|
607
613
|
type: {
|
|
608
|
-
name: "String"
|
|
609
|
-
}
|
|
614
|
+
name: "String",
|
|
615
|
+
},
|
|
610
616
|
},
|
|
611
617
|
staticIP: {
|
|
612
618
|
constraints: {
|
|
613
|
-
Pattern: new RegExp("^\\d+\\.\\d+\\.\\d+\\.\\d+$")
|
|
619
|
+
Pattern: new RegExp("^\\d+\\.\\d+\\.\\d+\\.\\d+$"),
|
|
614
620
|
},
|
|
615
621
|
serializedName: "properties.staticIP",
|
|
616
622
|
type: {
|
|
617
|
-
name: "String"
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
}
|
|
623
|
+
name: "String",
|
|
624
|
+
},
|
|
625
|
+
},
|
|
626
|
+
},
|
|
627
|
+
},
|
|
622
628
|
};
|
|
623
629
|
const Sku = {
|
|
624
630
|
type: {
|
|
@@ -629,25 +635,25 @@ const Sku = {
|
|
|
629
635
|
serializedName: "name",
|
|
630
636
|
required: true,
|
|
631
637
|
type: {
|
|
632
|
-
name: "String"
|
|
633
|
-
}
|
|
638
|
+
name: "String",
|
|
639
|
+
},
|
|
634
640
|
},
|
|
635
641
|
family: {
|
|
636
642
|
serializedName: "family",
|
|
637
643
|
required: true,
|
|
638
644
|
type: {
|
|
639
|
-
name: "String"
|
|
640
|
-
}
|
|
645
|
+
name: "String",
|
|
646
|
+
},
|
|
641
647
|
},
|
|
642
648
|
capacity: {
|
|
643
649
|
serializedName: "capacity",
|
|
644
650
|
required: true,
|
|
645
651
|
type: {
|
|
646
|
-
name: "Number"
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
}
|
|
652
|
+
name: "Number",
|
|
653
|
+
},
|
|
654
|
+
},
|
|
655
|
+
},
|
|
656
|
+
},
|
|
651
657
|
};
|
|
652
658
|
const RedisCommonProperties = {
|
|
653
659
|
type: {
|
|
@@ -658,68 +664,75 @@ const RedisCommonProperties = {
|
|
|
658
664
|
serializedName: "redisConfiguration",
|
|
659
665
|
type: {
|
|
660
666
|
name: "Composite",
|
|
661
|
-
className: "RedisCommonPropertiesRedisConfiguration"
|
|
662
|
-
}
|
|
667
|
+
className: "RedisCommonPropertiesRedisConfiguration",
|
|
668
|
+
},
|
|
663
669
|
},
|
|
664
670
|
redisVersion: {
|
|
665
671
|
serializedName: "redisVersion",
|
|
666
672
|
type: {
|
|
667
|
-
name: "String"
|
|
668
|
-
}
|
|
673
|
+
name: "String",
|
|
674
|
+
},
|
|
669
675
|
},
|
|
670
676
|
enableNonSslPort: {
|
|
671
677
|
defaultValue: false,
|
|
672
678
|
serializedName: "enableNonSslPort",
|
|
673
679
|
type: {
|
|
674
|
-
name: "Boolean"
|
|
675
|
-
}
|
|
680
|
+
name: "Boolean",
|
|
681
|
+
},
|
|
676
682
|
},
|
|
677
683
|
replicasPerMaster: {
|
|
678
684
|
serializedName: "replicasPerMaster",
|
|
679
685
|
type: {
|
|
680
|
-
name: "Number"
|
|
681
|
-
}
|
|
686
|
+
name: "Number",
|
|
687
|
+
},
|
|
682
688
|
},
|
|
683
689
|
replicasPerPrimary: {
|
|
684
690
|
serializedName: "replicasPerPrimary",
|
|
685
691
|
type: {
|
|
686
|
-
name: "Number"
|
|
687
|
-
}
|
|
692
|
+
name: "Number",
|
|
693
|
+
},
|
|
688
694
|
},
|
|
689
695
|
tenantSettings: {
|
|
690
696
|
serializedName: "tenantSettings",
|
|
691
697
|
type: {
|
|
692
698
|
name: "Dictionary",
|
|
693
|
-
value: { type: { name: "String" } }
|
|
694
|
-
}
|
|
699
|
+
value: { type: { name: "String" } },
|
|
700
|
+
},
|
|
695
701
|
},
|
|
696
702
|
shardCount: {
|
|
697
703
|
serializedName: "shardCount",
|
|
698
704
|
type: {
|
|
699
|
-
name: "Number"
|
|
700
|
-
}
|
|
705
|
+
name: "Number",
|
|
706
|
+
},
|
|
701
707
|
},
|
|
702
708
|
minimumTlsVersion: {
|
|
703
709
|
serializedName: "minimumTlsVersion",
|
|
704
710
|
type: {
|
|
705
|
-
name: "String"
|
|
706
|
-
}
|
|
711
|
+
name: "String",
|
|
712
|
+
},
|
|
707
713
|
},
|
|
708
714
|
publicNetworkAccess: {
|
|
709
715
|
defaultValue: "Enabled",
|
|
710
716
|
serializedName: "publicNetworkAccess",
|
|
711
717
|
type: {
|
|
712
|
-
name: "String"
|
|
713
|
-
}
|
|
718
|
+
name: "String",
|
|
719
|
+
},
|
|
714
720
|
},
|
|
715
721
|
updateChannel: {
|
|
716
722
|
serializedName: "updateChannel",
|
|
717
723
|
type: {
|
|
718
|
-
name: "String"
|
|
719
|
-
}
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
|
|
724
|
+
name: "String",
|
|
725
|
+
},
|
|
726
|
+
},
|
|
727
|
+
disableAccessKeyAuthentication: {
|
|
728
|
+
defaultValue: false,
|
|
729
|
+
serializedName: "disableAccessKeyAuthentication",
|
|
730
|
+
type: {
|
|
731
|
+
name: "Boolean",
|
|
732
|
+
},
|
|
733
|
+
},
|
|
734
|
+
},
|
|
735
|
+
},
|
|
723
736
|
};
|
|
724
737
|
const RedisCommonPropertiesRedisConfiguration = {
|
|
725
738
|
type: {
|
|
@@ -730,116 +743,122 @@ const RedisCommonPropertiesRedisConfiguration = {
|
|
|
730
743
|
rdbBackupEnabled: {
|
|
731
744
|
serializedName: "rdb-backup-enabled",
|
|
732
745
|
type: {
|
|
733
|
-
name: "String"
|
|
734
|
-
}
|
|
746
|
+
name: "String",
|
|
747
|
+
},
|
|
735
748
|
},
|
|
736
749
|
rdbBackupFrequency: {
|
|
737
750
|
serializedName: "rdb-backup-frequency",
|
|
738
751
|
type: {
|
|
739
|
-
name: "String"
|
|
740
|
-
}
|
|
752
|
+
name: "String",
|
|
753
|
+
},
|
|
741
754
|
},
|
|
742
755
|
rdbBackupMaxSnapshotCount: {
|
|
743
756
|
serializedName: "rdb-backup-max-snapshot-count",
|
|
744
757
|
type: {
|
|
745
|
-
name: "String"
|
|
746
|
-
}
|
|
758
|
+
name: "String",
|
|
759
|
+
},
|
|
747
760
|
},
|
|
748
761
|
rdbStorageConnectionString: {
|
|
749
762
|
serializedName: "rdb-storage-connection-string",
|
|
750
763
|
type: {
|
|
751
|
-
name: "String"
|
|
752
|
-
}
|
|
764
|
+
name: "String",
|
|
765
|
+
},
|
|
753
766
|
},
|
|
754
767
|
aofBackupEnabled: {
|
|
755
768
|
serializedName: "aof-backup-enabled",
|
|
756
769
|
type: {
|
|
757
|
-
name: "String"
|
|
758
|
-
}
|
|
770
|
+
name: "String",
|
|
771
|
+
},
|
|
759
772
|
},
|
|
760
773
|
aofStorageConnectionString0: {
|
|
761
774
|
serializedName: "aof-storage-connection-string-0",
|
|
762
775
|
type: {
|
|
763
|
-
name: "String"
|
|
764
|
-
}
|
|
776
|
+
name: "String",
|
|
777
|
+
},
|
|
765
778
|
},
|
|
766
779
|
aofStorageConnectionString1: {
|
|
767
780
|
serializedName: "aof-storage-connection-string-1",
|
|
768
781
|
type: {
|
|
769
|
-
name: "String"
|
|
770
|
-
}
|
|
782
|
+
name: "String",
|
|
783
|
+
},
|
|
771
784
|
},
|
|
772
785
|
maxfragmentationmemoryReserved: {
|
|
773
786
|
serializedName: "maxfragmentationmemory-reserved",
|
|
774
787
|
type: {
|
|
775
|
-
name: "String"
|
|
776
|
-
}
|
|
788
|
+
name: "String",
|
|
789
|
+
},
|
|
777
790
|
},
|
|
778
791
|
maxmemoryPolicy: {
|
|
779
792
|
serializedName: "maxmemory-policy",
|
|
780
793
|
type: {
|
|
781
|
-
name: "String"
|
|
782
|
-
}
|
|
794
|
+
name: "String",
|
|
795
|
+
},
|
|
783
796
|
},
|
|
784
797
|
maxmemoryReserved: {
|
|
785
798
|
serializedName: "maxmemory-reserved",
|
|
786
799
|
type: {
|
|
787
|
-
name: "String"
|
|
788
|
-
}
|
|
800
|
+
name: "String",
|
|
801
|
+
},
|
|
789
802
|
},
|
|
790
803
|
maxmemoryDelta: {
|
|
791
804
|
serializedName: "maxmemory-delta",
|
|
792
805
|
type: {
|
|
793
|
-
name: "String"
|
|
794
|
-
}
|
|
806
|
+
name: "String",
|
|
807
|
+
},
|
|
795
808
|
},
|
|
796
809
|
maxclients: {
|
|
797
810
|
serializedName: "maxclients",
|
|
798
811
|
readOnly: true,
|
|
799
812
|
type: {
|
|
800
|
-
name: "String"
|
|
801
|
-
}
|
|
813
|
+
name: "String",
|
|
814
|
+
},
|
|
815
|
+
},
|
|
816
|
+
notifyKeyspaceEvents: {
|
|
817
|
+
serializedName: "notify-keyspace-events",
|
|
818
|
+
type: {
|
|
819
|
+
name: "String",
|
|
820
|
+
},
|
|
802
821
|
},
|
|
803
822
|
preferredDataArchiveAuthMethod: {
|
|
804
823
|
serializedName: "preferred-data-archive-auth-method",
|
|
805
824
|
readOnly: true,
|
|
806
825
|
type: {
|
|
807
|
-
name: "String"
|
|
808
|
-
}
|
|
826
|
+
name: "String",
|
|
827
|
+
},
|
|
809
828
|
},
|
|
810
829
|
preferredDataPersistenceAuthMethod: {
|
|
811
830
|
serializedName: "preferred-data-persistence-auth-method",
|
|
812
831
|
type: {
|
|
813
|
-
name: "String"
|
|
814
|
-
}
|
|
832
|
+
name: "String",
|
|
833
|
+
},
|
|
815
834
|
},
|
|
816
835
|
zonalConfiguration: {
|
|
817
836
|
serializedName: "zonal-configuration",
|
|
818
837
|
readOnly: true,
|
|
819
838
|
type: {
|
|
820
|
-
name: "String"
|
|
821
|
-
}
|
|
839
|
+
name: "String",
|
|
840
|
+
},
|
|
822
841
|
},
|
|
823
842
|
authnotrequired: {
|
|
824
843
|
serializedName: "authnotrequired",
|
|
825
844
|
type: {
|
|
826
|
-
name: "String"
|
|
827
|
-
}
|
|
845
|
+
name: "String",
|
|
846
|
+
},
|
|
828
847
|
},
|
|
829
848
|
storageSubscriptionId: {
|
|
830
849
|
serializedName: "storage-subscription-id",
|
|
831
850
|
type: {
|
|
832
|
-
name: "String"
|
|
833
|
-
}
|
|
851
|
+
name: "String",
|
|
852
|
+
},
|
|
834
853
|
},
|
|
835
854
|
aadEnabled: {
|
|
836
855
|
serializedName: "aad-enabled",
|
|
837
856
|
type: {
|
|
838
|
-
name: "String"
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
}
|
|
842
|
-
}
|
|
857
|
+
name: "String",
|
|
858
|
+
},
|
|
859
|
+
},
|
|
860
|
+
},
|
|
861
|
+
},
|
|
843
862
|
};
|
|
844
863
|
const ManagedServiceIdentity = {
|
|
845
864
|
type: {
|
|
@@ -850,34 +869,34 @@ const ManagedServiceIdentity = {
|
|
|
850
869
|
serializedName: "principalId",
|
|
851
870
|
readOnly: true,
|
|
852
871
|
type: {
|
|
853
|
-
name: "Uuid"
|
|
854
|
-
}
|
|
872
|
+
name: "Uuid",
|
|
873
|
+
},
|
|
855
874
|
},
|
|
856
875
|
tenantId: {
|
|
857
876
|
serializedName: "tenantId",
|
|
858
877
|
readOnly: true,
|
|
859
878
|
type: {
|
|
860
|
-
name: "Uuid"
|
|
861
|
-
}
|
|
879
|
+
name: "Uuid",
|
|
880
|
+
},
|
|
862
881
|
},
|
|
863
882
|
type: {
|
|
864
883
|
serializedName: "type",
|
|
865
884
|
required: true,
|
|
866
885
|
type: {
|
|
867
|
-
name: "String"
|
|
868
|
-
}
|
|
886
|
+
name: "String",
|
|
887
|
+
},
|
|
869
888
|
},
|
|
870
889
|
userAssignedIdentities: {
|
|
871
890
|
serializedName: "userAssignedIdentities",
|
|
872
891
|
type: {
|
|
873
892
|
name: "Dictionary",
|
|
874
893
|
value: {
|
|
875
|
-
type: { name: "Composite", className: "UserAssignedIdentity" }
|
|
876
|
-
}
|
|
877
|
-
}
|
|
878
|
-
}
|
|
879
|
-
}
|
|
880
|
-
}
|
|
894
|
+
type: { name: "Composite", className: "UserAssignedIdentity" },
|
|
895
|
+
},
|
|
896
|
+
},
|
|
897
|
+
},
|
|
898
|
+
},
|
|
899
|
+
},
|
|
881
900
|
};
|
|
882
901
|
const UserAssignedIdentity = {
|
|
883
902
|
type: {
|
|
@@ -888,18 +907,18 @@ const UserAssignedIdentity = {
|
|
|
888
907
|
serializedName: "principalId",
|
|
889
908
|
readOnly: true,
|
|
890
909
|
type: {
|
|
891
|
-
name: "Uuid"
|
|
892
|
-
}
|
|
910
|
+
name: "Uuid",
|
|
911
|
+
},
|
|
893
912
|
},
|
|
894
913
|
clientId: {
|
|
895
914
|
serializedName: "clientId",
|
|
896
915
|
readOnly: true,
|
|
897
916
|
type: {
|
|
898
|
-
name: "Uuid"
|
|
899
|
-
}
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
}
|
|
917
|
+
name: "Uuid",
|
|
918
|
+
},
|
|
919
|
+
},
|
|
920
|
+
},
|
|
921
|
+
},
|
|
903
922
|
};
|
|
904
923
|
const RedisAccessKeys = {
|
|
905
924
|
type: {
|
|
@@ -910,18 +929,18 @@ const RedisAccessKeys = {
|
|
|
910
929
|
serializedName: "primaryKey",
|
|
911
930
|
readOnly: true,
|
|
912
931
|
type: {
|
|
913
|
-
name: "String"
|
|
914
|
-
}
|
|
932
|
+
name: "String",
|
|
933
|
+
},
|
|
915
934
|
},
|
|
916
935
|
secondaryKey: {
|
|
917
936
|
serializedName: "secondaryKey",
|
|
918
937
|
readOnly: true,
|
|
919
938
|
type: {
|
|
920
|
-
name: "String"
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
}
|
|
924
|
-
}
|
|
939
|
+
name: "String",
|
|
940
|
+
},
|
|
941
|
+
},
|
|
942
|
+
},
|
|
943
|
+
},
|
|
925
944
|
};
|
|
926
945
|
const RedisLinkedServer = {
|
|
927
946
|
type: {
|
|
@@ -932,11 +951,11 @@ const RedisLinkedServer = {
|
|
|
932
951
|
serializedName: "id",
|
|
933
952
|
readOnly: true,
|
|
934
953
|
type: {
|
|
935
|
-
name: "String"
|
|
936
|
-
}
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
}
|
|
954
|
+
name: "String",
|
|
955
|
+
},
|
|
956
|
+
},
|
|
957
|
+
},
|
|
958
|
+
},
|
|
940
959
|
};
|
|
941
960
|
const RedisInstanceDetails = {
|
|
942
961
|
type: {
|
|
@@ -947,46 +966,46 @@ const RedisInstanceDetails = {
|
|
|
947
966
|
serializedName: "sslPort",
|
|
948
967
|
readOnly: true,
|
|
949
968
|
type: {
|
|
950
|
-
name: "Number"
|
|
951
|
-
}
|
|
969
|
+
name: "Number",
|
|
970
|
+
},
|
|
952
971
|
},
|
|
953
972
|
nonSslPort: {
|
|
954
973
|
serializedName: "nonSslPort",
|
|
955
974
|
readOnly: true,
|
|
956
975
|
type: {
|
|
957
|
-
name: "Number"
|
|
958
|
-
}
|
|
976
|
+
name: "Number",
|
|
977
|
+
},
|
|
959
978
|
},
|
|
960
979
|
zone: {
|
|
961
980
|
serializedName: "zone",
|
|
962
981
|
readOnly: true,
|
|
963
982
|
type: {
|
|
964
|
-
name: "String"
|
|
965
|
-
}
|
|
983
|
+
name: "String",
|
|
984
|
+
},
|
|
966
985
|
},
|
|
967
986
|
shardId: {
|
|
968
987
|
serializedName: "shardId",
|
|
969
988
|
readOnly: true,
|
|
970
989
|
type: {
|
|
971
|
-
name: "Number"
|
|
972
|
-
}
|
|
990
|
+
name: "Number",
|
|
991
|
+
},
|
|
973
992
|
},
|
|
974
993
|
isMaster: {
|
|
975
994
|
serializedName: "isMaster",
|
|
976
995
|
readOnly: true,
|
|
977
996
|
type: {
|
|
978
|
-
name: "Boolean"
|
|
979
|
-
}
|
|
997
|
+
name: "Boolean",
|
|
998
|
+
},
|
|
980
999
|
},
|
|
981
1000
|
isPrimary: {
|
|
982
1001
|
serializedName: "isPrimary",
|
|
983
1002
|
readOnly: true,
|
|
984
1003
|
type: {
|
|
985
|
-
name: "Boolean"
|
|
986
|
-
}
|
|
987
|
-
}
|
|
988
|
-
}
|
|
989
|
-
}
|
|
1004
|
+
name: "Boolean",
|
|
1005
|
+
},
|
|
1006
|
+
},
|
|
1007
|
+
},
|
|
1008
|
+
},
|
|
990
1009
|
};
|
|
991
1010
|
const PrivateEndpoint = {
|
|
992
1011
|
type: {
|
|
@@ -997,11 +1016,11 @@ const PrivateEndpoint = {
|
|
|
997
1016
|
serializedName: "id",
|
|
998
1017
|
readOnly: true,
|
|
999
1018
|
type: {
|
|
1000
|
-
name: "String"
|
|
1001
|
-
}
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
}
|
|
1019
|
+
name: "String",
|
|
1020
|
+
},
|
|
1021
|
+
},
|
|
1022
|
+
},
|
|
1023
|
+
},
|
|
1005
1024
|
};
|
|
1006
1025
|
const PrivateLinkServiceConnectionState = {
|
|
1007
1026
|
type: {
|
|
@@ -1011,23 +1030,23 @@ const PrivateLinkServiceConnectionState = {
|
|
|
1011
1030
|
status: {
|
|
1012
1031
|
serializedName: "status",
|
|
1013
1032
|
type: {
|
|
1014
|
-
name: "String"
|
|
1015
|
-
}
|
|
1033
|
+
name: "String",
|
|
1034
|
+
},
|
|
1016
1035
|
},
|
|
1017
1036
|
description: {
|
|
1018
1037
|
serializedName: "description",
|
|
1019
1038
|
type: {
|
|
1020
|
-
name: "String"
|
|
1021
|
-
}
|
|
1039
|
+
name: "String",
|
|
1040
|
+
},
|
|
1022
1041
|
},
|
|
1023
1042
|
actionsRequired: {
|
|
1024
1043
|
serializedName: "actionsRequired",
|
|
1025
1044
|
type: {
|
|
1026
|
-
name: "String"
|
|
1027
|
-
}
|
|
1028
|
-
}
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
1045
|
+
name: "String",
|
|
1046
|
+
},
|
|
1047
|
+
},
|
|
1048
|
+
},
|
|
1049
|
+
},
|
|
1031
1050
|
};
|
|
1032
1051
|
const Resource = {
|
|
1033
1052
|
type: {
|
|
@@ -1038,25 +1057,25 @@ const Resource = {
|
|
|
1038
1057
|
serializedName: "id",
|
|
1039
1058
|
readOnly: true,
|
|
1040
1059
|
type: {
|
|
1041
|
-
name: "String"
|
|
1042
|
-
}
|
|
1060
|
+
name: "String",
|
|
1061
|
+
},
|
|
1043
1062
|
},
|
|
1044
1063
|
name: {
|
|
1045
1064
|
serializedName: "name",
|
|
1046
1065
|
readOnly: true,
|
|
1047
1066
|
type: {
|
|
1048
|
-
name: "String"
|
|
1049
|
-
}
|
|
1067
|
+
name: "String",
|
|
1068
|
+
},
|
|
1050
1069
|
},
|
|
1051
1070
|
type: {
|
|
1052
1071
|
serializedName: "type",
|
|
1053
1072
|
readOnly: true,
|
|
1054
1073
|
type: {
|
|
1055
|
-
name: "String"
|
|
1056
|
-
}
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
|
-
}
|
|
1074
|
+
name: "String",
|
|
1075
|
+
},
|
|
1076
|
+
},
|
|
1077
|
+
},
|
|
1078
|
+
},
|
|
1060
1079
|
};
|
|
1061
1080
|
const RedisUpdateParameters = {
|
|
1062
1081
|
type: {
|
|
@@ -1067,89 +1086,96 @@ const RedisUpdateParameters = {
|
|
|
1067
1086
|
serializedName: "tags",
|
|
1068
1087
|
type: {
|
|
1069
1088
|
name: "Dictionary",
|
|
1070
|
-
value: { type: { name: "String" } }
|
|
1071
|
-
}
|
|
1089
|
+
value: { type: { name: "String" } },
|
|
1090
|
+
},
|
|
1072
1091
|
},
|
|
1073
1092
|
identity: {
|
|
1074
1093
|
serializedName: "identity",
|
|
1075
1094
|
type: {
|
|
1076
1095
|
name: "Composite",
|
|
1077
|
-
className: "ManagedServiceIdentity"
|
|
1078
|
-
}
|
|
1096
|
+
className: "ManagedServiceIdentity",
|
|
1097
|
+
},
|
|
1079
1098
|
},
|
|
1080
1099
|
redisConfiguration: {
|
|
1081
1100
|
serializedName: "properties.redisConfiguration",
|
|
1082
1101
|
type: {
|
|
1083
1102
|
name: "Composite",
|
|
1084
|
-
className: "RedisCommonPropertiesRedisConfiguration"
|
|
1085
|
-
}
|
|
1103
|
+
className: "RedisCommonPropertiesRedisConfiguration",
|
|
1104
|
+
},
|
|
1086
1105
|
},
|
|
1087
1106
|
redisVersion: {
|
|
1088
1107
|
serializedName: "properties.redisVersion",
|
|
1089
1108
|
type: {
|
|
1090
|
-
name: "String"
|
|
1091
|
-
}
|
|
1109
|
+
name: "String",
|
|
1110
|
+
},
|
|
1092
1111
|
},
|
|
1093
1112
|
enableNonSslPort: {
|
|
1094
1113
|
defaultValue: false,
|
|
1095
1114
|
serializedName: "properties.enableNonSslPort",
|
|
1096
1115
|
type: {
|
|
1097
|
-
name: "Boolean"
|
|
1098
|
-
}
|
|
1116
|
+
name: "Boolean",
|
|
1117
|
+
},
|
|
1099
1118
|
},
|
|
1100
1119
|
replicasPerMaster: {
|
|
1101
1120
|
serializedName: "properties.replicasPerMaster",
|
|
1102
1121
|
type: {
|
|
1103
|
-
name: "Number"
|
|
1104
|
-
}
|
|
1122
|
+
name: "Number",
|
|
1123
|
+
},
|
|
1105
1124
|
},
|
|
1106
1125
|
replicasPerPrimary: {
|
|
1107
1126
|
serializedName: "properties.replicasPerPrimary",
|
|
1108
1127
|
type: {
|
|
1109
|
-
name: "Number"
|
|
1110
|
-
}
|
|
1128
|
+
name: "Number",
|
|
1129
|
+
},
|
|
1111
1130
|
},
|
|
1112
1131
|
tenantSettings: {
|
|
1113
1132
|
serializedName: "properties.tenantSettings",
|
|
1114
1133
|
type: {
|
|
1115
1134
|
name: "Dictionary",
|
|
1116
|
-
value: { type: { name: "String" } }
|
|
1117
|
-
}
|
|
1135
|
+
value: { type: { name: "String" } },
|
|
1136
|
+
},
|
|
1118
1137
|
},
|
|
1119
1138
|
shardCount: {
|
|
1120
1139
|
serializedName: "properties.shardCount",
|
|
1121
1140
|
type: {
|
|
1122
|
-
name: "Number"
|
|
1123
|
-
}
|
|
1141
|
+
name: "Number",
|
|
1142
|
+
},
|
|
1124
1143
|
},
|
|
1125
1144
|
minimumTlsVersion: {
|
|
1126
1145
|
serializedName: "properties.minimumTlsVersion",
|
|
1127
1146
|
type: {
|
|
1128
|
-
name: "String"
|
|
1129
|
-
}
|
|
1147
|
+
name: "String",
|
|
1148
|
+
},
|
|
1130
1149
|
},
|
|
1131
1150
|
publicNetworkAccess: {
|
|
1132
1151
|
defaultValue: "Enabled",
|
|
1133
1152
|
serializedName: "properties.publicNetworkAccess",
|
|
1134
1153
|
type: {
|
|
1135
|
-
name: "String"
|
|
1136
|
-
}
|
|
1154
|
+
name: "String",
|
|
1155
|
+
},
|
|
1137
1156
|
},
|
|
1138
1157
|
updateChannel: {
|
|
1139
1158
|
serializedName: "properties.updateChannel",
|
|
1140
1159
|
type: {
|
|
1141
|
-
name: "String"
|
|
1142
|
-
}
|
|
1160
|
+
name: "String",
|
|
1161
|
+
},
|
|
1162
|
+
},
|
|
1163
|
+
disableAccessKeyAuthentication: {
|
|
1164
|
+
defaultValue: false,
|
|
1165
|
+
serializedName: "properties.disableAccessKeyAuthentication",
|
|
1166
|
+
type: {
|
|
1167
|
+
name: "Boolean",
|
|
1168
|
+
},
|
|
1143
1169
|
},
|
|
1144
1170
|
sku: {
|
|
1145
1171
|
serializedName: "properties.sku",
|
|
1146
1172
|
type: {
|
|
1147
1173
|
name: "Composite",
|
|
1148
|
-
className: "Sku"
|
|
1149
|
-
}
|
|
1150
|
-
}
|
|
1151
|
-
}
|
|
1152
|
-
}
|
|
1174
|
+
className: "Sku",
|
|
1175
|
+
},
|
|
1176
|
+
},
|
|
1177
|
+
},
|
|
1178
|
+
},
|
|
1153
1179
|
};
|
|
1154
1180
|
const RedisListResult = {
|
|
1155
1181
|
type: {
|
|
@@ -1163,20 +1189,20 @@ const RedisListResult = {
|
|
|
1163
1189
|
element: {
|
|
1164
1190
|
type: {
|
|
1165
1191
|
name: "Composite",
|
|
1166
|
-
className: "RedisResource"
|
|
1167
|
-
}
|
|
1168
|
-
}
|
|
1169
|
-
}
|
|
1192
|
+
className: "RedisResource",
|
|
1193
|
+
},
|
|
1194
|
+
},
|
|
1195
|
+
},
|
|
1170
1196
|
},
|
|
1171
1197
|
nextLink: {
|
|
1172
1198
|
serializedName: "nextLink",
|
|
1173
1199
|
readOnly: true,
|
|
1174
1200
|
type: {
|
|
1175
|
-
name: "String"
|
|
1176
|
-
}
|
|
1177
|
-
}
|
|
1178
|
-
}
|
|
1179
|
-
}
|
|
1201
|
+
name: "String",
|
|
1202
|
+
},
|
|
1203
|
+
},
|
|
1204
|
+
},
|
|
1205
|
+
},
|
|
1180
1206
|
};
|
|
1181
1207
|
const RedisRegenerateKeyParameters = {
|
|
1182
1208
|
type: {
|
|
@@ -1188,11 +1214,11 @@ const RedisRegenerateKeyParameters = {
|
|
|
1188
1214
|
required: true,
|
|
1189
1215
|
type: {
|
|
1190
1216
|
name: "Enum",
|
|
1191
|
-
allowedValues: ["Primary", "Secondary"]
|
|
1192
|
-
}
|
|
1193
|
-
}
|
|
1194
|
-
}
|
|
1195
|
-
}
|
|
1217
|
+
allowedValues: ["Primary", "Secondary"],
|
|
1218
|
+
},
|
|
1219
|
+
},
|
|
1220
|
+
},
|
|
1221
|
+
},
|
|
1196
1222
|
};
|
|
1197
1223
|
const RedisRebootParameters = {
|
|
1198
1224
|
type: {
|
|
@@ -1202,14 +1228,14 @@ const RedisRebootParameters = {
|
|
|
1202
1228
|
rebootType: {
|
|
1203
1229
|
serializedName: "rebootType",
|
|
1204
1230
|
type: {
|
|
1205
|
-
name: "String"
|
|
1206
|
-
}
|
|
1231
|
+
name: "String",
|
|
1232
|
+
},
|
|
1207
1233
|
},
|
|
1208
1234
|
shardId: {
|
|
1209
1235
|
serializedName: "shardId",
|
|
1210
1236
|
type: {
|
|
1211
|
-
name: "Number"
|
|
1212
|
-
}
|
|
1237
|
+
name: "Number",
|
|
1238
|
+
},
|
|
1213
1239
|
},
|
|
1214
1240
|
ports: {
|
|
1215
1241
|
serializedName: "ports",
|
|
@@ -1217,13 +1243,13 @@ const RedisRebootParameters = {
|
|
|
1217
1243
|
name: "Sequence",
|
|
1218
1244
|
element: {
|
|
1219
1245
|
type: {
|
|
1220
|
-
name: "Number"
|
|
1221
|
-
}
|
|
1222
|
-
}
|
|
1223
|
-
}
|
|
1224
|
-
}
|
|
1225
|
-
}
|
|
1226
|
-
}
|
|
1246
|
+
name: "Number",
|
|
1247
|
+
},
|
|
1248
|
+
},
|
|
1249
|
+
},
|
|
1250
|
+
},
|
|
1251
|
+
},
|
|
1252
|
+
},
|
|
1227
1253
|
};
|
|
1228
1254
|
const RedisForceRebootResponse = {
|
|
1229
1255
|
type: {
|
|
@@ -1234,11 +1260,11 @@ const RedisForceRebootResponse = {
|
|
|
1234
1260
|
serializedName: "message",
|
|
1235
1261
|
readOnly: true,
|
|
1236
1262
|
type: {
|
|
1237
|
-
name: "String"
|
|
1238
|
-
}
|
|
1239
|
-
}
|
|
1240
|
-
}
|
|
1241
|
-
}
|
|
1263
|
+
name: "String",
|
|
1264
|
+
},
|
|
1265
|
+
},
|
|
1266
|
+
},
|
|
1267
|
+
},
|
|
1242
1268
|
};
|
|
1243
1269
|
const ImportRDBParameters = {
|
|
1244
1270
|
type: {
|
|
@@ -1248,8 +1274,8 @@ const ImportRDBParameters = {
|
|
|
1248
1274
|
format: {
|
|
1249
1275
|
serializedName: "format",
|
|
1250
1276
|
type: {
|
|
1251
|
-
name: "String"
|
|
1252
|
-
}
|
|
1277
|
+
name: "String",
|
|
1278
|
+
},
|
|
1253
1279
|
},
|
|
1254
1280
|
files: {
|
|
1255
1281
|
serializedName: "files",
|
|
@@ -1258,25 +1284,25 @@ const ImportRDBParameters = {
|
|
|
1258
1284
|
name: "Sequence",
|
|
1259
1285
|
element: {
|
|
1260
1286
|
type: {
|
|
1261
|
-
name: "String"
|
|
1262
|
-
}
|
|
1263
|
-
}
|
|
1264
|
-
}
|
|
1287
|
+
name: "String",
|
|
1288
|
+
},
|
|
1289
|
+
},
|
|
1290
|
+
},
|
|
1265
1291
|
},
|
|
1266
1292
|
preferredDataArchiveAuthMethod: {
|
|
1267
1293
|
serializedName: "preferred-data-archive-auth-method",
|
|
1268
1294
|
type: {
|
|
1269
|
-
name: "String"
|
|
1270
|
-
}
|
|
1295
|
+
name: "String",
|
|
1296
|
+
},
|
|
1271
1297
|
},
|
|
1272
1298
|
storageSubscriptionId: {
|
|
1273
1299
|
serializedName: "storage-subscription-id",
|
|
1274
1300
|
type: {
|
|
1275
|
-
name: "String"
|
|
1276
|
-
}
|
|
1277
|
-
}
|
|
1278
|
-
}
|
|
1279
|
-
}
|
|
1301
|
+
name: "String",
|
|
1302
|
+
},
|
|
1303
|
+
},
|
|
1304
|
+
},
|
|
1305
|
+
},
|
|
1280
1306
|
};
|
|
1281
1307
|
const ExportRDBParameters = {
|
|
1282
1308
|
type: {
|
|
@@ -1286,37 +1312,37 @@ const ExportRDBParameters = {
|
|
|
1286
1312
|
format: {
|
|
1287
1313
|
serializedName: "format",
|
|
1288
1314
|
type: {
|
|
1289
|
-
name: "String"
|
|
1290
|
-
}
|
|
1315
|
+
name: "String",
|
|
1316
|
+
},
|
|
1291
1317
|
},
|
|
1292
1318
|
prefix: {
|
|
1293
1319
|
serializedName: "prefix",
|
|
1294
1320
|
required: true,
|
|
1295
1321
|
type: {
|
|
1296
|
-
name: "String"
|
|
1297
|
-
}
|
|
1322
|
+
name: "String",
|
|
1323
|
+
},
|
|
1298
1324
|
},
|
|
1299
1325
|
container: {
|
|
1300
1326
|
serializedName: "container",
|
|
1301
1327
|
required: true,
|
|
1302
1328
|
type: {
|
|
1303
|
-
name: "String"
|
|
1304
|
-
}
|
|
1329
|
+
name: "String",
|
|
1330
|
+
},
|
|
1305
1331
|
},
|
|
1306
1332
|
preferredDataArchiveAuthMethod: {
|
|
1307
1333
|
serializedName: "preferred-data-archive-auth-method",
|
|
1308
1334
|
type: {
|
|
1309
|
-
name: "String"
|
|
1310
|
-
}
|
|
1335
|
+
name: "String",
|
|
1336
|
+
},
|
|
1311
1337
|
},
|
|
1312
1338
|
storageSubscriptionId: {
|
|
1313
1339
|
serializedName: "storage-subscription-id",
|
|
1314
1340
|
type: {
|
|
1315
|
-
name: "String"
|
|
1316
|
-
}
|
|
1317
|
-
}
|
|
1318
|
-
}
|
|
1319
|
-
}
|
|
1341
|
+
name: "String",
|
|
1342
|
+
},
|
|
1343
|
+
},
|
|
1344
|
+
},
|
|
1345
|
+
},
|
|
1320
1346
|
};
|
|
1321
1347
|
const OperationStatusResult = {
|
|
1322
1348
|
type: {
|
|
@@ -1326,43 +1352,43 @@ const OperationStatusResult = {
|
|
|
1326
1352
|
id: {
|
|
1327
1353
|
serializedName: "id",
|
|
1328
1354
|
type: {
|
|
1329
|
-
name: "String"
|
|
1330
|
-
}
|
|
1355
|
+
name: "String",
|
|
1356
|
+
},
|
|
1331
1357
|
},
|
|
1332
1358
|
name: {
|
|
1333
1359
|
serializedName: "name",
|
|
1334
1360
|
type: {
|
|
1335
|
-
name: "String"
|
|
1336
|
-
}
|
|
1361
|
+
name: "String",
|
|
1362
|
+
},
|
|
1337
1363
|
},
|
|
1338
1364
|
status: {
|
|
1339
1365
|
serializedName: "status",
|
|
1340
1366
|
required: true,
|
|
1341
1367
|
type: {
|
|
1342
|
-
name: "String"
|
|
1343
|
-
}
|
|
1368
|
+
name: "String",
|
|
1369
|
+
},
|
|
1344
1370
|
},
|
|
1345
1371
|
percentComplete: {
|
|
1346
1372
|
constraints: {
|
|
1347
1373
|
InclusiveMaximum: 100,
|
|
1348
|
-
InclusiveMinimum: 0
|
|
1374
|
+
InclusiveMinimum: 0,
|
|
1349
1375
|
},
|
|
1350
1376
|
serializedName: "percentComplete",
|
|
1351
1377
|
type: {
|
|
1352
|
-
name: "Number"
|
|
1353
|
-
}
|
|
1378
|
+
name: "Number",
|
|
1379
|
+
},
|
|
1354
1380
|
},
|
|
1355
1381
|
startTime: {
|
|
1356
1382
|
serializedName: "startTime",
|
|
1357
1383
|
type: {
|
|
1358
|
-
name: "DateTime"
|
|
1359
|
-
}
|
|
1384
|
+
name: "DateTime",
|
|
1385
|
+
},
|
|
1360
1386
|
},
|
|
1361
1387
|
endTime: {
|
|
1362
1388
|
serializedName: "endTime",
|
|
1363
1389
|
type: {
|
|
1364
|
-
name: "DateTime"
|
|
1365
|
-
}
|
|
1390
|
+
name: "DateTime",
|
|
1391
|
+
},
|
|
1366
1392
|
},
|
|
1367
1393
|
operations: {
|
|
1368
1394
|
serializedName: "operations",
|
|
@@ -1371,20 +1397,20 @@ const OperationStatusResult = {
|
|
|
1371
1397
|
element: {
|
|
1372
1398
|
type: {
|
|
1373
1399
|
name: "Composite",
|
|
1374
|
-
className: "OperationStatusResult"
|
|
1375
|
-
}
|
|
1376
|
-
}
|
|
1377
|
-
}
|
|
1400
|
+
className: "OperationStatusResult",
|
|
1401
|
+
},
|
|
1402
|
+
},
|
|
1403
|
+
},
|
|
1378
1404
|
},
|
|
1379
1405
|
error: {
|
|
1380
1406
|
serializedName: "error",
|
|
1381
1407
|
type: {
|
|
1382
1408
|
name: "Composite",
|
|
1383
|
-
className: "ErrorDetail"
|
|
1384
|
-
}
|
|
1385
|
-
}
|
|
1386
|
-
}
|
|
1387
|
-
}
|
|
1409
|
+
className: "ErrorDetail",
|
|
1410
|
+
},
|
|
1411
|
+
},
|
|
1412
|
+
},
|
|
1413
|
+
},
|
|
1388
1414
|
};
|
|
1389
1415
|
const RedisFirewallRuleListResult = {
|
|
1390
1416
|
type: {
|
|
@@ -1398,20 +1424,20 @@ const RedisFirewallRuleListResult = {
|
|
|
1398
1424
|
element: {
|
|
1399
1425
|
type: {
|
|
1400
1426
|
name: "Composite",
|
|
1401
|
-
className: "RedisFirewallRule"
|
|
1402
|
-
}
|
|
1403
|
-
}
|
|
1404
|
-
}
|
|
1427
|
+
className: "RedisFirewallRule",
|
|
1428
|
+
},
|
|
1429
|
+
},
|
|
1430
|
+
},
|
|
1405
1431
|
},
|
|
1406
1432
|
nextLink: {
|
|
1407
1433
|
serializedName: "nextLink",
|
|
1408
1434
|
readOnly: true,
|
|
1409
1435
|
type: {
|
|
1410
|
-
name: "String"
|
|
1411
|
-
}
|
|
1412
|
-
}
|
|
1413
|
-
}
|
|
1414
|
-
}
|
|
1436
|
+
name: "String",
|
|
1437
|
+
},
|
|
1438
|
+
},
|
|
1439
|
+
},
|
|
1440
|
+
},
|
|
1415
1441
|
};
|
|
1416
1442
|
const RedisPatchScheduleListResult = {
|
|
1417
1443
|
type: {
|
|
@@ -1425,20 +1451,20 @@ const RedisPatchScheduleListResult = {
|
|
|
1425
1451
|
element: {
|
|
1426
1452
|
type: {
|
|
1427
1453
|
name: "Composite",
|
|
1428
|
-
className: "RedisPatchSchedule"
|
|
1429
|
-
}
|
|
1430
|
-
}
|
|
1431
|
-
}
|
|
1454
|
+
className: "RedisPatchSchedule",
|
|
1455
|
+
},
|
|
1456
|
+
},
|
|
1457
|
+
},
|
|
1432
1458
|
},
|
|
1433
1459
|
nextLink: {
|
|
1434
1460
|
serializedName: "nextLink",
|
|
1435
1461
|
readOnly: true,
|
|
1436
1462
|
type: {
|
|
1437
|
-
name: "String"
|
|
1438
|
-
}
|
|
1439
|
-
}
|
|
1440
|
-
}
|
|
1441
|
-
}
|
|
1463
|
+
name: "String",
|
|
1464
|
+
},
|
|
1465
|
+
},
|
|
1466
|
+
},
|
|
1467
|
+
},
|
|
1442
1468
|
};
|
|
1443
1469
|
const ScheduleEntry = {
|
|
1444
1470
|
type: {
|
|
@@ -1459,25 +1485,25 @@ const ScheduleEntry = {
|
|
|
1459
1485
|
"Saturday",
|
|
1460
1486
|
"Sunday",
|
|
1461
1487
|
"Everyday",
|
|
1462
|
-
"Weekend"
|
|
1463
|
-
]
|
|
1464
|
-
}
|
|
1488
|
+
"Weekend",
|
|
1489
|
+
],
|
|
1490
|
+
},
|
|
1465
1491
|
},
|
|
1466
1492
|
startHourUtc: {
|
|
1467
1493
|
serializedName: "startHourUtc",
|
|
1468
1494
|
required: true,
|
|
1469
1495
|
type: {
|
|
1470
|
-
name: "Number"
|
|
1471
|
-
}
|
|
1496
|
+
name: "Number",
|
|
1497
|
+
},
|
|
1472
1498
|
},
|
|
1473
1499
|
maintenanceWindow: {
|
|
1474
1500
|
serializedName: "maintenanceWindow",
|
|
1475
1501
|
type: {
|
|
1476
|
-
name: "TimeSpan"
|
|
1477
|
-
}
|
|
1478
|
-
}
|
|
1479
|
-
}
|
|
1480
|
-
}
|
|
1502
|
+
name: "TimeSpan",
|
|
1503
|
+
},
|
|
1504
|
+
},
|
|
1505
|
+
},
|
|
1506
|
+
},
|
|
1481
1507
|
};
|
|
1482
1508
|
const RedisLinkedServerCreateParameters = {
|
|
1483
1509
|
type: {
|
|
@@ -1488,40 +1514,40 @@ const RedisLinkedServerCreateParameters = {
|
|
|
1488
1514
|
serializedName: "properties.linkedRedisCacheId",
|
|
1489
1515
|
required: true,
|
|
1490
1516
|
type: {
|
|
1491
|
-
name: "String"
|
|
1492
|
-
}
|
|
1517
|
+
name: "String",
|
|
1518
|
+
},
|
|
1493
1519
|
},
|
|
1494
1520
|
linkedRedisCacheLocation: {
|
|
1495
1521
|
serializedName: "properties.linkedRedisCacheLocation",
|
|
1496
1522
|
required: true,
|
|
1497
1523
|
type: {
|
|
1498
|
-
name: "String"
|
|
1499
|
-
}
|
|
1524
|
+
name: "String",
|
|
1525
|
+
},
|
|
1500
1526
|
},
|
|
1501
1527
|
serverRole: {
|
|
1502
1528
|
serializedName: "properties.serverRole",
|
|
1503
1529
|
required: true,
|
|
1504
1530
|
type: {
|
|
1505
1531
|
name: "Enum",
|
|
1506
|
-
allowedValues: ["Primary", "Secondary"]
|
|
1507
|
-
}
|
|
1532
|
+
allowedValues: ["Primary", "Secondary"],
|
|
1533
|
+
},
|
|
1508
1534
|
},
|
|
1509
1535
|
geoReplicatedPrimaryHostName: {
|
|
1510
1536
|
serializedName: "properties.geoReplicatedPrimaryHostName",
|
|
1511
1537
|
readOnly: true,
|
|
1512
1538
|
type: {
|
|
1513
|
-
name: "String"
|
|
1514
|
-
}
|
|
1539
|
+
name: "String",
|
|
1540
|
+
},
|
|
1515
1541
|
},
|
|
1516
1542
|
primaryHostName: {
|
|
1517
1543
|
serializedName: "properties.primaryHostName",
|
|
1518
1544
|
readOnly: true,
|
|
1519
1545
|
type: {
|
|
1520
|
-
name: "String"
|
|
1521
|
-
}
|
|
1522
|
-
}
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1546
|
+
name: "String",
|
|
1547
|
+
},
|
|
1548
|
+
},
|
|
1549
|
+
},
|
|
1550
|
+
},
|
|
1525
1551
|
};
|
|
1526
1552
|
const RedisLinkedServerCreateProperties = {
|
|
1527
1553
|
type: {
|
|
@@ -1532,40 +1558,40 @@ const RedisLinkedServerCreateProperties = {
|
|
|
1532
1558
|
serializedName: "linkedRedisCacheId",
|
|
1533
1559
|
required: true,
|
|
1534
1560
|
type: {
|
|
1535
|
-
name: "String"
|
|
1536
|
-
}
|
|
1561
|
+
name: "String",
|
|
1562
|
+
},
|
|
1537
1563
|
},
|
|
1538
1564
|
linkedRedisCacheLocation: {
|
|
1539
1565
|
serializedName: "linkedRedisCacheLocation",
|
|
1540
1566
|
required: true,
|
|
1541
1567
|
type: {
|
|
1542
|
-
name: "String"
|
|
1543
|
-
}
|
|
1568
|
+
name: "String",
|
|
1569
|
+
},
|
|
1544
1570
|
},
|
|
1545
1571
|
serverRole: {
|
|
1546
1572
|
serializedName: "serverRole",
|
|
1547
1573
|
required: true,
|
|
1548
1574
|
type: {
|
|
1549
1575
|
name: "Enum",
|
|
1550
|
-
allowedValues: ["Primary", "Secondary"]
|
|
1551
|
-
}
|
|
1576
|
+
allowedValues: ["Primary", "Secondary"],
|
|
1577
|
+
},
|
|
1552
1578
|
},
|
|
1553
1579
|
geoReplicatedPrimaryHostName: {
|
|
1554
1580
|
serializedName: "geoReplicatedPrimaryHostName",
|
|
1555
1581
|
readOnly: true,
|
|
1556
1582
|
type: {
|
|
1557
|
-
name: "String"
|
|
1558
|
-
}
|
|
1583
|
+
name: "String",
|
|
1584
|
+
},
|
|
1559
1585
|
},
|
|
1560
1586
|
primaryHostName: {
|
|
1561
1587
|
serializedName: "primaryHostName",
|
|
1562
1588
|
readOnly: true,
|
|
1563
1589
|
type: {
|
|
1564
|
-
name: "String"
|
|
1565
|
-
}
|
|
1566
|
-
}
|
|
1567
|
-
}
|
|
1568
|
-
}
|
|
1590
|
+
name: "String",
|
|
1591
|
+
},
|
|
1592
|
+
},
|
|
1593
|
+
},
|
|
1594
|
+
},
|
|
1569
1595
|
};
|
|
1570
1596
|
const RedisLinkedServerWithPropertiesList = {
|
|
1571
1597
|
type: {
|
|
@@ -1579,20 +1605,20 @@ const RedisLinkedServerWithPropertiesList = {
|
|
|
1579
1605
|
element: {
|
|
1580
1606
|
type: {
|
|
1581
1607
|
name: "Composite",
|
|
1582
|
-
className: "RedisLinkedServerWithProperties"
|
|
1583
|
-
}
|
|
1584
|
-
}
|
|
1585
|
-
}
|
|
1608
|
+
className: "RedisLinkedServerWithProperties",
|
|
1609
|
+
},
|
|
1610
|
+
},
|
|
1611
|
+
},
|
|
1586
1612
|
},
|
|
1587
1613
|
nextLink: {
|
|
1588
1614
|
serializedName: "nextLink",
|
|
1589
1615
|
readOnly: true,
|
|
1590
1616
|
type: {
|
|
1591
|
-
name: "String"
|
|
1592
|
-
}
|
|
1593
|
-
}
|
|
1594
|
-
}
|
|
1595
|
-
}
|
|
1617
|
+
name: "String",
|
|
1618
|
+
},
|
|
1619
|
+
},
|
|
1620
|
+
},
|
|
1621
|
+
},
|
|
1596
1622
|
};
|
|
1597
1623
|
const PrivateEndpointConnectionListResult = {
|
|
1598
1624
|
type: {
|
|
@@ -1606,13 +1632,13 @@ const PrivateEndpointConnectionListResult = {
|
|
|
1606
1632
|
element: {
|
|
1607
1633
|
type: {
|
|
1608
1634
|
name: "Composite",
|
|
1609
|
-
className: "PrivateEndpointConnection"
|
|
1610
|
-
}
|
|
1611
|
-
}
|
|
1612
|
-
}
|
|
1613
|
-
}
|
|
1614
|
-
}
|
|
1615
|
-
}
|
|
1635
|
+
className: "PrivateEndpointConnection",
|
|
1636
|
+
},
|
|
1637
|
+
},
|
|
1638
|
+
},
|
|
1639
|
+
},
|
|
1640
|
+
},
|
|
1641
|
+
},
|
|
1616
1642
|
};
|
|
1617
1643
|
const PrivateLinkResourceListResult = {
|
|
1618
1644
|
type: {
|
|
@@ -1626,13 +1652,13 @@ const PrivateLinkResourceListResult = {
|
|
|
1626
1652
|
element: {
|
|
1627
1653
|
type: {
|
|
1628
1654
|
name: "Composite",
|
|
1629
|
-
className: "PrivateLinkResource"
|
|
1630
|
-
}
|
|
1631
|
-
}
|
|
1632
|
-
}
|
|
1633
|
-
}
|
|
1634
|
-
}
|
|
1635
|
-
}
|
|
1655
|
+
className: "PrivateLinkResource",
|
|
1656
|
+
},
|
|
1657
|
+
},
|
|
1658
|
+
},
|
|
1659
|
+
},
|
|
1660
|
+
},
|
|
1661
|
+
},
|
|
1636
1662
|
};
|
|
1637
1663
|
const RedisCacheAccessPolicyList = {
|
|
1638
1664
|
type: {
|
|
@@ -1646,20 +1672,20 @@ const RedisCacheAccessPolicyList = {
|
|
|
1646
1672
|
element: {
|
|
1647
1673
|
type: {
|
|
1648
1674
|
name: "Composite",
|
|
1649
|
-
className: "RedisCacheAccessPolicy"
|
|
1650
|
-
}
|
|
1651
|
-
}
|
|
1652
|
-
}
|
|
1675
|
+
className: "RedisCacheAccessPolicy",
|
|
1676
|
+
},
|
|
1677
|
+
},
|
|
1678
|
+
},
|
|
1653
1679
|
},
|
|
1654
1680
|
nextLink: {
|
|
1655
1681
|
serializedName: "nextLink",
|
|
1656
1682
|
readOnly: true,
|
|
1657
1683
|
type: {
|
|
1658
|
-
name: "String"
|
|
1659
|
-
}
|
|
1660
|
-
}
|
|
1661
|
-
}
|
|
1662
|
-
}
|
|
1684
|
+
name: "String",
|
|
1685
|
+
},
|
|
1686
|
+
},
|
|
1687
|
+
},
|
|
1688
|
+
},
|
|
1663
1689
|
};
|
|
1664
1690
|
const RedisCacheAccessPolicyAssignmentList = {
|
|
1665
1691
|
type: {
|
|
@@ -1673,20 +1699,20 @@ const RedisCacheAccessPolicyAssignmentList = {
|
|
|
1673
1699
|
element: {
|
|
1674
1700
|
type: {
|
|
1675
1701
|
name: "Composite",
|
|
1676
|
-
className: "RedisCacheAccessPolicyAssignment"
|
|
1677
|
-
}
|
|
1678
|
-
}
|
|
1679
|
-
}
|
|
1702
|
+
className: "RedisCacheAccessPolicyAssignment",
|
|
1703
|
+
},
|
|
1704
|
+
},
|
|
1705
|
+
},
|
|
1680
1706
|
},
|
|
1681
1707
|
nextLink: {
|
|
1682
1708
|
serializedName: "nextLink",
|
|
1683
1709
|
readOnly: true,
|
|
1684
1710
|
type: {
|
|
1685
|
-
name: "String"
|
|
1686
|
-
}
|
|
1687
|
-
}
|
|
1688
|
-
}
|
|
1689
|
-
}
|
|
1711
|
+
name: "String",
|
|
1712
|
+
},
|
|
1713
|
+
},
|
|
1714
|
+
},
|
|
1715
|
+
},
|
|
1690
1716
|
};
|
|
1691
1717
|
const RedisCreateProperties = {
|
|
1692
1718
|
type: {
|
|
@@ -1696,26 +1722,26 @@ const RedisCreateProperties = {
|
|
|
1696
1722
|
serializedName: "sku",
|
|
1697
1723
|
type: {
|
|
1698
1724
|
name: "Composite",
|
|
1699
|
-
className: "Sku"
|
|
1700
|
-
}
|
|
1725
|
+
className: "Sku",
|
|
1726
|
+
},
|
|
1701
1727
|
}, subnetId: {
|
|
1702
1728
|
constraints: {
|
|
1703
|
-
Pattern: new RegExp("^\\/subscriptions\\/[^/]*\\/resourceGroups\\/[^/]*\\/providers\\/Microsoft.(ClassicNetwork|Network)\\/virtualNetworks\\/[^/]*\\/subnets\\/[^/]*$")
|
|
1729
|
+
Pattern: new RegExp("^\\/subscriptions\\/[^/]*\\/resourceGroups\\/[^/]*\\/providers\\/Microsoft.(ClassicNetwork|Network)\\/virtualNetworks\\/[^/]*\\/subnets\\/[^/]*$"),
|
|
1704
1730
|
},
|
|
1705
1731
|
serializedName: "subnetId",
|
|
1706
1732
|
type: {
|
|
1707
|
-
name: "String"
|
|
1708
|
-
}
|
|
1733
|
+
name: "String",
|
|
1734
|
+
},
|
|
1709
1735
|
}, staticIP: {
|
|
1710
1736
|
constraints: {
|
|
1711
|
-
Pattern: new RegExp("^\\d+\\.\\d+\\.\\d+\\.\\d+$")
|
|
1737
|
+
Pattern: new RegExp("^\\d+\\.\\d+\\.\\d+\\.\\d+$"),
|
|
1712
1738
|
},
|
|
1713
1739
|
serializedName: "staticIP",
|
|
1714
1740
|
type: {
|
|
1715
|
-
name: "String"
|
|
1716
|
-
}
|
|
1717
|
-
} })
|
|
1718
|
-
}
|
|
1741
|
+
name: "String",
|
|
1742
|
+
},
|
|
1743
|
+
} }),
|
|
1744
|
+
},
|
|
1719
1745
|
};
|
|
1720
1746
|
const RedisUpdateProperties = {
|
|
1721
1747
|
type: {
|
|
@@ -1725,10 +1751,10 @@ const RedisUpdateProperties = {
|
|
|
1725
1751
|
serializedName: "sku",
|
|
1726
1752
|
type: {
|
|
1727
1753
|
name: "Composite",
|
|
1728
|
-
className: "Sku"
|
|
1729
|
-
}
|
|
1730
|
-
} })
|
|
1731
|
-
}
|
|
1754
|
+
className: "Sku",
|
|
1755
|
+
},
|
|
1756
|
+
} }),
|
|
1757
|
+
},
|
|
1732
1758
|
};
|
|
1733
1759
|
const PrivateEndpointConnection = {
|
|
1734
1760
|
type: {
|
|
@@ -1738,22 +1764,22 @@ const PrivateEndpointConnection = {
|
|
|
1738
1764
|
serializedName: "properties.privateEndpoint",
|
|
1739
1765
|
type: {
|
|
1740
1766
|
name: "Composite",
|
|
1741
|
-
className: "PrivateEndpoint"
|
|
1742
|
-
}
|
|
1767
|
+
className: "PrivateEndpoint",
|
|
1768
|
+
},
|
|
1743
1769
|
}, privateLinkServiceConnectionState: {
|
|
1744
1770
|
serializedName: "properties.privateLinkServiceConnectionState",
|
|
1745
1771
|
type: {
|
|
1746
1772
|
name: "Composite",
|
|
1747
|
-
className: "PrivateLinkServiceConnectionState"
|
|
1748
|
-
}
|
|
1773
|
+
className: "PrivateLinkServiceConnectionState",
|
|
1774
|
+
},
|
|
1749
1775
|
}, provisioningState: {
|
|
1750
1776
|
serializedName: "properties.provisioningState",
|
|
1751
1777
|
readOnly: true,
|
|
1752
1778
|
type: {
|
|
1753
|
-
name: "String"
|
|
1754
|
-
}
|
|
1755
|
-
} })
|
|
1756
|
-
}
|
|
1779
|
+
name: "String",
|
|
1780
|
+
},
|
|
1781
|
+
} }),
|
|
1782
|
+
},
|
|
1757
1783
|
};
|
|
1758
1784
|
const TrackedResource = {
|
|
1759
1785
|
type: {
|
|
@@ -1763,23 +1789,23 @@ const TrackedResource = {
|
|
|
1763
1789
|
serializedName: "tags",
|
|
1764
1790
|
type: {
|
|
1765
1791
|
name: "Dictionary",
|
|
1766
|
-
value: { type: { name: "String" } }
|
|
1767
|
-
}
|
|
1792
|
+
value: { type: { name: "String" } },
|
|
1793
|
+
},
|
|
1768
1794
|
}, location: {
|
|
1769
1795
|
serializedName: "location",
|
|
1770
1796
|
required: true,
|
|
1771
1797
|
type: {
|
|
1772
|
-
name: "String"
|
|
1773
|
-
}
|
|
1774
|
-
} })
|
|
1775
|
-
}
|
|
1798
|
+
name: "String",
|
|
1799
|
+
},
|
|
1800
|
+
} }),
|
|
1801
|
+
},
|
|
1776
1802
|
};
|
|
1777
1803
|
const ProxyResource = {
|
|
1778
1804
|
type: {
|
|
1779
1805
|
name: "Composite",
|
|
1780
1806
|
className: "ProxyResource",
|
|
1781
|
-
modelProperties: Object.assign({}, Resource.type.modelProperties)
|
|
1782
|
-
}
|
|
1807
|
+
modelProperties: Object.assign({}, Resource.type.modelProperties),
|
|
1808
|
+
},
|
|
1783
1809
|
};
|
|
1784
1810
|
const PrivateLinkResource = {
|
|
1785
1811
|
type: {
|
|
@@ -1789,8 +1815,8 @@ const PrivateLinkResource = {
|
|
|
1789
1815
|
serializedName: "properties.groupId",
|
|
1790
1816
|
readOnly: true,
|
|
1791
1817
|
type: {
|
|
1792
|
-
name: "String"
|
|
1793
|
-
}
|
|
1818
|
+
name: "String",
|
|
1819
|
+
},
|
|
1794
1820
|
}, requiredMembers: {
|
|
1795
1821
|
serializedName: "properties.requiredMembers",
|
|
1796
1822
|
readOnly: true,
|
|
@@ -1798,22 +1824,22 @@ const PrivateLinkResource = {
|
|
|
1798
1824
|
name: "Sequence",
|
|
1799
1825
|
element: {
|
|
1800
1826
|
type: {
|
|
1801
|
-
name: "String"
|
|
1802
|
-
}
|
|
1803
|
-
}
|
|
1804
|
-
}
|
|
1827
|
+
name: "String",
|
|
1828
|
+
},
|
|
1829
|
+
},
|
|
1830
|
+
},
|
|
1805
1831
|
}, requiredZoneNames: {
|
|
1806
1832
|
serializedName: "properties.requiredZoneNames",
|
|
1807
1833
|
type: {
|
|
1808
1834
|
name: "Sequence",
|
|
1809
1835
|
element: {
|
|
1810
1836
|
type: {
|
|
1811
|
-
name: "String"
|
|
1812
|
-
}
|
|
1813
|
-
}
|
|
1814
|
-
}
|
|
1815
|
-
} })
|
|
1816
|
-
}
|
|
1837
|
+
name: "String",
|
|
1838
|
+
},
|
|
1839
|
+
},
|
|
1840
|
+
},
|
|
1841
|
+
} }),
|
|
1842
|
+
},
|
|
1817
1843
|
};
|
|
1818
1844
|
const OperationStatus = {
|
|
1819
1845
|
type: {
|
|
@@ -1823,10 +1849,10 @@ const OperationStatus = {
|
|
|
1823
1849
|
serializedName: "properties",
|
|
1824
1850
|
type: {
|
|
1825
1851
|
name: "Dictionary",
|
|
1826
|
-
value: { type: { name: "any" } }
|
|
1827
|
-
}
|
|
1828
|
-
} })
|
|
1829
|
-
}
|
|
1852
|
+
value: { type: { name: "any" } },
|
|
1853
|
+
},
|
|
1854
|
+
} }),
|
|
1855
|
+
},
|
|
1830
1856
|
};
|
|
1831
1857
|
const RedisLinkedServerProperties = {
|
|
1832
1858
|
type: {
|
|
@@ -1836,10 +1862,10 @@ const RedisLinkedServerProperties = {
|
|
|
1836
1862
|
serializedName: "provisioningState",
|
|
1837
1863
|
readOnly: true,
|
|
1838
1864
|
type: {
|
|
1839
|
-
name: "String"
|
|
1840
|
-
}
|
|
1841
|
-
} })
|
|
1842
|
-
}
|
|
1865
|
+
name: "String",
|
|
1866
|
+
},
|
|
1867
|
+
} }),
|
|
1868
|
+
},
|
|
1843
1869
|
};
|
|
1844
1870
|
const RedisProperties = {
|
|
1845
1871
|
type: {
|
|
@@ -1849,32 +1875,32 @@ const RedisProperties = {
|
|
|
1849
1875
|
serializedName: "provisioningState",
|
|
1850
1876
|
readOnly: true,
|
|
1851
1877
|
type: {
|
|
1852
|
-
name: "String"
|
|
1853
|
-
}
|
|
1878
|
+
name: "String",
|
|
1879
|
+
},
|
|
1854
1880
|
}, hostName: {
|
|
1855
1881
|
serializedName: "hostName",
|
|
1856
1882
|
readOnly: true,
|
|
1857
1883
|
type: {
|
|
1858
|
-
name: "String"
|
|
1859
|
-
}
|
|
1884
|
+
name: "String",
|
|
1885
|
+
},
|
|
1860
1886
|
}, port: {
|
|
1861
1887
|
serializedName: "port",
|
|
1862
1888
|
readOnly: true,
|
|
1863
1889
|
type: {
|
|
1864
|
-
name: "Number"
|
|
1865
|
-
}
|
|
1890
|
+
name: "Number",
|
|
1891
|
+
},
|
|
1866
1892
|
}, sslPort: {
|
|
1867
1893
|
serializedName: "sslPort",
|
|
1868
1894
|
readOnly: true,
|
|
1869
1895
|
type: {
|
|
1870
|
-
name: "Number"
|
|
1871
|
-
}
|
|
1896
|
+
name: "Number",
|
|
1897
|
+
},
|
|
1872
1898
|
}, accessKeys: {
|
|
1873
1899
|
serializedName: "accessKeys",
|
|
1874
1900
|
type: {
|
|
1875
1901
|
name: "Composite",
|
|
1876
|
-
className: "RedisAccessKeys"
|
|
1877
|
-
}
|
|
1902
|
+
className: "RedisAccessKeys",
|
|
1903
|
+
},
|
|
1878
1904
|
}, linkedServers: {
|
|
1879
1905
|
serializedName: "linkedServers",
|
|
1880
1906
|
readOnly: true,
|
|
@@ -1883,10 +1909,10 @@ const RedisProperties = {
|
|
|
1883
1909
|
element: {
|
|
1884
1910
|
type: {
|
|
1885
1911
|
name: "Composite",
|
|
1886
|
-
className: "RedisLinkedServer"
|
|
1887
|
-
}
|
|
1888
|
-
}
|
|
1889
|
-
}
|
|
1912
|
+
className: "RedisLinkedServer",
|
|
1913
|
+
},
|
|
1914
|
+
},
|
|
1915
|
+
},
|
|
1890
1916
|
}, instances: {
|
|
1891
1917
|
serializedName: "instances",
|
|
1892
1918
|
readOnly: true,
|
|
@@ -1895,10 +1921,10 @@ const RedisProperties = {
|
|
|
1895
1921
|
element: {
|
|
1896
1922
|
type: {
|
|
1897
1923
|
name: "Composite",
|
|
1898
|
-
className: "RedisInstanceDetails"
|
|
1899
|
-
}
|
|
1900
|
-
}
|
|
1901
|
-
}
|
|
1924
|
+
className: "RedisInstanceDetails",
|
|
1925
|
+
},
|
|
1926
|
+
},
|
|
1927
|
+
},
|
|
1902
1928
|
}, privateEndpointConnections: {
|
|
1903
1929
|
serializedName: "privateEndpointConnections",
|
|
1904
1930
|
readOnly: true,
|
|
@@ -1907,12 +1933,12 @@ const RedisProperties = {
|
|
|
1907
1933
|
element: {
|
|
1908
1934
|
type: {
|
|
1909
1935
|
name: "Composite",
|
|
1910
|
-
className: "PrivateEndpointConnection"
|
|
1911
|
-
}
|
|
1912
|
-
}
|
|
1913
|
-
}
|
|
1914
|
-
} })
|
|
1915
|
-
}
|
|
1936
|
+
className: "PrivateEndpointConnection",
|
|
1937
|
+
},
|
|
1938
|
+
},
|
|
1939
|
+
},
|
|
1940
|
+
} }),
|
|
1941
|
+
},
|
|
1916
1942
|
};
|
|
1917
1943
|
const RedisResource = {
|
|
1918
1944
|
type: {
|
|
@@ -1924,122 +1950,128 @@ const RedisResource = {
|
|
|
1924
1950
|
name: "Sequence",
|
|
1925
1951
|
element: {
|
|
1926
1952
|
type: {
|
|
1927
|
-
name: "String"
|
|
1928
|
-
}
|
|
1929
|
-
}
|
|
1930
|
-
}
|
|
1953
|
+
name: "String",
|
|
1954
|
+
},
|
|
1955
|
+
},
|
|
1956
|
+
},
|
|
1931
1957
|
}, identity: {
|
|
1932
1958
|
serializedName: "identity",
|
|
1933
1959
|
type: {
|
|
1934
1960
|
name: "Composite",
|
|
1935
|
-
className: "ManagedServiceIdentity"
|
|
1936
|
-
}
|
|
1961
|
+
className: "ManagedServiceIdentity",
|
|
1962
|
+
},
|
|
1937
1963
|
}, redisConfiguration: {
|
|
1938
1964
|
serializedName: "properties.redisConfiguration",
|
|
1939
1965
|
type: {
|
|
1940
1966
|
name: "Composite",
|
|
1941
|
-
className: "RedisCommonPropertiesRedisConfiguration"
|
|
1942
|
-
}
|
|
1967
|
+
className: "RedisCommonPropertiesRedisConfiguration",
|
|
1968
|
+
},
|
|
1943
1969
|
}, redisVersion: {
|
|
1944
1970
|
serializedName: "properties.redisVersion",
|
|
1945
1971
|
type: {
|
|
1946
|
-
name: "String"
|
|
1947
|
-
}
|
|
1972
|
+
name: "String",
|
|
1973
|
+
},
|
|
1948
1974
|
}, enableNonSslPort: {
|
|
1949
1975
|
defaultValue: false,
|
|
1950
1976
|
serializedName: "properties.enableNonSslPort",
|
|
1951
1977
|
type: {
|
|
1952
|
-
name: "Boolean"
|
|
1953
|
-
}
|
|
1978
|
+
name: "Boolean",
|
|
1979
|
+
},
|
|
1954
1980
|
}, replicasPerMaster: {
|
|
1955
1981
|
serializedName: "properties.replicasPerMaster",
|
|
1956
1982
|
type: {
|
|
1957
|
-
name: "Number"
|
|
1958
|
-
}
|
|
1983
|
+
name: "Number",
|
|
1984
|
+
},
|
|
1959
1985
|
}, replicasPerPrimary: {
|
|
1960
1986
|
serializedName: "properties.replicasPerPrimary",
|
|
1961
1987
|
type: {
|
|
1962
|
-
name: "Number"
|
|
1963
|
-
}
|
|
1988
|
+
name: "Number",
|
|
1989
|
+
},
|
|
1964
1990
|
}, tenantSettings: {
|
|
1965
1991
|
serializedName: "properties.tenantSettings",
|
|
1966
1992
|
type: {
|
|
1967
1993
|
name: "Dictionary",
|
|
1968
|
-
value: { type: { name: "String" } }
|
|
1969
|
-
}
|
|
1994
|
+
value: { type: { name: "String" } },
|
|
1995
|
+
},
|
|
1970
1996
|
}, shardCount: {
|
|
1971
1997
|
serializedName: "properties.shardCount",
|
|
1972
1998
|
type: {
|
|
1973
|
-
name: "Number"
|
|
1974
|
-
}
|
|
1999
|
+
name: "Number",
|
|
2000
|
+
},
|
|
1975
2001
|
}, minimumTlsVersion: {
|
|
1976
2002
|
serializedName: "properties.minimumTlsVersion",
|
|
1977
2003
|
type: {
|
|
1978
|
-
name: "String"
|
|
1979
|
-
}
|
|
2004
|
+
name: "String",
|
|
2005
|
+
},
|
|
1980
2006
|
}, publicNetworkAccess: {
|
|
1981
2007
|
defaultValue: "Enabled",
|
|
1982
2008
|
serializedName: "properties.publicNetworkAccess",
|
|
1983
2009
|
type: {
|
|
1984
|
-
name: "String"
|
|
1985
|
-
}
|
|
2010
|
+
name: "String",
|
|
2011
|
+
},
|
|
1986
2012
|
}, updateChannel: {
|
|
1987
2013
|
serializedName: "properties.updateChannel",
|
|
1988
2014
|
type: {
|
|
1989
|
-
name: "String"
|
|
1990
|
-
}
|
|
2015
|
+
name: "String",
|
|
2016
|
+
},
|
|
2017
|
+
}, disableAccessKeyAuthentication: {
|
|
2018
|
+
defaultValue: false,
|
|
2019
|
+
serializedName: "properties.disableAccessKeyAuthentication",
|
|
2020
|
+
type: {
|
|
2021
|
+
name: "Boolean",
|
|
2022
|
+
},
|
|
1991
2023
|
}, sku: {
|
|
1992
2024
|
serializedName: "properties.sku",
|
|
1993
2025
|
type: {
|
|
1994
2026
|
name: "Composite",
|
|
1995
|
-
className: "Sku"
|
|
1996
|
-
}
|
|
2027
|
+
className: "Sku",
|
|
2028
|
+
},
|
|
1997
2029
|
}, subnetId: {
|
|
1998
2030
|
constraints: {
|
|
1999
|
-
Pattern: new RegExp("^\\/subscriptions\\/[^/]*\\/resourceGroups\\/[^/]*\\/providers\\/Microsoft.(ClassicNetwork|Network)\\/virtualNetworks\\/[^/]*\\/subnets\\/[^/]*$")
|
|
2031
|
+
Pattern: new RegExp("^\\/subscriptions\\/[^/]*\\/resourceGroups\\/[^/]*\\/providers\\/Microsoft.(ClassicNetwork|Network)\\/virtualNetworks\\/[^/]*\\/subnets\\/[^/]*$"),
|
|
2000
2032
|
},
|
|
2001
2033
|
serializedName: "properties.subnetId",
|
|
2002
2034
|
type: {
|
|
2003
|
-
name: "String"
|
|
2004
|
-
}
|
|
2035
|
+
name: "String",
|
|
2036
|
+
},
|
|
2005
2037
|
}, staticIP: {
|
|
2006
2038
|
constraints: {
|
|
2007
|
-
Pattern: new RegExp("^\\d+\\.\\d+\\.\\d+\\.\\d+$")
|
|
2039
|
+
Pattern: new RegExp("^\\d+\\.\\d+\\.\\d+\\.\\d+$"),
|
|
2008
2040
|
},
|
|
2009
2041
|
serializedName: "properties.staticIP",
|
|
2010
2042
|
type: {
|
|
2011
|
-
name: "String"
|
|
2012
|
-
}
|
|
2043
|
+
name: "String",
|
|
2044
|
+
},
|
|
2013
2045
|
}, provisioningState: {
|
|
2014
2046
|
serializedName: "properties.provisioningState",
|
|
2015
2047
|
readOnly: true,
|
|
2016
2048
|
type: {
|
|
2017
|
-
name: "String"
|
|
2018
|
-
}
|
|
2049
|
+
name: "String",
|
|
2050
|
+
},
|
|
2019
2051
|
}, hostName: {
|
|
2020
2052
|
serializedName: "properties.hostName",
|
|
2021
2053
|
readOnly: true,
|
|
2022
2054
|
type: {
|
|
2023
|
-
name: "String"
|
|
2024
|
-
}
|
|
2055
|
+
name: "String",
|
|
2056
|
+
},
|
|
2025
2057
|
}, port: {
|
|
2026
2058
|
serializedName: "properties.port",
|
|
2027
2059
|
readOnly: true,
|
|
2028
2060
|
type: {
|
|
2029
|
-
name: "Number"
|
|
2030
|
-
}
|
|
2061
|
+
name: "Number",
|
|
2062
|
+
},
|
|
2031
2063
|
}, sslPort: {
|
|
2032
2064
|
serializedName: "properties.sslPort",
|
|
2033
2065
|
readOnly: true,
|
|
2034
2066
|
type: {
|
|
2035
|
-
name: "Number"
|
|
2036
|
-
}
|
|
2067
|
+
name: "Number",
|
|
2068
|
+
},
|
|
2037
2069
|
}, accessKeys: {
|
|
2038
2070
|
serializedName: "properties.accessKeys",
|
|
2039
2071
|
type: {
|
|
2040
2072
|
name: "Composite",
|
|
2041
|
-
className: "RedisAccessKeys"
|
|
2042
|
-
}
|
|
2073
|
+
className: "RedisAccessKeys",
|
|
2074
|
+
},
|
|
2043
2075
|
}, linkedServers: {
|
|
2044
2076
|
serializedName: "properties.linkedServers",
|
|
2045
2077
|
readOnly: true,
|
|
@@ -2048,10 +2080,10 @@ const RedisResource = {
|
|
|
2048
2080
|
element: {
|
|
2049
2081
|
type: {
|
|
2050
2082
|
name: "Composite",
|
|
2051
|
-
className: "RedisLinkedServer"
|
|
2052
|
-
}
|
|
2053
|
-
}
|
|
2054
|
-
}
|
|
2083
|
+
className: "RedisLinkedServer",
|
|
2084
|
+
},
|
|
2085
|
+
},
|
|
2086
|
+
},
|
|
2055
2087
|
}, instances: {
|
|
2056
2088
|
serializedName: "properties.instances",
|
|
2057
2089
|
readOnly: true,
|
|
@@ -2060,10 +2092,10 @@ const RedisResource = {
|
|
|
2060
2092
|
element: {
|
|
2061
2093
|
type: {
|
|
2062
2094
|
name: "Composite",
|
|
2063
|
-
className: "RedisInstanceDetails"
|
|
2064
|
-
}
|
|
2065
|
-
}
|
|
2066
|
-
}
|
|
2095
|
+
className: "RedisInstanceDetails",
|
|
2096
|
+
},
|
|
2097
|
+
},
|
|
2098
|
+
},
|
|
2067
2099
|
}, privateEndpointConnections: {
|
|
2068
2100
|
serializedName: "properties.privateEndpointConnections",
|
|
2069
2101
|
readOnly: true,
|
|
@@ -2072,12 +2104,12 @@ const RedisResource = {
|
|
|
2072
2104
|
element: {
|
|
2073
2105
|
type: {
|
|
2074
2106
|
name: "Composite",
|
|
2075
|
-
className: "PrivateEndpointConnection"
|
|
2076
|
-
}
|
|
2077
|
-
}
|
|
2078
|
-
}
|
|
2079
|
-
} })
|
|
2080
|
-
}
|
|
2107
|
+
className: "PrivateEndpointConnection",
|
|
2108
|
+
},
|
|
2109
|
+
},
|
|
2110
|
+
},
|
|
2111
|
+
} }),
|
|
2112
|
+
},
|
|
2081
2113
|
};
|
|
2082
2114
|
const RedisFirewallRule = {
|
|
2083
2115
|
type: {
|
|
@@ -2087,16 +2119,16 @@ const RedisFirewallRule = {
|
|
|
2087
2119
|
serializedName: "properties.startIP",
|
|
2088
2120
|
required: true,
|
|
2089
2121
|
type: {
|
|
2090
|
-
name: "String"
|
|
2091
|
-
}
|
|
2122
|
+
name: "String",
|
|
2123
|
+
},
|
|
2092
2124
|
}, endIP: {
|
|
2093
2125
|
serializedName: "properties.endIP",
|
|
2094
2126
|
required: true,
|
|
2095
2127
|
type: {
|
|
2096
|
-
name: "String"
|
|
2097
|
-
}
|
|
2098
|
-
} })
|
|
2099
|
-
}
|
|
2128
|
+
name: "String",
|
|
2129
|
+
},
|
|
2130
|
+
} }),
|
|
2131
|
+
},
|
|
2100
2132
|
};
|
|
2101
2133
|
const RedisPatchSchedule = {
|
|
2102
2134
|
type: {
|
|
@@ -2106,8 +2138,8 @@ const RedisPatchSchedule = {
|
|
|
2106
2138
|
serializedName: "location",
|
|
2107
2139
|
readOnly: true,
|
|
2108
2140
|
type: {
|
|
2109
|
-
name: "String"
|
|
2110
|
-
}
|
|
2141
|
+
name: "String",
|
|
2142
|
+
},
|
|
2111
2143
|
}, scheduleEntries: {
|
|
2112
2144
|
serializedName: "properties.scheduleEntries",
|
|
2113
2145
|
required: true,
|
|
@@ -2116,12 +2148,12 @@ const RedisPatchSchedule = {
|
|
|
2116
2148
|
element: {
|
|
2117
2149
|
type: {
|
|
2118
2150
|
name: "Composite",
|
|
2119
|
-
className: "ScheduleEntry"
|
|
2120
|
-
}
|
|
2121
|
-
}
|
|
2122
|
-
}
|
|
2123
|
-
} })
|
|
2124
|
-
}
|
|
2151
|
+
className: "ScheduleEntry",
|
|
2152
|
+
},
|
|
2153
|
+
},
|
|
2154
|
+
},
|
|
2155
|
+
} }),
|
|
2156
|
+
},
|
|
2125
2157
|
};
|
|
2126
2158
|
const RedisLinkedServerWithProperties = {
|
|
2127
2159
|
type: {
|
|
@@ -2130,39 +2162,39 @@ const RedisLinkedServerWithProperties = {
|
|
|
2130
2162
|
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { linkedRedisCacheId: {
|
|
2131
2163
|
serializedName: "properties.linkedRedisCacheId",
|
|
2132
2164
|
type: {
|
|
2133
|
-
name: "String"
|
|
2134
|
-
}
|
|
2165
|
+
name: "String",
|
|
2166
|
+
},
|
|
2135
2167
|
}, linkedRedisCacheLocation: {
|
|
2136
2168
|
serializedName: "properties.linkedRedisCacheLocation",
|
|
2137
2169
|
type: {
|
|
2138
|
-
name: "String"
|
|
2139
|
-
}
|
|
2170
|
+
name: "String",
|
|
2171
|
+
},
|
|
2140
2172
|
}, serverRole: {
|
|
2141
2173
|
serializedName: "properties.serverRole",
|
|
2142
2174
|
type: {
|
|
2143
2175
|
name: "Enum",
|
|
2144
|
-
allowedValues: ["Primary", "Secondary"]
|
|
2145
|
-
}
|
|
2176
|
+
allowedValues: ["Primary", "Secondary"],
|
|
2177
|
+
},
|
|
2146
2178
|
}, geoReplicatedPrimaryHostName: {
|
|
2147
2179
|
serializedName: "properties.geoReplicatedPrimaryHostName",
|
|
2148
2180
|
readOnly: true,
|
|
2149
2181
|
type: {
|
|
2150
|
-
name: "String"
|
|
2151
|
-
}
|
|
2182
|
+
name: "String",
|
|
2183
|
+
},
|
|
2152
2184
|
}, primaryHostName: {
|
|
2153
2185
|
serializedName: "properties.primaryHostName",
|
|
2154
2186
|
readOnly: true,
|
|
2155
2187
|
type: {
|
|
2156
|
-
name: "String"
|
|
2157
|
-
}
|
|
2188
|
+
name: "String",
|
|
2189
|
+
},
|
|
2158
2190
|
}, provisioningState: {
|
|
2159
2191
|
serializedName: "properties.provisioningState",
|
|
2160
2192
|
readOnly: true,
|
|
2161
2193
|
type: {
|
|
2162
|
-
name: "String"
|
|
2163
|
-
}
|
|
2164
|
-
} })
|
|
2165
|
-
}
|
|
2194
|
+
name: "String",
|
|
2195
|
+
},
|
|
2196
|
+
} }),
|
|
2197
|
+
},
|
|
2166
2198
|
};
|
|
2167
2199
|
const RedisCacheAccessPolicy = {
|
|
2168
2200
|
type: {
|
|
@@ -2172,21 +2204,21 @@ const RedisCacheAccessPolicy = {
|
|
|
2172
2204
|
serializedName: "properties.provisioningState",
|
|
2173
2205
|
readOnly: true,
|
|
2174
2206
|
type: {
|
|
2175
|
-
name: "String"
|
|
2176
|
-
}
|
|
2207
|
+
name: "String",
|
|
2208
|
+
},
|
|
2177
2209
|
}, typePropertiesType: {
|
|
2178
2210
|
serializedName: "properties.type",
|
|
2179
2211
|
readOnly: true,
|
|
2180
2212
|
type: {
|
|
2181
|
-
name: "String"
|
|
2182
|
-
}
|
|
2213
|
+
name: "String",
|
|
2214
|
+
},
|
|
2183
2215
|
}, permissions: {
|
|
2184
2216
|
serializedName: "properties.permissions",
|
|
2185
2217
|
type: {
|
|
2186
|
-
name: "String"
|
|
2187
|
-
}
|
|
2188
|
-
} })
|
|
2189
|
-
}
|
|
2218
|
+
name: "String",
|
|
2219
|
+
},
|
|
2220
|
+
} }),
|
|
2221
|
+
},
|
|
2190
2222
|
};
|
|
2191
2223
|
const RedisCacheAccessPolicyAssignment = {
|
|
2192
2224
|
type: {
|
|
@@ -2196,35 +2228,35 @@ const RedisCacheAccessPolicyAssignment = {
|
|
|
2196
2228
|
serializedName: "properties.provisioningState",
|
|
2197
2229
|
readOnly: true,
|
|
2198
2230
|
type: {
|
|
2199
|
-
name: "String"
|
|
2200
|
-
}
|
|
2231
|
+
name: "String",
|
|
2232
|
+
},
|
|
2201
2233
|
}, objectId: {
|
|
2202
2234
|
serializedName: "properties.objectId",
|
|
2203
2235
|
type: {
|
|
2204
|
-
name: "String"
|
|
2205
|
-
}
|
|
2236
|
+
name: "String",
|
|
2237
|
+
},
|
|
2206
2238
|
}, objectIdAlias: {
|
|
2207
2239
|
serializedName: "properties.objectIdAlias",
|
|
2208
2240
|
type: {
|
|
2209
|
-
name: "String"
|
|
2210
|
-
}
|
|
2241
|
+
name: "String",
|
|
2242
|
+
},
|
|
2211
2243
|
}, accessPolicyName: {
|
|
2212
2244
|
constraints: {
|
|
2213
|
-
Pattern: new RegExp("^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$")
|
|
2245
|
+
Pattern: new RegExp("^([a-zA-Z0-9][a-zA-Z0-9- ]*[a-zA-Z0-9]|[a-zA-Z0-9])$"),
|
|
2214
2246
|
},
|
|
2215
2247
|
serializedName: "properties.accessPolicyName",
|
|
2216
2248
|
type: {
|
|
2217
|
-
name: "String"
|
|
2218
|
-
}
|
|
2219
|
-
} })
|
|
2220
|
-
}
|
|
2249
|
+
name: "String",
|
|
2250
|
+
},
|
|
2251
|
+
} }),
|
|
2252
|
+
},
|
|
2221
2253
|
};
|
|
2222
2254
|
const RedisFirewallRuleCreateParameters = {
|
|
2223
2255
|
type: {
|
|
2224
2256
|
name: "Composite",
|
|
2225
2257
|
className: "RedisFirewallRuleCreateParameters",
|
|
2226
|
-
modelProperties: Object.assign({}, RedisFirewallRule.type.modelProperties)
|
|
2227
|
-
}
|
|
2258
|
+
modelProperties: Object.assign({}, RedisFirewallRule.type.modelProperties),
|
|
2259
|
+
},
|
|
2228
2260
|
};
|
|
2229
2261
|
const RedisFlushCacheHeaders = {
|
|
2230
2262
|
type: {
|
|
@@ -2234,17 +2266,17 @@ const RedisFlushCacheHeaders = {
|
|
|
2234
2266
|
location: {
|
|
2235
2267
|
serializedName: "location",
|
|
2236
2268
|
type: {
|
|
2237
|
-
name: "String"
|
|
2238
|
-
}
|
|
2269
|
+
name: "String",
|
|
2270
|
+
},
|
|
2239
2271
|
},
|
|
2240
2272
|
azureAsyncOperation: {
|
|
2241
2273
|
serializedName: "azure-asyncoperation",
|
|
2242
2274
|
type: {
|
|
2243
|
-
name: "String"
|
|
2244
|
-
}
|
|
2245
|
-
}
|
|
2246
|
-
}
|
|
2247
|
-
}
|
|
2275
|
+
name: "String",
|
|
2276
|
+
},
|
|
2277
|
+
},
|
|
2278
|
+
},
|
|
2279
|
+
},
|
|
2248
2280
|
};
|
|
2249
2281
|
const LinkedServerDeleteHeaders = {
|
|
2250
2282
|
type: {
|
|
@@ -2254,11 +2286,11 @@ const LinkedServerDeleteHeaders = {
|
|
|
2254
2286
|
location: {
|
|
2255
2287
|
serializedName: "location",
|
|
2256
2288
|
type: {
|
|
2257
|
-
name: "String"
|
|
2258
|
-
}
|
|
2259
|
-
}
|
|
2260
|
-
}
|
|
2261
|
-
}
|
|
2289
|
+
name: "String",
|
|
2290
|
+
},
|
|
2291
|
+
},
|
|
2292
|
+
},
|
|
2293
|
+
},
|
|
2262
2294
|
};
|
|
2263
2295
|
const AccessPolicyDeleteHeaders = {
|
|
2264
2296
|
type: {
|
|
@@ -2268,11 +2300,11 @@ const AccessPolicyDeleteHeaders = {
|
|
|
2268
2300
|
location: {
|
|
2269
2301
|
serializedName: "location",
|
|
2270
2302
|
type: {
|
|
2271
|
-
name: "String"
|
|
2272
|
-
}
|
|
2273
|
-
}
|
|
2274
|
-
}
|
|
2275
|
-
}
|
|
2303
|
+
name: "String",
|
|
2304
|
+
},
|
|
2305
|
+
},
|
|
2306
|
+
},
|
|
2307
|
+
},
|
|
2276
2308
|
};
|
|
2277
2309
|
const AccessPolicyAssignmentDeleteHeaders = {
|
|
2278
2310
|
type: {
|
|
@@ -2282,74 +2314,74 @@ const AccessPolicyAssignmentDeleteHeaders = {
|
|
|
2282
2314
|
location: {
|
|
2283
2315
|
serializedName: "location",
|
|
2284
2316
|
type: {
|
|
2285
|
-
name: "String"
|
|
2286
|
-
}
|
|
2287
|
-
}
|
|
2288
|
-
}
|
|
2289
|
-
}
|
|
2317
|
+
name: "String",
|
|
2318
|
+
},
|
|
2319
|
+
},
|
|
2320
|
+
},
|
|
2321
|
+
},
|
|
2290
2322
|
};
|
|
2291
2323
|
|
|
2292
2324
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
2293
2325
|
__proto__: null,
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
OperationDisplay: OperationDisplay,
|
|
2297
|
-
ErrorResponse: ErrorResponse,
|
|
2298
|
-
ErrorDetail: ErrorDetail,
|
|
2299
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
2326
|
+
AccessPolicyAssignmentDeleteHeaders: AccessPolicyAssignmentDeleteHeaders,
|
|
2327
|
+
AccessPolicyDeleteHeaders: AccessPolicyDeleteHeaders,
|
|
2300
2328
|
CheckNameAvailabilityParameters: CheckNameAvailabilityParameters,
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
Sku: Sku,
|
|
2305
|
-
RedisCommonProperties: RedisCommonProperties,
|
|
2306
|
-
RedisCommonPropertiesRedisConfiguration: RedisCommonPropertiesRedisConfiguration,
|
|
2307
|
-
ManagedServiceIdentity: ManagedServiceIdentity,
|
|
2308
|
-
UserAssignedIdentity: UserAssignedIdentity,
|
|
2309
|
-
RedisAccessKeys: RedisAccessKeys,
|
|
2310
|
-
RedisLinkedServer: RedisLinkedServer,
|
|
2311
|
-
RedisInstanceDetails: RedisInstanceDetails,
|
|
2312
|
-
PrivateEndpoint: PrivateEndpoint,
|
|
2313
|
-
PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
|
|
2314
|
-
Resource: Resource,
|
|
2315
|
-
RedisUpdateParameters: RedisUpdateParameters,
|
|
2316
|
-
RedisListResult: RedisListResult,
|
|
2317
|
-
RedisRegenerateKeyParameters: RedisRegenerateKeyParameters,
|
|
2318
|
-
RedisRebootParameters: RedisRebootParameters,
|
|
2319
|
-
RedisForceRebootResponse: RedisForceRebootResponse,
|
|
2320
|
-
ImportRDBParameters: ImportRDBParameters,
|
|
2329
|
+
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
2330
|
+
ErrorDetail: ErrorDetail,
|
|
2331
|
+
ErrorResponse: ErrorResponse,
|
|
2321
2332
|
ExportRDBParameters: ExportRDBParameters,
|
|
2333
|
+
ImportRDBParameters: ImportRDBParameters,
|
|
2334
|
+
LinkedServerDeleteHeaders: LinkedServerDeleteHeaders,
|
|
2335
|
+
ManagedServiceIdentity: ManagedServiceIdentity,
|
|
2336
|
+
NotificationListResponse: NotificationListResponse,
|
|
2337
|
+
Operation: Operation,
|
|
2338
|
+
OperationDisplay: OperationDisplay,
|
|
2339
|
+
OperationListResult: OperationListResult,
|
|
2340
|
+
OperationStatus: OperationStatus,
|
|
2322
2341
|
OperationStatusResult: OperationStatusResult,
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
ScheduleEntry: ScheduleEntry,
|
|
2326
|
-
RedisLinkedServerCreateParameters: RedisLinkedServerCreateParameters,
|
|
2327
|
-
RedisLinkedServerCreateProperties: RedisLinkedServerCreateProperties,
|
|
2328
|
-
RedisLinkedServerWithPropertiesList: RedisLinkedServerWithPropertiesList,
|
|
2342
|
+
PrivateEndpoint: PrivateEndpoint,
|
|
2343
|
+
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
2329
2344
|
PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
|
|
2345
|
+
PrivateLinkResource: PrivateLinkResource,
|
|
2330
2346
|
PrivateLinkResourceListResult: PrivateLinkResourceListResult,
|
|
2331
|
-
|
|
2332
|
-
RedisCacheAccessPolicyAssignmentList: RedisCacheAccessPolicyAssignmentList,
|
|
2333
|
-
RedisCreateProperties: RedisCreateProperties,
|
|
2334
|
-
RedisUpdateProperties: RedisUpdateProperties,
|
|
2335
|
-
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
2336
|
-
TrackedResource: TrackedResource,
|
|
2347
|
+
PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
|
|
2337
2348
|
ProxyResource: ProxyResource,
|
|
2338
|
-
|
|
2339
|
-
OperationStatus: OperationStatus,
|
|
2340
|
-
RedisLinkedServerProperties: RedisLinkedServerProperties,
|
|
2341
|
-
RedisProperties: RedisProperties,
|
|
2342
|
-
RedisResource: RedisResource,
|
|
2343
|
-
RedisFirewallRule: RedisFirewallRule,
|
|
2344
|
-
RedisPatchSchedule: RedisPatchSchedule,
|
|
2345
|
-
RedisLinkedServerWithProperties: RedisLinkedServerWithProperties,
|
|
2349
|
+
RedisAccessKeys: RedisAccessKeys,
|
|
2346
2350
|
RedisCacheAccessPolicy: RedisCacheAccessPolicy,
|
|
2347
2351
|
RedisCacheAccessPolicyAssignment: RedisCacheAccessPolicyAssignment,
|
|
2352
|
+
RedisCacheAccessPolicyAssignmentList: RedisCacheAccessPolicyAssignmentList,
|
|
2353
|
+
RedisCacheAccessPolicyList: RedisCacheAccessPolicyList,
|
|
2354
|
+
RedisCommonProperties: RedisCommonProperties,
|
|
2355
|
+
RedisCommonPropertiesRedisConfiguration: RedisCommonPropertiesRedisConfiguration,
|
|
2356
|
+
RedisCreateParameters: RedisCreateParameters,
|
|
2357
|
+
RedisCreateProperties: RedisCreateProperties,
|
|
2358
|
+
RedisFirewallRule: RedisFirewallRule,
|
|
2348
2359
|
RedisFirewallRuleCreateParameters: RedisFirewallRuleCreateParameters,
|
|
2360
|
+
RedisFirewallRuleListResult: RedisFirewallRuleListResult,
|
|
2349
2361
|
RedisFlushCacheHeaders: RedisFlushCacheHeaders,
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2362
|
+
RedisForceRebootResponse: RedisForceRebootResponse,
|
|
2363
|
+
RedisInstanceDetails: RedisInstanceDetails,
|
|
2364
|
+
RedisLinkedServer: RedisLinkedServer,
|
|
2365
|
+
RedisLinkedServerCreateParameters: RedisLinkedServerCreateParameters,
|
|
2366
|
+
RedisLinkedServerCreateProperties: RedisLinkedServerCreateProperties,
|
|
2367
|
+
RedisLinkedServerProperties: RedisLinkedServerProperties,
|
|
2368
|
+
RedisLinkedServerWithProperties: RedisLinkedServerWithProperties,
|
|
2369
|
+
RedisLinkedServerWithPropertiesList: RedisLinkedServerWithPropertiesList,
|
|
2370
|
+
RedisListResult: RedisListResult,
|
|
2371
|
+
RedisPatchSchedule: RedisPatchSchedule,
|
|
2372
|
+
RedisPatchScheduleListResult: RedisPatchScheduleListResult,
|
|
2373
|
+
RedisProperties: RedisProperties,
|
|
2374
|
+
RedisRebootParameters: RedisRebootParameters,
|
|
2375
|
+
RedisRegenerateKeyParameters: RedisRegenerateKeyParameters,
|
|
2376
|
+
RedisResource: RedisResource,
|
|
2377
|
+
RedisUpdateParameters: RedisUpdateParameters,
|
|
2378
|
+
RedisUpdateProperties: RedisUpdateProperties,
|
|
2379
|
+
Resource: Resource,
|
|
2380
|
+
ScheduleEntry: ScheduleEntry,
|
|
2381
|
+
Sku: Sku,
|
|
2382
|
+
TrackedResource: TrackedResource,
|
|
2383
|
+
UpgradeNotification: UpgradeNotification,
|
|
2384
|
+
UserAssignedIdentity: UserAssignedIdentity
|
|
2353
2385
|
});
|
|
2354
2386
|
|
|
2355
2387
|
/*
|
|
@@ -2366,9 +2398,9 @@ const accept = {
|
|
|
2366
2398
|
isConstant: true,
|
|
2367
2399
|
serializedName: "Accept",
|
|
2368
2400
|
type: {
|
|
2369
|
-
name: "String"
|
|
2370
|
-
}
|
|
2371
|
-
}
|
|
2401
|
+
name: "String",
|
|
2402
|
+
},
|
|
2403
|
+
},
|
|
2372
2404
|
};
|
|
2373
2405
|
const $host = {
|
|
2374
2406
|
parameterPath: "$host",
|
|
@@ -2376,21 +2408,21 @@ const $host = {
|
|
|
2376
2408
|
serializedName: "$host",
|
|
2377
2409
|
required: true,
|
|
2378
2410
|
type: {
|
|
2379
|
-
name: "String"
|
|
2380
|
-
}
|
|
2411
|
+
name: "String",
|
|
2412
|
+
},
|
|
2381
2413
|
},
|
|
2382
|
-
skipEncoding: true
|
|
2414
|
+
skipEncoding: true,
|
|
2383
2415
|
};
|
|
2384
2416
|
const apiVersion = {
|
|
2385
2417
|
parameterPath: "apiVersion",
|
|
2386
2418
|
mapper: {
|
|
2387
|
-
defaultValue: "
|
|
2419
|
+
defaultValue: "2024-03-01",
|
|
2388
2420
|
isConstant: true,
|
|
2389
2421
|
serializedName: "api-version",
|
|
2390
2422
|
type: {
|
|
2391
|
-
name: "String"
|
|
2392
|
-
}
|
|
2393
|
-
}
|
|
2423
|
+
name: "String",
|
|
2424
|
+
},
|
|
2425
|
+
},
|
|
2394
2426
|
};
|
|
2395
2427
|
const nextLink = {
|
|
2396
2428
|
parameterPath: "nextLink",
|
|
@@ -2398,10 +2430,10 @@ const nextLink = {
|
|
|
2398
2430
|
serializedName: "nextLink",
|
|
2399
2431
|
required: true,
|
|
2400
2432
|
type: {
|
|
2401
|
-
name: "String"
|
|
2402
|
-
}
|
|
2433
|
+
name: "String",
|
|
2434
|
+
},
|
|
2403
2435
|
},
|
|
2404
|
-
skipEncoding: true
|
|
2436
|
+
skipEncoding: true,
|
|
2405
2437
|
};
|
|
2406
2438
|
const contentType = {
|
|
2407
2439
|
parameterPath: ["options", "contentType"],
|
|
@@ -2410,40 +2442,40 @@ const contentType = {
|
|
|
2410
2442
|
isConstant: true,
|
|
2411
2443
|
serializedName: "Content-Type",
|
|
2412
2444
|
type: {
|
|
2413
|
-
name: "String"
|
|
2414
|
-
}
|
|
2415
|
-
}
|
|
2445
|
+
name: "String",
|
|
2446
|
+
},
|
|
2447
|
+
},
|
|
2416
2448
|
};
|
|
2417
2449
|
const parameters = {
|
|
2418
2450
|
parameterPath: "parameters",
|
|
2419
|
-
mapper: CheckNameAvailabilityParameters
|
|
2451
|
+
mapper: CheckNameAvailabilityParameters,
|
|
2420
2452
|
};
|
|
2421
2453
|
const subscriptionId = {
|
|
2422
2454
|
parameterPath: "subscriptionId",
|
|
2423
2455
|
mapper: {
|
|
2424
2456
|
constraints: {
|
|
2425
|
-
MinLength: 1
|
|
2457
|
+
MinLength: 1,
|
|
2426
2458
|
},
|
|
2427
2459
|
serializedName: "subscriptionId",
|
|
2428
2460
|
required: true,
|
|
2429
2461
|
type: {
|
|
2430
|
-
name: "String"
|
|
2431
|
-
}
|
|
2432
|
-
}
|
|
2462
|
+
name: "String",
|
|
2463
|
+
},
|
|
2464
|
+
},
|
|
2433
2465
|
};
|
|
2434
2466
|
const resourceGroupName = {
|
|
2435
2467
|
parameterPath: "resourceGroupName",
|
|
2436
2468
|
mapper: {
|
|
2437
2469
|
constraints: {
|
|
2438
2470
|
MaxLength: 90,
|
|
2439
|
-
MinLength: 1
|
|
2471
|
+
MinLength: 1,
|
|
2440
2472
|
},
|
|
2441
2473
|
serializedName: "resourceGroupName",
|
|
2442
2474
|
required: true,
|
|
2443
2475
|
type: {
|
|
2444
|
-
name: "String"
|
|
2445
|
-
}
|
|
2446
|
-
}
|
|
2476
|
+
name: "String",
|
|
2477
|
+
},
|
|
2478
|
+
},
|
|
2447
2479
|
};
|
|
2448
2480
|
const name = {
|
|
2449
2481
|
parameterPath: "name",
|
|
@@ -2451,9 +2483,9 @@ const name = {
|
|
|
2451
2483
|
serializedName: "name",
|
|
2452
2484
|
required: true,
|
|
2453
2485
|
type: {
|
|
2454
|
-
name: "String"
|
|
2455
|
-
}
|
|
2456
|
-
}
|
|
2486
|
+
name: "String",
|
|
2487
|
+
},
|
|
2488
|
+
},
|
|
2457
2489
|
};
|
|
2458
2490
|
const history = {
|
|
2459
2491
|
parameterPath: "history",
|
|
@@ -2461,50 +2493,50 @@ const history = {
|
|
|
2461
2493
|
serializedName: "history",
|
|
2462
2494
|
required: true,
|
|
2463
2495
|
type: {
|
|
2464
|
-
name: "Number"
|
|
2465
|
-
}
|
|
2466
|
-
}
|
|
2496
|
+
name: "Number",
|
|
2497
|
+
},
|
|
2498
|
+
},
|
|
2467
2499
|
};
|
|
2468
2500
|
const parameters1 = {
|
|
2469
2501
|
parameterPath: "parameters",
|
|
2470
|
-
mapper: RedisCreateParameters
|
|
2502
|
+
mapper: RedisCreateParameters,
|
|
2471
2503
|
};
|
|
2472
2504
|
const parameters2 = {
|
|
2473
2505
|
parameterPath: "parameters",
|
|
2474
|
-
mapper: RedisUpdateParameters
|
|
2506
|
+
mapper: RedisUpdateParameters,
|
|
2475
2507
|
};
|
|
2476
2508
|
const parameters3 = {
|
|
2477
2509
|
parameterPath: "parameters",
|
|
2478
|
-
mapper: RedisRegenerateKeyParameters
|
|
2510
|
+
mapper: RedisRegenerateKeyParameters,
|
|
2479
2511
|
};
|
|
2480
2512
|
const parameters4 = {
|
|
2481
2513
|
parameterPath: "parameters",
|
|
2482
|
-
mapper: RedisRebootParameters
|
|
2514
|
+
mapper: RedisRebootParameters,
|
|
2483
2515
|
};
|
|
2484
2516
|
const parameters5 = {
|
|
2485
2517
|
parameterPath: "parameters",
|
|
2486
|
-
mapper: ImportRDBParameters
|
|
2518
|
+
mapper: ImportRDBParameters,
|
|
2487
2519
|
};
|
|
2488
2520
|
const parameters6 = {
|
|
2489
2521
|
parameterPath: "parameters",
|
|
2490
|
-
mapper: ExportRDBParameters
|
|
2522
|
+
mapper: ExportRDBParameters,
|
|
2491
2523
|
};
|
|
2492
2524
|
const cacheName = {
|
|
2493
2525
|
parameterPath: "cacheName",
|
|
2494
2526
|
mapper: {
|
|
2495
2527
|
constraints: {
|
|
2496
|
-
Pattern: new RegExp("^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$")
|
|
2528
|
+
Pattern: new RegExp("^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$"),
|
|
2497
2529
|
},
|
|
2498
2530
|
serializedName: "cacheName",
|
|
2499
2531
|
required: true,
|
|
2500
2532
|
type: {
|
|
2501
|
-
name: "String"
|
|
2502
|
-
}
|
|
2503
|
-
}
|
|
2533
|
+
name: "String",
|
|
2534
|
+
},
|
|
2535
|
+
},
|
|
2504
2536
|
};
|
|
2505
2537
|
const parameters7 = {
|
|
2506
2538
|
parameterPath: "parameters",
|
|
2507
|
-
mapper: RedisFirewallRule
|
|
2539
|
+
mapper: RedisFirewallRule,
|
|
2508
2540
|
};
|
|
2509
2541
|
const ruleName = {
|
|
2510
2542
|
parameterPath: "ruleName",
|
|
@@ -2512,13 +2544,13 @@ const ruleName = {
|
|
|
2512
2544
|
serializedName: "ruleName",
|
|
2513
2545
|
required: true,
|
|
2514
2546
|
type: {
|
|
2515
|
-
name: "String"
|
|
2516
|
-
}
|
|
2517
|
-
}
|
|
2547
|
+
name: "String",
|
|
2548
|
+
},
|
|
2549
|
+
},
|
|
2518
2550
|
};
|
|
2519
2551
|
const parameters8 = {
|
|
2520
2552
|
parameterPath: "parameters",
|
|
2521
|
-
mapper: RedisPatchSchedule
|
|
2553
|
+
mapper: RedisPatchSchedule,
|
|
2522
2554
|
};
|
|
2523
2555
|
const defaultParam = {
|
|
2524
2556
|
parameterPath: "defaultParam",
|
|
@@ -2526,13 +2558,13 @@ const defaultParam = {
|
|
|
2526
2558
|
serializedName: "default",
|
|
2527
2559
|
required: true,
|
|
2528
2560
|
type: {
|
|
2529
|
-
name: "String"
|
|
2530
|
-
}
|
|
2531
|
-
}
|
|
2561
|
+
name: "String",
|
|
2562
|
+
},
|
|
2563
|
+
},
|
|
2532
2564
|
};
|
|
2533
2565
|
const parameters9 = {
|
|
2534
2566
|
parameterPath: "parameters",
|
|
2535
|
-
mapper: RedisLinkedServerCreateParameters
|
|
2567
|
+
mapper: RedisLinkedServerCreateParameters,
|
|
2536
2568
|
};
|
|
2537
2569
|
const linkedServerName = {
|
|
2538
2570
|
parameterPath: "linkedServerName",
|
|
@@ -2540,9 +2572,9 @@ const linkedServerName = {
|
|
|
2540
2572
|
serializedName: "linkedServerName",
|
|
2541
2573
|
required: true,
|
|
2542
2574
|
type: {
|
|
2543
|
-
name: "String"
|
|
2544
|
-
}
|
|
2545
|
-
}
|
|
2575
|
+
name: "String",
|
|
2576
|
+
},
|
|
2577
|
+
},
|
|
2546
2578
|
};
|
|
2547
2579
|
const privateEndpointConnectionName = {
|
|
2548
2580
|
parameterPath: "privateEndpointConnectionName",
|
|
@@ -2550,13 +2582,13 @@ const privateEndpointConnectionName = {
|
|
|
2550
2582
|
serializedName: "privateEndpointConnectionName",
|
|
2551
2583
|
required: true,
|
|
2552
2584
|
type: {
|
|
2553
|
-
name: "String"
|
|
2554
|
-
}
|
|
2555
|
-
}
|
|
2585
|
+
name: "String",
|
|
2586
|
+
},
|
|
2587
|
+
},
|
|
2556
2588
|
};
|
|
2557
2589
|
const properties = {
|
|
2558
2590
|
parameterPath: "properties",
|
|
2559
|
-
mapper: PrivateEndpointConnection
|
|
2591
|
+
mapper: PrivateEndpointConnection,
|
|
2560
2592
|
};
|
|
2561
2593
|
const location = {
|
|
2562
2594
|
parameterPath: "location",
|
|
@@ -2564,9 +2596,9 @@ const location = {
|
|
|
2564
2596
|
serializedName: "location",
|
|
2565
2597
|
required: true,
|
|
2566
2598
|
type: {
|
|
2567
|
-
name: "String"
|
|
2568
|
-
}
|
|
2569
|
-
}
|
|
2599
|
+
name: "String",
|
|
2600
|
+
},
|
|
2601
|
+
},
|
|
2570
2602
|
};
|
|
2571
2603
|
const operationId = {
|
|
2572
2604
|
parameterPath: "operationId",
|
|
@@ -2574,32 +2606,32 @@ const operationId = {
|
|
|
2574
2606
|
serializedName: "operationId",
|
|
2575
2607
|
required: true,
|
|
2576
2608
|
type: {
|
|
2577
|
-
name: "String"
|
|
2578
|
-
}
|
|
2579
|
-
}
|
|
2609
|
+
name: "String",
|
|
2610
|
+
},
|
|
2611
|
+
},
|
|
2580
2612
|
};
|
|
2581
2613
|
const parameters10 = {
|
|
2582
2614
|
parameterPath: "parameters",
|
|
2583
|
-
mapper: RedisCacheAccessPolicy
|
|
2615
|
+
mapper: RedisCacheAccessPolicy,
|
|
2584
2616
|
};
|
|
2585
2617
|
const accessPolicyName = {
|
|
2586
2618
|
parameterPath: "accessPolicyName",
|
|
2587
2619
|
mapper: {
|
|
2588
2620
|
constraints: {
|
|
2589
|
-
Pattern: new RegExp("^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$"),
|
|
2621
|
+
Pattern: new RegExp("^([a-zA-Z0-9][a-zA-Z0-9- ]*[a-zA-Z0-9]|[a-zA-Z0-9])$"),
|
|
2590
2622
|
MaxLength: 63,
|
|
2591
|
-
MinLength: 3
|
|
2623
|
+
MinLength: 3,
|
|
2592
2624
|
},
|
|
2593
2625
|
serializedName: "accessPolicyName",
|
|
2594
2626
|
required: true,
|
|
2595
2627
|
type: {
|
|
2596
|
-
name: "String"
|
|
2597
|
-
}
|
|
2598
|
-
}
|
|
2628
|
+
name: "String",
|
|
2629
|
+
},
|
|
2630
|
+
},
|
|
2599
2631
|
};
|
|
2600
2632
|
const parameters11 = {
|
|
2601
2633
|
parameterPath: "parameters",
|
|
2602
|
-
mapper: RedisCacheAccessPolicyAssignment
|
|
2634
|
+
mapper: RedisCacheAccessPolicyAssignment,
|
|
2603
2635
|
};
|
|
2604
2636
|
const accessPolicyAssignmentName = {
|
|
2605
2637
|
parameterPath: "accessPolicyAssignmentName",
|
|
@@ -2607,14 +2639,14 @@ const accessPolicyAssignmentName = {
|
|
|
2607
2639
|
constraints: {
|
|
2608
2640
|
Pattern: new RegExp("^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$"),
|
|
2609
2641
|
MaxLength: 63,
|
|
2610
|
-
MinLength: 3
|
|
2642
|
+
MinLength: 3,
|
|
2611
2643
|
},
|
|
2612
2644
|
serializedName: "accessPolicyAssignmentName",
|
|
2613
2645
|
required: true,
|
|
2614
2646
|
type: {
|
|
2615
|
-
name: "String"
|
|
2616
|
-
}
|
|
2617
|
-
}
|
|
2647
|
+
name: "String",
|
|
2648
|
+
},
|
|
2649
|
+
},
|
|
2618
2650
|
};
|
|
2619
2651
|
|
|
2620
2652
|
/*
|
|
@@ -2652,7 +2684,7 @@ class OperationsImpl {
|
|
|
2652
2684
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
2653
2685
|
}
|
|
2654
2686
|
return this.listPagingPage(options, settings);
|
|
2655
|
-
}
|
|
2687
|
+
},
|
|
2656
2688
|
};
|
|
2657
2689
|
}
|
|
2658
2690
|
listPagingPage(options, settings) {
|
|
@@ -2679,16 +2711,11 @@ class OperationsImpl {
|
|
|
2679
2711
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
2680
2712
|
var _a, e_1, _b, _c;
|
|
2681
2713
|
try {
|
|
2682
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
2714
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2683
2715
|
_c = _f.value;
|
|
2684
2716
|
_d = false;
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2688
|
-
}
|
|
2689
|
-
finally {
|
|
2690
|
-
_d = true;
|
|
2691
|
-
}
|
|
2717
|
+
const page = _c;
|
|
2718
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2692
2719
|
}
|
|
2693
2720
|
}
|
|
2694
2721
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -2723,31 +2750,31 @@ const listOperationSpec$5 = {
|
|
|
2723
2750
|
httpMethod: "GET",
|
|
2724
2751
|
responses: {
|
|
2725
2752
|
200: {
|
|
2726
|
-
bodyMapper: OperationListResult
|
|
2753
|
+
bodyMapper: OperationListResult,
|
|
2727
2754
|
},
|
|
2728
2755
|
default: {
|
|
2729
|
-
bodyMapper: ErrorResponse
|
|
2730
|
-
}
|
|
2756
|
+
bodyMapper: ErrorResponse,
|
|
2757
|
+
},
|
|
2731
2758
|
},
|
|
2732
2759
|
queryParameters: [apiVersion],
|
|
2733
2760
|
urlParameters: [$host],
|
|
2734
2761
|
headerParameters: [accept],
|
|
2735
|
-
serializer: serializer$9
|
|
2762
|
+
serializer: serializer$9,
|
|
2736
2763
|
};
|
|
2737
2764
|
const listNextOperationSpec$4 = {
|
|
2738
2765
|
path: "{nextLink}",
|
|
2739
2766
|
httpMethod: "GET",
|
|
2740
2767
|
responses: {
|
|
2741
2768
|
200: {
|
|
2742
|
-
bodyMapper: OperationListResult
|
|
2769
|
+
bodyMapper: OperationListResult,
|
|
2743
2770
|
},
|
|
2744
2771
|
default: {
|
|
2745
|
-
bodyMapper: ErrorResponse
|
|
2746
|
-
}
|
|
2772
|
+
bodyMapper: ErrorResponse,
|
|
2773
|
+
},
|
|
2747
2774
|
},
|
|
2748
2775
|
urlParameters: [$host, nextLink],
|
|
2749
2776
|
headerParameters: [accept],
|
|
2750
|
-
serializer: serializer$9
|
|
2777
|
+
serializer: serializer$9,
|
|
2751
2778
|
};
|
|
2752
2779
|
|
|
2753
2780
|
/*
|
|
@@ -2766,7 +2793,7 @@ function createLroSpec(inputs) {
|
|
|
2766
2793
|
sendPollRequest: (path, options) => {
|
|
2767
2794
|
const restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
2768
2795
|
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
2769
|
-
}
|
|
2796
|
+
},
|
|
2770
2797
|
};
|
|
2771
2798
|
}
|
|
2772
2799
|
|
|
@@ -2808,7 +2835,7 @@ class RedisImpl {
|
|
|
2808
2835
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
2809
2836
|
}
|
|
2810
2837
|
return this.listUpgradeNotificationsPagingPage(resourceGroupName, name, history, options, settings);
|
|
2811
|
-
}
|
|
2838
|
+
},
|
|
2812
2839
|
};
|
|
2813
2840
|
}
|
|
2814
2841
|
listUpgradeNotificationsPagingPage(resourceGroupName, name, history, options, settings) {
|
|
@@ -2835,16 +2862,11 @@ class RedisImpl {
|
|
|
2835
2862
|
return tslib.__asyncGenerator(this, arguments, function* listUpgradeNotificationsPagingAll_1() {
|
|
2836
2863
|
var _a, e_1, _b, _c;
|
|
2837
2864
|
try {
|
|
2838
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listUpgradeNotificationsPagingPage(resourceGroupName, name, history, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
2865
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listUpgradeNotificationsPagingPage(resourceGroupName, name, history, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2839
2866
|
_c = _f.value;
|
|
2840
2867
|
_d = false;
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2844
|
-
}
|
|
2845
|
-
finally {
|
|
2846
|
-
_d = true;
|
|
2847
|
-
}
|
|
2868
|
+
const page = _c;
|
|
2869
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2848
2870
|
}
|
|
2849
2871
|
}
|
|
2850
2872
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -2875,7 +2897,7 @@ class RedisImpl {
|
|
|
2875
2897
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
2876
2898
|
}
|
|
2877
2899
|
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
2878
|
-
}
|
|
2900
|
+
},
|
|
2879
2901
|
};
|
|
2880
2902
|
}
|
|
2881
2903
|
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
@@ -2902,16 +2924,11 @@ class RedisImpl {
|
|
|
2902
2924
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
2903
2925
|
var _a, e_2, _b, _c;
|
|
2904
2926
|
try {
|
|
2905
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
2927
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2906
2928
|
_c = _f.value;
|
|
2907
2929
|
_d = false;
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2911
|
-
}
|
|
2912
|
-
finally {
|
|
2913
|
-
_d = true;
|
|
2914
|
-
}
|
|
2930
|
+
const page = _c;
|
|
2931
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2915
2932
|
}
|
|
2916
2933
|
}
|
|
2917
2934
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
@@ -2941,7 +2958,7 @@ class RedisImpl {
|
|
|
2941
2958
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
2942
2959
|
}
|
|
2943
2960
|
return this.listBySubscriptionPagingPage(options, settings);
|
|
2944
|
-
}
|
|
2961
|
+
},
|
|
2945
2962
|
};
|
|
2946
2963
|
}
|
|
2947
2964
|
listBySubscriptionPagingPage(options, settings) {
|
|
@@ -2968,16 +2985,11 @@ class RedisImpl {
|
|
|
2968
2985
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
2969
2986
|
var _a, e_3, _b, _c;
|
|
2970
2987
|
try {
|
|
2971
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
2988
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2972
2989
|
_c = _f.value;
|
|
2973
2990
|
_d = false;
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2977
|
-
}
|
|
2978
|
-
finally {
|
|
2979
|
-
_d = true;
|
|
2980
|
-
}
|
|
2991
|
+
const page = _c;
|
|
2992
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2981
2993
|
}
|
|
2982
2994
|
}
|
|
2983
2995
|
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
@@ -3035,18 +3047,18 @@ class RedisImpl {
|
|
|
3035
3047
|
rawResponse: {
|
|
3036
3048
|
statusCode: currentRawResponse.status,
|
|
3037
3049
|
body: currentRawResponse.parsedBody,
|
|
3038
|
-
headers: currentRawResponse.headers.toJSON()
|
|
3039
|
-
}
|
|
3050
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
3051
|
+
},
|
|
3040
3052
|
};
|
|
3041
3053
|
});
|
|
3042
3054
|
const lro = createLroSpec({
|
|
3043
3055
|
sendOperationFn,
|
|
3044
3056
|
args: { resourceGroupName, name, parameters, options },
|
|
3045
|
-
spec: createOperationSpec$1
|
|
3057
|
+
spec: createOperationSpec$1,
|
|
3046
3058
|
});
|
|
3047
3059
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3048
3060
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3049
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
3061
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3050
3062
|
});
|
|
3051
3063
|
yield poller.poll();
|
|
3052
3064
|
return poller;
|
|
@@ -3092,18 +3104,18 @@ class RedisImpl {
|
|
|
3092
3104
|
rawResponse: {
|
|
3093
3105
|
statusCode: currentRawResponse.status,
|
|
3094
3106
|
body: currentRawResponse.parsedBody,
|
|
3095
|
-
headers: currentRawResponse.headers.toJSON()
|
|
3096
|
-
}
|
|
3107
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
3108
|
+
},
|
|
3097
3109
|
};
|
|
3098
3110
|
});
|
|
3099
3111
|
const lro = createLroSpec({
|
|
3100
3112
|
sendOperationFn,
|
|
3101
3113
|
args: { resourceGroupName, name, parameters, options },
|
|
3102
|
-
spec: updateOperationSpec
|
|
3114
|
+
spec: updateOperationSpec,
|
|
3103
3115
|
});
|
|
3104
3116
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3105
3117
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3106
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
3118
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3107
3119
|
});
|
|
3108
3120
|
yield poller.poll();
|
|
3109
3121
|
return poller;
|
|
@@ -3148,18 +3160,18 @@ class RedisImpl {
|
|
|
3148
3160
|
rawResponse: {
|
|
3149
3161
|
statusCode: currentRawResponse.status,
|
|
3150
3162
|
body: currentRawResponse.parsedBody,
|
|
3151
|
-
headers: currentRawResponse.headers.toJSON()
|
|
3152
|
-
}
|
|
3163
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
3164
|
+
},
|
|
3153
3165
|
};
|
|
3154
3166
|
});
|
|
3155
3167
|
const lro = createLroSpec({
|
|
3156
3168
|
sendOperationFn,
|
|
3157
3169
|
args: { resourceGroupName, name, options },
|
|
3158
|
-
spec: deleteOperationSpec$6
|
|
3170
|
+
spec: deleteOperationSpec$6,
|
|
3159
3171
|
});
|
|
3160
3172
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3161
3173
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3162
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
3174
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3163
3175
|
});
|
|
3164
3176
|
yield poller.poll();
|
|
3165
3177
|
return poller;
|
|
@@ -3260,18 +3272,18 @@ class RedisImpl {
|
|
|
3260
3272
|
rawResponse: {
|
|
3261
3273
|
statusCode: currentRawResponse.status,
|
|
3262
3274
|
body: currentRawResponse.parsedBody,
|
|
3263
|
-
headers: currentRawResponse.headers.toJSON()
|
|
3264
|
-
}
|
|
3275
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
3276
|
+
},
|
|
3265
3277
|
};
|
|
3266
3278
|
});
|
|
3267
3279
|
const lro = createLroSpec({
|
|
3268
3280
|
sendOperationFn,
|
|
3269
3281
|
args: { resourceGroupName, name, parameters, options },
|
|
3270
|
-
spec: importDataOperationSpec
|
|
3282
|
+
spec: importDataOperationSpec,
|
|
3271
3283
|
});
|
|
3272
3284
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3273
3285
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3274
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
3286
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3275
3287
|
});
|
|
3276
3288
|
yield poller.poll();
|
|
3277
3289
|
return poller;
|
|
@@ -3317,18 +3329,18 @@ class RedisImpl {
|
|
|
3317
3329
|
rawResponse: {
|
|
3318
3330
|
statusCode: currentRawResponse.status,
|
|
3319
3331
|
body: currentRawResponse.parsedBody,
|
|
3320
|
-
headers: currentRawResponse.headers.toJSON()
|
|
3321
|
-
}
|
|
3332
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
3333
|
+
},
|
|
3322
3334
|
};
|
|
3323
3335
|
});
|
|
3324
3336
|
const lro = createLroSpec({
|
|
3325
3337
|
sendOperationFn,
|
|
3326
3338
|
args: { resourceGroupName, name, parameters, options },
|
|
3327
|
-
spec: exportDataOperationSpec
|
|
3339
|
+
spec: exportDataOperationSpec,
|
|
3328
3340
|
});
|
|
3329
3341
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3330
3342
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3331
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
3343
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3332
3344
|
});
|
|
3333
3345
|
yield poller.poll();
|
|
3334
3346
|
return poller;
|
|
@@ -3373,19 +3385,19 @@ class RedisImpl {
|
|
|
3373
3385
|
rawResponse: {
|
|
3374
3386
|
statusCode: currentRawResponse.status,
|
|
3375
3387
|
body: currentRawResponse.parsedBody,
|
|
3376
|
-
headers: currentRawResponse.headers.toJSON()
|
|
3377
|
-
}
|
|
3388
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
3389
|
+
},
|
|
3378
3390
|
};
|
|
3379
3391
|
});
|
|
3380
3392
|
const lro = createLroSpec({
|
|
3381
3393
|
sendOperationFn,
|
|
3382
3394
|
args: { resourceGroupName, cacheName, options },
|
|
3383
|
-
spec: flushCacheOperationSpec
|
|
3395
|
+
spec: flushCacheOperationSpec,
|
|
3384
3396
|
});
|
|
3385
3397
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3386
3398
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3387
3399
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3388
|
-
resourceLocationConfig: "location"
|
|
3400
|
+
resourceLocationConfig: "location",
|
|
3389
3401
|
});
|
|
3390
3402
|
yield poller.poll();
|
|
3391
3403
|
return poller;
|
|
@@ -3440,56 +3452,56 @@ const checkNameAvailabilityOperationSpec = {
|
|
|
3440
3452
|
responses: {
|
|
3441
3453
|
200: {},
|
|
3442
3454
|
default: {
|
|
3443
|
-
bodyMapper: ErrorResponse
|
|
3444
|
-
}
|
|
3455
|
+
bodyMapper: ErrorResponse,
|
|
3456
|
+
},
|
|
3445
3457
|
},
|
|
3446
3458
|
requestBody: parameters,
|
|
3447
3459
|
queryParameters: [apiVersion],
|
|
3448
3460
|
urlParameters: [$host, subscriptionId],
|
|
3449
3461
|
headerParameters: [accept, contentType],
|
|
3450
3462
|
mediaType: "json",
|
|
3451
|
-
serializer: serializer$8
|
|
3463
|
+
serializer: serializer$8,
|
|
3452
3464
|
};
|
|
3453
3465
|
const listUpgradeNotificationsOperationSpec = {
|
|
3454
3466
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/listUpgradeNotifications",
|
|
3455
3467
|
httpMethod: "GET",
|
|
3456
3468
|
responses: {
|
|
3457
3469
|
200: {
|
|
3458
|
-
bodyMapper: NotificationListResponse
|
|
3470
|
+
bodyMapper: NotificationListResponse,
|
|
3459
3471
|
},
|
|
3460
3472
|
default: {
|
|
3461
|
-
bodyMapper: ErrorResponse
|
|
3462
|
-
}
|
|
3473
|
+
bodyMapper: ErrorResponse,
|
|
3474
|
+
},
|
|
3463
3475
|
},
|
|
3464
3476
|
queryParameters: [apiVersion, history],
|
|
3465
3477
|
urlParameters: [
|
|
3466
3478
|
$host,
|
|
3467
3479
|
subscriptionId,
|
|
3468
3480
|
resourceGroupName,
|
|
3469
|
-
name
|
|
3481
|
+
name,
|
|
3470
3482
|
],
|
|
3471
3483
|
headerParameters: [accept],
|
|
3472
|
-
serializer: serializer$8
|
|
3484
|
+
serializer: serializer$8,
|
|
3473
3485
|
};
|
|
3474
3486
|
const createOperationSpec$1 = {
|
|
3475
3487
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}",
|
|
3476
3488
|
httpMethod: "PUT",
|
|
3477
3489
|
responses: {
|
|
3478
3490
|
200: {
|
|
3479
|
-
bodyMapper: RedisResource
|
|
3491
|
+
bodyMapper: RedisResource,
|
|
3480
3492
|
},
|
|
3481
3493
|
201: {
|
|
3482
|
-
bodyMapper: RedisResource
|
|
3494
|
+
bodyMapper: RedisResource,
|
|
3483
3495
|
},
|
|
3484
3496
|
202: {
|
|
3485
|
-
bodyMapper: RedisResource
|
|
3497
|
+
bodyMapper: RedisResource,
|
|
3486
3498
|
},
|
|
3487
3499
|
204: {
|
|
3488
|
-
bodyMapper: RedisResource
|
|
3500
|
+
bodyMapper: RedisResource,
|
|
3489
3501
|
},
|
|
3490
3502
|
default: {
|
|
3491
|
-
bodyMapper: ErrorResponse
|
|
3492
|
-
}
|
|
3503
|
+
bodyMapper: ErrorResponse,
|
|
3504
|
+
},
|
|
3493
3505
|
},
|
|
3494
3506
|
requestBody: parameters1,
|
|
3495
3507
|
queryParameters: [apiVersion],
|
|
@@ -3497,31 +3509,31 @@ const createOperationSpec$1 = {
|
|
|
3497
3509
|
$host,
|
|
3498
3510
|
subscriptionId,
|
|
3499
3511
|
resourceGroupName,
|
|
3500
|
-
name
|
|
3512
|
+
name,
|
|
3501
3513
|
],
|
|
3502
3514
|
headerParameters: [accept, contentType],
|
|
3503
3515
|
mediaType: "json",
|
|
3504
|
-
serializer: serializer$8
|
|
3516
|
+
serializer: serializer$8,
|
|
3505
3517
|
};
|
|
3506
3518
|
const updateOperationSpec = {
|
|
3507
3519
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}",
|
|
3508
3520
|
httpMethod: "PATCH",
|
|
3509
3521
|
responses: {
|
|
3510
3522
|
200: {
|
|
3511
|
-
bodyMapper: RedisResource
|
|
3523
|
+
bodyMapper: RedisResource,
|
|
3512
3524
|
},
|
|
3513
3525
|
201: {
|
|
3514
|
-
bodyMapper: RedisResource
|
|
3526
|
+
bodyMapper: RedisResource,
|
|
3515
3527
|
},
|
|
3516
3528
|
202: {
|
|
3517
|
-
bodyMapper: RedisResource
|
|
3529
|
+
bodyMapper: RedisResource,
|
|
3518
3530
|
},
|
|
3519
3531
|
204: {
|
|
3520
|
-
bodyMapper: RedisResource
|
|
3532
|
+
bodyMapper: RedisResource,
|
|
3521
3533
|
},
|
|
3522
3534
|
default: {
|
|
3523
|
-
bodyMapper: ErrorResponse
|
|
3524
|
-
}
|
|
3535
|
+
bodyMapper: ErrorResponse,
|
|
3536
|
+
},
|
|
3525
3537
|
},
|
|
3526
3538
|
requestBody: parameters2,
|
|
3527
3539
|
queryParameters: [apiVersion],
|
|
@@ -3529,11 +3541,11 @@ const updateOperationSpec = {
|
|
|
3529
3541
|
$host,
|
|
3530
3542
|
subscriptionId,
|
|
3531
3543
|
resourceGroupName,
|
|
3532
|
-
name
|
|
3544
|
+
name,
|
|
3533
3545
|
],
|
|
3534
3546
|
headerParameters: [accept, contentType],
|
|
3535
3547
|
mediaType: "json",
|
|
3536
|
-
serializer: serializer$8
|
|
3548
|
+
serializer: serializer$8,
|
|
3537
3549
|
};
|
|
3538
3550
|
const deleteOperationSpec$6 = {
|
|
3539
3551
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}",
|
|
@@ -3544,107 +3556,107 @@ const deleteOperationSpec$6 = {
|
|
|
3544
3556
|
202: {},
|
|
3545
3557
|
204: {},
|
|
3546
3558
|
default: {
|
|
3547
|
-
bodyMapper: ErrorResponse
|
|
3548
|
-
}
|
|
3559
|
+
bodyMapper: ErrorResponse,
|
|
3560
|
+
},
|
|
3549
3561
|
},
|
|
3550
3562
|
queryParameters: [apiVersion],
|
|
3551
3563
|
urlParameters: [
|
|
3552
3564
|
$host,
|
|
3553
3565
|
subscriptionId,
|
|
3554
3566
|
resourceGroupName,
|
|
3555
|
-
name
|
|
3567
|
+
name,
|
|
3556
3568
|
],
|
|
3557
3569
|
headerParameters: [accept],
|
|
3558
|
-
serializer: serializer$8
|
|
3570
|
+
serializer: serializer$8,
|
|
3559
3571
|
};
|
|
3560
3572
|
const getOperationSpec$7 = {
|
|
3561
3573
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}",
|
|
3562
3574
|
httpMethod: "GET",
|
|
3563
3575
|
responses: {
|
|
3564
3576
|
200: {
|
|
3565
|
-
bodyMapper: RedisResource
|
|
3577
|
+
bodyMapper: RedisResource,
|
|
3566
3578
|
},
|
|
3567
3579
|
default: {
|
|
3568
|
-
bodyMapper: ErrorResponse
|
|
3569
|
-
}
|
|
3580
|
+
bodyMapper: ErrorResponse,
|
|
3581
|
+
},
|
|
3570
3582
|
},
|
|
3571
3583
|
queryParameters: [apiVersion],
|
|
3572
3584
|
urlParameters: [
|
|
3573
3585
|
$host,
|
|
3574
3586
|
subscriptionId,
|
|
3575
3587
|
resourceGroupName,
|
|
3576
|
-
name
|
|
3588
|
+
name,
|
|
3577
3589
|
],
|
|
3578
3590
|
headerParameters: [accept],
|
|
3579
|
-
serializer: serializer$8
|
|
3591
|
+
serializer: serializer$8,
|
|
3580
3592
|
};
|
|
3581
3593
|
const listByResourceGroupOperationSpec = {
|
|
3582
3594
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis",
|
|
3583
3595
|
httpMethod: "GET",
|
|
3584
3596
|
responses: {
|
|
3585
3597
|
200: {
|
|
3586
|
-
bodyMapper: RedisListResult
|
|
3598
|
+
bodyMapper: RedisListResult,
|
|
3587
3599
|
},
|
|
3588
3600
|
default: {
|
|
3589
|
-
bodyMapper: ErrorResponse
|
|
3590
|
-
}
|
|
3601
|
+
bodyMapper: ErrorResponse,
|
|
3602
|
+
},
|
|
3591
3603
|
},
|
|
3592
3604
|
queryParameters: [apiVersion],
|
|
3593
3605
|
urlParameters: [
|
|
3594
3606
|
$host,
|
|
3595
3607
|
subscriptionId,
|
|
3596
|
-
resourceGroupName
|
|
3608
|
+
resourceGroupName,
|
|
3597
3609
|
],
|
|
3598
3610
|
headerParameters: [accept],
|
|
3599
|
-
serializer: serializer$8
|
|
3611
|
+
serializer: serializer$8,
|
|
3600
3612
|
};
|
|
3601
3613
|
const listBySubscriptionOperationSpec = {
|
|
3602
3614
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/redis",
|
|
3603
3615
|
httpMethod: "GET",
|
|
3604
3616
|
responses: {
|
|
3605
3617
|
200: {
|
|
3606
|
-
bodyMapper: RedisListResult
|
|
3618
|
+
bodyMapper: RedisListResult,
|
|
3607
3619
|
},
|
|
3608
3620
|
default: {
|
|
3609
|
-
bodyMapper: ErrorResponse
|
|
3610
|
-
}
|
|
3621
|
+
bodyMapper: ErrorResponse,
|
|
3622
|
+
},
|
|
3611
3623
|
},
|
|
3612
3624
|
queryParameters: [apiVersion],
|
|
3613
3625
|
urlParameters: [$host, subscriptionId],
|
|
3614
3626
|
headerParameters: [accept],
|
|
3615
|
-
serializer: serializer$8
|
|
3627
|
+
serializer: serializer$8,
|
|
3616
3628
|
};
|
|
3617
3629
|
const listKeysOperationSpec = {
|
|
3618
3630
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/listKeys",
|
|
3619
3631
|
httpMethod: "POST",
|
|
3620
3632
|
responses: {
|
|
3621
3633
|
200: {
|
|
3622
|
-
bodyMapper: RedisAccessKeys
|
|
3634
|
+
bodyMapper: RedisAccessKeys,
|
|
3623
3635
|
},
|
|
3624
3636
|
default: {
|
|
3625
|
-
bodyMapper: ErrorResponse
|
|
3626
|
-
}
|
|
3637
|
+
bodyMapper: ErrorResponse,
|
|
3638
|
+
},
|
|
3627
3639
|
},
|
|
3628
3640
|
queryParameters: [apiVersion],
|
|
3629
3641
|
urlParameters: [
|
|
3630
3642
|
$host,
|
|
3631
3643
|
subscriptionId,
|
|
3632
3644
|
resourceGroupName,
|
|
3633
|
-
name
|
|
3645
|
+
name,
|
|
3634
3646
|
],
|
|
3635
3647
|
headerParameters: [accept],
|
|
3636
|
-
serializer: serializer$8
|
|
3648
|
+
serializer: serializer$8,
|
|
3637
3649
|
};
|
|
3638
3650
|
const regenerateKeyOperationSpec = {
|
|
3639
3651
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/regenerateKey",
|
|
3640
3652
|
httpMethod: "POST",
|
|
3641
3653
|
responses: {
|
|
3642
3654
|
200: {
|
|
3643
|
-
bodyMapper: RedisAccessKeys
|
|
3655
|
+
bodyMapper: RedisAccessKeys,
|
|
3644
3656
|
},
|
|
3645
3657
|
default: {
|
|
3646
|
-
bodyMapper: ErrorResponse
|
|
3647
|
-
}
|
|
3658
|
+
bodyMapper: ErrorResponse,
|
|
3659
|
+
},
|
|
3648
3660
|
},
|
|
3649
3661
|
requestBody: parameters3,
|
|
3650
3662
|
queryParameters: [apiVersion],
|
|
@@ -3652,22 +3664,22 @@ const regenerateKeyOperationSpec = {
|
|
|
3652
3664
|
$host,
|
|
3653
3665
|
subscriptionId,
|
|
3654
3666
|
resourceGroupName,
|
|
3655
|
-
name
|
|
3667
|
+
name,
|
|
3656
3668
|
],
|
|
3657
3669
|
headerParameters: [accept, contentType],
|
|
3658
3670
|
mediaType: "json",
|
|
3659
|
-
serializer: serializer$8
|
|
3671
|
+
serializer: serializer$8,
|
|
3660
3672
|
};
|
|
3661
3673
|
const forceRebootOperationSpec = {
|
|
3662
3674
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/forceReboot",
|
|
3663
3675
|
httpMethod: "POST",
|
|
3664
3676
|
responses: {
|
|
3665
3677
|
200: {
|
|
3666
|
-
bodyMapper: RedisForceRebootResponse
|
|
3678
|
+
bodyMapper: RedisForceRebootResponse,
|
|
3667
3679
|
},
|
|
3668
3680
|
default: {
|
|
3669
|
-
bodyMapper: ErrorResponse
|
|
3670
|
-
}
|
|
3681
|
+
bodyMapper: ErrorResponse,
|
|
3682
|
+
},
|
|
3671
3683
|
},
|
|
3672
3684
|
requestBody: parameters4,
|
|
3673
3685
|
queryParameters: [apiVersion],
|
|
@@ -3675,11 +3687,11 @@ const forceRebootOperationSpec = {
|
|
|
3675
3687
|
$host,
|
|
3676
3688
|
subscriptionId,
|
|
3677
3689
|
resourceGroupName,
|
|
3678
|
-
name
|
|
3690
|
+
name,
|
|
3679
3691
|
],
|
|
3680
3692
|
headerParameters: [accept, contentType],
|
|
3681
3693
|
mediaType: "json",
|
|
3682
|
-
serializer: serializer$8
|
|
3694
|
+
serializer: serializer$8,
|
|
3683
3695
|
};
|
|
3684
3696
|
const importDataOperationSpec = {
|
|
3685
3697
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/import",
|
|
@@ -3690,8 +3702,8 @@ const importDataOperationSpec = {
|
|
|
3690
3702
|
202: {},
|
|
3691
3703
|
204: {},
|
|
3692
3704
|
default: {
|
|
3693
|
-
bodyMapper: ErrorResponse
|
|
3694
|
-
}
|
|
3705
|
+
bodyMapper: ErrorResponse,
|
|
3706
|
+
},
|
|
3695
3707
|
},
|
|
3696
3708
|
requestBody: parameters5,
|
|
3697
3709
|
queryParameters: [apiVersion],
|
|
@@ -3699,11 +3711,11 @@ const importDataOperationSpec = {
|
|
|
3699
3711
|
$host,
|
|
3700
3712
|
subscriptionId,
|
|
3701
3713
|
resourceGroupName,
|
|
3702
|
-
name
|
|
3714
|
+
name,
|
|
3703
3715
|
],
|
|
3704
3716
|
headerParameters: [accept, contentType],
|
|
3705
3717
|
mediaType: "json",
|
|
3706
|
-
serializer: serializer$8
|
|
3718
|
+
serializer: serializer$8,
|
|
3707
3719
|
};
|
|
3708
3720
|
const exportDataOperationSpec = {
|
|
3709
3721
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/export",
|
|
@@ -3714,8 +3726,8 @@ const exportDataOperationSpec = {
|
|
|
3714
3726
|
202: {},
|
|
3715
3727
|
204: {},
|
|
3716
3728
|
default: {
|
|
3717
|
-
bodyMapper: ErrorResponse
|
|
3718
|
-
}
|
|
3729
|
+
bodyMapper: ErrorResponse,
|
|
3730
|
+
},
|
|
3719
3731
|
},
|
|
3720
3732
|
requestBody: parameters6,
|
|
3721
3733
|
queryParameters: [apiVersion],
|
|
@@ -3723,11 +3735,11 @@ const exportDataOperationSpec = {
|
|
|
3723
3735
|
$host,
|
|
3724
3736
|
subscriptionId,
|
|
3725
3737
|
resourceGroupName,
|
|
3726
|
-
name
|
|
3738
|
+
name,
|
|
3727
3739
|
],
|
|
3728
3740
|
headerParameters: [accept, contentType],
|
|
3729
3741
|
mediaType: "json",
|
|
3730
|
-
serializer: serializer$8
|
|
3742
|
+
serializer: serializer$8,
|
|
3731
3743
|
};
|
|
3732
3744
|
const flushCacheOperationSpec = {
|
|
3733
3745
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/flush",
|
|
@@ -3735,93 +3747,93 @@ const flushCacheOperationSpec = {
|
|
|
3735
3747
|
responses: {
|
|
3736
3748
|
200: {
|
|
3737
3749
|
bodyMapper: OperationStatusResult,
|
|
3738
|
-
headersMapper: RedisFlushCacheHeaders
|
|
3750
|
+
headersMapper: RedisFlushCacheHeaders,
|
|
3739
3751
|
},
|
|
3740
3752
|
201: {
|
|
3741
3753
|
bodyMapper: OperationStatusResult,
|
|
3742
|
-
headersMapper: RedisFlushCacheHeaders
|
|
3754
|
+
headersMapper: RedisFlushCacheHeaders,
|
|
3743
3755
|
},
|
|
3744
3756
|
202: {
|
|
3745
3757
|
bodyMapper: OperationStatusResult,
|
|
3746
|
-
headersMapper: RedisFlushCacheHeaders
|
|
3758
|
+
headersMapper: RedisFlushCacheHeaders,
|
|
3747
3759
|
},
|
|
3748
3760
|
204: {
|
|
3749
3761
|
bodyMapper: OperationStatusResult,
|
|
3750
|
-
headersMapper: RedisFlushCacheHeaders
|
|
3762
|
+
headersMapper: RedisFlushCacheHeaders,
|
|
3751
3763
|
},
|
|
3752
3764
|
default: {
|
|
3753
|
-
bodyMapper: ErrorResponse
|
|
3754
|
-
}
|
|
3765
|
+
bodyMapper: ErrorResponse,
|
|
3766
|
+
},
|
|
3755
3767
|
},
|
|
3756
3768
|
queryParameters: [apiVersion],
|
|
3757
3769
|
urlParameters: [
|
|
3758
3770
|
$host,
|
|
3759
3771
|
subscriptionId,
|
|
3760
3772
|
resourceGroupName,
|
|
3761
|
-
cacheName
|
|
3773
|
+
cacheName,
|
|
3762
3774
|
],
|
|
3763
3775
|
headerParameters: [accept],
|
|
3764
|
-
serializer: serializer$8
|
|
3776
|
+
serializer: serializer$8,
|
|
3765
3777
|
};
|
|
3766
3778
|
const listUpgradeNotificationsNextOperationSpec = {
|
|
3767
3779
|
path: "{nextLink}",
|
|
3768
3780
|
httpMethod: "GET",
|
|
3769
3781
|
responses: {
|
|
3770
3782
|
200: {
|
|
3771
|
-
bodyMapper: NotificationListResponse
|
|
3783
|
+
bodyMapper: NotificationListResponse,
|
|
3772
3784
|
},
|
|
3773
3785
|
default: {
|
|
3774
|
-
bodyMapper: ErrorResponse
|
|
3775
|
-
}
|
|
3786
|
+
bodyMapper: ErrorResponse,
|
|
3787
|
+
},
|
|
3776
3788
|
},
|
|
3777
3789
|
urlParameters: [
|
|
3778
3790
|
$host,
|
|
3779
3791
|
nextLink,
|
|
3780
3792
|
subscriptionId,
|
|
3781
3793
|
resourceGroupName,
|
|
3782
|
-
name
|
|
3794
|
+
name,
|
|
3783
3795
|
],
|
|
3784
3796
|
headerParameters: [accept],
|
|
3785
|
-
serializer: serializer$8
|
|
3797
|
+
serializer: serializer$8,
|
|
3786
3798
|
};
|
|
3787
3799
|
const listByResourceGroupNextOperationSpec = {
|
|
3788
3800
|
path: "{nextLink}",
|
|
3789
3801
|
httpMethod: "GET",
|
|
3790
3802
|
responses: {
|
|
3791
3803
|
200: {
|
|
3792
|
-
bodyMapper: RedisListResult
|
|
3804
|
+
bodyMapper: RedisListResult,
|
|
3793
3805
|
},
|
|
3794
3806
|
default: {
|
|
3795
|
-
bodyMapper: ErrorResponse
|
|
3796
|
-
}
|
|
3807
|
+
bodyMapper: ErrorResponse,
|
|
3808
|
+
},
|
|
3797
3809
|
},
|
|
3798
3810
|
urlParameters: [
|
|
3799
3811
|
$host,
|
|
3800
3812
|
nextLink,
|
|
3801
3813
|
subscriptionId,
|
|
3802
|
-
resourceGroupName
|
|
3814
|
+
resourceGroupName,
|
|
3803
3815
|
],
|
|
3804
3816
|
headerParameters: [accept],
|
|
3805
|
-
serializer: serializer$8
|
|
3817
|
+
serializer: serializer$8,
|
|
3806
3818
|
};
|
|
3807
3819
|
const listBySubscriptionNextOperationSpec = {
|
|
3808
3820
|
path: "{nextLink}",
|
|
3809
3821
|
httpMethod: "GET",
|
|
3810
3822
|
responses: {
|
|
3811
3823
|
200: {
|
|
3812
|
-
bodyMapper: RedisListResult
|
|
3824
|
+
bodyMapper: RedisListResult,
|
|
3813
3825
|
},
|
|
3814
3826
|
default: {
|
|
3815
|
-
bodyMapper: ErrorResponse
|
|
3816
|
-
}
|
|
3827
|
+
bodyMapper: ErrorResponse,
|
|
3828
|
+
},
|
|
3817
3829
|
},
|
|
3818
3830
|
urlParameters: [
|
|
3819
3831
|
$host,
|
|
3820
3832
|
nextLink,
|
|
3821
|
-
subscriptionId
|
|
3833
|
+
subscriptionId,
|
|
3822
3834
|
],
|
|
3823
3835
|
headerParameters: [accept],
|
|
3824
|
-
serializer: serializer$8
|
|
3836
|
+
serializer: serializer$8,
|
|
3825
3837
|
};
|
|
3826
3838
|
|
|
3827
3839
|
/*
|
|
@@ -3861,7 +3873,7 @@ class FirewallRulesImpl {
|
|
|
3861
3873
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
3862
3874
|
}
|
|
3863
3875
|
return this.listPagingPage(resourceGroupName, cacheName, options, settings);
|
|
3864
|
-
}
|
|
3876
|
+
},
|
|
3865
3877
|
};
|
|
3866
3878
|
}
|
|
3867
3879
|
listPagingPage(resourceGroupName, cacheName, options, settings) {
|
|
@@ -3888,16 +3900,11 @@ class FirewallRulesImpl {
|
|
|
3888
3900
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
3889
3901
|
var _a, e_1, _b, _c;
|
|
3890
3902
|
try {
|
|
3891
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, cacheName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
3903
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, cacheName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3892
3904
|
_c = _f.value;
|
|
3893
3905
|
_d = false;
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3897
|
-
}
|
|
3898
|
-
finally {
|
|
3899
|
-
_d = true;
|
|
3900
|
-
}
|
|
3906
|
+
const page = _c;
|
|
3907
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3901
3908
|
}
|
|
3902
3909
|
}
|
|
3903
3910
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -3967,35 +3974,35 @@ const listOperationSpec$4 = {
|
|
|
3967
3974
|
httpMethod: "GET",
|
|
3968
3975
|
responses: {
|
|
3969
3976
|
200: {
|
|
3970
|
-
bodyMapper: RedisFirewallRuleListResult
|
|
3977
|
+
bodyMapper: RedisFirewallRuleListResult,
|
|
3971
3978
|
},
|
|
3972
3979
|
default: {
|
|
3973
|
-
bodyMapper: ErrorResponse
|
|
3974
|
-
}
|
|
3980
|
+
bodyMapper: ErrorResponse,
|
|
3981
|
+
},
|
|
3975
3982
|
},
|
|
3976
3983
|
queryParameters: [apiVersion],
|
|
3977
3984
|
urlParameters: [
|
|
3978
3985
|
$host,
|
|
3979
3986
|
subscriptionId,
|
|
3980
3987
|
resourceGroupName,
|
|
3981
|
-
cacheName
|
|
3988
|
+
cacheName,
|
|
3982
3989
|
],
|
|
3983
3990
|
headerParameters: [accept],
|
|
3984
|
-
serializer: serializer$7
|
|
3991
|
+
serializer: serializer$7,
|
|
3985
3992
|
};
|
|
3986
3993
|
const createOrUpdateOperationSpec$1 = {
|
|
3987
3994
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/firewallRules/{ruleName}",
|
|
3988
3995
|
httpMethod: "PUT",
|
|
3989
3996
|
responses: {
|
|
3990
3997
|
200: {
|
|
3991
|
-
bodyMapper: RedisFirewallRule
|
|
3998
|
+
bodyMapper: RedisFirewallRule,
|
|
3992
3999
|
},
|
|
3993
4000
|
201: {
|
|
3994
|
-
bodyMapper: RedisFirewallRule
|
|
4001
|
+
bodyMapper: RedisFirewallRule,
|
|
3995
4002
|
},
|
|
3996
4003
|
default: {
|
|
3997
|
-
bodyMapper: ErrorResponse
|
|
3998
|
-
}
|
|
4004
|
+
bodyMapper: ErrorResponse,
|
|
4005
|
+
},
|
|
3999
4006
|
},
|
|
4000
4007
|
requestBody: parameters7,
|
|
4001
4008
|
queryParameters: [apiVersion],
|
|
@@ -4004,22 +4011,22 @@ const createOrUpdateOperationSpec$1 = {
|
|
|
4004
4011
|
subscriptionId,
|
|
4005
4012
|
resourceGroupName,
|
|
4006
4013
|
cacheName,
|
|
4007
|
-
ruleName
|
|
4014
|
+
ruleName,
|
|
4008
4015
|
],
|
|
4009
4016
|
headerParameters: [accept, contentType],
|
|
4010
4017
|
mediaType: "json",
|
|
4011
|
-
serializer: serializer$7
|
|
4018
|
+
serializer: serializer$7,
|
|
4012
4019
|
};
|
|
4013
4020
|
const getOperationSpec$6 = {
|
|
4014
4021
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/firewallRules/{ruleName}",
|
|
4015
4022
|
httpMethod: "GET",
|
|
4016
4023
|
responses: {
|
|
4017
4024
|
200: {
|
|
4018
|
-
bodyMapper: RedisFirewallRule
|
|
4025
|
+
bodyMapper: RedisFirewallRule,
|
|
4019
4026
|
},
|
|
4020
4027
|
default: {
|
|
4021
|
-
bodyMapper: ErrorResponse
|
|
4022
|
-
}
|
|
4028
|
+
bodyMapper: ErrorResponse,
|
|
4029
|
+
},
|
|
4023
4030
|
},
|
|
4024
4031
|
queryParameters: [apiVersion],
|
|
4025
4032
|
urlParameters: [
|
|
@@ -4027,10 +4034,10 @@ const getOperationSpec$6 = {
|
|
|
4027
4034
|
subscriptionId,
|
|
4028
4035
|
resourceGroupName,
|
|
4029
4036
|
cacheName,
|
|
4030
|
-
ruleName
|
|
4037
|
+
ruleName,
|
|
4031
4038
|
],
|
|
4032
4039
|
headerParameters: [accept],
|
|
4033
|
-
serializer: serializer$7
|
|
4040
|
+
serializer: serializer$7,
|
|
4034
4041
|
};
|
|
4035
4042
|
const deleteOperationSpec$5 = {
|
|
4036
4043
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/firewallRules/{ruleName}",
|
|
@@ -4039,8 +4046,8 @@ const deleteOperationSpec$5 = {
|
|
|
4039
4046
|
200: {},
|
|
4040
4047
|
204: {},
|
|
4041
4048
|
default: {
|
|
4042
|
-
bodyMapper: ErrorResponse
|
|
4043
|
-
}
|
|
4049
|
+
bodyMapper: ErrorResponse,
|
|
4050
|
+
},
|
|
4044
4051
|
},
|
|
4045
4052
|
queryParameters: [apiVersion],
|
|
4046
4053
|
urlParameters: [
|
|
@@ -4048,31 +4055,31 @@ const deleteOperationSpec$5 = {
|
|
|
4048
4055
|
subscriptionId,
|
|
4049
4056
|
resourceGroupName,
|
|
4050
4057
|
cacheName,
|
|
4051
|
-
ruleName
|
|
4058
|
+
ruleName,
|
|
4052
4059
|
],
|
|
4053
4060
|
headerParameters: [accept],
|
|
4054
|
-
serializer: serializer$7
|
|
4061
|
+
serializer: serializer$7,
|
|
4055
4062
|
};
|
|
4056
4063
|
const listNextOperationSpec$3 = {
|
|
4057
4064
|
path: "{nextLink}",
|
|
4058
4065
|
httpMethod: "GET",
|
|
4059
4066
|
responses: {
|
|
4060
4067
|
200: {
|
|
4061
|
-
bodyMapper: RedisFirewallRuleListResult
|
|
4068
|
+
bodyMapper: RedisFirewallRuleListResult,
|
|
4062
4069
|
},
|
|
4063
4070
|
default: {
|
|
4064
|
-
bodyMapper: ErrorResponse
|
|
4065
|
-
}
|
|
4071
|
+
bodyMapper: ErrorResponse,
|
|
4072
|
+
},
|
|
4066
4073
|
},
|
|
4067
4074
|
urlParameters: [
|
|
4068
4075
|
$host,
|
|
4069
4076
|
nextLink,
|
|
4070
4077
|
subscriptionId,
|
|
4071
4078
|
resourceGroupName,
|
|
4072
|
-
cacheName
|
|
4079
|
+
cacheName,
|
|
4073
4080
|
],
|
|
4074
4081
|
headerParameters: [accept],
|
|
4075
|
-
serializer: serializer$7
|
|
4082
|
+
serializer: serializer$7,
|
|
4076
4083
|
};
|
|
4077
4084
|
|
|
4078
4085
|
/*
|
|
@@ -4112,7 +4119,7 @@ class PatchSchedulesImpl {
|
|
|
4112
4119
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
4113
4120
|
}
|
|
4114
4121
|
return this.listByRedisResourcePagingPage(resourceGroupName, cacheName, options, settings);
|
|
4115
|
-
}
|
|
4122
|
+
},
|
|
4116
4123
|
};
|
|
4117
4124
|
}
|
|
4118
4125
|
listByRedisResourcePagingPage(resourceGroupName, cacheName, options, settings) {
|
|
@@ -4139,16 +4146,11 @@ class PatchSchedulesImpl {
|
|
|
4139
4146
|
return tslib.__asyncGenerator(this, arguments, function* listByRedisResourcePagingAll_1() {
|
|
4140
4147
|
var _a, e_1, _b, _c;
|
|
4141
4148
|
try {
|
|
4142
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByRedisResourcePagingPage(resourceGroupName, cacheName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
4149
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByRedisResourcePagingPage(resourceGroupName, cacheName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
4143
4150
|
_c = _f.value;
|
|
4144
4151
|
_d = false;
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4148
|
-
}
|
|
4149
|
-
finally {
|
|
4150
|
-
_d = true;
|
|
4151
|
-
}
|
|
4152
|
+
const page = _c;
|
|
4153
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4152
4154
|
}
|
|
4153
4155
|
}
|
|
4154
4156
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -4218,35 +4220,35 @@ const listByRedisResourceOperationSpec = {
|
|
|
4218
4220
|
httpMethod: "GET",
|
|
4219
4221
|
responses: {
|
|
4220
4222
|
200: {
|
|
4221
|
-
bodyMapper: RedisPatchScheduleListResult
|
|
4223
|
+
bodyMapper: RedisPatchScheduleListResult,
|
|
4222
4224
|
},
|
|
4223
4225
|
default: {
|
|
4224
|
-
bodyMapper: ErrorResponse
|
|
4225
|
-
}
|
|
4226
|
+
bodyMapper: ErrorResponse,
|
|
4227
|
+
},
|
|
4226
4228
|
},
|
|
4227
4229
|
queryParameters: [apiVersion],
|
|
4228
4230
|
urlParameters: [
|
|
4229
4231
|
$host,
|
|
4230
4232
|
subscriptionId,
|
|
4231
4233
|
resourceGroupName,
|
|
4232
|
-
cacheName
|
|
4234
|
+
cacheName,
|
|
4233
4235
|
],
|
|
4234
4236
|
headerParameters: [accept],
|
|
4235
|
-
serializer: serializer$6
|
|
4237
|
+
serializer: serializer$6,
|
|
4236
4238
|
};
|
|
4237
4239
|
const createOrUpdateOperationSpec = {
|
|
4238
4240
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/patchSchedules/{default}",
|
|
4239
4241
|
httpMethod: "PUT",
|
|
4240
4242
|
responses: {
|
|
4241
4243
|
200: {
|
|
4242
|
-
bodyMapper: RedisPatchSchedule
|
|
4244
|
+
bodyMapper: RedisPatchSchedule,
|
|
4243
4245
|
},
|
|
4244
4246
|
201: {
|
|
4245
|
-
bodyMapper: RedisPatchSchedule
|
|
4247
|
+
bodyMapper: RedisPatchSchedule,
|
|
4246
4248
|
},
|
|
4247
4249
|
default: {
|
|
4248
|
-
bodyMapper: ErrorResponse
|
|
4249
|
-
}
|
|
4250
|
+
bodyMapper: ErrorResponse,
|
|
4251
|
+
},
|
|
4250
4252
|
},
|
|
4251
4253
|
requestBody: parameters8,
|
|
4252
4254
|
queryParameters: [apiVersion],
|
|
@@ -4255,11 +4257,11 @@ const createOrUpdateOperationSpec = {
|
|
|
4255
4257
|
subscriptionId,
|
|
4256
4258
|
resourceGroupName,
|
|
4257
4259
|
name,
|
|
4258
|
-
defaultParam
|
|
4260
|
+
defaultParam,
|
|
4259
4261
|
],
|
|
4260
4262
|
headerParameters: [accept, contentType],
|
|
4261
4263
|
mediaType: "json",
|
|
4262
|
-
serializer: serializer$6
|
|
4264
|
+
serializer: serializer$6,
|
|
4263
4265
|
};
|
|
4264
4266
|
const deleteOperationSpec$4 = {
|
|
4265
4267
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/patchSchedules/{default}",
|
|
@@ -4268,8 +4270,8 @@ const deleteOperationSpec$4 = {
|
|
|
4268
4270
|
200: {},
|
|
4269
4271
|
204: {},
|
|
4270
4272
|
default: {
|
|
4271
|
-
bodyMapper: ErrorResponse
|
|
4272
|
-
}
|
|
4273
|
+
bodyMapper: ErrorResponse,
|
|
4274
|
+
},
|
|
4273
4275
|
},
|
|
4274
4276
|
queryParameters: [apiVersion],
|
|
4275
4277
|
urlParameters: [
|
|
@@ -4277,21 +4279,21 @@ const deleteOperationSpec$4 = {
|
|
|
4277
4279
|
subscriptionId,
|
|
4278
4280
|
resourceGroupName,
|
|
4279
4281
|
name,
|
|
4280
|
-
defaultParam
|
|
4282
|
+
defaultParam,
|
|
4281
4283
|
],
|
|
4282
4284
|
headerParameters: [accept],
|
|
4283
|
-
serializer: serializer$6
|
|
4285
|
+
serializer: serializer$6,
|
|
4284
4286
|
};
|
|
4285
4287
|
const getOperationSpec$5 = {
|
|
4286
4288
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/patchSchedules/{default}",
|
|
4287
4289
|
httpMethod: "GET",
|
|
4288
4290
|
responses: {
|
|
4289
4291
|
200: {
|
|
4290
|
-
bodyMapper: RedisPatchSchedule
|
|
4292
|
+
bodyMapper: RedisPatchSchedule,
|
|
4291
4293
|
},
|
|
4292
4294
|
default: {
|
|
4293
|
-
bodyMapper: ErrorResponse
|
|
4294
|
-
}
|
|
4295
|
+
bodyMapper: ErrorResponse,
|
|
4296
|
+
},
|
|
4295
4297
|
},
|
|
4296
4298
|
queryParameters: [apiVersion],
|
|
4297
4299
|
urlParameters: [
|
|
@@ -4299,31 +4301,31 @@ const getOperationSpec$5 = {
|
|
|
4299
4301
|
subscriptionId,
|
|
4300
4302
|
resourceGroupName,
|
|
4301
4303
|
name,
|
|
4302
|
-
defaultParam
|
|
4304
|
+
defaultParam,
|
|
4303
4305
|
],
|
|
4304
4306
|
headerParameters: [accept],
|
|
4305
|
-
serializer: serializer$6
|
|
4307
|
+
serializer: serializer$6,
|
|
4306
4308
|
};
|
|
4307
4309
|
const listByRedisResourceNextOperationSpec = {
|
|
4308
4310
|
path: "{nextLink}",
|
|
4309
4311
|
httpMethod: "GET",
|
|
4310
4312
|
responses: {
|
|
4311
4313
|
200: {
|
|
4312
|
-
bodyMapper: RedisPatchScheduleListResult
|
|
4314
|
+
bodyMapper: RedisPatchScheduleListResult,
|
|
4313
4315
|
},
|
|
4314
4316
|
default: {
|
|
4315
|
-
bodyMapper: ErrorResponse
|
|
4316
|
-
}
|
|
4317
|
+
bodyMapper: ErrorResponse,
|
|
4318
|
+
},
|
|
4317
4319
|
},
|
|
4318
4320
|
urlParameters: [
|
|
4319
4321
|
$host,
|
|
4320
4322
|
nextLink,
|
|
4321
4323
|
subscriptionId,
|
|
4322
4324
|
resourceGroupName,
|
|
4323
|
-
cacheName
|
|
4325
|
+
cacheName,
|
|
4324
4326
|
],
|
|
4325
4327
|
headerParameters: [accept],
|
|
4326
|
-
serializer: serializer$6
|
|
4328
|
+
serializer: serializer$6,
|
|
4327
4329
|
};
|
|
4328
4330
|
|
|
4329
4331
|
/*
|
|
@@ -4363,7 +4365,7 @@ class LinkedServerImpl {
|
|
|
4363
4365
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
4364
4366
|
}
|
|
4365
4367
|
return this.listPagingPage(resourceGroupName, name, options, settings);
|
|
4366
|
-
}
|
|
4368
|
+
},
|
|
4367
4369
|
};
|
|
4368
4370
|
}
|
|
4369
4371
|
listPagingPage(resourceGroupName, name, options, settings) {
|
|
@@ -4390,16 +4392,11 @@ class LinkedServerImpl {
|
|
|
4390
4392
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
4391
4393
|
var _a, e_1, _b, _c;
|
|
4392
4394
|
try {
|
|
4393
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, name, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
4395
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, name, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
4394
4396
|
_c = _f.value;
|
|
4395
4397
|
_d = false;
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4399
|
-
}
|
|
4400
|
-
finally {
|
|
4401
|
-
_d = true;
|
|
4402
|
-
}
|
|
4398
|
+
const page = _c;
|
|
4399
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4403
4400
|
}
|
|
4404
4401
|
}
|
|
4405
4402
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -4439,18 +4436,18 @@ class LinkedServerImpl {
|
|
|
4439
4436
|
rawResponse: {
|
|
4440
4437
|
statusCode: currentRawResponse.status,
|
|
4441
4438
|
body: currentRawResponse.parsedBody,
|
|
4442
|
-
headers: currentRawResponse.headers.toJSON()
|
|
4443
|
-
}
|
|
4439
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
4440
|
+
},
|
|
4444
4441
|
};
|
|
4445
4442
|
});
|
|
4446
4443
|
const lro = createLroSpec({
|
|
4447
4444
|
sendOperationFn,
|
|
4448
4445
|
args: { resourceGroupName, name, linkedServerName, parameters, options },
|
|
4449
|
-
spec: createOperationSpec
|
|
4446
|
+
spec: createOperationSpec,
|
|
4450
4447
|
});
|
|
4451
4448
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4452
4449
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4453
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
4450
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4454
4451
|
});
|
|
4455
4452
|
yield poller.poll();
|
|
4456
4453
|
return poller;
|
|
@@ -4497,18 +4494,18 @@ class LinkedServerImpl {
|
|
|
4497
4494
|
rawResponse: {
|
|
4498
4495
|
statusCode: currentRawResponse.status,
|
|
4499
4496
|
body: currentRawResponse.parsedBody,
|
|
4500
|
-
headers: currentRawResponse.headers.toJSON()
|
|
4501
|
-
}
|
|
4497
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
4498
|
+
},
|
|
4502
4499
|
};
|
|
4503
4500
|
});
|
|
4504
4501
|
const lro = createLroSpec({
|
|
4505
4502
|
sendOperationFn,
|
|
4506
4503
|
args: { resourceGroupName, name, linkedServerName, options },
|
|
4507
|
-
spec: deleteOperationSpec$3
|
|
4504
|
+
spec: deleteOperationSpec$3,
|
|
4508
4505
|
});
|
|
4509
4506
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4510
4507
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4511
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
4508
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4512
4509
|
});
|
|
4513
4510
|
yield poller.poll();
|
|
4514
4511
|
return poller;
|
|
@@ -4564,20 +4561,20 @@ const createOperationSpec = {
|
|
|
4564
4561
|
httpMethod: "PUT",
|
|
4565
4562
|
responses: {
|
|
4566
4563
|
200: {
|
|
4567
|
-
bodyMapper: RedisLinkedServerWithProperties
|
|
4564
|
+
bodyMapper: RedisLinkedServerWithProperties,
|
|
4568
4565
|
},
|
|
4569
4566
|
201: {
|
|
4570
|
-
bodyMapper: RedisLinkedServerWithProperties
|
|
4567
|
+
bodyMapper: RedisLinkedServerWithProperties,
|
|
4571
4568
|
},
|
|
4572
4569
|
202: {
|
|
4573
|
-
bodyMapper: RedisLinkedServerWithProperties
|
|
4570
|
+
bodyMapper: RedisLinkedServerWithProperties,
|
|
4574
4571
|
},
|
|
4575
4572
|
204: {
|
|
4576
|
-
bodyMapper: RedisLinkedServerWithProperties
|
|
4573
|
+
bodyMapper: RedisLinkedServerWithProperties,
|
|
4577
4574
|
},
|
|
4578
4575
|
default: {
|
|
4579
|
-
bodyMapper: ErrorResponse
|
|
4580
|
-
}
|
|
4576
|
+
bodyMapper: ErrorResponse,
|
|
4577
|
+
},
|
|
4581
4578
|
},
|
|
4582
4579
|
requestBody: parameters9,
|
|
4583
4580
|
queryParameters: [apiVersion],
|
|
@@ -4586,11 +4583,11 @@ const createOperationSpec = {
|
|
|
4586
4583
|
subscriptionId,
|
|
4587
4584
|
resourceGroupName,
|
|
4588
4585
|
name,
|
|
4589
|
-
linkedServerName
|
|
4586
|
+
linkedServerName,
|
|
4590
4587
|
],
|
|
4591
4588
|
headerParameters: [accept, contentType],
|
|
4592
4589
|
mediaType: "json",
|
|
4593
|
-
serializer: serializer$5
|
|
4590
|
+
serializer: serializer$5,
|
|
4594
4591
|
};
|
|
4595
4592
|
const deleteOperationSpec$3 = {
|
|
4596
4593
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/linkedServers/{linkedServerName}",
|
|
@@ -4601,8 +4598,8 @@ const deleteOperationSpec$3 = {
|
|
|
4601
4598
|
202: {},
|
|
4602
4599
|
204: {},
|
|
4603
4600
|
default: {
|
|
4604
|
-
bodyMapper: ErrorResponse
|
|
4605
|
-
}
|
|
4601
|
+
bodyMapper: ErrorResponse,
|
|
4602
|
+
},
|
|
4606
4603
|
},
|
|
4607
4604
|
queryParameters: [apiVersion],
|
|
4608
4605
|
urlParameters: [
|
|
@@ -4610,21 +4607,21 @@ const deleteOperationSpec$3 = {
|
|
|
4610
4607
|
subscriptionId,
|
|
4611
4608
|
resourceGroupName,
|
|
4612
4609
|
name,
|
|
4613
|
-
linkedServerName
|
|
4610
|
+
linkedServerName,
|
|
4614
4611
|
],
|
|
4615
4612
|
headerParameters: [accept],
|
|
4616
|
-
serializer: serializer$5
|
|
4613
|
+
serializer: serializer$5,
|
|
4617
4614
|
};
|
|
4618
4615
|
const getOperationSpec$4 = {
|
|
4619
4616
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/linkedServers/{linkedServerName}",
|
|
4620
4617
|
httpMethod: "GET",
|
|
4621
4618
|
responses: {
|
|
4622
4619
|
200: {
|
|
4623
|
-
bodyMapper: RedisLinkedServerWithProperties
|
|
4620
|
+
bodyMapper: RedisLinkedServerWithProperties,
|
|
4624
4621
|
},
|
|
4625
4622
|
default: {
|
|
4626
|
-
bodyMapper: ErrorResponse
|
|
4627
|
-
}
|
|
4623
|
+
bodyMapper: ErrorResponse,
|
|
4624
|
+
},
|
|
4628
4625
|
},
|
|
4629
4626
|
queryParameters: [apiVersion],
|
|
4630
4627
|
urlParameters: [
|
|
@@ -4632,52 +4629,52 @@ const getOperationSpec$4 = {
|
|
|
4632
4629
|
subscriptionId,
|
|
4633
4630
|
resourceGroupName,
|
|
4634
4631
|
name,
|
|
4635
|
-
linkedServerName
|
|
4632
|
+
linkedServerName,
|
|
4636
4633
|
],
|
|
4637
4634
|
headerParameters: [accept],
|
|
4638
|
-
serializer: serializer$5
|
|
4635
|
+
serializer: serializer$5,
|
|
4639
4636
|
};
|
|
4640
4637
|
const listOperationSpec$3 = {
|
|
4641
4638
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/linkedServers",
|
|
4642
4639
|
httpMethod: "GET",
|
|
4643
4640
|
responses: {
|
|
4644
4641
|
200: {
|
|
4645
|
-
bodyMapper: RedisLinkedServerWithPropertiesList
|
|
4642
|
+
bodyMapper: RedisLinkedServerWithPropertiesList,
|
|
4646
4643
|
},
|
|
4647
4644
|
default: {
|
|
4648
|
-
bodyMapper: ErrorResponse
|
|
4649
|
-
}
|
|
4645
|
+
bodyMapper: ErrorResponse,
|
|
4646
|
+
},
|
|
4650
4647
|
},
|
|
4651
4648
|
queryParameters: [apiVersion],
|
|
4652
4649
|
urlParameters: [
|
|
4653
4650
|
$host,
|
|
4654
4651
|
subscriptionId,
|
|
4655
4652
|
resourceGroupName,
|
|
4656
|
-
name
|
|
4653
|
+
name,
|
|
4657
4654
|
],
|
|
4658
4655
|
headerParameters: [accept],
|
|
4659
|
-
serializer: serializer$5
|
|
4656
|
+
serializer: serializer$5,
|
|
4660
4657
|
};
|
|
4661
4658
|
const listNextOperationSpec$2 = {
|
|
4662
4659
|
path: "{nextLink}",
|
|
4663
4660
|
httpMethod: "GET",
|
|
4664
4661
|
responses: {
|
|
4665
4662
|
200: {
|
|
4666
|
-
bodyMapper: RedisLinkedServerWithPropertiesList
|
|
4663
|
+
bodyMapper: RedisLinkedServerWithPropertiesList,
|
|
4667
4664
|
},
|
|
4668
4665
|
default: {
|
|
4669
|
-
bodyMapper: ErrorResponse
|
|
4670
|
-
}
|
|
4666
|
+
bodyMapper: ErrorResponse,
|
|
4667
|
+
},
|
|
4671
4668
|
},
|
|
4672
4669
|
urlParameters: [
|
|
4673
4670
|
$host,
|
|
4674
4671
|
nextLink,
|
|
4675
4672
|
subscriptionId,
|
|
4676
4673
|
resourceGroupName,
|
|
4677
|
-
name
|
|
4674
|
+
name,
|
|
4678
4675
|
],
|
|
4679
4676
|
headerParameters: [accept],
|
|
4680
|
-
serializer: serializer$5
|
|
4677
|
+
serializer: serializer$5,
|
|
4681
4678
|
};
|
|
4682
4679
|
|
|
4683
4680
|
/*
|
|
@@ -4717,7 +4714,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
4717
4714
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
4718
4715
|
}
|
|
4719
4716
|
return this.listPagingPage(resourceGroupName, cacheName, options, settings);
|
|
4720
|
-
}
|
|
4717
|
+
},
|
|
4721
4718
|
};
|
|
4722
4719
|
}
|
|
4723
4720
|
listPagingPage(resourceGroupName, cacheName, options, _settings) {
|
|
@@ -4731,16 +4728,11 @@ class PrivateEndpointConnectionsImpl {
|
|
|
4731
4728
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
4732
4729
|
var _a, e_1, _b, _c;
|
|
4733
4730
|
try {
|
|
4734
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, cacheName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
4731
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, cacheName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
4735
4732
|
_c = _f.value;
|
|
4736
4733
|
_d = false;
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4740
|
-
}
|
|
4741
|
-
finally {
|
|
4742
|
-
_d = true;
|
|
4743
|
-
}
|
|
4734
|
+
const page = _c;
|
|
4735
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4744
4736
|
}
|
|
4745
4737
|
}
|
|
4746
4738
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -4801,8 +4793,8 @@ class PrivateEndpointConnectionsImpl {
|
|
|
4801
4793
|
rawResponse: {
|
|
4802
4794
|
statusCode: currentRawResponse.status,
|
|
4803
4795
|
body: currentRawResponse.parsedBody,
|
|
4804
|
-
headers: currentRawResponse.headers.toJSON()
|
|
4805
|
-
}
|
|
4796
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
4797
|
+
},
|
|
4806
4798
|
};
|
|
4807
4799
|
});
|
|
4808
4800
|
const lro = createLroSpec({
|
|
@@ -4812,13 +4804,13 @@ class PrivateEndpointConnectionsImpl {
|
|
|
4812
4804
|
cacheName,
|
|
4813
4805
|
privateEndpointConnectionName,
|
|
4814
4806
|
properties,
|
|
4815
|
-
options
|
|
4807
|
+
options,
|
|
4816
4808
|
},
|
|
4817
|
-
spec: putOperationSpec
|
|
4809
|
+
spec: putOperationSpec,
|
|
4818
4810
|
});
|
|
4819
4811
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4820
4812
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4821
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
4813
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4822
4814
|
});
|
|
4823
4815
|
yield poller.poll();
|
|
4824
4816
|
return poller;
|
|
@@ -4858,32 +4850,32 @@ const listOperationSpec$2 = {
|
|
|
4858
4850
|
httpMethod: "GET",
|
|
4859
4851
|
responses: {
|
|
4860
4852
|
200: {
|
|
4861
|
-
bodyMapper: PrivateEndpointConnectionListResult
|
|
4853
|
+
bodyMapper: PrivateEndpointConnectionListResult,
|
|
4862
4854
|
},
|
|
4863
4855
|
default: {
|
|
4864
|
-
bodyMapper: ErrorResponse
|
|
4865
|
-
}
|
|
4856
|
+
bodyMapper: ErrorResponse,
|
|
4857
|
+
},
|
|
4866
4858
|
},
|
|
4867
4859
|
queryParameters: [apiVersion],
|
|
4868
4860
|
urlParameters: [
|
|
4869
4861
|
$host,
|
|
4870
4862
|
subscriptionId,
|
|
4871
4863
|
resourceGroupName,
|
|
4872
|
-
cacheName
|
|
4864
|
+
cacheName,
|
|
4873
4865
|
],
|
|
4874
4866
|
headerParameters: [accept],
|
|
4875
|
-
serializer: serializer$4
|
|
4867
|
+
serializer: serializer$4,
|
|
4876
4868
|
};
|
|
4877
4869
|
const getOperationSpec$3 = {
|
|
4878
4870
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
4879
4871
|
httpMethod: "GET",
|
|
4880
4872
|
responses: {
|
|
4881
4873
|
200: {
|
|
4882
|
-
bodyMapper: PrivateEndpointConnection
|
|
4874
|
+
bodyMapper: PrivateEndpointConnection,
|
|
4883
4875
|
},
|
|
4884
4876
|
default: {
|
|
4885
|
-
bodyMapper: ErrorResponse
|
|
4886
|
-
}
|
|
4877
|
+
bodyMapper: ErrorResponse,
|
|
4878
|
+
},
|
|
4887
4879
|
},
|
|
4888
4880
|
queryParameters: [apiVersion],
|
|
4889
4881
|
urlParameters: [
|
|
@@ -4891,30 +4883,30 @@ const getOperationSpec$3 = {
|
|
|
4891
4883
|
subscriptionId,
|
|
4892
4884
|
resourceGroupName,
|
|
4893
4885
|
cacheName,
|
|
4894
|
-
privateEndpointConnectionName
|
|
4886
|
+
privateEndpointConnectionName,
|
|
4895
4887
|
],
|
|
4896
4888
|
headerParameters: [accept],
|
|
4897
|
-
serializer: serializer$4
|
|
4889
|
+
serializer: serializer$4,
|
|
4898
4890
|
};
|
|
4899
4891
|
const putOperationSpec = {
|
|
4900
4892
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
4901
4893
|
httpMethod: "PUT",
|
|
4902
4894
|
responses: {
|
|
4903
4895
|
200: {
|
|
4904
|
-
bodyMapper: PrivateEndpointConnection
|
|
4896
|
+
bodyMapper: PrivateEndpointConnection,
|
|
4905
4897
|
},
|
|
4906
4898
|
201: {
|
|
4907
|
-
bodyMapper: PrivateEndpointConnection
|
|
4899
|
+
bodyMapper: PrivateEndpointConnection,
|
|
4908
4900
|
},
|
|
4909
4901
|
202: {
|
|
4910
|
-
bodyMapper: PrivateEndpointConnection
|
|
4902
|
+
bodyMapper: PrivateEndpointConnection,
|
|
4911
4903
|
},
|
|
4912
4904
|
204: {
|
|
4913
|
-
bodyMapper: PrivateEndpointConnection
|
|
4905
|
+
bodyMapper: PrivateEndpointConnection,
|
|
4914
4906
|
},
|
|
4915
4907
|
default: {
|
|
4916
|
-
bodyMapper: ErrorResponse
|
|
4917
|
-
}
|
|
4908
|
+
bodyMapper: ErrorResponse,
|
|
4909
|
+
},
|
|
4918
4910
|
},
|
|
4919
4911
|
requestBody: properties,
|
|
4920
4912
|
queryParameters: [apiVersion],
|
|
@@ -4923,11 +4915,11 @@ const putOperationSpec = {
|
|
|
4923
4915
|
subscriptionId,
|
|
4924
4916
|
resourceGroupName,
|
|
4925
4917
|
cacheName,
|
|
4926
|
-
privateEndpointConnectionName
|
|
4918
|
+
privateEndpointConnectionName,
|
|
4927
4919
|
],
|
|
4928
4920
|
headerParameters: [accept, contentType],
|
|
4929
4921
|
mediaType: "json",
|
|
4930
|
-
serializer: serializer$4
|
|
4922
|
+
serializer: serializer$4,
|
|
4931
4923
|
};
|
|
4932
4924
|
const deleteOperationSpec$2 = {
|
|
4933
4925
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
@@ -4936,8 +4928,8 @@ const deleteOperationSpec$2 = {
|
|
|
4936
4928
|
200: {},
|
|
4937
4929
|
204: {},
|
|
4938
4930
|
default: {
|
|
4939
|
-
bodyMapper: ErrorResponse
|
|
4940
|
-
}
|
|
4931
|
+
bodyMapper: ErrorResponse,
|
|
4932
|
+
},
|
|
4941
4933
|
},
|
|
4942
4934
|
queryParameters: [apiVersion],
|
|
4943
4935
|
urlParameters: [
|
|
@@ -4945,10 +4937,10 @@ const deleteOperationSpec$2 = {
|
|
|
4945
4937
|
subscriptionId,
|
|
4946
4938
|
resourceGroupName,
|
|
4947
4939
|
cacheName,
|
|
4948
|
-
privateEndpointConnectionName
|
|
4940
|
+
privateEndpointConnectionName,
|
|
4949
4941
|
],
|
|
4950
4942
|
headerParameters: [accept],
|
|
4951
|
-
serializer: serializer$4
|
|
4943
|
+
serializer: serializer$4,
|
|
4952
4944
|
};
|
|
4953
4945
|
|
|
4954
4946
|
/*
|
|
@@ -4988,7 +4980,7 @@ class PrivateLinkResourcesImpl {
|
|
|
4988
4980
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
4989
4981
|
}
|
|
4990
4982
|
return this.listByRedisCachePagingPage(resourceGroupName, cacheName, options, settings);
|
|
4991
|
-
}
|
|
4983
|
+
},
|
|
4992
4984
|
};
|
|
4993
4985
|
}
|
|
4994
4986
|
listByRedisCachePagingPage(resourceGroupName, cacheName, options, _settings) {
|
|
@@ -5002,16 +4994,11 @@ class PrivateLinkResourcesImpl {
|
|
|
5002
4994
|
return tslib.__asyncGenerator(this, arguments, function* listByRedisCachePagingAll_1() {
|
|
5003
4995
|
var _a, e_1, _b, _c;
|
|
5004
4996
|
try {
|
|
5005
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByRedisCachePagingPage(resourceGroupName, cacheName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
4997
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByRedisCachePagingPage(resourceGroupName, cacheName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
5006
4998
|
_c = _f.value;
|
|
5007
4999
|
_d = false;
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
5011
|
-
}
|
|
5012
|
-
finally {
|
|
5013
|
-
_d = true;
|
|
5014
|
-
}
|
|
5000
|
+
const page = _c;
|
|
5001
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
5015
5002
|
}
|
|
5016
5003
|
}
|
|
5017
5004
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -5040,21 +5027,21 @@ const listByRedisCacheOperationSpec = {
|
|
|
5040
5027
|
httpMethod: "GET",
|
|
5041
5028
|
responses: {
|
|
5042
5029
|
200: {
|
|
5043
|
-
bodyMapper: PrivateLinkResourceListResult
|
|
5030
|
+
bodyMapper: PrivateLinkResourceListResult,
|
|
5044
5031
|
},
|
|
5045
5032
|
default: {
|
|
5046
|
-
bodyMapper: ErrorResponse
|
|
5047
|
-
}
|
|
5033
|
+
bodyMapper: ErrorResponse,
|
|
5034
|
+
},
|
|
5048
5035
|
},
|
|
5049
5036
|
queryParameters: [apiVersion],
|
|
5050
5037
|
urlParameters: [
|
|
5051
5038
|
$host,
|
|
5052
5039
|
subscriptionId,
|
|
5053
5040
|
resourceGroupName,
|
|
5054
|
-
cacheName
|
|
5041
|
+
cacheName,
|
|
5055
5042
|
],
|
|
5056
5043
|
headerParameters: [accept],
|
|
5057
|
-
serializer: serializer$3
|
|
5044
|
+
serializer: serializer$3,
|
|
5058
5045
|
};
|
|
5059
5046
|
|
|
5060
5047
|
/*
|
|
@@ -5090,21 +5077,21 @@ const getOperationSpec$2 = {
|
|
|
5090
5077
|
httpMethod: "GET",
|
|
5091
5078
|
responses: {
|
|
5092
5079
|
200: {
|
|
5093
|
-
bodyMapper: OperationStatus
|
|
5080
|
+
bodyMapper: OperationStatus,
|
|
5094
5081
|
},
|
|
5095
5082
|
default: {
|
|
5096
|
-
bodyMapper: ErrorResponse
|
|
5097
|
-
}
|
|
5083
|
+
bodyMapper: ErrorResponse,
|
|
5084
|
+
},
|
|
5098
5085
|
},
|
|
5099
5086
|
queryParameters: [apiVersion],
|
|
5100
5087
|
urlParameters: [
|
|
5101
5088
|
$host,
|
|
5102
5089
|
subscriptionId,
|
|
5103
5090
|
location,
|
|
5104
|
-
operationId
|
|
5091
|
+
operationId,
|
|
5105
5092
|
],
|
|
5106
5093
|
headerParameters: [accept],
|
|
5107
|
-
serializer: serializer$2
|
|
5094
|
+
serializer: serializer$2,
|
|
5108
5095
|
};
|
|
5109
5096
|
|
|
5110
5097
|
/*
|
|
@@ -5144,7 +5131,7 @@ class AccessPolicyImpl {
|
|
|
5144
5131
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
5145
5132
|
}
|
|
5146
5133
|
return this.listPagingPage(resourceGroupName, cacheName, options, settings);
|
|
5147
|
-
}
|
|
5134
|
+
},
|
|
5148
5135
|
};
|
|
5149
5136
|
}
|
|
5150
5137
|
listPagingPage(resourceGroupName, cacheName, options, settings) {
|
|
@@ -5171,16 +5158,11 @@ class AccessPolicyImpl {
|
|
|
5171
5158
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
5172
5159
|
var _a, e_1, _b, _c;
|
|
5173
5160
|
try {
|
|
5174
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, cacheName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
5161
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, cacheName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
5175
5162
|
_c = _f.value;
|
|
5176
5163
|
_d = false;
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
5180
|
-
}
|
|
5181
|
-
finally {
|
|
5182
|
-
_d = true;
|
|
5183
|
-
}
|
|
5164
|
+
const page = _c;
|
|
5165
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
5184
5166
|
}
|
|
5185
5167
|
}
|
|
5186
5168
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -5220,8 +5202,8 @@ class AccessPolicyImpl {
|
|
|
5220
5202
|
rawResponse: {
|
|
5221
5203
|
statusCode: currentRawResponse.status,
|
|
5222
5204
|
body: currentRawResponse.parsedBody,
|
|
5223
|
-
headers: currentRawResponse.headers.toJSON()
|
|
5224
|
-
}
|
|
5205
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
5206
|
+
},
|
|
5225
5207
|
};
|
|
5226
5208
|
});
|
|
5227
5209
|
const lro = createLroSpec({
|
|
@@ -5231,13 +5213,13 @@ class AccessPolicyImpl {
|
|
|
5231
5213
|
cacheName,
|
|
5232
5214
|
accessPolicyName,
|
|
5233
5215
|
parameters,
|
|
5234
|
-
options
|
|
5216
|
+
options,
|
|
5235
5217
|
},
|
|
5236
|
-
spec: createUpdateOperationSpec$1
|
|
5218
|
+
spec: createUpdateOperationSpec$1,
|
|
5237
5219
|
});
|
|
5238
5220
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
5239
5221
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5240
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
5222
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
5241
5223
|
});
|
|
5242
5224
|
yield poller.poll();
|
|
5243
5225
|
return poller;
|
|
@@ -5284,19 +5266,19 @@ class AccessPolicyImpl {
|
|
|
5284
5266
|
rawResponse: {
|
|
5285
5267
|
statusCode: currentRawResponse.status,
|
|
5286
5268
|
body: currentRawResponse.parsedBody,
|
|
5287
|
-
headers: currentRawResponse.headers.toJSON()
|
|
5288
|
-
}
|
|
5269
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
5270
|
+
},
|
|
5289
5271
|
};
|
|
5290
5272
|
});
|
|
5291
5273
|
const lro = createLroSpec({
|
|
5292
5274
|
sendOperationFn,
|
|
5293
5275
|
args: { resourceGroupName, cacheName, accessPolicyName, options },
|
|
5294
|
-
spec: deleteOperationSpec$1
|
|
5276
|
+
spec: deleteOperationSpec$1,
|
|
5295
5277
|
});
|
|
5296
5278
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
5297
5279
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5298
5280
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
5299
|
-
resourceLocationConfig: "location"
|
|
5281
|
+
resourceLocationConfig: "location",
|
|
5300
5282
|
});
|
|
5301
5283
|
yield poller.poll();
|
|
5302
5284
|
return poller;
|
|
@@ -5352,20 +5334,20 @@ const createUpdateOperationSpec$1 = {
|
|
|
5352
5334
|
httpMethod: "PUT",
|
|
5353
5335
|
responses: {
|
|
5354
5336
|
200: {
|
|
5355
|
-
bodyMapper: RedisCacheAccessPolicy
|
|
5337
|
+
bodyMapper: RedisCacheAccessPolicy,
|
|
5356
5338
|
},
|
|
5357
5339
|
201: {
|
|
5358
|
-
bodyMapper: RedisCacheAccessPolicy
|
|
5340
|
+
bodyMapper: RedisCacheAccessPolicy,
|
|
5359
5341
|
},
|
|
5360
5342
|
202: {
|
|
5361
|
-
bodyMapper: RedisCacheAccessPolicy
|
|
5343
|
+
bodyMapper: RedisCacheAccessPolicy,
|
|
5362
5344
|
},
|
|
5363
5345
|
204: {
|
|
5364
|
-
bodyMapper: RedisCacheAccessPolicy
|
|
5346
|
+
bodyMapper: RedisCacheAccessPolicy,
|
|
5365
5347
|
},
|
|
5366
5348
|
default: {
|
|
5367
|
-
bodyMapper: ErrorResponse
|
|
5368
|
-
}
|
|
5349
|
+
bodyMapper: ErrorResponse,
|
|
5350
|
+
},
|
|
5369
5351
|
},
|
|
5370
5352
|
requestBody: parameters10,
|
|
5371
5353
|
queryParameters: [apiVersion],
|
|
@@ -5374,11 +5356,11 @@ const createUpdateOperationSpec$1 = {
|
|
|
5374
5356
|
subscriptionId,
|
|
5375
5357
|
resourceGroupName,
|
|
5376
5358
|
cacheName,
|
|
5377
|
-
accessPolicyName
|
|
5359
|
+
accessPolicyName,
|
|
5378
5360
|
],
|
|
5379
5361
|
headerParameters: [accept, contentType],
|
|
5380
5362
|
mediaType: "json",
|
|
5381
|
-
serializer: serializer$1
|
|
5363
|
+
serializer: serializer$1,
|
|
5382
5364
|
};
|
|
5383
5365
|
const deleteOperationSpec$1 = {
|
|
5384
5366
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicies/{accessPolicyName}",
|
|
@@ -5389,8 +5371,8 @@ const deleteOperationSpec$1 = {
|
|
|
5389
5371
|
202: {},
|
|
5390
5372
|
204: {},
|
|
5391
5373
|
default: {
|
|
5392
|
-
bodyMapper: ErrorResponse
|
|
5393
|
-
}
|
|
5374
|
+
bodyMapper: ErrorResponse,
|
|
5375
|
+
},
|
|
5394
5376
|
},
|
|
5395
5377
|
queryParameters: [apiVersion],
|
|
5396
5378
|
urlParameters: [
|
|
@@ -5398,21 +5380,21 @@ const deleteOperationSpec$1 = {
|
|
|
5398
5380
|
subscriptionId,
|
|
5399
5381
|
resourceGroupName,
|
|
5400
5382
|
cacheName,
|
|
5401
|
-
accessPolicyName
|
|
5383
|
+
accessPolicyName,
|
|
5402
5384
|
],
|
|
5403
5385
|
headerParameters: [accept],
|
|
5404
|
-
serializer: serializer$1
|
|
5386
|
+
serializer: serializer$1,
|
|
5405
5387
|
};
|
|
5406
5388
|
const getOperationSpec$1 = {
|
|
5407
5389
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicies/{accessPolicyName}",
|
|
5408
5390
|
httpMethod: "GET",
|
|
5409
5391
|
responses: {
|
|
5410
5392
|
200: {
|
|
5411
|
-
bodyMapper: RedisCacheAccessPolicy
|
|
5393
|
+
bodyMapper: RedisCacheAccessPolicy,
|
|
5412
5394
|
},
|
|
5413
5395
|
default: {
|
|
5414
|
-
bodyMapper: ErrorResponse
|
|
5415
|
-
}
|
|
5396
|
+
bodyMapper: ErrorResponse,
|
|
5397
|
+
},
|
|
5416
5398
|
},
|
|
5417
5399
|
queryParameters: [apiVersion],
|
|
5418
5400
|
urlParameters: [
|
|
@@ -5420,52 +5402,52 @@ const getOperationSpec$1 = {
|
|
|
5420
5402
|
subscriptionId,
|
|
5421
5403
|
resourceGroupName,
|
|
5422
5404
|
cacheName,
|
|
5423
|
-
accessPolicyName
|
|
5405
|
+
accessPolicyName,
|
|
5424
5406
|
],
|
|
5425
5407
|
headerParameters: [accept],
|
|
5426
|
-
serializer: serializer$1
|
|
5408
|
+
serializer: serializer$1,
|
|
5427
5409
|
};
|
|
5428
5410
|
const listOperationSpec$1 = {
|
|
5429
5411
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicies",
|
|
5430
5412
|
httpMethod: "GET",
|
|
5431
5413
|
responses: {
|
|
5432
5414
|
200: {
|
|
5433
|
-
bodyMapper: RedisCacheAccessPolicyList
|
|
5415
|
+
bodyMapper: RedisCacheAccessPolicyList,
|
|
5434
5416
|
},
|
|
5435
5417
|
default: {
|
|
5436
|
-
bodyMapper: ErrorResponse
|
|
5437
|
-
}
|
|
5418
|
+
bodyMapper: ErrorResponse,
|
|
5419
|
+
},
|
|
5438
5420
|
},
|
|
5439
5421
|
queryParameters: [apiVersion],
|
|
5440
5422
|
urlParameters: [
|
|
5441
5423
|
$host,
|
|
5442
5424
|
subscriptionId,
|
|
5443
5425
|
resourceGroupName,
|
|
5444
|
-
cacheName
|
|
5426
|
+
cacheName,
|
|
5445
5427
|
],
|
|
5446
5428
|
headerParameters: [accept],
|
|
5447
|
-
serializer: serializer$1
|
|
5429
|
+
serializer: serializer$1,
|
|
5448
5430
|
};
|
|
5449
5431
|
const listNextOperationSpec$1 = {
|
|
5450
5432
|
path: "{nextLink}",
|
|
5451
5433
|
httpMethod: "GET",
|
|
5452
5434
|
responses: {
|
|
5453
5435
|
200: {
|
|
5454
|
-
bodyMapper: RedisCacheAccessPolicyList
|
|
5436
|
+
bodyMapper: RedisCacheAccessPolicyList,
|
|
5455
5437
|
},
|
|
5456
5438
|
default: {
|
|
5457
|
-
bodyMapper: ErrorResponse
|
|
5458
|
-
}
|
|
5439
|
+
bodyMapper: ErrorResponse,
|
|
5440
|
+
},
|
|
5459
5441
|
},
|
|
5460
5442
|
urlParameters: [
|
|
5461
5443
|
$host,
|
|
5462
5444
|
nextLink,
|
|
5463
5445
|
subscriptionId,
|
|
5464
5446
|
resourceGroupName,
|
|
5465
|
-
cacheName
|
|
5447
|
+
cacheName,
|
|
5466
5448
|
],
|
|
5467
5449
|
headerParameters: [accept],
|
|
5468
|
-
serializer: serializer$1
|
|
5450
|
+
serializer: serializer$1,
|
|
5469
5451
|
};
|
|
5470
5452
|
|
|
5471
5453
|
/*
|
|
@@ -5505,7 +5487,7 @@ class AccessPolicyAssignmentImpl {
|
|
|
5505
5487
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
5506
5488
|
}
|
|
5507
5489
|
return this.listPagingPage(resourceGroupName, cacheName, options, settings);
|
|
5508
|
-
}
|
|
5490
|
+
},
|
|
5509
5491
|
};
|
|
5510
5492
|
}
|
|
5511
5493
|
listPagingPage(resourceGroupName, cacheName, options, settings) {
|
|
@@ -5532,16 +5514,11 @@ class AccessPolicyAssignmentImpl {
|
|
|
5532
5514
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
5533
5515
|
var _a, e_1, _b, _c;
|
|
5534
5516
|
try {
|
|
5535
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, cacheName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
5517
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, cacheName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
5536
5518
|
_c = _f.value;
|
|
5537
5519
|
_d = false;
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
5541
|
-
}
|
|
5542
|
-
finally {
|
|
5543
|
-
_d = true;
|
|
5544
|
-
}
|
|
5520
|
+
const page = _c;
|
|
5521
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
5545
5522
|
}
|
|
5546
5523
|
}
|
|
5547
5524
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -5581,8 +5558,8 @@ class AccessPolicyAssignmentImpl {
|
|
|
5581
5558
|
rawResponse: {
|
|
5582
5559
|
statusCode: currentRawResponse.status,
|
|
5583
5560
|
body: currentRawResponse.parsedBody,
|
|
5584
|
-
headers: currentRawResponse.headers.toJSON()
|
|
5585
|
-
}
|
|
5561
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
5562
|
+
},
|
|
5586
5563
|
};
|
|
5587
5564
|
});
|
|
5588
5565
|
const lro = createLroSpec({
|
|
@@ -5592,13 +5569,13 @@ class AccessPolicyAssignmentImpl {
|
|
|
5592
5569
|
cacheName,
|
|
5593
5570
|
accessPolicyAssignmentName,
|
|
5594
5571
|
parameters,
|
|
5595
|
-
options
|
|
5572
|
+
options,
|
|
5596
5573
|
},
|
|
5597
|
-
spec: createUpdateOperationSpec
|
|
5574
|
+
spec: createUpdateOperationSpec,
|
|
5598
5575
|
});
|
|
5599
5576
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
5600
5577
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5601
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
5578
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
5602
5579
|
});
|
|
5603
5580
|
yield poller.poll();
|
|
5604
5581
|
return poller;
|
|
@@ -5645,8 +5622,8 @@ class AccessPolicyAssignmentImpl {
|
|
|
5645
5622
|
rawResponse: {
|
|
5646
5623
|
statusCode: currentRawResponse.status,
|
|
5647
5624
|
body: currentRawResponse.parsedBody,
|
|
5648
|
-
headers: currentRawResponse.headers.toJSON()
|
|
5649
|
-
}
|
|
5625
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
5626
|
+
},
|
|
5650
5627
|
};
|
|
5651
5628
|
});
|
|
5652
5629
|
const lro = createLroSpec({
|
|
@@ -5655,14 +5632,14 @@ class AccessPolicyAssignmentImpl {
|
|
|
5655
5632
|
resourceGroupName,
|
|
5656
5633
|
cacheName,
|
|
5657
5634
|
accessPolicyAssignmentName,
|
|
5658
|
-
options
|
|
5635
|
+
options,
|
|
5659
5636
|
},
|
|
5660
|
-
spec: deleteOperationSpec
|
|
5637
|
+
spec: deleteOperationSpec,
|
|
5661
5638
|
});
|
|
5662
5639
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
5663
5640
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5664
5641
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
5665
|
-
resourceLocationConfig: "location"
|
|
5642
|
+
resourceLocationConfig: "location",
|
|
5666
5643
|
});
|
|
5667
5644
|
yield poller.poll();
|
|
5668
5645
|
return poller;
|
|
@@ -5718,20 +5695,20 @@ const createUpdateOperationSpec = {
|
|
|
5718
5695
|
httpMethod: "PUT",
|
|
5719
5696
|
responses: {
|
|
5720
5697
|
200: {
|
|
5721
|
-
bodyMapper: RedisCacheAccessPolicyAssignment
|
|
5698
|
+
bodyMapper: RedisCacheAccessPolicyAssignment,
|
|
5722
5699
|
},
|
|
5723
5700
|
201: {
|
|
5724
|
-
bodyMapper: RedisCacheAccessPolicyAssignment
|
|
5701
|
+
bodyMapper: RedisCacheAccessPolicyAssignment,
|
|
5725
5702
|
},
|
|
5726
5703
|
202: {
|
|
5727
|
-
bodyMapper: RedisCacheAccessPolicyAssignment
|
|
5704
|
+
bodyMapper: RedisCacheAccessPolicyAssignment,
|
|
5728
5705
|
},
|
|
5729
5706
|
204: {
|
|
5730
|
-
bodyMapper: RedisCacheAccessPolicyAssignment
|
|
5707
|
+
bodyMapper: RedisCacheAccessPolicyAssignment,
|
|
5731
5708
|
},
|
|
5732
5709
|
default: {
|
|
5733
|
-
bodyMapper: ErrorResponse
|
|
5734
|
-
}
|
|
5710
|
+
bodyMapper: ErrorResponse,
|
|
5711
|
+
},
|
|
5735
5712
|
},
|
|
5736
5713
|
requestBody: parameters11,
|
|
5737
5714
|
queryParameters: [apiVersion],
|
|
@@ -5740,11 +5717,11 @@ const createUpdateOperationSpec = {
|
|
|
5740
5717
|
subscriptionId,
|
|
5741
5718
|
resourceGroupName,
|
|
5742
5719
|
cacheName,
|
|
5743
|
-
accessPolicyAssignmentName
|
|
5720
|
+
accessPolicyAssignmentName,
|
|
5744
5721
|
],
|
|
5745
5722
|
headerParameters: [accept, contentType],
|
|
5746
5723
|
mediaType: "json",
|
|
5747
|
-
serializer
|
|
5724
|
+
serializer,
|
|
5748
5725
|
};
|
|
5749
5726
|
const deleteOperationSpec = {
|
|
5750
5727
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments/{accessPolicyAssignmentName}",
|
|
@@ -5755,8 +5732,8 @@ const deleteOperationSpec = {
|
|
|
5755
5732
|
202: {},
|
|
5756
5733
|
204: {},
|
|
5757
5734
|
default: {
|
|
5758
|
-
bodyMapper: ErrorResponse
|
|
5759
|
-
}
|
|
5735
|
+
bodyMapper: ErrorResponse,
|
|
5736
|
+
},
|
|
5760
5737
|
},
|
|
5761
5738
|
queryParameters: [apiVersion],
|
|
5762
5739
|
urlParameters: [
|
|
@@ -5764,21 +5741,21 @@ const deleteOperationSpec = {
|
|
|
5764
5741
|
subscriptionId,
|
|
5765
5742
|
resourceGroupName,
|
|
5766
5743
|
cacheName,
|
|
5767
|
-
accessPolicyAssignmentName
|
|
5744
|
+
accessPolicyAssignmentName,
|
|
5768
5745
|
],
|
|
5769
5746
|
headerParameters: [accept],
|
|
5770
|
-
serializer
|
|
5747
|
+
serializer,
|
|
5771
5748
|
};
|
|
5772
5749
|
const getOperationSpec = {
|
|
5773
5750
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments/{accessPolicyAssignmentName}",
|
|
5774
5751
|
httpMethod: "GET",
|
|
5775
5752
|
responses: {
|
|
5776
5753
|
200: {
|
|
5777
|
-
bodyMapper: RedisCacheAccessPolicyAssignment
|
|
5754
|
+
bodyMapper: RedisCacheAccessPolicyAssignment,
|
|
5778
5755
|
},
|
|
5779
5756
|
default: {
|
|
5780
|
-
bodyMapper: ErrorResponse
|
|
5781
|
-
}
|
|
5757
|
+
bodyMapper: ErrorResponse,
|
|
5758
|
+
},
|
|
5782
5759
|
},
|
|
5783
5760
|
queryParameters: [apiVersion],
|
|
5784
5761
|
urlParameters: [
|
|
@@ -5786,52 +5763,52 @@ const getOperationSpec = {
|
|
|
5786
5763
|
subscriptionId,
|
|
5787
5764
|
resourceGroupName,
|
|
5788
5765
|
cacheName,
|
|
5789
|
-
accessPolicyAssignmentName
|
|
5766
|
+
accessPolicyAssignmentName,
|
|
5790
5767
|
],
|
|
5791
5768
|
headerParameters: [accept],
|
|
5792
|
-
serializer
|
|
5769
|
+
serializer,
|
|
5793
5770
|
};
|
|
5794
5771
|
const listOperationSpec = {
|
|
5795
5772
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{cacheName}/accessPolicyAssignments",
|
|
5796
5773
|
httpMethod: "GET",
|
|
5797
5774
|
responses: {
|
|
5798
5775
|
200: {
|
|
5799
|
-
bodyMapper: RedisCacheAccessPolicyAssignmentList
|
|
5776
|
+
bodyMapper: RedisCacheAccessPolicyAssignmentList,
|
|
5800
5777
|
},
|
|
5801
5778
|
default: {
|
|
5802
|
-
bodyMapper: ErrorResponse
|
|
5803
|
-
}
|
|
5779
|
+
bodyMapper: ErrorResponse,
|
|
5780
|
+
},
|
|
5804
5781
|
},
|
|
5805
5782
|
queryParameters: [apiVersion],
|
|
5806
5783
|
urlParameters: [
|
|
5807
5784
|
$host,
|
|
5808
5785
|
subscriptionId,
|
|
5809
5786
|
resourceGroupName,
|
|
5810
|
-
cacheName
|
|
5787
|
+
cacheName,
|
|
5811
5788
|
],
|
|
5812
5789
|
headerParameters: [accept],
|
|
5813
|
-
serializer
|
|
5790
|
+
serializer,
|
|
5814
5791
|
};
|
|
5815
5792
|
const listNextOperationSpec = {
|
|
5816
5793
|
path: "{nextLink}",
|
|
5817
5794
|
httpMethod: "GET",
|
|
5818
5795
|
responses: {
|
|
5819
5796
|
200: {
|
|
5820
|
-
bodyMapper: RedisCacheAccessPolicyAssignmentList
|
|
5797
|
+
bodyMapper: RedisCacheAccessPolicyAssignmentList,
|
|
5821
5798
|
},
|
|
5822
5799
|
default: {
|
|
5823
|
-
bodyMapper: ErrorResponse
|
|
5824
|
-
}
|
|
5800
|
+
bodyMapper: ErrorResponse,
|
|
5801
|
+
},
|
|
5825
5802
|
},
|
|
5826
5803
|
urlParameters: [
|
|
5827
5804
|
$host,
|
|
5828
5805
|
nextLink,
|
|
5829
5806
|
subscriptionId,
|
|
5830
5807
|
resourceGroupName,
|
|
5831
|
-
cacheName
|
|
5808
|
+
cacheName,
|
|
5832
5809
|
],
|
|
5833
5810
|
headerParameters: [accept],
|
|
5834
|
-
serializer
|
|
5811
|
+
serializer,
|
|
5835
5812
|
};
|
|
5836
5813
|
|
|
5837
5814
|
/*
|
|
@@ -5862,14 +5839,14 @@ class RedisManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
5862
5839
|
}
|
|
5863
5840
|
const defaults = {
|
|
5864
5841
|
requestContentType: "application/json; charset=utf-8",
|
|
5865
|
-
credential: credentials
|
|
5842
|
+
credential: credentials,
|
|
5866
5843
|
};
|
|
5867
|
-
const packageDetails = `azsdk-js-arm-rediscache/8.
|
|
5844
|
+
const packageDetails = `azsdk-js-arm-rediscache/8.1.0`;
|
|
5868
5845
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
5869
5846
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
5870
5847
|
: `${packageDetails}`;
|
|
5871
5848
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
5872
|
-
userAgentPrefix
|
|
5849
|
+
userAgentPrefix,
|
|
5873
5850
|
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
5874
5851
|
super(optionsWithDefaults);
|
|
5875
5852
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
@@ -5883,21 +5860,21 @@ class RedisManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
5883
5860
|
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
5884
5861
|
!bearerTokenAuthenticationPolicyFound) {
|
|
5885
5862
|
this.pipeline.removePolicy({
|
|
5886
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
5863
|
+
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName,
|
|
5887
5864
|
});
|
|
5888
5865
|
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
5889
5866
|
credential: credentials,
|
|
5890
5867
|
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
5891
5868
|
challengeCallbacks: {
|
|
5892
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
5893
|
-
}
|
|
5869
|
+
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
|
|
5870
|
+
},
|
|
5894
5871
|
}));
|
|
5895
5872
|
}
|
|
5896
5873
|
// Parameter assignments
|
|
5897
5874
|
this.subscriptionId = subscriptionId;
|
|
5898
5875
|
// Assigning values to Constant parameters
|
|
5899
5876
|
this.$host = options.$host || "https://management.azure.com";
|
|
5900
|
-
this.apiVersion = options.apiVersion || "
|
|
5877
|
+
this.apiVersion = options.apiVersion || "2024-03-01";
|
|
5901
5878
|
this.operations = new OperationsImpl(this);
|
|
5902
5879
|
this.redis = new RedisImpl(this);
|
|
5903
5880
|
this.firewallRules = new FirewallRulesImpl(this);
|
|
@@ -5933,7 +5910,7 @@ class RedisManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
5933
5910
|
}
|
|
5934
5911
|
return next(request);
|
|
5935
5912
|
});
|
|
5936
|
-
}
|
|
5913
|
+
},
|
|
5937
5914
|
};
|
|
5938
5915
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
5939
5916
|
}
|