@azure/arm-redisenterprisecache 2.3.0-alpha.20240221.1 → 3.0.0-alpha.20240223.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 -24
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +126 -326
- 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 +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 +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 +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +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 +1 -1
- package/dist-esm/samples-dev/redisEnterpriseListSample.js +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 +1 -1
- 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/privateEndpointConnections.d.ts +10 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +58 -7
- package/dist-esm/src/operations/privateEndpointConnections.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/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 +8 -7
- 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 -47
- 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 -45
- 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 -46
- 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 -47
- 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 -47
- 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 -53
- 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 -102
- 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/src/operations/skus.ts +0 -117
- package/src/operationsInterfaces/skus.ts +0 -24
package/dist/index.js
CHANGED
|
@@ -173,6 +173,10 @@ exports.KnownResourceState = void 0;
|
|
|
173
173
|
KnownResourceState["DisableFailed"] = "DisableFailed";
|
|
174
174
|
/** Disabled */
|
|
175
175
|
KnownResourceState["Disabled"] = "Disabled";
|
|
176
|
+
/** Scaling */
|
|
177
|
+
KnownResourceState["Scaling"] = "Scaling";
|
|
178
|
+
/** ScalingFailed */
|
|
179
|
+
KnownResourceState["ScalingFailed"] = "ScalingFailed";
|
|
176
180
|
})(exports.KnownResourceState || (exports.KnownResourceState = {}));
|
|
177
181
|
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
|
178
182
|
exports.KnownPrivateEndpointServiceConnectionStatus = void 0;
|
|
@@ -196,18 +200,6 @@ exports.KnownPrivateEndpointConnectionProvisioningState = void 0;
|
|
|
196
200
|
/** Failed */
|
|
197
201
|
KnownPrivateEndpointConnectionProvisioningState["Failed"] = "Failed";
|
|
198
202
|
})(exports.KnownPrivateEndpointConnectionProvisioningState || (exports.KnownPrivateEndpointConnectionProvisioningState = {}));
|
|
199
|
-
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
200
|
-
exports.KnownCreatedByType = void 0;
|
|
201
|
-
(function (KnownCreatedByType) {
|
|
202
|
-
/** User */
|
|
203
|
-
KnownCreatedByType["User"] = "User";
|
|
204
|
-
/** Application */
|
|
205
|
-
KnownCreatedByType["Application"] = "Application";
|
|
206
|
-
/** ManagedIdentity */
|
|
207
|
-
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
208
|
-
/** Key */
|
|
209
|
-
KnownCreatedByType["Key"] = "Key";
|
|
210
|
-
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
|
211
203
|
/** Known values of {@link Protocol} that the service accepts. */
|
|
212
204
|
exports.KnownProtocol = void 0;
|
|
213
205
|
(function (KnownProtocol) {
|
|
@@ -732,57 +724,6 @@ const Resource = {
|
|
|
732
724
|
type: {
|
|
733
725
|
name: "String"
|
|
734
726
|
}
|
|
735
|
-
},
|
|
736
|
-
systemData: {
|
|
737
|
-
serializedName: "systemData",
|
|
738
|
-
type: {
|
|
739
|
-
name: "Composite",
|
|
740
|
-
className: "SystemData"
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
}
|
|
745
|
-
};
|
|
746
|
-
const SystemData = {
|
|
747
|
-
type: {
|
|
748
|
-
name: "Composite",
|
|
749
|
-
className: "SystemData",
|
|
750
|
-
modelProperties: {
|
|
751
|
-
createdBy: {
|
|
752
|
-
serializedName: "createdBy",
|
|
753
|
-
type: {
|
|
754
|
-
name: "String"
|
|
755
|
-
}
|
|
756
|
-
},
|
|
757
|
-
createdByType: {
|
|
758
|
-
serializedName: "createdByType",
|
|
759
|
-
type: {
|
|
760
|
-
name: "String"
|
|
761
|
-
}
|
|
762
|
-
},
|
|
763
|
-
createdAt: {
|
|
764
|
-
serializedName: "createdAt",
|
|
765
|
-
type: {
|
|
766
|
-
name: "DateTime"
|
|
767
|
-
}
|
|
768
|
-
},
|
|
769
|
-
lastModifiedBy: {
|
|
770
|
-
serializedName: "lastModifiedBy",
|
|
771
|
-
type: {
|
|
772
|
-
name: "String"
|
|
773
|
-
}
|
|
774
|
-
},
|
|
775
|
-
lastModifiedByType: {
|
|
776
|
-
serializedName: "lastModifiedByType",
|
|
777
|
-
type: {
|
|
778
|
-
name: "String"
|
|
779
|
-
}
|
|
780
|
-
},
|
|
781
|
-
lastModifiedAt: {
|
|
782
|
-
serializedName: "lastModifiedAt",
|
|
783
|
-
type: {
|
|
784
|
-
name: "DateTime"
|
|
785
|
-
}
|
|
786
727
|
}
|
|
787
728
|
}
|
|
788
729
|
}
|
|
@@ -1255,114 +1196,6 @@ const FlushParameters = {
|
|
|
1255
1196
|
}
|
|
1256
1197
|
}
|
|
1257
1198
|
};
|
|
1258
|
-
const RegionSkuDetails = {
|
|
1259
|
-
type: {
|
|
1260
|
-
name: "Composite",
|
|
1261
|
-
className: "RegionSkuDetails",
|
|
1262
|
-
modelProperties: {
|
|
1263
|
-
value: {
|
|
1264
|
-
serializedName: "value",
|
|
1265
|
-
type: {
|
|
1266
|
-
name: "Sequence",
|
|
1267
|
-
element: {
|
|
1268
|
-
type: {
|
|
1269
|
-
name: "Composite",
|
|
1270
|
-
className: "RegionSkuDetail"
|
|
1271
|
-
}
|
|
1272
|
-
}
|
|
1273
|
-
}
|
|
1274
|
-
}
|
|
1275
|
-
}
|
|
1276
|
-
}
|
|
1277
|
-
};
|
|
1278
|
-
const RegionSkuDetail = {
|
|
1279
|
-
type: {
|
|
1280
|
-
name: "Composite",
|
|
1281
|
-
className: "RegionSkuDetail",
|
|
1282
|
-
modelProperties: {
|
|
1283
|
-
resourceType: {
|
|
1284
|
-
serializedName: "resourceType",
|
|
1285
|
-
type: {
|
|
1286
|
-
name: "String"
|
|
1287
|
-
}
|
|
1288
|
-
},
|
|
1289
|
-
locationInfo: {
|
|
1290
|
-
serializedName: "locationInfo",
|
|
1291
|
-
type: {
|
|
1292
|
-
name: "Composite",
|
|
1293
|
-
className: "LocationInfo"
|
|
1294
|
-
}
|
|
1295
|
-
},
|
|
1296
|
-
skuDetails: {
|
|
1297
|
-
serializedName: "skuDetails",
|
|
1298
|
-
type: {
|
|
1299
|
-
name: "Composite",
|
|
1300
|
-
className: "SkuDetail"
|
|
1301
|
-
}
|
|
1302
|
-
}
|
|
1303
|
-
}
|
|
1304
|
-
}
|
|
1305
|
-
};
|
|
1306
|
-
const LocationInfo = {
|
|
1307
|
-
type: {
|
|
1308
|
-
name: "Composite",
|
|
1309
|
-
className: "LocationInfo",
|
|
1310
|
-
modelProperties: {
|
|
1311
|
-
location: {
|
|
1312
|
-
serializedName: "location",
|
|
1313
|
-
type: {
|
|
1314
|
-
name: "String"
|
|
1315
|
-
}
|
|
1316
|
-
},
|
|
1317
|
-
capabilities: {
|
|
1318
|
-
serializedName: "capabilities",
|
|
1319
|
-
type: {
|
|
1320
|
-
name: "Sequence",
|
|
1321
|
-
element: {
|
|
1322
|
-
type: {
|
|
1323
|
-
name: "Composite",
|
|
1324
|
-
className: "Capability"
|
|
1325
|
-
}
|
|
1326
|
-
}
|
|
1327
|
-
}
|
|
1328
|
-
}
|
|
1329
|
-
}
|
|
1330
|
-
}
|
|
1331
|
-
};
|
|
1332
|
-
const Capability = {
|
|
1333
|
-
type: {
|
|
1334
|
-
name: "Composite",
|
|
1335
|
-
className: "Capability",
|
|
1336
|
-
modelProperties: {
|
|
1337
|
-
name: {
|
|
1338
|
-
serializedName: "name",
|
|
1339
|
-
type: {
|
|
1340
|
-
name: "String"
|
|
1341
|
-
}
|
|
1342
|
-
},
|
|
1343
|
-
value: {
|
|
1344
|
-
serializedName: "value",
|
|
1345
|
-
type: {
|
|
1346
|
-
name: "Boolean"
|
|
1347
|
-
}
|
|
1348
|
-
}
|
|
1349
|
-
}
|
|
1350
|
-
}
|
|
1351
|
-
};
|
|
1352
|
-
const SkuDetail = {
|
|
1353
|
-
type: {
|
|
1354
|
-
name: "Composite",
|
|
1355
|
-
className: "SkuDetail",
|
|
1356
|
-
modelProperties: {
|
|
1357
|
-
name: {
|
|
1358
|
-
serializedName: "name",
|
|
1359
|
-
type: {
|
|
1360
|
-
name: "String"
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
}
|
|
1364
|
-
}
|
|
1365
|
-
};
|
|
1366
1199
|
const PrivateEndpointConnection = {
|
|
1367
1200
|
type: {
|
|
1368
1201
|
name: "Composite",
|
|
@@ -1606,11 +1439,30 @@ const DatabasesFlushHeaders = {
|
|
|
1606
1439
|
}
|
|
1607
1440
|
}
|
|
1608
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
|
+
};
|
|
1609
1462
|
|
|
1610
1463
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1611
1464
|
__proto__: null,
|
|
1612
1465
|
AccessKeys: AccessKeys,
|
|
1613
|
-
Capability: Capability,
|
|
1614
1466
|
Cluster: Cluster,
|
|
1615
1467
|
ClusterList: ClusterList,
|
|
1616
1468
|
ClusterPropertiesEncryption: ClusterPropertiesEncryption,
|
|
@@ -1630,7 +1482,6 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
1630
1482
|
ForceUnlinkParameters: ForceUnlinkParameters,
|
|
1631
1483
|
ImportClusterParameters: ImportClusterParameters,
|
|
1632
1484
|
LinkedDatabase: LinkedDatabase,
|
|
1633
|
-
LocationInfo: LocationInfo,
|
|
1634
1485
|
ManagedServiceIdentity: ManagedServiceIdentity,
|
|
1635
1486
|
Module: Module,
|
|
1636
1487
|
Operation: Operation,
|
|
@@ -1641,17 +1492,14 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
1641
1492
|
PrivateEndpoint: PrivateEndpoint,
|
|
1642
1493
|
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
1643
1494
|
PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
|
|
1495
|
+
PrivateEndpointConnectionsDeleteHeaders: PrivateEndpointConnectionsDeleteHeaders,
|
|
1644
1496
|
PrivateLinkResource: PrivateLinkResource,
|
|
1645
1497
|
PrivateLinkResourceListResult: PrivateLinkResourceListResult,
|
|
1646
1498
|
PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
|
|
1647
1499
|
ProxyResource: ProxyResource,
|
|
1648
1500
|
RegenerateKeyParameters: RegenerateKeyParameters,
|
|
1649
|
-
RegionSkuDetail: RegionSkuDetail,
|
|
1650
|
-
RegionSkuDetails: RegionSkuDetails,
|
|
1651
1501
|
Resource: Resource,
|
|
1652
1502
|
Sku: Sku,
|
|
1653
|
-
SkuDetail: SkuDetail,
|
|
1654
|
-
SystemData: SystemData,
|
|
1655
1503
|
TrackedResource: TrackedResource,
|
|
1656
1504
|
UserAssignedIdentity: UserAssignedIdentity
|
|
1657
1505
|
});
|
|
@@ -1688,7 +1536,7 @@ const $host = {
|
|
|
1688
1536
|
const apiVersion = {
|
|
1689
1537
|
parameterPath: "apiVersion",
|
|
1690
1538
|
mapper: {
|
|
1691
|
-
defaultValue: "2023-
|
|
1539
|
+
defaultValue: "2023-11-01",
|
|
1692
1540
|
isConstant: true,
|
|
1693
1541
|
serializedName: "api-version",
|
|
1694
1542
|
type: {
|
|
@@ -1925,7 +1773,7 @@ class OperationsImpl {
|
|
|
1925
1773
|
* @param options The options parameters.
|
|
1926
1774
|
*/
|
|
1927
1775
|
_list(options) {
|
|
1928
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$
|
|
1776
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$2);
|
|
1929
1777
|
}
|
|
1930
1778
|
/**
|
|
1931
1779
|
* ListNext
|
|
@@ -1937,8 +1785,8 @@ class OperationsImpl {
|
|
|
1937
1785
|
}
|
|
1938
1786
|
}
|
|
1939
1787
|
// Operation Specifications
|
|
1940
|
-
const serializer$
|
|
1941
|
-
const listOperationSpec$
|
|
1788
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1789
|
+
const listOperationSpec$2 = {
|
|
1942
1790
|
path: "/providers/Microsoft.Cache/operations",
|
|
1943
1791
|
httpMethod: "GET",
|
|
1944
1792
|
responses: {
|
|
@@ -1952,7 +1800,7 @@ const listOperationSpec$3 = {
|
|
|
1952
1800
|
queryParameters: [apiVersion],
|
|
1953
1801
|
urlParameters: [$host],
|
|
1954
1802
|
headerParameters: [accept],
|
|
1955
|
-
serializer: serializer$
|
|
1803
|
+
serializer: serializer$5
|
|
1956
1804
|
};
|
|
1957
1805
|
const listNextOperationSpec$1 = {
|
|
1958
1806
|
path: "{nextLink}",
|
|
@@ -1967,7 +1815,7 @@ const listNextOperationSpec$1 = {
|
|
|
1967
1815
|
},
|
|
1968
1816
|
urlParameters: [$host, nextLink],
|
|
1969
1817
|
headerParameters: [accept],
|
|
1970
|
-
serializer: serializer$
|
|
1818
|
+
serializer: serializer$5
|
|
1971
1819
|
};
|
|
1972
1820
|
|
|
1973
1821
|
/*
|
|
@@ -1997,7 +1845,7 @@ class OperationsStatusImpl {
|
|
|
1997
1845
|
}
|
|
1998
1846
|
}
|
|
1999
1847
|
// Operation Specifications
|
|
2000
|
-
const serializer$
|
|
1848
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2001
1849
|
const getOperationSpec$3 = {
|
|
2002
1850
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/locations/{location}/operationsStatus/{operationId}",
|
|
2003
1851
|
httpMethod: "GET",
|
|
@@ -2017,7 +1865,7 @@ const getOperationSpec$3 = {
|
|
|
2017
1865
|
subscriptionId
|
|
2018
1866
|
],
|
|
2019
1867
|
headerParameters: [accept],
|
|
2020
|
-
serializer: serializer$
|
|
1868
|
+
serializer: serializer$4
|
|
2021
1869
|
};
|
|
2022
1870
|
|
|
2023
1871
|
/*
|
|
@@ -2374,7 +2222,7 @@ class RedisEnterpriseImpl {
|
|
|
2374
2222
|
* @param options The options parameters.
|
|
2375
2223
|
*/
|
|
2376
2224
|
_list(options) {
|
|
2377
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$
|
|
2225
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$1);
|
|
2378
2226
|
}
|
|
2379
2227
|
/**
|
|
2380
2228
|
* ListByResourceGroupNext
|
|
@@ -2395,7 +2243,7 @@ class RedisEnterpriseImpl {
|
|
|
2395
2243
|
}
|
|
2396
2244
|
}
|
|
2397
2245
|
// Operation Specifications
|
|
2398
|
-
const serializer$
|
|
2246
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2399
2247
|
const createOperationSpec$1 = {
|
|
2400
2248
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
|
|
2401
2249
|
httpMethod: "PUT",
|
|
@@ -2426,7 +2274,7 @@ const createOperationSpec$1 = {
|
|
|
2426
2274
|
],
|
|
2427
2275
|
headerParameters: [accept, contentType],
|
|
2428
2276
|
mediaType: "json",
|
|
2429
|
-
serializer: serializer$
|
|
2277
|
+
serializer: serializer$3
|
|
2430
2278
|
};
|
|
2431
2279
|
const updateOperationSpec$1 = {
|
|
2432
2280
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
|
|
@@ -2458,7 +2306,7 @@ const updateOperationSpec$1 = {
|
|
|
2458
2306
|
],
|
|
2459
2307
|
headerParameters: [accept, contentType],
|
|
2460
2308
|
mediaType: "json",
|
|
2461
|
-
serializer: serializer$
|
|
2309
|
+
serializer: serializer$3
|
|
2462
2310
|
};
|
|
2463
2311
|
const deleteOperationSpec$2 = {
|
|
2464
2312
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
|
|
@@ -2480,7 +2328,7 @@ const deleteOperationSpec$2 = {
|
|
|
2480
2328
|
clusterName
|
|
2481
2329
|
],
|
|
2482
2330
|
headerParameters: [accept],
|
|
2483
|
-
serializer: serializer$
|
|
2331
|
+
serializer: serializer$3
|
|
2484
2332
|
};
|
|
2485
2333
|
const getOperationSpec$2 = {
|
|
2486
2334
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
|
|
@@ -2501,7 +2349,7 @@ const getOperationSpec$2 = {
|
|
|
2501
2349
|
clusterName
|
|
2502
2350
|
],
|
|
2503
2351
|
headerParameters: [accept],
|
|
2504
|
-
serializer: serializer$
|
|
2352
|
+
serializer: serializer$3
|
|
2505
2353
|
};
|
|
2506
2354
|
const listByResourceGroupOperationSpec = {
|
|
2507
2355
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise",
|
|
@@ -2521,9 +2369,9 @@ const listByResourceGroupOperationSpec = {
|
|
|
2521
2369
|
resourceGroupName
|
|
2522
2370
|
],
|
|
2523
2371
|
headerParameters: [accept],
|
|
2524
|
-
serializer: serializer$
|
|
2372
|
+
serializer: serializer$3
|
|
2525
2373
|
};
|
|
2526
|
-
const listOperationSpec$
|
|
2374
|
+
const listOperationSpec$1 = {
|
|
2527
2375
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/redisEnterprise",
|
|
2528
2376
|
httpMethod: "GET",
|
|
2529
2377
|
responses: {
|
|
@@ -2537,7 +2385,7 @@ const listOperationSpec$2 = {
|
|
|
2537
2385
|
queryParameters: [apiVersion],
|
|
2538
2386
|
urlParameters: [$host, subscriptionId],
|
|
2539
2387
|
headerParameters: [accept],
|
|
2540
|
-
serializer: serializer$
|
|
2388
|
+
serializer: serializer$3
|
|
2541
2389
|
};
|
|
2542
2390
|
const listByResourceGroupNextOperationSpec = {
|
|
2543
2391
|
path: "{nextLink}",
|
|
@@ -2557,7 +2405,7 @@ const listByResourceGroupNextOperationSpec = {
|
|
|
2557
2405
|
resourceGroupName
|
|
2558
2406
|
],
|
|
2559
2407
|
headerParameters: [accept],
|
|
2560
|
-
serializer: serializer$
|
|
2408
|
+
serializer: serializer$3
|
|
2561
2409
|
};
|
|
2562
2410
|
const listNextOperationSpec = {
|
|
2563
2411
|
path: "{nextLink}",
|
|
@@ -2576,7 +2424,7 @@ const listNextOperationSpec = {
|
|
|
2576
2424
|
subscriptionId
|
|
2577
2425
|
],
|
|
2578
2426
|
headerParameters: [accept],
|
|
2579
|
-
serializer: serializer$
|
|
2427
|
+
serializer: serializer$3
|
|
2580
2428
|
};
|
|
2581
2429
|
|
|
2582
2430
|
/*
|
|
@@ -2924,7 +2772,7 @@ class DatabasesImpl {
|
|
|
2924
2772
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2925
2773
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2926
2774
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2927
|
-
resourceLocationConfig: "
|
|
2775
|
+
resourceLocationConfig: "azure-async-operation"
|
|
2928
2776
|
});
|
|
2929
2777
|
yield poller.poll();
|
|
2930
2778
|
return poller;
|
|
@@ -3220,7 +3068,7 @@ class DatabasesImpl {
|
|
|
3220
3068
|
}
|
|
3221
3069
|
}
|
|
3222
3070
|
// Operation Specifications
|
|
3223
|
-
const serializer$
|
|
3071
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3224
3072
|
const listByClusterOperationSpec$1 = {
|
|
3225
3073
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases",
|
|
3226
3074
|
httpMethod: "GET",
|
|
@@ -3240,7 +3088,7 @@ const listByClusterOperationSpec$1 = {
|
|
|
3240
3088
|
clusterName
|
|
3241
3089
|
],
|
|
3242
3090
|
headerParameters: [accept],
|
|
3243
|
-
serializer: serializer$
|
|
3091
|
+
serializer: serializer$2
|
|
3244
3092
|
};
|
|
3245
3093
|
const createOperationSpec = {
|
|
3246
3094
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
@@ -3273,7 +3121,7 @@ const createOperationSpec = {
|
|
|
3273
3121
|
],
|
|
3274
3122
|
headerParameters: [accept, contentType],
|
|
3275
3123
|
mediaType: "json",
|
|
3276
|
-
serializer: serializer$
|
|
3124
|
+
serializer: serializer$2
|
|
3277
3125
|
};
|
|
3278
3126
|
const updateOperationSpec = {
|
|
3279
3127
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
@@ -3306,7 +3154,7 @@ const updateOperationSpec = {
|
|
|
3306
3154
|
],
|
|
3307
3155
|
headerParameters: [accept, contentType],
|
|
3308
3156
|
mediaType: "json",
|
|
3309
|
-
serializer: serializer$
|
|
3157
|
+
serializer: serializer$2
|
|
3310
3158
|
};
|
|
3311
3159
|
const getOperationSpec$1 = {
|
|
3312
3160
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
@@ -3328,7 +3176,7 @@ const getOperationSpec$1 = {
|
|
|
3328
3176
|
databaseName
|
|
3329
3177
|
],
|
|
3330
3178
|
headerParameters: [accept],
|
|
3331
|
-
serializer: serializer$
|
|
3179
|
+
serializer: serializer$2
|
|
3332
3180
|
};
|
|
3333
3181
|
const deleteOperationSpec$1 = {
|
|
3334
3182
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
@@ -3351,7 +3199,7 @@ const deleteOperationSpec$1 = {
|
|
|
3351
3199
|
databaseName
|
|
3352
3200
|
],
|
|
3353
3201
|
headerParameters: [accept],
|
|
3354
|
-
serializer: serializer$
|
|
3202
|
+
serializer: serializer$2
|
|
3355
3203
|
};
|
|
3356
3204
|
const listKeysOperationSpec = {
|
|
3357
3205
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/listKeys",
|
|
@@ -3373,7 +3221,7 @@ const listKeysOperationSpec = {
|
|
|
3373
3221
|
databaseName
|
|
3374
3222
|
],
|
|
3375
3223
|
headerParameters: [accept],
|
|
3376
|
-
serializer: serializer$
|
|
3224
|
+
serializer: serializer$2
|
|
3377
3225
|
};
|
|
3378
3226
|
const regenerateKeyOperationSpec = {
|
|
3379
3227
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/regenerateKey",
|
|
@@ -3406,7 +3254,7 @@ const regenerateKeyOperationSpec = {
|
|
|
3406
3254
|
],
|
|
3407
3255
|
headerParameters: [accept, contentType],
|
|
3408
3256
|
mediaType: "json",
|
|
3409
|
-
serializer: serializer$
|
|
3257
|
+
serializer: serializer$2
|
|
3410
3258
|
};
|
|
3411
3259
|
const importOperationSpec = {
|
|
3412
3260
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/import",
|
|
@@ -3431,7 +3279,7 @@ const importOperationSpec = {
|
|
|
3431
3279
|
],
|
|
3432
3280
|
headerParameters: [accept, contentType],
|
|
3433
3281
|
mediaType: "json",
|
|
3434
|
-
serializer: serializer$
|
|
3282
|
+
serializer: serializer$2
|
|
3435
3283
|
};
|
|
3436
3284
|
const exportOperationSpec = {
|
|
3437
3285
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/export",
|
|
@@ -3456,7 +3304,7 @@ const exportOperationSpec = {
|
|
|
3456
3304
|
],
|
|
3457
3305
|
headerParameters: [accept, contentType],
|
|
3458
3306
|
mediaType: "json",
|
|
3459
|
-
serializer: serializer$
|
|
3307
|
+
serializer: serializer$2
|
|
3460
3308
|
};
|
|
3461
3309
|
const forceUnlinkOperationSpec = {
|
|
3462
3310
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/forceUnlink",
|
|
@@ -3481,7 +3329,7 @@ const forceUnlinkOperationSpec = {
|
|
|
3481
3329
|
],
|
|
3482
3330
|
headerParameters: [accept, contentType],
|
|
3483
3331
|
mediaType: "json",
|
|
3484
|
-
serializer: serializer$
|
|
3332
|
+
serializer: serializer$2
|
|
3485
3333
|
};
|
|
3486
3334
|
const flushOperationSpec = {
|
|
3487
3335
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/flush",
|
|
@@ -3506,7 +3354,7 @@ const flushOperationSpec = {
|
|
|
3506
3354
|
],
|
|
3507
3355
|
headerParameters: [accept, contentType],
|
|
3508
3356
|
mediaType: "json",
|
|
3509
|
-
serializer: serializer$
|
|
3357
|
+
serializer: serializer$2
|
|
3510
3358
|
};
|
|
3511
3359
|
const listByClusterNextOperationSpec = {
|
|
3512
3360
|
path: "{nextLink}",
|
|
@@ -3527,7 +3375,7 @@ const listByClusterNextOperationSpec = {
|
|
|
3527
3375
|
clusterName
|
|
3528
3376
|
],
|
|
3529
3377
|
headerParameters: [accept],
|
|
3530
|
-
serializer: serializer$
|
|
3378
|
+
serializer: serializer$2
|
|
3531
3379
|
};
|
|
3532
3380
|
|
|
3533
3381
|
/*
|
|
@@ -3604,7 +3452,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
3604
3452
|
* @param options The options parameters.
|
|
3605
3453
|
*/
|
|
3606
3454
|
_list(resourceGroupName, clusterName, options) {
|
|
3607
|
-
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listOperationSpec
|
|
3455
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listOperationSpec);
|
|
3608
3456
|
}
|
|
3609
3457
|
/**
|
|
3610
3458
|
* Gets the specified private endpoint connection associated with the RedisEnterprise cluster.
|
|
@@ -3699,18 +3547,67 @@ class PrivateEndpointConnectionsImpl {
|
|
|
3699
3547
|
* Azure resource
|
|
3700
3548
|
* @param options The options parameters.
|
|
3701
3549
|
*/
|
|
3702
|
-
|
|
3703
|
-
return
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
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
|
+
});
|
|
3709
3606
|
}
|
|
3710
3607
|
}
|
|
3711
3608
|
// Operation Specifications
|
|
3712
|
-
const serializer$
|
|
3713
|
-
const listOperationSpec
|
|
3609
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3610
|
+
const listOperationSpec = {
|
|
3714
3611
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections",
|
|
3715
3612
|
httpMethod: "GET",
|
|
3716
3613
|
responses: {
|
|
@@ -3729,7 +3626,7 @@ const listOperationSpec$1 = {
|
|
|
3729
3626
|
clusterName
|
|
3730
3627
|
],
|
|
3731
3628
|
headerParameters: [accept],
|
|
3732
|
-
serializer: serializer$
|
|
3629
|
+
serializer: serializer$1
|
|
3733
3630
|
};
|
|
3734
3631
|
const getOperationSpec = {
|
|
3735
3632
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
@@ -3751,7 +3648,7 @@ const getOperationSpec = {
|
|
|
3751
3648
|
privateEndpointConnectionName
|
|
3752
3649
|
],
|
|
3753
3650
|
headerParameters: [accept],
|
|
3754
|
-
serializer: serializer$
|
|
3651
|
+
serializer: serializer$1
|
|
3755
3652
|
};
|
|
3756
3653
|
const putOperationSpec = {
|
|
3757
3654
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
@@ -3784,13 +3681,15 @@ const putOperationSpec = {
|
|
|
3784
3681
|
],
|
|
3785
3682
|
headerParameters: [accept, contentType],
|
|
3786
3683
|
mediaType: "json",
|
|
3787
|
-
serializer: serializer$
|
|
3684
|
+
serializer: serializer$1
|
|
3788
3685
|
};
|
|
3789
3686
|
const deleteOperationSpec = {
|
|
3790
3687
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
3791
3688
|
httpMethod: "DELETE",
|
|
3792
3689
|
responses: {
|
|
3793
3690
|
200: {},
|
|
3691
|
+
201: {},
|
|
3692
|
+
202: {},
|
|
3794
3693
|
204: {},
|
|
3795
3694
|
default: {
|
|
3796
3695
|
bodyMapper: ErrorResponse
|
|
@@ -3805,7 +3704,7 @@ const deleteOperationSpec = {
|
|
|
3805
3704
|
privateEndpointConnectionName
|
|
3806
3705
|
],
|
|
3807
3706
|
headerParameters: [accept],
|
|
3808
|
-
serializer: serializer$
|
|
3707
|
+
serializer: serializer$1
|
|
3809
3708
|
};
|
|
3810
3709
|
|
|
3811
3710
|
/*
|
|
@@ -3886,7 +3785,7 @@ class PrivateLinkResourcesImpl {
|
|
|
3886
3785
|
}
|
|
3887
3786
|
}
|
|
3888
3787
|
// Operation Specifications
|
|
3889
|
-
const serializer
|
|
3788
|
+
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3890
3789
|
const listByClusterOperationSpec = {
|
|
3891
3790
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/privateLinkResources",
|
|
3892
3791
|
httpMethod: "GET",
|
|
@@ -3906,104 +3805,6 @@ const listByClusterOperationSpec = {
|
|
|
3906
3805
|
clusterName
|
|
3907
3806
|
],
|
|
3908
3807
|
headerParameters: [accept],
|
|
3909
|
-
serializer: serializer$1
|
|
3910
|
-
};
|
|
3911
|
-
|
|
3912
|
-
/*
|
|
3913
|
-
* Copyright (c) Microsoft Corporation.
|
|
3914
|
-
* Licensed under the MIT License.
|
|
3915
|
-
*
|
|
3916
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3917
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3918
|
-
*/
|
|
3919
|
-
/// <reference lib="esnext.asynciterable" />
|
|
3920
|
-
/** Class containing Skus operations. */
|
|
3921
|
-
class SkusImpl {
|
|
3922
|
-
/**
|
|
3923
|
-
* Initialize a new instance of the class Skus class.
|
|
3924
|
-
* @param client Reference to the service client
|
|
3925
|
-
*/
|
|
3926
|
-
constructor(client) {
|
|
3927
|
-
this.client = client;
|
|
3928
|
-
}
|
|
3929
|
-
/**
|
|
3930
|
-
* Gets information about skus in specified location for the given subscription id
|
|
3931
|
-
* @param location The name of Azure region.
|
|
3932
|
-
* @param options The options parameters.
|
|
3933
|
-
*/
|
|
3934
|
-
list(location, options) {
|
|
3935
|
-
const iter = this.listPagingAll(location, options);
|
|
3936
|
-
return {
|
|
3937
|
-
next() {
|
|
3938
|
-
return iter.next();
|
|
3939
|
-
},
|
|
3940
|
-
[Symbol.asyncIterator]() {
|
|
3941
|
-
return this;
|
|
3942
|
-
},
|
|
3943
|
-
byPage: (settings) => {
|
|
3944
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3945
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
3946
|
-
}
|
|
3947
|
-
return this.listPagingPage(location, options, settings);
|
|
3948
|
-
}
|
|
3949
|
-
};
|
|
3950
|
-
}
|
|
3951
|
-
listPagingPage(location, options, _settings) {
|
|
3952
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
3953
|
-
let result;
|
|
3954
|
-
result = yield tslib.__await(this._list(location, options));
|
|
3955
|
-
yield yield tslib.__await(result.value || []);
|
|
3956
|
-
});
|
|
3957
|
-
}
|
|
3958
|
-
listPagingAll(location, options) {
|
|
3959
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
3960
|
-
var _a, e_1, _b, _c;
|
|
3961
|
-
try {
|
|
3962
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3963
|
-
_c = _f.value;
|
|
3964
|
-
_d = false;
|
|
3965
|
-
const page = _c;
|
|
3966
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3967
|
-
}
|
|
3968
|
-
}
|
|
3969
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3970
|
-
finally {
|
|
3971
|
-
try {
|
|
3972
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3973
|
-
}
|
|
3974
|
-
finally { if (e_1) throw e_1.error; }
|
|
3975
|
-
}
|
|
3976
|
-
});
|
|
3977
|
-
}
|
|
3978
|
-
/**
|
|
3979
|
-
* Gets information about skus in specified location for the given subscription id
|
|
3980
|
-
* @param location The name of Azure region.
|
|
3981
|
-
* @param options The options parameters.
|
|
3982
|
-
*/
|
|
3983
|
-
_list(location, options) {
|
|
3984
|
-
return this.client.sendOperationRequest({ location, options }, listOperationSpec);
|
|
3985
|
-
}
|
|
3986
|
-
}
|
|
3987
|
-
// Operation Specifications
|
|
3988
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3989
|
-
const listOperationSpec = {
|
|
3990
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/locations/{location}/skus",
|
|
3991
|
-
httpMethod: "GET",
|
|
3992
|
-
responses: {
|
|
3993
|
-
200: {
|
|
3994
|
-
bodyMapper: RegionSkuDetails
|
|
3995
|
-
},
|
|
3996
|
-
default: {
|
|
3997
|
-
bodyMapper: ErrorResponse
|
|
3998
|
-
}
|
|
3999
|
-
},
|
|
4000
|
-
queryParameters: [apiVersion],
|
|
4001
|
-
urlParameters: [
|
|
4002
|
-
$host,
|
|
4003
|
-
location,
|
|
4004
|
-
subscriptionId
|
|
4005
|
-
],
|
|
4006
|
-
headerParameters: [accept],
|
|
4007
3808
|
serializer
|
|
4008
3809
|
};
|
|
4009
3810
|
|
|
@@ -4037,7 +3838,7 @@ class RedisEnterpriseManagementClient extends coreClient__namespace.ServiceClien
|
|
|
4037
3838
|
requestContentType: "application/json; charset=utf-8",
|
|
4038
3839
|
credential: credentials
|
|
4039
3840
|
};
|
|
4040
|
-
const packageDetails = `azsdk-js-arm-redisenterprisecache/
|
|
3841
|
+
const packageDetails = `azsdk-js-arm-redisenterprisecache/3.0.0`;
|
|
4041
3842
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
4042
3843
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
4043
3844
|
: `${packageDetails}`;
|
|
@@ -4070,14 +3871,13 @@ class RedisEnterpriseManagementClient extends coreClient__namespace.ServiceClien
|
|
|
4070
3871
|
this.subscriptionId = subscriptionId;
|
|
4071
3872
|
// Assigning values to Constant parameters
|
|
4072
3873
|
this.$host = options.$host || "https://management.azure.com";
|
|
4073
|
-
this.apiVersion = options.apiVersion || "2023-
|
|
3874
|
+
this.apiVersion = options.apiVersion || "2023-11-01";
|
|
4074
3875
|
this.operations = new OperationsImpl(this);
|
|
4075
3876
|
this.operationsStatus = new OperationsStatusImpl(this);
|
|
4076
3877
|
this.redisEnterprise = new RedisEnterpriseImpl(this);
|
|
4077
3878
|
this.databases = new DatabasesImpl(this);
|
|
4078
3879
|
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
4079
3880
|
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
|
4080
|
-
this.skus = new SkusImpl(this);
|
|
4081
3881
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
4082
3882
|
}
|
|
4083
3883
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|