@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
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { RedisManagementClient } from "@azure/arm-rediscache";
|
|
11
|
+
import { RedisManagementClient, } from "@azure/arm-rediscache";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
|
|
17
17
|
*
|
|
18
18
|
* @summary Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
|
|
19
|
-
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/
|
|
19
|
+
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreate.json
|
|
20
20
|
*/
|
|
21
21
|
function redisCacheCreate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -34,7 +34,7 @@ function redisCacheCreate() {
|
|
|
34
34
|
sku: { name: "Premium", capacity: 1, family: "P" },
|
|
35
35
|
staticIP: "192.168.0.5",
|
|
36
36
|
subnetId: "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
|
|
37
|
-
zones: ["1"]
|
|
37
|
+
zones: ["1"],
|
|
38
38
|
};
|
|
39
39
|
const credential = new DefaultAzureCredential();
|
|
40
40
|
const client = new RedisManagementClient(credential, subscriptionId);
|
|
@@ -46,7 +46,7 @@ function redisCacheCreate() {
|
|
|
46
46
|
* This sample demonstrates how to Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
|
|
47
47
|
*
|
|
48
48
|
* @summary Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
|
|
49
|
-
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/
|
|
49
|
+
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateDefaultVersion.json
|
|
50
50
|
*/
|
|
51
51
|
function redisCacheCreateDefaultVersion() {
|
|
52
52
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -63,7 +63,7 @@ function redisCacheCreateDefaultVersion() {
|
|
|
63
63
|
sku: { name: "Premium", capacity: 1, family: "P" },
|
|
64
64
|
staticIP: "192.168.0.5",
|
|
65
65
|
subnetId: "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
|
|
66
|
-
zones: ["1"]
|
|
66
|
+
zones: ["1"],
|
|
67
67
|
};
|
|
68
68
|
const credential = new DefaultAzureCredential();
|
|
69
69
|
const client = new RedisManagementClient(credential, subscriptionId);
|
|
@@ -75,7 +75,7 @@ function redisCacheCreateDefaultVersion() {
|
|
|
75
75
|
* This sample demonstrates how to Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
|
|
76
76
|
*
|
|
77
77
|
* @summary Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
|
|
78
|
-
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/
|
|
78
|
+
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateLatestVersion.json
|
|
79
79
|
*/
|
|
80
80
|
function redisCacheCreateLatestVersion() {
|
|
81
81
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -93,7 +93,7 @@ function redisCacheCreateLatestVersion() {
|
|
|
93
93
|
sku: { name: "Premium", capacity: 1, family: "P" },
|
|
94
94
|
staticIP: "192.168.0.5",
|
|
95
95
|
subnetId: "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
|
|
96
|
-
zones: ["1"]
|
|
96
|
+
zones: ["1"],
|
|
97
97
|
};
|
|
98
98
|
const credential = new DefaultAzureCredential();
|
|
99
99
|
const client = new RedisManagementClient(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redisCreateSample.js","sourceRoot":"","sources":["../../samples-dev/redisCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,
|
|
1
|
+
{"version":3,"file":"redisCreateSample.js","sourceRoot":"","sources":["../../samples-dev/redisCreateSample.ts"],"names":[],"mappings":"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"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes a Redis cache.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes a Redis cache.
|
|
19
|
-
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/
|
|
19
|
+
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDelete.json
|
|
20
20
|
*/
|
|
21
21
|
function redisCacheDelete() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { RedisManagementClient } from "@azure/arm-rediscache";
|
|
11
|
+
import { RedisManagementClient, } from "@azure/arm-rediscache";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Export data from the redis cache to blobs in a container.
|
|
17
17
|
*
|
|
18
18
|
* @summary Export data from the redis cache to blobs in a container.
|
|
19
|
-
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/
|
|
19
|
+
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheExport.json
|
|
20
20
|
*/
|
|
21
21
|
function redisCacheExport() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -27,7 +27,7 @@ function redisCacheExport() {
|
|
|
27
27
|
format: "RDB",
|
|
28
28
|
container: "https://contosostorage.blob.core.window.net/urltoBlobContainer?sasKeyParameters",
|
|
29
29
|
prefix: "datadump1",
|
|
30
|
-
storageSubscriptionId: "storageSubId"
|
|
30
|
+
storageSubscriptionId: "storageSubId",
|
|
31
31
|
};
|
|
32
32
|
const credential = new DefaultAzureCredential();
|
|
33
33
|
const client = new RedisManagementClient(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redisExportDataSample.js","sourceRoot":"","sources":["../../samples-dev/redisExportDataSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,
|
|
1
|
+
{"version":3,"file":"redisExportDataSample.js","sourceRoot":"","sources":["../../samples-dev/redisExportDataSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,GACtB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gBAAgB;;QAC7B,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC,IAAI,OAAO,CAAC;QACvE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,IAAI,KAAK,CAAC;QACvE,MAAM,IAAI,GAAG,QAAQ,CAAC;QACtB,MAAM,UAAU,GAAwB;YACtC,MAAM,EAAE,KAAK;YACb,SAAS,EACP,iFAAiF;YACnF,MAAM,EAAE,WAAW;YACnB,qBAAqB,EAAE,cAAc;SACtC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC,sBAAsB,CACtD,iBAAiB,EACjB,IAAI,EACJ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gBAAgB,EAAE,CAAC;IACrB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes all of the keys in a cache.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes all of the keys in a cache.
|
|
19
|
-
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/
|
|
19
|
+
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFlush.json
|
|
20
20
|
*/
|
|
21
21
|
function redisCacheFlush() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { RedisManagementClient } from "@azure/arm-rediscache";
|
|
11
|
+
import { RedisManagementClient, } from "@azure/arm-rediscache";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.
|
|
17
17
|
*
|
|
18
18
|
* @summary Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.
|
|
19
|
-
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/
|
|
19
|
+
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheForceReboot.json
|
|
20
20
|
*/
|
|
21
21
|
function redisCacheForceReboot() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -26,7 +26,7 @@ function redisCacheForceReboot() {
|
|
|
26
26
|
const parameters = {
|
|
27
27
|
ports: [13000, 15001],
|
|
28
28
|
rebootType: "AllNodes",
|
|
29
|
-
shardId: 0
|
|
29
|
+
shardId: 0,
|
|
30
30
|
};
|
|
31
31
|
const credential = new DefaultAzureCredential();
|
|
32
32
|
const client = new RedisManagementClient(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redisForceRebootSample.js","sourceRoot":"","sources":["../../samples-dev/redisForceRebootSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,
|
|
1
|
+
{"version":3,"file":"redisForceRebootSample.js","sourceRoot":"","sources":["../../samples-dev/redisForceRebootSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,GACtB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC,IAAI,OAAO,CAAC;QACvE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,IAAI,KAAK,CAAC;QACvE,MAAM,IAAI,GAAG,QAAQ,CAAC;QACtB,MAAM,UAAU,GAA0B;YACxC,KAAK,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;YACrB,UAAU,EAAE,UAAU;YACtB,OAAO,EAAE,CAAC;SACX,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC,WAAW,CAC3C,iBAAiB,EACjB,IAAI,EACJ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,qBAAqB,EAAE,CAAC;IAC1B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets a Redis cache (resource description).
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets a Redis cache (resource description).
|
|
19
|
-
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/
|
|
19
|
+
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGet.json
|
|
20
20
|
*/
|
|
21
21
|
function redisCacheGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { RedisManagementClient } from "@azure/arm-rediscache";
|
|
11
|
+
import { RedisManagementClient, } from "@azure/arm-rediscache";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Import data into Redis cache.
|
|
17
17
|
*
|
|
18
18
|
* @summary Import data into Redis cache.
|
|
19
|
-
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/
|
|
19
|
+
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheImport.json
|
|
20
20
|
*/
|
|
21
21
|
function redisCacheImport() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -26,7 +26,7 @@ function redisCacheImport() {
|
|
|
26
26
|
const parameters = {
|
|
27
27
|
format: "RDB",
|
|
28
28
|
files: ["http://fileuris.contoso.com/pathtofile1"],
|
|
29
|
-
storageSubscriptionId: "storageSubId"
|
|
29
|
+
storageSubscriptionId: "storageSubId",
|
|
30
30
|
};
|
|
31
31
|
const credential = new DefaultAzureCredential();
|
|
32
32
|
const client = new RedisManagementClient(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redisImportDataSample.js","sourceRoot":"","sources":["../../samples-dev/redisImportDataSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,
|
|
1
|
+
{"version":3,"file":"redisImportDataSample.js","sourceRoot":"","sources":["../../samples-dev/redisImportDataSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,GACtB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gBAAgB;;QAC7B,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC,IAAI,OAAO,CAAC;QACvE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,IAAI,KAAK,CAAC;QACvE,MAAM,IAAI,GAAG,QAAQ,CAAC;QACtB,MAAM,UAAU,GAAwB;YACtC,MAAM,EAAE,KAAK;YACb,KAAK,EAAE,CAAC,yCAAyC,CAAC;YAClD,qBAAqB,EAAE,cAAc;SACtC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC,sBAAsB,CACtD,iBAAiB,EACjB,IAAI,EACJ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gBAAgB,EAAE,CAAC;IACrB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,27 +16,22 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Lists all Redis caches in a resource group.
|
|
17
17
|
*
|
|
18
18
|
* @summary Lists all Redis caches in a resource group.
|
|
19
|
-
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/
|
|
19
|
+
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListByResourceGroup.json
|
|
20
20
|
*/
|
|
21
21
|
function redisCacheListByResourceGroup() {
|
|
22
|
-
var _a, e_1, _b, _c;
|
|
23
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
var _a, e_1, _b, _c;
|
|
24
24
|
const subscriptionId = process.env["REDIS_SUBSCRIPTION_ID"] || "subid";
|
|
25
25
|
const resourceGroupName = process.env["REDIS_RESOURCE_GROUP"] || "rg1";
|
|
26
26
|
const credential = new DefaultAzureCredential();
|
|
27
27
|
const client = new RedisManagementClient(credential, subscriptionId);
|
|
28
28
|
const resArray = new Array();
|
|
29
29
|
try {
|
|
30
|
-
for (var _d = true, _e = __asyncValues(client.redis.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
30
|
+
for (var _d = true, _e = __asyncValues(client.redis.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
31
31
|
_c = _f.value;
|
|
32
32
|
_d = false;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
resArray.push(item);
|
|
36
|
-
}
|
|
37
|
-
finally {
|
|
38
|
-
_d = true;
|
|
39
|
-
}
|
|
33
|
+
let item = _c;
|
|
34
|
+
resArray.push(item);
|
|
40
35
|
}
|
|
41
36
|
}
|
|
42
37
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redisListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/redisListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,6BAA6B;;;QAC1C,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC,IAAI,OAAO,CAAC;QACvE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,IAAI,KAAK,CAAC;QACvE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,CAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"redisListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/redisListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,6BAA6B;;;QAC1C,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC,IAAI,OAAO,CAAC;QACvE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,IAAI,KAAK,CAAC;QACvE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,CAAA,IAAA,sDAAE,CAAC;gBAAtD,cAAmD;gBAAnD,WAAmD;gBAA/D,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,6BAA6B,EAAE,CAAC;IAClC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,26 +16,21 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets all Redis caches in the specified subscription.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets all Redis caches in the specified subscription.
|
|
19
|
-
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/
|
|
19
|
+
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheList.json
|
|
20
20
|
*/
|
|
21
21
|
function redisCacheList() {
|
|
22
|
-
var _a, e_1, _b, _c;
|
|
23
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
var _a, e_1, _b, _c;
|
|
24
24
|
const subscriptionId = process.env["REDIS_SUBSCRIPTION_ID"] || "subid";
|
|
25
25
|
const credential = new DefaultAzureCredential();
|
|
26
26
|
const client = new RedisManagementClient(credential, subscriptionId);
|
|
27
27
|
const resArray = new Array();
|
|
28
28
|
try {
|
|
29
|
-
for (var _d = true, _e = __asyncValues(client.redis.listBySubscription()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
29
|
+
for (var _d = true, _e = __asyncValues(client.redis.listBySubscription()), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
30
30
|
_c = _f.value;
|
|
31
31
|
_d = false;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
resArray.push(item);
|
|
35
|
-
}
|
|
36
|
-
finally {
|
|
37
|
-
_d = true;
|
|
38
|
-
}
|
|
32
|
+
let item = _c;
|
|
33
|
+
resArray.push(item);
|
|
39
34
|
}
|
|
40
35
|
}
|
|
41
36
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redisListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/redisListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,cAAc;;;QAC3B,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC,IAAI,OAAO,CAAC;QACvE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,KAAK,CAAC,kBAAkB,EAAE,CAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"redisListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/redisListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,cAAc;;;QAC3B,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC,IAAI,OAAO,CAAC;QACvE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,KAAK,CAAC,kBAAkB,EAAE,CAAA,IAAA,sDAAE,CAAC;gBAApC,cAAiC;gBAAjC,WAAiC;gBAA7C,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,cAAc,EAAE,CAAC;IACnB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.
|
|
19
|
-
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/
|
|
19
|
+
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListKeys.json
|
|
20
20
|
*/
|
|
21
21
|
function redisCacheListKeys() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,11 +16,11 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets any upgrade notifications for a Redis cache.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets any upgrade notifications for a Redis cache.
|
|
19
|
-
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/
|
|
19
|
+
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListUpgradeNotifications.json
|
|
20
20
|
*/
|
|
21
21
|
function redisCacheListUpgradeNotifications() {
|
|
22
|
-
var _a, e_1, _b, _c;
|
|
23
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
var _a, e_1, _b, _c;
|
|
24
24
|
const subscriptionId = process.env["REDIS_SUBSCRIPTION_ID"] || "subid";
|
|
25
25
|
const resourceGroupName = process.env["REDIS_RESOURCE_GROUP"] || "rg1";
|
|
26
26
|
const name = "cache1";
|
|
@@ -29,16 +29,11 @@ function redisCacheListUpgradeNotifications() {
|
|
|
29
29
|
const client = new RedisManagementClient(credential, subscriptionId);
|
|
30
30
|
const resArray = new Array();
|
|
31
31
|
try {
|
|
32
|
-
for (var _d = true, _e = __asyncValues(client.redis.listUpgradeNotifications(resourceGroupName, name, history)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
32
|
+
for (var _d = true, _e = __asyncValues(client.redis.listUpgradeNotifications(resourceGroupName, name, history)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
33
33
|
_c = _f.value;
|
|
34
34
|
_d = false;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
resArray.push(item);
|
|
38
|
-
}
|
|
39
|
-
finally {
|
|
40
|
-
_d = true;
|
|
41
|
-
}
|
|
35
|
+
let item = _c;
|
|
36
|
+
resArray.push(item);
|
|
42
37
|
}
|
|
43
38
|
}
|
|
44
39
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redisListUpgradeNotificationsSample.js","sourceRoot":"","sources":["../../samples-dev/redisListUpgradeNotificationsSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,kCAAkC;;;QAC/C,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC,IAAI,OAAO,CAAC;QACvE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,IAAI,KAAK,CAAC;QACvE,MAAM,IAAI,GAAG,QAAQ,CAAC;QACtB,MAAM,OAAO,GAAG,IAAI,CAAC;QACrB,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,KAAK,CAAC,wBAAwB,CAC1D,iBAAiB,EACjB,IAAI,EACJ,OAAO,CACR,CAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"redisListUpgradeNotificationsSample.js","sourceRoot":"","sources":["../../samples-dev/redisListUpgradeNotificationsSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,kCAAkC;;;QAC/C,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC,IAAI,OAAO,CAAC;QACvE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,IAAI,KAAK,CAAC;QACvE,MAAM,IAAI,GAAG,QAAQ,CAAC;QACtB,MAAM,OAAO,GAAG,IAAI,CAAC;QACrB,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,KAAK,CAAC,wBAAwB,CAC1D,iBAAiB,EACjB,IAAI,EACJ,OAAO,CACR,CAAA,IAAA,sDAAE,CAAC;gBAJmB,cAItB;gBAJsB,WAItB;gBAJU,IAAI,IAAI,KAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,kCAAkC,EAAE,CAAC;IACvC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { RedisManagementClient } from "@azure/arm-rediscache";
|
|
11
|
+
import { RedisManagementClient, } from "@azure/arm-rediscache";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Regenerate Redis cache's access keys. This operation requires write permission to the cache resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary Regenerate Redis cache's access keys. This operation requires write permission to the cache resource.
|
|
19
|
-
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/
|
|
19
|
+
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheRegenerateKey.json
|
|
20
20
|
*/
|
|
21
21
|
function redisCacheRegenerateKey() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redisRegenerateKeySample.js","sourceRoot":"","sources":["../../samples-dev/redisRegenerateKeySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,
|
|
1
|
+
{"version":3,"file":"redisRegenerateKeySample.js","sourceRoot":"","sources":["../../samples-dev/redisRegenerateKeySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,GACtB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC,IAAI,OAAO,CAAC;QACvE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,IAAI,KAAK,CAAC;QACvE,MAAM,IAAI,GAAG,QAAQ,CAAC;QACtB,MAAM,UAAU,GAAiC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;QACxE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC,aAAa,CAC7C,iBAAiB,EACjB,IAAI,EACJ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,uBAAuB,EAAE,CAAC;IAC5B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { RedisManagementClient } from "@azure/arm-rediscache";
|
|
11
|
+
import { RedisManagementClient, } from "@azure/arm-rediscache";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Update an existing Redis cache.
|
|
17
17
|
*
|
|
18
18
|
* @summary Update an existing Redis cache.
|
|
19
|
-
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/
|
|
19
|
+
* x-ms-original-file: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function redisCacheUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -25,7 +25,7 @@ function redisCacheUpdate() {
|
|
|
25
25
|
const name = "cache1";
|
|
26
26
|
const parameters = {
|
|
27
27
|
enableNonSslPort: true,
|
|
28
|
-
replicasPerPrimary: 2
|
|
28
|
+
replicasPerPrimary: 2,
|
|
29
29
|
};
|
|
30
30
|
const credential = new DefaultAzureCredential();
|
|
31
31
|
const client = new RedisManagementClient(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redisUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/redisUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,
|
|
1
|
+
{"version":3,"file":"redisUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/redisUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,qBAAqB,GACtB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gBAAgB;;QAC7B,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC,IAAI,OAAO,CAAC;QACvE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,IAAI,KAAK,CAAC;QACvE,MAAM,IAAI,GAAG,QAAQ,CAAC;QACtB,MAAM,UAAU,GAA0B;YACxC,gBAAgB,EAAE,IAAI;YACtB,kBAAkB,EAAE,CAAC;SACtB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,qBAAqB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACrE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC,kBAAkB,CAClD,iBAAiB,EACjB,IAAI,EACJ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gBAAgB,EAAE,CAAC;IACrB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
package/dist-esm/src/lroImpl.js
CHANGED
|
@@ -15,7 +15,7 @@ export function createLroSpec(inputs) {
|
|
|
15
15
|
sendPollRequest: (path, options) => {
|
|
16
16
|
const { requestBody } = spec, restSpec = __rest(spec, ["requestBody"]);
|
|
17
17
|
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
18
|
-
}
|
|
18
|
+
},
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
//# sourceMappingURL=lroImpl.js.map
|
|
@@ -122,7 +122,7 @@ export interface RedisCreateParameters {
|
|
|
122
122
|
};
|
|
123
123
|
/** The identity of the resource. */
|
|
124
124
|
identity?: ManagedServiceIdentity;
|
|
125
|
-
/** All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,
|
|
125
|
+
/** All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc. */
|
|
126
126
|
redisConfiguration?: RedisCommonPropertiesRedisConfiguration;
|
|
127
127
|
/** Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'. */
|
|
128
128
|
redisVersion?: string;
|
|
@@ -144,6 +144,8 @@ export interface RedisCreateParameters {
|
|
|
144
144
|
publicNetworkAccess?: PublicNetworkAccess;
|
|
145
145
|
/** Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'. */
|
|
146
146
|
updateChannel?: UpdateChannel;
|
|
147
|
+
/** Authentication to Redis through access keys is disabled when set as true. Default value is false. */
|
|
148
|
+
disableAccessKeyAuthentication?: boolean;
|
|
147
149
|
/** The SKU of the Redis cache to deploy. */
|
|
148
150
|
sku: Sku;
|
|
149
151
|
/** The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1 */
|
|
@@ -162,7 +164,7 @@ export interface Sku {
|
|
|
162
164
|
}
|
|
163
165
|
/** Create/Update/Get common properties of the redis cache. */
|
|
164
166
|
export interface RedisCommonProperties {
|
|
165
|
-
/** All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,
|
|
167
|
+
/** All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc. */
|
|
166
168
|
redisConfiguration?: RedisCommonPropertiesRedisConfiguration;
|
|
167
169
|
/** Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'. */
|
|
168
170
|
redisVersion?: string;
|
|
@@ -184,8 +186,10 @@ export interface RedisCommonProperties {
|
|
|
184
186
|
publicNetworkAccess?: PublicNetworkAccess;
|
|
185
187
|
/** Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'. */
|
|
186
188
|
updateChannel?: UpdateChannel;
|
|
189
|
+
/** Authentication to Redis through access keys is disabled when set as true. Default value is false. */
|
|
190
|
+
disableAccessKeyAuthentication?: boolean;
|
|
187
191
|
}
|
|
188
|
-
/** All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,
|
|
192
|
+
/** All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc. */
|
|
189
193
|
export interface RedisCommonPropertiesRedisConfiguration {
|
|
190
194
|
/** Describes unknown properties. The value of an unknown property can be of "any" type. */
|
|
191
195
|
[property: string]: any;
|
|
@@ -216,6 +220,8 @@ export interface RedisCommonPropertiesRedisConfiguration {
|
|
|
216
220
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
217
221
|
*/
|
|
218
222
|
readonly maxclients?: string;
|
|
223
|
+
/** The keyspace events which should be monitored. */
|
|
224
|
+
notifyKeyspaceEvents?: string;
|
|
219
225
|
/**
|
|
220
226
|
* Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS
|
|
221
227
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -364,7 +370,7 @@ export interface RedisUpdateParameters {
|
|
|
364
370
|
};
|
|
365
371
|
/** The identity of the resource. */
|
|
366
372
|
identity?: ManagedServiceIdentity;
|
|
367
|
-
/** All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,
|
|
373
|
+
/** All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc. */
|
|
368
374
|
redisConfiguration?: RedisCommonPropertiesRedisConfiguration;
|
|
369
375
|
/** Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'. */
|
|
370
376
|
redisVersion?: string;
|
|
@@ -386,6 +392,8 @@ export interface RedisUpdateParameters {
|
|
|
386
392
|
publicNetworkAccess?: PublicNetworkAccess;
|
|
387
393
|
/** Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'. */
|
|
388
394
|
updateChannel?: UpdateChannel;
|
|
395
|
+
/** Authentication to Redis through access keys is disabled when set as true. Default value is false. */
|
|
396
|
+
disableAccessKeyAuthentication?: boolean;
|
|
389
397
|
/** The SKU of the Redis cache to deploy. */
|
|
390
398
|
sku?: Sku;
|
|
391
399
|
}
|
|
@@ -688,7 +696,7 @@ export interface RedisResource extends TrackedResource {
|
|
|
688
696
|
zones?: string[];
|
|
689
697
|
/** The identity of the resource. */
|
|
690
698
|
identity?: ManagedServiceIdentity;
|
|
691
|
-
/** All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,
|
|
699
|
+
/** All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc. */
|
|
692
700
|
redisConfiguration?: RedisCommonPropertiesRedisConfiguration;
|
|
693
701
|
/** Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'. */
|
|
694
702
|
redisVersion?: string;
|
|
@@ -710,6 +718,8 @@ export interface RedisResource extends TrackedResource {
|
|
|
710
718
|
publicNetworkAccess?: PublicNetworkAccess;
|
|
711
719
|
/** Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'. */
|
|
712
720
|
updateChannel?: UpdateChannel;
|
|
721
|
+
/** Authentication to Redis through access keys is disabled when set as true. Default value is false. */
|
|
722
|
+
disableAccessKeyAuthentication?: boolean;
|
|
713
723
|
/** The SKU of the Redis cache to deploy. */
|
|
714
724
|
sku: Sku;
|
|
715
725
|
/** The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1 */
|