@azure/arm-redisenterprisecache 2.3.0-beta.1 → 3.0.0-alpha.20240226.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -14
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +176 -412
- 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/databasesCreateSample.js +2 -2
- package/dist-esm/samples-dev/databasesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/databasesExportSample.js +1 -1
- package/dist-esm/samples-dev/databasesFlushSample.js +1 -1
- package/dist-esm/samples-dev/databasesForceUnlinkSample.js +1 -1
- package/dist-esm/samples-dev/databasesGetSample.js +1 -1
- package/dist-esm/samples-dev/databasesImportSample.js +1 -1
- package/dist-esm/samples-dev/databasesListByClusterSample.js +4 -9
- package/dist-esm/samples-dev/databasesListByClusterSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesListKeysSample.js +1 -1
- package/dist-esm/samples-dev/databasesRegenerateKeySample.js +1 -1
- package/dist-esm/samples-dev/databasesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +4 -9
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsStatusGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +4 -9
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +4 -9
- package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js.map +1 -1
- package/dist-esm/samples-dev/redisEnterpriseCreateSample.js +1 -1
- package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js +1 -1
- package/dist-esm/samples-dev/redisEnterpriseGetSample.js +1 -1
- package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js +4 -9
- package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/redisEnterpriseListSample.js +4 -9
- package/dist-esm/samples-dev/redisEnterpriseListSample.js.map +1 -1
- package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js +1 -1
- package/dist-esm/src/models/index.d.ts +21 -84
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +4 -12
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +1 -6
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +20 -159
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/databases.js +4 -9
- package/dist-esm/src/operations/databases.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +0 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +0 -1
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.js +3 -8
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +10 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +61 -15
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +3 -8
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/redisEnterprise.js +6 -16
- package/dist-esm/src/operations/redisEnterprise.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -1
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +10 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.js.map +1 -1
- package/dist-esm/src/redisEnterpriseManagementClient.d.ts +1 -2
- package/dist-esm/src/redisEnterpriseManagementClient.d.ts.map +1 -1
- package/dist-esm/src/redisEnterpriseManagementClient.js +3 -4
- package/dist-esm/src/redisEnterpriseManagementClient.js.map +1 -1
- package/dist-esm/test/redisenterprisecache_test.spec.d.ts +4 -0
- package/dist-esm/test/redisenterprisecache_test.spec.d.ts.map +1 -0
- package/dist-esm/test/redisenterprisecache_test.spec.js +73 -0
- package/dist-esm/test/redisenterprisecache_test.spec.js.map +1 -0
- package/package.json +16 -20
- package/review/arm-redisenterprisecache.api.md +12 -66
- package/src/models/index.ts +24 -94
- package/src/models/mappers.ts +21 -165
- package/src/models/parameters.ts +1 -1
- package/src/operations/databases.ts +1 -1
- package/src/operations/index.ts +0 -1
- package/src/operations/privateEndpointConnections.ts +77 -5
- package/src/operationsInterfaces/index.ts +0 -1
- package/src/operationsInterfaces/privateEndpointConnections.ts +15 -1
- package/src/redisEnterpriseManagementClient.ts +4 -8
- package/types/arm-redisenterprisecache.d.ts +32 -106
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/operationsStatusGet.d.ts +0 -2
- package/dist-esm/samples-dev/operationsStatusGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsStatusGet.js +0 -31
- package/dist-esm/samples-dev/operationsStatusGet.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseCreate.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseCreate.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseCreate.js +0 -38
- package/dist-esm/samples-dev/redisEnterpriseCreate.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDatabasesCreate.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseDatabasesCreate.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDatabasesCreate.js +0 -44
- package/dist-esm/samples-dev/redisEnterpriseDatabasesCreate.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDatabasesDelete.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseDatabasesDelete.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDatabasesDelete.js +0 -32
- package/dist-esm/samples-dev/redisEnterpriseDatabasesDelete.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDatabasesExport.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseDatabasesExport.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDatabasesExport.js +0 -35
- package/dist-esm/samples-dev/redisEnterpriseDatabasesExport.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDatabasesGet.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseDatabasesGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDatabasesGet.js +0 -32
- package/dist-esm/samples-dev/redisEnterpriseDatabasesGet.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDatabasesImport.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseDatabasesImport.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDatabasesImport.js +0 -38
- package/dist-esm/samples-dev/redisEnterpriseDatabasesImport.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDatabasesListByCluster.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseDatabasesListByCluster.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDatabasesListByCluster.js +0 -52
- package/dist-esm/samples-dev/redisEnterpriseDatabasesListByCluster.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDatabasesListKeys.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseDatabasesListKeys.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDatabasesListKeys.js +0 -32
- package/dist-esm/samples-dev/redisEnterpriseDatabasesListKeys.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDatabasesRegenerateKey.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseDatabasesRegenerateKey.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDatabasesRegenerateKey.js +0 -33
- package/dist-esm/samples-dev/redisEnterpriseDatabasesRegenerateKey.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDatabasesUpdate.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseDatabasesUpdate.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDatabasesUpdate.js +0 -37
- package/dist-esm/samples-dev/redisEnterpriseDatabasesUpdate.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDelete.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseDelete.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDelete.js +0 -31
- package/dist-esm/samples-dev/redisEnterpriseDelete.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDeletePrivateEndpointConnection.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseDeletePrivateEndpointConnection.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseDeletePrivateEndpointConnection.js +0 -32
- package/dist-esm/samples-dev/redisEnterpriseDeletePrivateEndpointConnection.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseGet.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseGet.js +0 -31
- package/dist-esm/samples-dev/redisEnterpriseGet.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseGetPrivateEndpointConnection.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseGetPrivateEndpointConnection.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseGetPrivateEndpointConnection.js +0 -32
- package/dist-esm/samples-dev/redisEnterpriseGetPrivateEndpointConnection.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseList.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseList.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseList.js +0 -50
- package/dist-esm/samples-dev/redisEnterpriseList.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseListByResourceGroup.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseListByResourceGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseListByResourceGroup.js +0 -51
- package/dist-esm/samples-dev/redisEnterpriseListByResourceGroup.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseListPrivateEndpointConnections.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseListPrivateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseListPrivateEndpointConnections.js +0 -52
- package/dist-esm/samples-dev/redisEnterpriseListPrivateEndpointConnections.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseListPrivateLinkResources.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseListPrivateLinkResources.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseListPrivateLinkResources.js +0 -52
- package/dist-esm/samples-dev/redisEnterpriseListPrivateLinkResources.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterprisePutPrivateEndpointConnection.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterprisePutPrivateEndpointConnection.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterprisePutPrivateEndpointConnection.js +0 -38
- package/dist-esm/samples-dev/redisEnterprisePutPrivateEndpointConnection.js.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseUpdate.d.ts +0 -2
- package/dist-esm/samples-dev/redisEnterpriseUpdate.d.ts.map +0 -1
- package/dist-esm/samples-dev/redisEnterpriseUpdate.js +0 -36
- package/dist-esm/samples-dev/redisEnterpriseUpdate.js.map +0 -1
- package/dist-esm/samples-dev/skusListSample.d.ts +0 -2
- package/dist-esm/samples-dev/skusListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/skusListSample.js +0 -58
- package/dist-esm/samples-dev/skusListSample.js.map +0 -1
- package/dist-esm/src/operations/skus.d.ts +0 -28
- package/dist-esm/src/operations/skus.d.ts.map +0 -1
- package/dist-esm/src/operations/skus.js +0 -107
- package/dist-esm/src/operations/skus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/skus.d.ts +0 -12
- package/dist-esm/src/operationsInterfaces/skus.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/skus.js +0 -9
- package/dist-esm/src/operationsInterfaces/skus.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/operations/skus.ts +0 -117
- package/src/operationsInterfaces/skus.ts +0 -24
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.
|
|
@@ -174,6 +173,10 @@ exports.KnownResourceState = void 0;
|
|
|
174
173
|
KnownResourceState["DisableFailed"] = "DisableFailed";
|
|
175
174
|
/** Disabled */
|
|
176
175
|
KnownResourceState["Disabled"] = "Disabled";
|
|
176
|
+
/** Scaling */
|
|
177
|
+
KnownResourceState["Scaling"] = "Scaling";
|
|
178
|
+
/** ScalingFailed */
|
|
179
|
+
KnownResourceState["ScalingFailed"] = "ScalingFailed";
|
|
177
180
|
})(exports.KnownResourceState || (exports.KnownResourceState = {}));
|
|
178
181
|
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
|
179
182
|
exports.KnownPrivateEndpointServiceConnectionStatus = void 0;
|
|
@@ -197,18 +200,6 @@ exports.KnownPrivateEndpointConnectionProvisioningState = void 0;
|
|
|
197
200
|
/** Failed */
|
|
198
201
|
KnownPrivateEndpointConnectionProvisioningState["Failed"] = "Failed";
|
|
199
202
|
})(exports.KnownPrivateEndpointConnectionProvisioningState || (exports.KnownPrivateEndpointConnectionProvisioningState = {}));
|
|
200
|
-
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
201
|
-
exports.KnownCreatedByType = void 0;
|
|
202
|
-
(function (KnownCreatedByType) {
|
|
203
|
-
/** User */
|
|
204
|
-
KnownCreatedByType["User"] = "User";
|
|
205
|
-
/** Application */
|
|
206
|
-
KnownCreatedByType["Application"] = "Application";
|
|
207
|
-
/** ManagedIdentity */
|
|
208
|
-
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
209
|
-
/** Key */
|
|
210
|
-
KnownCreatedByType["Key"] = "Key";
|
|
211
|
-
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
|
212
203
|
/** Known values of {@link Protocol} that the service accepts. */
|
|
213
204
|
exports.KnownProtocol = void 0;
|
|
214
205
|
(function (KnownProtocol) {
|
|
@@ -733,57 +724,6 @@ const Resource = {
|
|
|
733
724
|
type: {
|
|
734
725
|
name: "String"
|
|
735
726
|
}
|
|
736
|
-
},
|
|
737
|
-
systemData: {
|
|
738
|
-
serializedName: "systemData",
|
|
739
|
-
type: {
|
|
740
|
-
name: "Composite",
|
|
741
|
-
className: "SystemData"
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
};
|
|
747
|
-
const SystemData = {
|
|
748
|
-
type: {
|
|
749
|
-
name: "Composite",
|
|
750
|
-
className: "SystemData",
|
|
751
|
-
modelProperties: {
|
|
752
|
-
createdBy: {
|
|
753
|
-
serializedName: "createdBy",
|
|
754
|
-
type: {
|
|
755
|
-
name: "String"
|
|
756
|
-
}
|
|
757
|
-
},
|
|
758
|
-
createdByType: {
|
|
759
|
-
serializedName: "createdByType",
|
|
760
|
-
type: {
|
|
761
|
-
name: "String"
|
|
762
|
-
}
|
|
763
|
-
},
|
|
764
|
-
createdAt: {
|
|
765
|
-
serializedName: "createdAt",
|
|
766
|
-
type: {
|
|
767
|
-
name: "DateTime"
|
|
768
|
-
}
|
|
769
|
-
},
|
|
770
|
-
lastModifiedBy: {
|
|
771
|
-
serializedName: "lastModifiedBy",
|
|
772
|
-
type: {
|
|
773
|
-
name: "String"
|
|
774
|
-
}
|
|
775
|
-
},
|
|
776
|
-
lastModifiedByType: {
|
|
777
|
-
serializedName: "lastModifiedByType",
|
|
778
|
-
type: {
|
|
779
|
-
name: "String"
|
|
780
|
-
}
|
|
781
|
-
},
|
|
782
|
-
lastModifiedAt: {
|
|
783
|
-
serializedName: "lastModifiedAt",
|
|
784
|
-
type: {
|
|
785
|
-
name: "DateTime"
|
|
786
|
-
}
|
|
787
727
|
}
|
|
788
728
|
}
|
|
789
729
|
}
|
|
@@ -1256,114 +1196,6 @@ const FlushParameters = {
|
|
|
1256
1196
|
}
|
|
1257
1197
|
}
|
|
1258
1198
|
};
|
|
1259
|
-
const RegionSkuDetails = {
|
|
1260
|
-
type: {
|
|
1261
|
-
name: "Composite",
|
|
1262
|
-
className: "RegionSkuDetails",
|
|
1263
|
-
modelProperties: {
|
|
1264
|
-
value: {
|
|
1265
|
-
serializedName: "value",
|
|
1266
|
-
type: {
|
|
1267
|
-
name: "Sequence",
|
|
1268
|
-
element: {
|
|
1269
|
-
type: {
|
|
1270
|
-
name: "Composite",
|
|
1271
|
-
className: "RegionSkuDetail"
|
|
1272
|
-
}
|
|
1273
|
-
}
|
|
1274
|
-
}
|
|
1275
|
-
}
|
|
1276
|
-
}
|
|
1277
|
-
}
|
|
1278
|
-
};
|
|
1279
|
-
const RegionSkuDetail = {
|
|
1280
|
-
type: {
|
|
1281
|
-
name: "Composite",
|
|
1282
|
-
className: "RegionSkuDetail",
|
|
1283
|
-
modelProperties: {
|
|
1284
|
-
resourceType: {
|
|
1285
|
-
serializedName: "resourceType",
|
|
1286
|
-
type: {
|
|
1287
|
-
name: "String"
|
|
1288
|
-
}
|
|
1289
|
-
},
|
|
1290
|
-
locationInfo: {
|
|
1291
|
-
serializedName: "locationInfo",
|
|
1292
|
-
type: {
|
|
1293
|
-
name: "Composite",
|
|
1294
|
-
className: "LocationInfo"
|
|
1295
|
-
}
|
|
1296
|
-
},
|
|
1297
|
-
skuDetails: {
|
|
1298
|
-
serializedName: "skuDetails",
|
|
1299
|
-
type: {
|
|
1300
|
-
name: "Composite",
|
|
1301
|
-
className: "SkuDetail"
|
|
1302
|
-
}
|
|
1303
|
-
}
|
|
1304
|
-
}
|
|
1305
|
-
}
|
|
1306
|
-
};
|
|
1307
|
-
const LocationInfo = {
|
|
1308
|
-
type: {
|
|
1309
|
-
name: "Composite",
|
|
1310
|
-
className: "LocationInfo",
|
|
1311
|
-
modelProperties: {
|
|
1312
|
-
location: {
|
|
1313
|
-
serializedName: "location",
|
|
1314
|
-
type: {
|
|
1315
|
-
name: "String"
|
|
1316
|
-
}
|
|
1317
|
-
},
|
|
1318
|
-
capabilities: {
|
|
1319
|
-
serializedName: "capabilities",
|
|
1320
|
-
type: {
|
|
1321
|
-
name: "Sequence",
|
|
1322
|
-
element: {
|
|
1323
|
-
type: {
|
|
1324
|
-
name: "Composite",
|
|
1325
|
-
className: "Capability"
|
|
1326
|
-
}
|
|
1327
|
-
}
|
|
1328
|
-
}
|
|
1329
|
-
}
|
|
1330
|
-
}
|
|
1331
|
-
}
|
|
1332
|
-
};
|
|
1333
|
-
const Capability = {
|
|
1334
|
-
type: {
|
|
1335
|
-
name: "Composite",
|
|
1336
|
-
className: "Capability",
|
|
1337
|
-
modelProperties: {
|
|
1338
|
-
name: {
|
|
1339
|
-
serializedName: "name",
|
|
1340
|
-
type: {
|
|
1341
|
-
name: "String"
|
|
1342
|
-
}
|
|
1343
|
-
},
|
|
1344
|
-
value: {
|
|
1345
|
-
serializedName: "value",
|
|
1346
|
-
type: {
|
|
1347
|
-
name: "Boolean"
|
|
1348
|
-
}
|
|
1349
|
-
}
|
|
1350
|
-
}
|
|
1351
|
-
}
|
|
1352
|
-
};
|
|
1353
|
-
const SkuDetail = {
|
|
1354
|
-
type: {
|
|
1355
|
-
name: "Composite",
|
|
1356
|
-
className: "SkuDetail",
|
|
1357
|
-
modelProperties: {
|
|
1358
|
-
name: {
|
|
1359
|
-
serializedName: "name",
|
|
1360
|
-
type: {
|
|
1361
|
-
name: "String"
|
|
1362
|
-
}
|
|
1363
|
-
}
|
|
1364
|
-
}
|
|
1365
|
-
}
|
|
1366
|
-
};
|
|
1367
1199
|
const PrivateEndpointConnection = {
|
|
1368
1200
|
type: {
|
|
1369
1201
|
name: "Composite",
|
|
@@ -1607,54 +1439,69 @@ const DatabasesFlushHeaders = {
|
|
|
1607
1439
|
}
|
|
1608
1440
|
}
|
|
1609
1441
|
};
|
|
1442
|
+
const PrivateEndpointConnectionsDeleteHeaders = {
|
|
1443
|
+
type: {
|
|
1444
|
+
name: "Composite",
|
|
1445
|
+
className: "PrivateEndpointConnectionsDeleteHeaders",
|
|
1446
|
+
modelProperties: {
|
|
1447
|
+
location: {
|
|
1448
|
+
serializedName: "location",
|
|
1449
|
+
type: {
|
|
1450
|
+
name: "String"
|
|
1451
|
+
}
|
|
1452
|
+
},
|
|
1453
|
+
azureAsyncOperation: {
|
|
1454
|
+
serializedName: "azure-asyncoperation",
|
|
1455
|
+
type: {
|
|
1456
|
+
name: "String"
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
}
|
|
1460
|
+
}
|
|
1461
|
+
};
|
|
1610
1462
|
|
|
1611
1463
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1612
1464
|
__proto__: null,
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
ErrorResponse: ErrorResponse,
|
|
1617
|
-
ErrorDetail: ErrorDetail,
|
|
1618
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
1619
|
-
OperationStatus: OperationStatus,
|
|
1620
|
-
Sku: Sku,
|
|
1621
|
-
ManagedServiceIdentity: ManagedServiceIdentity,
|
|
1622
|
-
UserAssignedIdentity: UserAssignedIdentity,
|
|
1465
|
+
AccessKeys: AccessKeys,
|
|
1466
|
+
Cluster: Cluster,
|
|
1467
|
+
ClusterList: ClusterList,
|
|
1623
1468
|
ClusterPropertiesEncryption: ClusterPropertiesEncryption,
|
|
1624
1469
|
ClusterPropertiesEncryptionCustomerManagedKeyEncryption: ClusterPropertiesEncryptionCustomerManagedKeyEncryption,
|
|
1625
1470
|
ClusterPropertiesEncryptionCustomerManagedKeyEncryptionKeyIdentity: ClusterPropertiesEncryptionCustomerManagedKeyEncryptionKeyIdentity,
|
|
1626
|
-
PrivateEndpoint: PrivateEndpoint,
|
|
1627
|
-
PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
|
|
1628
|
-
Resource: Resource,
|
|
1629
|
-
SystemData: SystemData,
|
|
1630
1471
|
ClusterUpdate: ClusterUpdate,
|
|
1631
|
-
|
|
1472
|
+
Database: Database,
|
|
1632
1473
|
DatabaseList: DatabaseList,
|
|
1633
|
-
Persistence: Persistence,
|
|
1634
|
-
Module: Module,
|
|
1635
1474
|
DatabasePropertiesGeoReplication: DatabasePropertiesGeoReplication,
|
|
1636
|
-
LinkedDatabase: LinkedDatabase,
|
|
1637
1475
|
DatabaseUpdate: DatabaseUpdate,
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1476
|
+
DatabasesFlushHeaders: DatabasesFlushHeaders,
|
|
1477
|
+
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
1478
|
+
ErrorDetail: ErrorDetail,
|
|
1479
|
+
ErrorResponse: ErrorResponse,
|
|
1641
1480
|
ExportClusterParameters: ExportClusterParameters,
|
|
1642
|
-
PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
|
|
1643
|
-
PrivateLinkResourceListResult: PrivateLinkResourceListResult,
|
|
1644
|
-
ForceUnlinkParameters: ForceUnlinkParameters,
|
|
1645
1481
|
FlushParameters: FlushParameters,
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1482
|
+
ForceUnlinkParameters: ForceUnlinkParameters,
|
|
1483
|
+
ImportClusterParameters: ImportClusterParameters,
|
|
1484
|
+
LinkedDatabase: LinkedDatabase,
|
|
1485
|
+
ManagedServiceIdentity: ManagedServiceIdentity,
|
|
1486
|
+
Module: Module,
|
|
1487
|
+
Operation: Operation,
|
|
1488
|
+
OperationDisplay: OperationDisplay,
|
|
1489
|
+
OperationListResult: OperationListResult,
|
|
1490
|
+
OperationStatus: OperationStatus,
|
|
1491
|
+
Persistence: Persistence,
|
|
1492
|
+
PrivateEndpoint: PrivateEndpoint,
|
|
1651
1493
|
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
1652
|
-
|
|
1653
|
-
|
|
1494
|
+
PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
|
|
1495
|
+
PrivateEndpointConnectionsDeleteHeaders: PrivateEndpointConnectionsDeleteHeaders,
|
|
1654
1496
|
PrivateLinkResource: PrivateLinkResource,
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1497
|
+
PrivateLinkResourceListResult: PrivateLinkResourceListResult,
|
|
1498
|
+
PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
|
|
1499
|
+
ProxyResource: ProxyResource,
|
|
1500
|
+
RegenerateKeyParameters: RegenerateKeyParameters,
|
|
1501
|
+
Resource: Resource,
|
|
1502
|
+
Sku: Sku,
|
|
1503
|
+
TrackedResource: TrackedResource,
|
|
1504
|
+
UserAssignedIdentity: UserAssignedIdentity
|
|
1658
1505
|
});
|
|
1659
1506
|
|
|
1660
1507
|
/*
|
|
@@ -1689,7 +1536,7 @@ const $host = {
|
|
|
1689
1536
|
const apiVersion = {
|
|
1690
1537
|
parameterPath: "apiVersion",
|
|
1691
1538
|
mapper: {
|
|
1692
|
-
defaultValue: "2023-
|
|
1539
|
+
defaultValue: "2023-11-01",
|
|
1693
1540
|
isConstant: true,
|
|
1694
1541
|
serializedName: "api-version",
|
|
1695
1542
|
type: {
|
|
@@ -1905,16 +1752,11 @@ class OperationsImpl {
|
|
|
1905
1752
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
1906
1753
|
var _a, e_1, _b, _c;
|
|
1907
1754
|
try {
|
|
1908
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
1755
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1909
1756
|
_c = _f.value;
|
|
1910
1757
|
_d = false;
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1914
|
-
}
|
|
1915
|
-
finally {
|
|
1916
|
-
_d = true;
|
|
1917
|
-
}
|
|
1758
|
+
const page = _c;
|
|
1759
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1918
1760
|
}
|
|
1919
1761
|
}
|
|
1920
1762
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -1931,7 +1773,7 @@ class OperationsImpl {
|
|
|
1931
1773
|
* @param options The options parameters.
|
|
1932
1774
|
*/
|
|
1933
1775
|
_list(options) {
|
|
1934
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$
|
|
1776
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$2);
|
|
1935
1777
|
}
|
|
1936
1778
|
/**
|
|
1937
1779
|
* ListNext
|
|
@@ -1943,8 +1785,8 @@ class OperationsImpl {
|
|
|
1943
1785
|
}
|
|
1944
1786
|
}
|
|
1945
1787
|
// Operation Specifications
|
|
1946
|
-
const serializer$
|
|
1947
|
-
const listOperationSpec$
|
|
1788
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1789
|
+
const listOperationSpec$2 = {
|
|
1948
1790
|
path: "/providers/Microsoft.Cache/operations",
|
|
1949
1791
|
httpMethod: "GET",
|
|
1950
1792
|
responses: {
|
|
@@ -1958,7 +1800,7 @@ const listOperationSpec$3 = {
|
|
|
1958
1800
|
queryParameters: [apiVersion],
|
|
1959
1801
|
urlParameters: [$host],
|
|
1960
1802
|
headerParameters: [accept],
|
|
1961
|
-
serializer: serializer$
|
|
1803
|
+
serializer: serializer$5
|
|
1962
1804
|
};
|
|
1963
1805
|
const listNextOperationSpec$1 = {
|
|
1964
1806
|
path: "{nextLink}",
|
|
@@ -1973,7 +1815,7 @@ const listNextOperationSpec$1 = {
|
|
|
1973
1815
|
},
|
|
1974
1816
|
urlParameters: [$host, nextLink],
|
|
1975
1817
|
headerParameters: [accept],
|
|
1976
|
-
serializer: serializer$
|
|
1818
|
+
serializer: serializer$5
|
|
1977
1819
|
};
|
|
1978
1820
|
|
|
1979
1821
|
/*
|
|
@@ -2003,7 +1845,7 @@ class OperationsStatusImpl {
|
|
|
2003
1845
|
}
|
|
2004
1846
|
}
|
|
2005
1847
|
// Operation Specifications
|
|
2006
|
-
const serializer$
|
|
1848
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2007
1849
|
const getOperationSpec$3 = {
|
|
2008
1850
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/locations/{location}/operationsStatus/{operationId}",
|
|
2009
1851
|
httpMethod: "GET",
|
|
@@ -2023,7 +1865,7 @@ const getOperationSpec$3 = {
|
|
|
2023
1865
|
subscriptionId
|
|
2024
1866
|
],
|
|
2025
1867
|
headerParameters: [accept],
|
|
2026
|
-
serializer: serializer$
|
|
1868
|
+
serializer: serializer$4
|
|
2027
1869
|
};
|
|
2028
1870
|
|
|
2029
1871
|
/*
|
|
@@ -2109,16 +1951,11 @@ class RedisEnterpriseImpl {
|
|
|
2109
1951
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
2110
1952
|
var _a, e_1, _b, _c;
|
|
2111
1953
|
try {
|
|
2112
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
1954
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2113
1955
|
_c = _f.value;
|
|
2114
1956
|
_d = false;
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2118
|
-
}
|
|
2119
|
-
finally {
|
|
2120
|
-
_d = true;
|
|
2121
|
-
}
|
|
1957
|
+
const page = _c;
|
|
1958
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2122
1959
|
}
|
|
2123
1960
|
}
|
|
2124
1961
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -2175,16 +2012,11 @@ class RedisEnterpriseImpl {
|
|
|
2175
2012
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
2176
2013
|
var _a, e_2, _b, _c;
|
|
2177
2014
|
try {
|
|
2178
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
2015
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2179
2016
|
_c = _f.value;
|
|
2180
2017
|
_d = false;
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2184
|
-
}
|
|
2185
|
-
finally {
|
|
2186
|
-
_d = true;
|
|
2187
|
-
}
|
|
2018
|
+
const page = _c;
|
|
2019
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2188
2020
|
}
|
|
2189
2021
|
}
|
|
2190
2022
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
@@ -2390,7 +2222,7 @@ class RedisEnterpriseImpl {
|
|
|
2390
2222
|
* @param options The options parameters.
|
|
2391
2223
|
*/
|
|
2392
2224
|
_list(options) {
|
|
2393
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$
|
|
2225
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$1);
|
|
2394
2226
|
}
|
|
2395
2227
|
/**
|
|
2396
2228
|
* ListByResourceGroupNext
|
|
@@ -2411,7 +2243,7 @@ class RedisEnterpriseImpl {
|
|
|
2411
2243
|
}
|
|
2412
2244
|
}
|
|
2413
2245
|
// Operation Specifications
|
|
2414
|
-
const serializer$
|
|
2246
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2415
2247
|
const createOperationSpec$1 = {
|
|
2416
2248
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
|
|
2417
2249
|
httpMethod: "PUT",
|
|
@@ -2442,7 +2274,7 @@ const createOperationSpec$1 = {
|
|
|
2442
2274
|
],
|
|
2443
2275
|
headerParameters: [accept, contentType],
|
|
2444
2276
|
mediaType: "json",
|
|
2445
|
-
serializer: serializer$
|
|
2277
|
+
serializer: serializer$3
|
|
2446
2278
|
};
|
|
2447
2279
|
const updateOperationSpec$1 = {
|
|
2448
2280
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
|
|
@@ -2474,7 +2306,7 @@ const updateOperationSpec$1 = {
|
|
|
2474
2306
|
],
|
|
2475
2307
|
headerParameters: [accept, contentType],
|
|
2476
2308
|
mediaType: "json",
|
|
2477
|
-
serializer: serializer$
|
|
2309
|
+
serializer: serializer$3
|
|
2478
2310
|
};
|
|
2479
2311
|
const deleteOperationSpec$2 = {
|
|
2480
2312
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
|
|
@@ -2496,7 +2328,7 @@ const deleteOperationSpec$2 = {
|
|
|
2496
2328
|
clusterName
|
|
2497
2329
|
],
|
|
2498
2330
|
headerParameters: [accept],
|
|
2499
|
-
serializer: serializer$
|
|
2331
|
+
serializer: serializer$3
|
|
2500
2332
|
};
|
|
2501
2333
|
const getOperationSpec$2 = {
|
|
2502
2334
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
|
|
@@ -2517,7 +2349,7 @@ const getOperationSpec$2 = {
|
|
|
2517
2349
|
clusterName
|
|
2518
2350
|
],
|
|
2519
2351
|
headerParameters: [accept],
|
|
2520
|
-
serializer: serializer$
|
|
2352
|
+
serializer: serializer$3
|
|
2521
2353
|
};
|
|
2522
2354
|
const listByResourceGroupOperationSpec = {
|
|
2523
2355
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise",
|
|
@@ -2537,9 +2369,9 @@ const listByResourceGroupOperationSpec = {
|
|
|
2537
2369
|
resourceGroupName
|
|
2538
2370
|
],
|
|
2539
2371
|
headerParameters: [accept],
|
|
2540
|
-
serializer: serializer$
|
|
2372
|
+
serializer: serializer$3
|
|
2541
2373
|
};
|
|
2542
|
-
const listOperationSpec$
|
|
2374
|
+
const listOperationSpec$1 = {
|
|
2543
2375
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/redisEnterprise",
|
|
2544
2376
|
httpMethod: "GET",
|
|
2545
2377
|
responses: {
|
|
@@ -2553,7 +2385,7 @@ const listOperationSpec$2 = {
|
|
|
2553
2385
|
queryParameters: [apiVersion],
|
|
2554
2386
|
urlParameters: [$host, subscriptionId],
|
|
2555
2387
|
headerParameters: [accept],
|
|
2556
|
-
serializer: serializer$
|
|
2388
|
+
serializer: serializer$3
|
|
2557
2389
|
};
|
|
2558
2390
|
const listByResourceGroupNextOperationSpec = {
|
|
2559
2391
|
path: "{nextLink}",
|
|
@@ -2573,7 +2405,7 @@ const listByResourceGroupNextOperationSpec = {
|
|
|
2573
2405
|
resourceGroupName
|
|
2574
2406
|
],
|
|
2575
2407
|
headerParameters: [accept],
|
|
2576
|
-
serializer: serializer$
|
|
2408
|
+
serializer: serializer$3
|
|
2577
2409
|
};
|
|
2578
2410
|
const listNextOperationSpec = {
|
|
2579
2411
|
path: "{nextLink}",
|
|
@@ -2592,7 +2424,7 @@ const listNextOperationSpec = {
|
|
|
2592
2424
|
subscriptionId
|
|
2593
2425
|
],
|
|
2594
2426
|
headerParameters: [accept],
|
|
2595
|
-
serializer: serializer$
|
|
2427
|
+
serializer: serializer$3
|
|
2596
2428
|
};
|
|
2597
2429
|
|
|
2598
2430
|
/*
|
|
@@ -2659,16 +2491,11 @@ class DatabasesImpl {
|
|
|
2659
2491
|
return tslib.__asyncGenerator(this, arguments, function* listByClusterPagingAll_1() {
|
|
2660
2492
|
var _a, e_1, _b, _c;
|
|
2661
2493
|
try {
|
|
2662
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByClusterPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
2494
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByClusterPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2663
2495
|
_c = _f.value;
|
|
2664
2496
|
_d = false;
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2668
|
-
}
|
|
2669
|
-
finally {
|
|
2670
|
-
_d = true;
|
|
2671
|
-
}
|
|
2497
|
+
const page = _c;
|
|
2498
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2672
2499
|
}
|
|
2673
2500
|
}
|
|
2674
2501
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -2945,7 +2772,7 @@ class DatabasesImpl {
|
|
|
2945
2772
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2946
2773
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2947
2774
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2948
|
-
resourceLocationConfig: "
|
|
2775
|
+
resourceLocationConfig: "azure-async-operation"
|
|
2949
2776
|
});
|
|
2950
2777
|
yield poller.poll();
|
|
2951
2778
|
return poller;
|
|
@@ -3241,7 +3068,7 @@ class DatabasesImpl {
|
|
|
3241
3068
|
}
|
|
3242
3069
|
}
|
|
3243
3070
|
// Operation Specifications
|
|
3244
|
-
const serializer$
|
|
3071
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3245
3072
|
const listByClusterOperationSpec$1 = {
|
|
3246
3073
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases",
|
|
3247
3074
|
httpMethod: "GET",
|
|
@@ -3261,7 +3088,7 @@ const listByClusterOperationSpec$1 = {
|
|
|
3261
3088
|
clusterName
|
|
3262
3089
|
],
|
|
3263
3090
|
headerParameters: [accept],
|
|
3264
|
-
serializer: serializer$
|
|
3091
|
+
serializer: serializer$2
|
|
3265
3092
|
};
|
|
3266
3093
|
const createOperationSpec = {
|
|
3267
3094
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
@@ -3294,7 +3121,7 @@ const createOperationSpec = {
|
|
|
3294
3121
|
],
|
|
3295
3122
|
headerParameters: [accept, contentType],
|
|
3296
3123
|
mediaType: "json",
|
|
3297
|
-
serializer: serializer$
|
|
3124
|
+
serializer: serializer$2
|
|
3298
3125
|
};
|
|
3299
3126
|
const updateOperationSpec = {
|
|
3300
3127
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
@@ -3327,7 +3154,7 @@ const updateOperationSpec = {
|
|
|
3327
3154
|
],
|
|
3328
3155
|
headerParameters: [accept, contentType],
|
|
3329
3156
|
mediaType: "json",
|
|
3330
|
-
serializer: serializer$
|
|
3157
|
+
serializer: serializer$2
|
|
3331
3158
|
};
|
|
3332
3159
|
const getOperationSpec$1 = {
|
|
3333
3160
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
@@ -3349,7 +3176,7 @@ const getOperationSpec$1 = {
|
|
|
3349
3176
|
databaseName
|
|
3350
3177
|
],
|
|
3351
3178
|
headerParameters: [accept],
|
|
3352
|
-
serializer: serializer$
|
|
3179
|
+
serializer: serializer$2
|
|
3353
3180
|
};
|
|
3354
3181
|
const deleteOperationSpec$1 = {
|
|
3355
3182
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
@@ -3372,7 +3199,7 @@ const deleteOperationSpec$1 = {
|
|
|
3372
3199
|
databaseName
|
|
3373
3200
|
],
|
|
3374
3201
|
headerParameters: [accept],
|
|
3375
|
-
serializer: serializer$
|
|
3202
|
+
serializer: serializer$2
|
|
3376
3203
|
};
|
|
3377
3204
|
const listKeysOperationSpec = {
|
|
3378
3205
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/listKeys",
|
|
@@ -3394,7 +3221,7 @@ const listKeysOperationSpec = {
|
|
|
3394
3221
|
databaseName
|
|
3395
3222
|
],
|
|
3396
3223
|
headerParameters: [accept],
|
|
3397
|
-
serializer: serializer$
|
|
3224
|
+
serializer: serializer$2
|
|
3398
3225
|
};
|
|
3399
3226
|
const regenerateKeyOperationSpec = {
|
|
3400
3227
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/regenerateKey",
|
|
@@ -3427,7 +3254,7 @@ const regenerateKeyOperationSpec = {
|
|
|
3427
3254
|
],
|
|
3428
3255
|
headerParameters: [accept, contentType],
|
|
3429
3256
|
mediaType: "json",
|
|
3430
|
-
serializer: serializer$
|
|
3257
|
+
serializer: serializer$2
|
|
3431
3258
|
};
|
|
3432
3259
|
const importOperationSpec = {
|
|
3433
3260
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/import",
|
|
@@ -3452,7 +3279,7 @@ const importOperationSpec = {
|
|
|
3452
3279
|
],
|
|
3453
3280
|
headerParameters: [accept, contentType],
|
|
3454
3281
|
mediaType: "json",
|
|
3455
|
-
serializer: serializer$
|
|
3282
|
+
serializer: serializer$2
|
|
3456
3283
|
};
|
|
3457
3284
|
const exportOperationSpec = {
|
|
3458
3285
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/export",
|
|
@@ -3477,7 +3304,7 @@ const exportOperationSpec = {
|
|
|
3477
3304
|
],
|
|
3478
3305
|
headerParameters: [accept, contentType],
|
|
3479
3306
|
mediaType: "json",
|
|
3480
|
-
serializer: serializer$
|
|
3307
|
+
serializer: serializer$2
|
|
3481
3308
|
};
|
|
3482
3309
|
const forceUnlinkOperationSpec = {
|
|
3483
3310
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/forceUnlink",
|
|
@@ -3502,7 +3329,7 @@ const forceUnlinkOperationSpec = {
|
|
|
3502
3329
|
],
|
|
3503
3330
|
headerParameters: [accept, contentType],
|
|
3504
3331
|
mediaType: "json",
|
|
3505
|
-
serializer: serializer$
|
|
3332
|
+
serializer: serializer$2
|
|
3506
3333
|
};
|
|
3507
3334
|
const flushOperationSpec = {
|
|
3508
3335
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/flush",
|
|
@@ -3527,7 +3354,7 @@ const flushOperationSpec = {
|
|
|
3527
3354
|
],
|
|
3528
3355
|
headerParameters: [accept, contentType],
|
|
3529
3356
|
mediaType: "json",
|
|
3530
|
-
serializer: serializer$
|
|
3357
|
+
serializer: serializer$2
|
|
3531
3358
|
};
|
|
3532
3359
|
const listByClusterNextOperationSpec = {
|
|
3533
3360
|
path: "{nextLink}",
|
|
@@ -3548,7 +3375,7 @@ const listByClusterNextOperationSpec = {
|
|
|
3548
3375
|
clusterName
|
|
3549
3376
|
],
|
|
3550
3377
|
headerParameters: [accept],
|
|
3551
|
-
serializer: serializer$
|
|
3378
|
+
serializer: serializer$2
|
|
3552
3379
|
};
|
|
3553
3380
|
|
|
3554
3381
|
/*
|
|
@@ -3602,16 +3429,11 @@ class PrivateEndpointConnectionsImpl {
|
|
|
3602
3429
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
3603
3430
|
var _a, e_1, _b, _c;
|
|
3604
3431
|
try {
|
|
3605
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
3432
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3606
3433
|
_c = _f.value;
|
|
3607
3434
|
_d = false;
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3611
|
-
}
|
|
3612
|
-
finally {
|
|
3613
|
-
_d = true;
|
|
3614
|
-
}
|
|
3435
|
+
const page = _c;
|
|
3436
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3615
3437
|
}
|
|
3616
3438
|
}
|
|
3617
3439
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -3630,7 +3452,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
3630
3452
|
* @param options The options parameters.
|
|
3631
3453
|
*/
|
|
3632
3454
|
_list(resourceGroupName, clusterName, options) {
|
|
3633
|
-
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listOperationSpec
|
|
3455
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listOperationSpec);
|
|
3634
3456
|
}
|
|
3635
3457
|
/**
|
|
3636
3458
|
* Gets the specified private endpoint connection associated with the RedisEnterprise cluster.
|
|
@@ -3725,18 +3547,67 @@ class PrivateEndpointConnectionsImpl {
|
|
|
3725
3547
|
* Azure resource
|
|
3726
3548
|
* @param options The options parameters.
|
|
3727
3549
|
*/
|
|
3728
|
-
|
|
3729
|
-
return
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3550
|
+
beginDelete(resourceGroupName, clusterName, privateEndpointConnectionName, options) {
|
|
3551
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3552
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3553
|
+
return this.client.sendOperationRequest(args, spec);
|
|
3554
|
+
});
|
|
3555
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3556
|
+
var _a;
|
|
3557
|
+
let currentRawResponse = undefined;
|
|
3558
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3559
|
+
const callback = (rawResponse, flatResponse) => {
|
|
3560
|
+
currentRawResponse = rawResponse;
|
|
3561
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3562
|
+
};
|
|
3563
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3564
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3565
|
+
return {
|
|
3566
|
+
flatResponse,
|
|
3567
|
+
rawResponse: {
|
|
3568
|
+
statusCode: currentRawResponse.status,
|
|
3569
|
+
body: currentRawResponse.parsedBody,
|
|
3570
|
+
headers: currentRawResponse.headers.toJSON()
|
|
3571
|
+
}
|
|
3572
|
+
};
|
|
3573
|
+
});
|
|
3574
|
+
const lro = createLroSpec({
|
|
3575
|
+
sendOperationFn,
|
|
3576
|
+
args: {
|
|
3577
|
+
resourceGroupName,
|
|
3578
|
+
clusterName,
|
|
3579
|
+
privateEndpointConnectionName,
|
|
3580
|
+
options
|
|
3581
|
+
},
|
|
3582
|
+
spec: deleteOperationSpec
|
|
3583
|
+
});
|
|
3584
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3585
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3586
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3587
|
+
resourceLocationConfig: "location"
|
|
3588
|
+
});
|
|
3589
|
+
yield poller.poll();
|
|
3590
|
+
return poller;
|
|
3591
|
+
});
|
|
3592
|
+
}
|
|
3593
|
+
/**
|
|
3594
|
+
* Deletes the specified private endpoint connection associated with the RedisEnterprise cluster.
|
|
3595
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3596
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
3597
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
3598
|
+
* Azure resource
|
|
3599
|
+
* @param options The options parameters.
|
|
3600
|
+
*/
|
|
3601
|
+
beginDeleteAndWait(resourceGroupName, clusterName, privateEndpointConnectionName, options) {
|
|
3602
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3603
|
+
const poller = yield this.beginDelete(resourceGroupName, clusterName, privateEndpointConnectionName, options);
|
|
3604
|
+
return poller.pollUntilDone();
|
|
3605
|
+
});
|
|
3735
3606
|
}
|
|
3736
3607
|
}
|
|
3737
3608
|
// Operation Specifications
|
|
3738
|
-
const serializer$
|
|
3739
|
-
const listOperationSpec
|
|
3609
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3610
|
+
const listOperationSpec = {
|
|
3740
3611
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections",
|
|
3741
3612
|
httpMethod: "GET",
|
|
3742
3613
|
responses: {
|
|
@@ -3755,7 +3626,7 @@ const listOperationSpec$1 = {
|
|
|
3755
3626
|
clusterName
|
|
3756
3627
|
],
|
|
3757
3628
|
headerParameters: [accept],
|
|
3758
|
-
serializer: serializer$
|
|
3629
|
+
serializer: serializer$1
|
|
3759
3630
|
};
|
|
3760
3631
|
const getOperationSpec = {
|
|
3761
3632
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
@@ -3777,7 +3648,7 @@ const getOperationSpec = {
|
|
|
3777
3648
|
privateEndpointConnectionName
|
|
3778
3649
|
],
|
|
3779
3650
|
headerParameters: [accept],
|
|
3780
|
-
serializer: serializer$
|
|
3651
|
+
serializer: serializer$1
|
|
3781
3652
|
};
|
|
3782
3653
|
const putOperationSpec = {
|
|
3783
3654
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
@@ -3810,13 +3681,15 @@ const putOperationSpec = {
|
|
|
3810
3681
|
],
|
|
3811
3682
|
headerParameters: [accept, contentType],
|
|
3812
3683
|
mediaType: "json",
|
|
3813
|
-
serializer: serializer$
|
|
3684
|
+
serializer: serializer$1
|
|
3814
3685
|
};
|
|
3815
3686
|
const deleteOperationSpec = {
|
|
3816
3687
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
3817
3688
|
httpMethod: "DELETE",
|
|
3818
3689
|
responses: {
|
|
3819
3690
|
200: {},
|
|
3691
|
+
201: {},
|
|
3692
|
+
202: {},
|
|
3820
3693
|
204: {},
|
|
3821
3694
|
default: {
|
|
3822
3695
|
bodyMapper: ErrorResponse
|
|
@@ -3831,7 +3704,7 @@ const deleteOperationSpec = {
|
|
|
3831
3704
|
privateEndpointConnectionName
|
|
3832
3705
|
],
|
|
3833
3706
|
headerParameters: [accept],
|
|
3834
|
-
serializer: serializer$
|
|
3707
|
+
serializer: serializer$1
|
|
3835
3708
|
};
|
|
3836
3709
|
|
|
3837
3710
|
/*
|
|
@@ -3885,16 +3758,11 @@ class PrivateLinkResourcesImpl {
|
|
|
3885
3758
|
return tslib.__asyncGenerator(this, arguments, function* listByClusterPagingAll_1() {
|
|
3886
3759
|
var _a, e_1, _b, _c;
|
|
3887
3760
|
try {
|
|
3888
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByClusterPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
3761
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByClusterPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3889
3762
|
_c = _f.value;
|
|
3890
3763
|
_d = false;
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3894
|
-
}
|
|
3895
|
-
finally {
|
|
3896
|
-
_d = true;
|
|
3897
|
-
}
|
|
3764
|
+
const page = _c;
|
|
3765
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3898
3766
|
}
|
|
3899
3767
|
}
|
|
3900
3768
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -3917,7 +3785,7 @@ class PrivateLinkResourcesImpl {
|
|
|
3917
3785
|
}
|
|
3918
3786
|
}
|
|
3919
3787
|
// Operation Specifications
|
|
3920
|
-
const serializer
|
|
3788
|
+
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3921
3789
|
const listByClusterOperationSpec = {
|
|
3922
3790
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateLinkResources",
|
|
3923
3791
|
httpMethod: "GET",
|
|
@@ -3937,109 +3805,6 @@ const listByClusterOperationSpec = {
|
|
|
3937
3805
|
clusterName
|
|
3938
3806
|
],
|
|
3939
3807
|
headerParameters: [accept],
|
|
3940
|
-
serializer: serializer$1
|
|
3941
|
-
};
|
|
3942
|
-
|
|
3943
|
-
/*
|
|
3944
|
-
* Copyright (c) Microsoft Corporation.
|
|
3945
|
-
* Licensed under the MIT License.
|
|
3946
|
-
*
|
|
3947
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3948
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3949
|
-
*/
|
|
3950
|
-
/// <reference lib="esnext.asynciterable" />
|
|
3951
|
-
/** Class containing Skus operations. */
|
|
3952
|
-
class SkusImpl {
|
|
3953
|
-
/**
|
|
3954
|
-
* Initialize a new instance of the class Skus class.
|
|
3955
|
-
* @param client Reference to the service client
|
|
3956
|
-
*/
|
|
3957
|
-
constructor(client) {
|
|
3958
|
-
this.client = client;
|
|
3959
|
-
}
|
|
3960
|
-
/**
|
|
3961
|
-
* Gets information about skus in specified location for the given subscription id
|
|
3962
|
-
* @param location The name of Azure region.
|
|
3963
|
-
* @param options The options parameters.
|
|
3964
|
-
*/
|
|
3965
|
-
list(location, options) {
|
|
3966
|
-
const iter = this.listPagingAll(location, options);
|
|
3967
|
-
return {
|
|
3968
|
-
next() {
|
|
3969
|
-
return iter.next();
|
|
3970
|
-
},
|
|
3971
|
-
[Symbol.asyncIterator]() {
|
|
3972
|
-
return this;
|
|
3973
|
-
},
|
|
3974
|
-
byPage: (settings) => {
|
|
3975
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3976
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
3977
|
-
}
|
|
3978
|
-
return this.listPagingPage(location, options, settings);
|
|
3979
|
-
}
|
|
3980
|
-
};
|
|
3981
|
-
}
|
|
3982
|
-
listPagingPage(location, options, _settings) {
|
|
3983
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
3984
|
-
let result;
|
|
3985
|
-
result = yield tslib.__await(this._list(location, options));
|
|
3986
|
-
yield yield tslib.__await(result.value || []);
|
|
3987
|
-
});
|
|
3988
|
-
}
|
|
3989
|
-
listPagingAll(location, options) {
|
|
3990
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
3991
|
-
var _a, e_1, _b, _c;
|
|
3992
|
-
try {
|
|
3993
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
3994
|
-
_c = _f.value;
|
|
3995
|
-
_d = false;
|
|
3996
|
-
try {
|
|
3997
|
-
const page = _c;
|
|
3998
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3999
|
-
}
|
|
4000
|
-
finally {
|
|
4001
|
-
_d = true;
|
|
4002
|
-
}
|
|
4003
|
-
}
|
|
4004
|
-
}
|
|
4005
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
4006
|
-
finally {
|
|
4007
|
-
try {
|
|
4008
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
4009
|
-
}
|
|
4010
|
-
finally { if (e_1) throw e_1.error; }
|
|
4011
|
-
}
|
|
4012
|
-
});
|
|
4013
|
-
}
|
|
4014
|
-
/**
|
|
4015
|
-
* Gets information about skus in specified location for the given subscription id
|
|
4016
|
-
* @param location The name of Azure region.
|
|
4017
|
-
* @param options The options parameters.
|
|
4018
|
-
*/
|
|
4019
|
-
_list(location, options) {
|
|
4020
|
-
return this.client.sendOperationRequest({ location, options }, listOperationSpec);
|
|
4021
|
-
}
|
|
4022
|
-
}
|
|
4023
|
-
// Operation Specifications
|
|
4024
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4025
|
-
const listOperationSpec = {
|
|
4026
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/locations/{location}/skus",
|
|
4027
|
-
httpMethod: "GET",
|
|
4028
|
-
responses: {
|
|
4029
|
-
200: {
|
|
4030
|
-
bodyMapper: RegionSkuDetails
|
|
4031
|
-
},
|
|
4032
|
-
default: {
|
|
4033
|
-
bodyMapper: ErrorResponse
|
|
4034
|
-
}
|
|
4035
|
-
},
|
|
4036
|
-
queryParameters: [apiVersion],
|
|
4037
|
-
urlParameters: [
|
|
4038
|
-
$host,
|
|
4039
|
-
location,
|
|
4040
|
-
subscriptionId
|
|
4041
|
-
],
|
|
4042
|
-
headerParameters: [accept],
|
|
4043
3808
|
serializer
|
|
4044
3809
|
};
|
|
4045
3810
|
|
|
@@ -4073,7 +3838,7 @@ class RedisEnterpriseManagementClient extends coreClient__namespace.ServiceClien
|
|
|
4073
3838
|
requestContentType: "application/json; charset=utf-8",
|
|
4074
3839
|
credential: credentials
|
|
4075
3840
|
};
|
|
4076
|
-
const packageDetails = `azsdk-js-arm-redisenterprisecache/
|
|
3841
|
+
const packageDetails = `azsdk-js-arm-redisenterprisecache/3.0.0`;
|
|
4077
3842
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
4078
3843
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
4079
3844
|
: `${packageDetails}`;
|
|
@@ -4106,14 +3871,13 @@ class RedisEnterpriseManagementClient extends coreClient__namespace.ServiceClien
|
|
|
4106
3871
|
this.subscriptionId = subscriptionId;
|
|
4107
3872
|
// Assigning values to Constant parameters
|
|
4108
3873
|
this.$host = options.$host || "https://management.azure.com";
|
|
4109
|
-
this.apiVersion = options.apiVersion || "2023-
|
|
3874
|
+
this.apiVersion = options.apiVersion || "2023-11-01";
|
|
4110
3875
|
this.operations = new OperationsImpl(this);
|
|
4111
3876
|
this.operationsStatus = new OperationsStatusImpl(this);
|
|
4112
3877
|
this.redisEnterprise = new RedisEnterpriseImpl(this);
|
|
4113
3878
|
this.databases = new DatabasesImpl(this);
|
|
4114
3879
|
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
4115
3880
|
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
|
4116
|
-
this.skus = new SkusImpl(this);
|
|
4117
3881
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
4118
3882
|
}
|
|
4119
3883
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|