@azure/arm-redisenterprisecache 1.0.0 → 2.0.0-alpha.20220316.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 +11 -0
- package/LICENSE +21 -0
- package/README.md +70 -70
- package/dist/index.js +3012 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/operationsStatusGet.d.ts +2 -0
- package/dist-esm/samples-dev/operationsStatusGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsStatusGet.js +31 -0
- package/dist-esm/samples-dev/operationsStatusGet.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseCreate.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterpriseCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseCreate.js +38 -0
- package/dist-esm/samples-dev/redisEnterpriseCreate.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesCreate.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesCreate.js +44 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesCreate.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesDelete.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesDelete.js +32 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesDelete.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesExport.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesExport.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesExport.js +35 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesExport.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesGet.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesGet.js +32 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesGet.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesImport.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesImport.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesImport.js +38 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesImport.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesListByCluster.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesListByCluster.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesListByCluster.js +45 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesListByCluster.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesListKeys.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesListKeys.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesListKeys.js +32 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesListKeys.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesRegenerateKey.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesRegenerateKey.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesRegenerateKey.js +33 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesRegenerateKey.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesUpdate.js +37 -0
- package/dist-esm/samples-dev/redisEnterpriseDatabasesUpdate.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDelete.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterpriseDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDelete.js +31 -0
- package/dist-esm/samples-dev/redisEnterpriseDelete.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDeletePrivateEndpointConnection.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterpriseDeletePrivateEndpointConnection.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseDeletePrivateEndpointConnection.js +32 -0
- package/dist-esm/samples-dev/redisEnterpriseDeletePrivateEndpointConnection.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseGet.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterpriseGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseGet.js +31 -0
- package/dist-esm/samples-dev/redisEnterpriseGet.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseGetPrivateEndpointConnection.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterpriseGetPrivateEndpointConnection.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseGetPrivateEndpointConnection.js +32 -0
- package/dist-esm/samples-dev/redisEnterpriseGetPrivateEndpointConnection.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseList.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterpriseList.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseList.js +43 -0
- package/dist-esm/samples-dev/redisEnterpriseList.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseListByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterpriseListByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseListByResourceGroup.js +44 -0
- package/dist-esm/samples-dev/redisEnterpriseListByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseListPrivateEndpointConnections.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterpriseListPrivateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseListPrivateEndpointConnections.js +45 -0
- package/dist-esm/samples-dev/redisEnterpriseListPrivateEndpointConnections.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseListPrivateLinkResources.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterpriseListPrivateLinkResources.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseListPrivateLinkResources.js +45 -0
- package/dist-esm/samples-dev/redisEnterpriseListPrivateLinkResources.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterprisePutPrivateEndpointConnection.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterprisePutPrivateEndpointConnection.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterprisePutPrivateEndpointConnection.js +38 -0
- package/dist-esm/samples-dev/redisEnterprisePutPrivateEndpointConnection.js.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/redisEnterpriseUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/redisEnterpriseUpdate.js +36 -0
- package/dist-esm/samples-dev/redisEnterpriseUpdate.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +818 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +116 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +31 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +455 -508
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +22 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +173 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/databases.d.ts +161 -0
- package/dist-esm/src/operations/databases.d.ts.map +1 -0
- package/dist-esm/src/operations/databases.js +697 -0
- package/dist-esm/src/operations/databases.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/operationsStatus.d.ts +20 -0
- package/dist-esm/src/operations/operationsStatus.d.ts.map +1 -0
- package/dist-esm/src/operations/operationsStatus.js +53 -0
- package/dist-esm/src/operations/operationsStatus.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +71 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +272 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +30 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +99 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/redisEnterprise.d.ts +107 -0
- package/dist-esm/src/operations/redisEnterprise.d.ts.map +1 -0
- package/dist-esm/src/operations/redisEnterprise.js +503 -0
- package/dist-esm/src/operations/redisEnterprise.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/databases.d.ts +136 -0
- package/dist-esm/src/operationsInterfaces/databases.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/databases.js} +2 -1
- package/dist-esm/src/operationsInterfaces/databases.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +14 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/{src/models/operationsStatusMappers.ts → dist-esm/src/operationsInterfaces/operations.js} +2 -7
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationsStatus.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/operationsStatus.d.ts.map +1 -0
- package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/operationsStatus.js} +2 -9
- package/dist-esm/src/operationsInterfaces/operationsStatus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +54 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/{esm/models/operationsStatusMappers.js → dist-esm/src/operationsInterfaces/privateEndpointConnections.js} +2 -2
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/redisEnterprise.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/redisEnterprise.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/redisEnterprise.js +9 -0
- package/dist-esm/src/operationsInterfaces/redisEnterprise.js.map +1 -0
- package/dist-esm/src/redisEnterpriseManagementClient.d.ts +23 -0
- package/dist-esm/src/redisEnterpriseManagementClient.d.ts.map +1 -0
- package/dist-esm/src/redisEnterpriseManagementClient.js +56 -0
- package/dist-esm/src/redisEnterpriseManagementClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +82 -22
- package/review/arm-redisenterprisecache.api.md +705 -0
- package/rollup.config.js +181 -30
- package/{esm/models/operationsMappers.js → src/index.ts} +5 -2
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +694 -1077
- package/src/models/mappers.ts +447 -504
- package/src/models/parameters.ts +131 -47
- package/src/operations/databases.ts +779 -429
- package/src/operations/index.ts +1 -2
- package/src/operations/operations.ts +85 -73
- package/src/operations/operationsStatus.ts +37 -51
- package/src/operations/privateEndpointConnections.ts +252 -176
- package/src/operations/privateLinkResources.ts +96 -47
- package/src/operations/redisEnterprise.ts +517 -322
- package/src/operationsInterfaces/databases.ts +264 -0
- package/src/operationsInterfaces/index.ts +14 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/operationsStatus.ts +27 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +102 -0
- package/src/operationsInterfaces/privateLinkResources.ts +29 -0
- package/src/operationsInterfaces/redisEnterprise.ts +139 -0
- package/src/redisEnterpriseManagementClient.ts +84 -36
- package/tsconfig.json +5 -4
- package/types/arm-redisenterprisecache.d.ts +1229 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-redisenterprisecache.js +0 -2644
- package/dist/arm-redisenterprisecache.js.map +0 -1
- package/dist/arm-redisenterprisecache.min.js +0 -1
- package/dist/arm-redisenterprisecache.min.js.map +0 -1
- package/esm/models/databasesMappers.d.ts +0 -2
- package/esm/models/databasesMappers.d.ts.map +0 -1
- package/esm/models/databasesMappers.js +0 -9
- package/esm/models/databasesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1215
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -34
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/operationsStatusMappers.d.ts +0 -2
- package/esm/models/operationsStatusMappers.d.ts.map +0 -1
- package/esm/models/operationsStatusMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -12
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -121
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
- package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.js +0 -9
- package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
- package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/privateLinkResourcesMappers.js +0 -9
- package/esm/models/privateLinkResourcesMappers.js.map +0 -1
- package/esm/models/redisEnterpriseMappers.d.ts +0 -2
- package/esm/models/redisEnterpriseMappers.d.ts.map +0 -1
- package/esm/models/redisEnterpriseMappers.js +0 -9
- package/esm/models/redisEnterpriseMappers.js.map +0 -1
- package/esm/operations/databases.d.ts +0 -219
- package/esm/operations/databases.d.ts.map +0 -1
- package/esm/operations/databases.js +0 -515
- package/esm/operations/databases.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -79
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/operationsStatus.d.ts +0 -34
- package/esm/operations/operationsStatus.d.ts.map +0 -1
- package/esm/operations/operationsStatus.js +0 -57
- package/esm/operations/operationsStatus.js.map +0 -1
- package/esm/operations/privateEndpointConnections.d.ts +0 -113
- package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/esm/operations/privateEndpointConnections.js +0 -187
- package/esm/operations/privateEndpointConnections.js.map +0 -1
- package/esm/operations/privateLinkResources.d.ts +0 -34
- package/esm/operations/privateLinkResources.d.ts.map +0 -1
- package/esm/operations/privateLinkResources.js +0 -57
- package/esm/operations/privateLinkResources.js.map +0 -1
- package/esm/operations/redisEnterprise.d.ts +0 -156
- package/esm/operations/redisEnterprise.d.ts.map +0 -1
- package/esm/operations/redisEnterprise.js +0 -337
- package/esm/operations/redisEnterprise.js.map +0 -1
- package/esm/redisEnterpriseManagementClient.d.ts +0 -23
- package/esm/redisEnterpriseManagementClient.d.ts.map +0 -1
- package/esm/redisEnterpriseManagementClient.js +0 -37
- package/esm/redisEnterpriseManagementClient.js.map +0 -1
- package/esm/redisEnterpriseManagementClientContext.d.ts +0 -16
- package/esm/redisEnterpriseManagementClientContext.d.ts.map +0 -1
- package/esm/redisEnterpriseManagementClientContext.js +0 -55
- package/esm/redisEnterpriseManagementClientContext.js.map +0 -1
- package/src/models/databasesMappers.ts +0 -33
- package/src/models/privateEndpointConnectionsMappers.ts +0 -28
- package/src/models/privateLinkResourcesMappers.ts +0 -28
- package/src/models/redisEnterpriseMappers.ts +0 -29
- package/src/redisEnterpriseManagementClientContext.ts +0 -61
|
@@ -0,0 +1,503 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
import { LroEngine } from "@azure/core-lro";
|
|
13
|
+
import { LroImpl } from "../lroImpl";
|
|
14
|
+
/// <reference lib="esnext.asynciterable" />
|
|
15
|
+
/** Class containing RedisEnterprise operations. */
|
|
16
|
+
export class RedisEnterpriseImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class RedisEnterprise class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Lists all RedisEnterprise clusters in a resource group.
|
|
26
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
30
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
31
|
+
return {
|
|
32
|
+
next() {
|
|
33
|
+
return iter.next();
|
|
34
|
+
},
|
|
35
|
+
[Symbol.asyncIterator]() {
|
|
36
|
+
return this;
|
|
37
|
+
},
|
|
38
|
+
byPage: () => {
|
|
39
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
44
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
45
|
+
let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
46
|
+
yield yield __await(result.value || []);
|
|
47
|
+
let continuationToken = result.nextLink;
|
|
48
|
+
while (continuationToken) {
|
|
49
|
+
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
50
|
+
continuationToken = result.nextLink;
|
|
51
|
+
yield yield __await(result.value || []);
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
56
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
57
|
+
var e_1, _a;
|
|
58
|
+
try {
|
|
59
|
+
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
60
|
+
const page = _c.value;
|
|
61
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
65
|
+
finally {
|
|
66
|
+
try {
|
|
67
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
68
|
+
}
|
|
69
|
+
finally { if (e_1) throw e_1.error; }
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Gets all RedisEnterprise clusters in the specified subscription.
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
list(options) {
|
|
78
|
+
const iter = this.listPagingAll(options);
|
|
79
|
+
return {
|
|
80
|
+
next() {
|
|
81
|
+
return iter.next();
|
|
82
|
+
},
|
|
83
|
+
[Symbol.asyncIterator]() {
|
|
84
|
+
return this;
|
|
85
|
+
},
|
|
86
|
+
byPage: () => {
|
|
87
|
+
return this.listPagingPage(options);
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
listPagingPage(options) {
|
|
92
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
93
|
+
let result = yield __await(this._list(options));
|
|
94
|
+
yield yield __await(result.value || []);
|
|
95
|
+
let continuationToken = result.nextLink;
|
|
96
|
+
while (continuationToken) {
|
|
97
|
+
result = yield __await(this._listNext(continuationToken, options));
|
|
98
|
+
continuationToken = result.nextLink;
|
|
99
|
+
yield yield __await(result.value || []);
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
listPagingAll(options) {
|
|
104
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
105
|
+
var e_2, _a;
|
|
106
|
+
try {
|
|
107
|
+
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
108
|
+
const page = _c.value;
|
|
109
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
113
|
+
finally {
|
|
114
|
+
try {
|
|
115
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
116
|
+
}
|
|
117
|
+
finally { if (e_2) throw e_2.error; }
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
|
|
123
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
124
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
125
|
+
* @param parameters Parameters supplied to the Create RedisEnterprise operation.
|
|
126
|
+
* @param options The options parameters.
|
|
127
|
+
*/
|
|
128
|
+
beginCreate(resourceGroupName, clusterName, parameters, options) {
|
|
129
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
130
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
131
|
+
return this.client.sendOperationRequest(args, spec);
|
|
132
|
+
});
|
|
133
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
134
|
+
var _a;
|
|
135
|
+
let currentRawResponse = undefined;
|
|
136
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
137
|
+
const callback = (rawResponse, flatResponse) => {
|
|
138
|
+
currentRawResponse = rawResponse;
|
|
139
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
140
|
+
};
|
|
141
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
142
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
143
|
+
return {
|
|
144
|
+
flatResponse,
|
|
145
|
+
rawResponse: {
|
|
146
|
+
statusCode: currentRawResponse.status,
|
|
147
|
+
body: currentRawResponse.parsedBody,
|
|
148
|
+
headers: currentRawResponse.headers.toJSON()
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
});
|
|
152
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, parameters, options }, createOperationSpec);
|
|
153
|
+
return new LroEngine(lro, {
|
|
154
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
155
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
156
|
+
lroResourceLocationConfig: "original-uri"
|
|
157
|
+
});
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
|
|
162
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
163
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
164
|
+
* @param parameters Parameters supplied to the Create RedisEnterprise operation.
|
|
165
|
+
* @param options The options parameters.
|
|
166
|
+
*/
|
|
167
|
+
beginCreateAndWait(resourceGroupName, clusterName, parameters, options) {
|
|
168
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
169
|
+
const poller = yield this.beginCreate(resourceGroupName, clusterName, parameters, options);
|
|
170
|
+
return poller.pollUntilDone();
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Updates an existing RedisEnterprise cluster
|
|
175
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
176
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
177
|
+
* @param parameters Parameters supplied to the Update RedisEnterprise operation.
|
|
178
|
+
* @param options The options parameters.
|
|
179
|
+
*/
|
|
180
|
+
beginUpdate(resourceGroupName, clusterName, parameters, options) {
|
|
181
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
182
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
183
|
+
return this.client.sendOperationRequest(args, spec);
|
|
184
|
+
});
|
|
185
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
186
|
+
var _a;
|
|
187
|
+
let currentRawResponse = undefined;
|
|
188
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
189
|
+
const callback = (rawResponse, flatResponse) => {
|
|
190
|
+
currentRawResponse = rawResponse;
|
|
191
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
192
|
+
};
|
|
193
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
194
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
195
|
+
return {
|
|
196
|
+
flatResponse,
|
|
197
|
+
rawResponse: {
|
|
198
|
+
statusCode: currentRawResponse.status,
|
|
199
|
+
body: currentRawResponse.parsedBody,
|
|
200
|
+
headers: currentRawResponse.headers.toJSON()
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
});
|
|
204
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, parameters, options }, updateOperationSpec);
|
|
205
|
+
return new LroEngine(lro, {
|
|
206
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
207
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
208
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
209
|
+
});
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Updates an existing RedisEnterprise cluster
|
|
214
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
215
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
216
|
+
* @param parameters Parameters supplied to the Update RedisEnterprise operation.
|
|
217
|
+
* @param options The options parameters.
|
|
218
|
+
*/
|
|
219
|
+
beginUpdateAndWait(resourceGroupName, clusterName, parameters, options) {
|
|
220
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
221
|
+
const poller = yield this.beginUpdate(resourceGroupName, clusterName, parameters, options);
|
|
222
|
+
return poller.pollUntilDone();
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Deletes a RedisEnterprise cache cluster.
|
|
227
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
228
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
229
|
+
* @param options The options parameters.
|
|
230
|
+
*/
|
|
231
|
+
beginDelete(resourceGroupName, clusterName, options) {
|
|
232
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
233
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
234
|
+
return this.client.sendOperationRequest(args, spec);
|
|
235
|
+
});
|
|
236
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
237
|
+
var _a;
|
|
238
|
+
let currentRawResponse = undefined;
|
|
239
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
240
|
+
const callback = (rawResponse, flatResponse) => {
|
|
241
|
+
currentRawResponse = rawResponse;
|
|
242
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
243
|
+
};
|
|
244
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
245
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
246
|
+
return {
|
|
247
|
+
flatResponse,
|
|
248
|
+
rawResponse: {
|
|
249
|
+
statusCode: currentRawResponse.status,
|
|
250
|
+
body: currentRawResponse.parsedBody,
|
|
251
|
+
headers: currentRawResponse.headers.toJSON()
|
|
252
|
+
}
|
|
253
|
+
};
|
|
254
|
+
});
|
|
255
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, options }, deleteOperationSpec);
|
|
256
|
+
return new LroEngine(lro, {
|
|
257
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
258
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
259
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
260
|
+
});
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Deletes a RedisEnterprise cache cluster.
|
|
265
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
266
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
267
|
+
* @param options The options parameters.
|
|
268
|
+
*/
|
|
269
|
+
beginDeleteAndWait(resourceGroupName, clusterName, options) {
|
|
270
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
271
|
+
const poller = yield this.beginDelete(resourceGroupName, clusterName, options);
|
|
272
|
+
return poller.pollUntilDone();
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* Gets information about a RedisEnterprise cluster
|
|
277
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
278
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
279
|
+
* @param options The options parameters.
|
|
280
|
+
*/
|
|
281
|
+
get(resourceGroupName, clusterName, options) {
|
|
282
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, getOperationSpec);
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* Lists all RedisEnterprise clusters in a resource group.
|
|
286
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
287
|
+
* @param options The options parameters.
|
|
288
|
+
*/
|
|
289
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
290
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* Gets all RedisEnterprise clusters in the specified subscription.
|
|
294
|
+
* @param options The options parameters.
|
|
295
|
+
*/
|
|
296
|
+
_list(options) {
|
|
297
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* ListByResourceGroupNext
|
|
301
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
302
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
303
|
+
* @param options The options parameters.
|
|
304
|
+
*/
|
|
305
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
306
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* ListNext
|
|
310
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
311
|
+
* @param options The options parameters.
|
|
312
|
+
*/
|
|
313
|
+
_listNext(nextLink, options) {
|
|
314
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
// Operation Specifications
|
|
318
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
319
|
+
const createOperationSpec = {
|
|
320
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
|
|
321
|
+
httpMethod: "PUT",
|
|
322
|
+
responses: {
|
|
323
|
+
200: {
|
|
324
|
+
bodyMapper: Mappers.Cluster
|
|
325
|
+
},
|
|
326
|
+
201: {
|
|
327
|
+
bodyMapper: Mappers.Cluster
|
|
328
|
+
},
|
|
329
|
+
202: {
|
|
330
|
+
bodyMapper: Mappers.Cluster
|
|
331
|
+
},
|
|
332
|
+
204: {
|
|
333
|
+
bodyMapper: Mappers.Cluster
|
|
334
|
+
},
|
|
335
|
+
default: {
|
|
336
|
+
bodyMapper: Mappers.ErrorResponse
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
requestBody: Parameters.parameters,
|
|
340
|
+
queryParameters: [Parameters.apiVersion],
|
|
341
|
+
urlParameters: [
|
|
342
|
+
Parameters.$host,
|
|
343
|
+
Parameters.subscriptionId,
|
|
344
|
+
Parameters.resourceGroupName,
|
|
345
|
+
Parameters.clusterName
|
|
346
|
+
],
|
|
347
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
348
|
+
mediaType: "json",
|
|
349
|
+
serializer
|
|
350
|
+
};
|
|
351
|
+
const updateOperationSpec = {
|
|
352
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
|
|
353
|
+
httpMethod: "PATCH",
|
|
354
|
+
responses: {
|
|
355
|
+
200: {
|
|
356
|
+
bodyMapper: Mappers.Cluster
|
|
357
|
+
},
|
|
358
|
+
201: {
|
|
359
|
+
bodyMapper: Mappers.Cluster
|
|
360
|
+
},
|
|
361
|
+
202: {
|
|
362
|
+
bodyMapper: Mappers.Cluster
|
|
363
|
+
},
|
|
364
|
+
204: {
|
|
365
|
+
bodyMapper: Mappers.Cluster
|
|
366
|
+
},
|
|
367
|
+
default: {
|
|
368
|
+
bodyMapper: Mappers.ErrorResponse
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
requestBody: Parameters.parameters1,
|
|
372
|
+
queryParameters: [Parameters.apiVersion],
|
|
373
|
+
urlParameters: [
|
|
374
|
+
Parameters.$host,
|
|
375
|
+
Parameters.subscriptionId,
|
|
376
|
+
Parameters.resourceGroupName,
|
|
377
|
+
Parameters.clusterName
|
|
378
|
+
],
|
|
379
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
380
|
+
mediaType: "json",
|
|
381
|
+
serializer
|
|
382
|
+
};
|
|
383
|
+
const deleteOperationSpec = {
|
|
384
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
|
|
385
|
+
httpMethod: "DELETE",
|
|
386
|
+
responses: {
|
|
387
|
+
200: {},
|
|
388
|
+
201: {},
|
|
389
|
+
202: {},
|
|
390
|
+
204: {},
|
|
391
|
+
default: {
|
|
392
|
+
bodyMapper: Mappers.ErrorResponse
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
queryParameters: [Parameters.apiVersion],
|
|
396
|
+
urlParameters: [
|
|
397
|
+
Parameters.$host,
|
|
398
|
+
Parameters.subscriptionId,
|
|
399
|
+
Parameters.resourceGroupName,
|
|
400
|
+
Parameters.clusterName
|
|
401
|
+
],
|
|
402
|
+
headerParameters: [Parameters.accept],
|
|
403
|
+
serializer
|
|
404
|
+
};
|
|
405
|
+
const getOperationSpec = {
|
|
406
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}",
|
|
407
|
+
httpMethod: "GET",
|
|
408
|
+
responses: {
|
|
409
|
+
200: {
|
|
410
|
+
bodyMapper: Mappers.Cluster
|
|
411
|
+
},
|
|
412
|
+
default: {
|
|
413
|
+
bodyMapper: Mappers.ErrorResponse
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
queryParameters: [Parameters.apiVersion],
|
|
417
|
+
urlParameters: [
|
|
418
|
+
Parameters.$host,
|
|
419
|
+
Parameters.subscriptionId,
|
|
420
|
+
Parameters.resourceGroupName,
|
|
421
|
+
Parameters.clusterName
|
|
422
|
+
],
|
|
423
|
+
headerParameters: [Parameters.accept],
|
|
424
|
+
serializer
|
|
425
|
+
};
|
|
426
|
+
const listByResourceGroupOperationSpec = {
|
|
427
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise",
|
|
428
|
+
httpMethod: "GET",
|
|
429
|
+
responses: {
|
|
430
|
+
200: {
|
|
431
|
+
bodyMapper: Mappers.ClusterList
|
|
432
|
+
},
|
|
433
|
+
default: {
|
|
434
|
+
bodyMapper: Mappers.ErrorResponse
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
queryParameters: [Parameters.apiVersion],
|
|
438
|
+
urlParameters: [
|
|
439
|
+
Parameters.$host,
|
|
440
|
+
Parameters.subscriptionId,
|
|
441
|
+
Parameters.resourceGroupName
|
|
442
|
+
],
|
|
443
|
+
headerParameters: [Parameters.accept],
|
|
444
|
+
serializer
|
|
445
|
+
};
|
|
446
|
+
const listOperationSpec = {
|
|
447
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/redisEnterprise",
|
|
448
|
+
httpMethod: "GET",
|
|
449
|
+
responses: {
|
|
450
|
+
200: {
|
|
451
|
+
bodyMapper: Mappers.ClusterList
|
|
452
|
+
},
|
|
453
|
+
default: {
|
|
454
|
+
bodyMapper: Mappers.ErrorResponse
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
queryParameters: [Parameters.apiVersion],
|
|
458
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
459
|
+
headerParameters: [Parameters.accept],
|
|
460
|
+
serializer
|
|
461
|
+
};
|
|
462
|
+
const listByResourceGroupNextOperationSpec = {
|
|
463
|
+
path: "{nextLink}",
|
|
464
|
+
httpMethod: "GET",
|
|
465
|
+
responses: {
|
|
466
|
+
200: {
|
|
467
|
+
bodyMapper: Mappers.ClusterList
|
|
468
|
+
},
|
|
469
|
+
default: {
|
|
470
|
+
bodyMapper: Mappers.ErrorResponse
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
queryParameters: [Parameters.apiVersion],
|
|
474
|
+
urlParameters: [
|
|
475
|
+
Parameters.$host,
|
|
476
|
+
Parameters.nextLink,
|
|
477
|
+
Parameters.subscriptionId,
|
|
478
|
+
Parameters.resourceGroupName
|
|
479
|
+
],
|
|
480
|
+
headerParameters: [Parameters.accept],
|
|
481
|
+
serializer
|
|
482
|
+
};
|
|
483
|
+
const listNextOperationSpec = {
|
|
484
|
+
path: "{nextLink}",
|
|
485
|
+
httpMethod: "GET",
|
|
486
|
+
responses: {
|
|
487
|
+
200: {
|
|
488
|
+
bodyMapper: Mappers.ClusterList
|
|
489
|
+
},
|
|
490
|
+
default: {
|
|
491
|
+
bodyMapper: Mappers.ErrorResponse
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
queryParameters: [Parameters.apiVersion],
|
|
495
|
+
urlParameters: [
|
|
496
|
+
Parameters.$host,
|
|
497
|
+
Parameters.nextLink,
|
|
498
|
+
Parameters.subscriptionId
|
|
499
|
+
],
|
|
500
|
+
headerParameters: [Parameters.accept],
|
|
501
|
+
serializer
|
|
502
|
+
};
|
|
503
|
+
//# sourceMappingURL=redisEnterprise.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redisEnterprise.js","sourceRoot":"","sources":["../../../src/operations/redisEnterprise.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAqBrC,4CAA4C;AAC5C,mDAAmD;AACnD,MAAM,OAAO,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAAuC;QACjD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAA0D;QAE1D,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CA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KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
3
|
+
import { Database, DatabasesListByClusterOptionalParams, DatabasesCreateOptionalParams, DatabasesCreateResponse, DatabaseUpdate, DatabasesUpdateOptionalParams, DatabasesUpdateResponse, DatabasesGetOptionalParams, DatabasesGetResponse, DatabasesDeleteOptionalParams, DatabasesListKeysOptionalParams, DatabasesListKeysResponse, RegenerateKeyParameters, DatabasesRegenerateKeyOptionalParams, DatabasesRegenerateKeyResponse, ImportClusterParameters, DatabasesImportOptionalParams, ExportClusterParameters, DatabasesExportOptionalParams } from "../models";
|
|
4
|
+
/** Interface representing a Databases. */
|
|
5
|
+
export interface Databases {
|
|
6
|
+
/**
|
|
7
|
+
* Gets all databases in the specified RedisEnterprise cluster.
|
|
8
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
10
|
+
* @param options The options parameters.
|
|
11
|
+
*/
|
|
12
|
+
listByCluster(resourceGroupName: string, clusterName: string, options?: DatabasesListByClusterOptionalParams): PagedAsyncIterableIterator<Database>;
|
|
13
|
+
/**
|
|
14
|
+
* Creates a database
|
|
15
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
17
|
+
* @param databaseName The name of the database.
|
|
18
|
+
* @param parameters Parameters supplied to the create or update database operation.
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
beginCreate(resourceGroupName: string, clusterName: string, databaseName: string, parameters: Database, options?: DatabasesCreateOptionalParams): Promise<PollerLike<PollOperationState<DatabasesCreateResponse>, DatabasesCreateResponse>>;
|
|
22
|
+
/**
|
|
23
|
+
* Creates a database
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
26
|
+
* @param databaseName The name of the database.
|
|
27
|
+
* @param parameters Parameters supplied to the create or update database operation.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
beginCreateAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: Database, options?: DatabasesCreateOptionalParams): Promise<DatabasesCreateResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Updates a database
|
|
33
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
35
|
+
* @param databaseName The name of the database.
|
|
36
|
+
* @param parameters Parameters supplied to the create or update database operation.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
beginUpdate(resourceGroupName: string, clusterName: string, databaseName: string, parameters: DatabaseUpdate, options?: DatabasesUpdateOptionalParams): Promise<PollerLike<PollOperationState<DatabasesUpdateResponse>, DatabasesUpdateResponse>>;
|
|
40
|
+
/**
|
|
41
|
+
* Updates a database
|
|
42
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
43
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
44
|
+
* @param databaseName The name of the database.
|
|
45
|
+
* @param parameters Parameters supplied to the create or update database operation.
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
beginUpdateAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: DatabaseUpdate, options?: DatabasesUpdateOptionalParams): Promise<DatabasesUpdateResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* Gets information about a database in a RedisEnterprise cluster.
|
|
51
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
52
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
53
|
+
* @param databaseName The name of the database.
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
get(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesGetOptionalParams): Promise<DatabasesGetResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* Deletes a single database
|
|
59
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
60
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
61
|
+
* @param databaseName The name of the database.
|
|
62
|
+
* @param options The options parameters.
|
|
63
|
+
*/
|
|
64
|
+
beginDelete(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
65
|
+
/**
|
|
66
|
+
* Deletes a single database
|
|
67
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
68
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
69
|
+
* @param databaseName The name of the database.
|
|
70
|
+
* @param options The options parameters.
|
|
71
|
+
*/
|
|
72
|
+
beginDeleteAndWait(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<void>;
|
|
73
|
+
/**
|
|
74
|
+
* Retrieves the access keys for the RedisEnterprise database.
|
|
75
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
76
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
77
|
+
* @param databaseName The name of the database.
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
listKeys(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesListKeysOptionalParams): Promise<DatabasesListKeysResponse>;
|
|
81
|
+
/**
|
|
82
|
+
* Regenerates the RedisEnterprise database's access keys.
|
|
83
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
84
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
85
|
+
* @param databaseName The name of the database.
|
|
86
|
+
* @param parameters Specifies which key to regenerate.
|
|
87
|
+
* @param options The options parameters.
|
|
88
|
+
*/
|
|
89
|
+
beginRegenerateKey(resourceGroupName: string, clusterName: string, databaseName: string, parameters: RegenerateKeyParameters, options?: DatabasesRegenerateKeyOptionalParams): Promise<PollerLike<PollOperationState<DatabasesRegenerateKeyResponse>, DatabasesRegenerateKeyResponse>>;
|
|
90
|
+
/**
|
|
91
|
+
* Regenerates the RedisEnterprise database's access keys.
|
|
92
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
93
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
94
|
+
* @param databaseName The name of the database.
|
|
95
|
+
* @param parameters Specifies which key to regenerate.
|
|
96
|
+
* @param options The options parameters.
|
|
97
|
+
*/
|
|
98
|
+
beginRegenerateKeyAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: RegenerateKeyParameters, options?: DatabasesRegenerateKeyOptionalParams): Promise<DatabasesRegenerateKeyResponse>;
|
|
99
|
+
/**
|
|
100
|
+
* Imports database files to target database.
|
|
101
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
102
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
103
|
+
* @param databaseName The name of the database.
|
|
104
|
+
* @param parameters Storage information for importing into the cluster
|
|
105
|
+
* @param options The options parameters.
|
|
106
|
+
*/
|
|
107
|
+
beginImport(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ImportClusterParameters, options?: DatabasesImportOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
108
|
+
/**
|
|
109
|
+
* Imports database files to target database.
|
|
110
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
111
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
112
|
+
* @param databaseName The name of the database.
|
|
113
|
+
* @param parameters Storage information for importing into the cluster
|
|
114
|
+
* @param options The options parameters.
|
|
115
|
+
*/
|
|
116
|
+
beginImportAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ImportClusterParameters, options?: DatabasesImportOptionalParams): Promise<void>;
|
|
117
|
+
/**
|
|
118
|
+
* Exports a database file from target database.
|
|
119
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
120
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
121
|
+
* @param databaseName The name of the database.
|
|
122
|
+
* @param parameters Storage information for exporting into the cluster
|
|
123
|
+
* @param options The options parameters.
|
|
124
|
+
*/
|
|
125
|
+
beginExport(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ExportClusterParameters, options?: DatabasesExportOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
126
|
+
/**
|
|
127
|
+
* Exports a database file from target database.
|
|
128
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
129
|
+
* @param clusterName The name of the RedisEnterprise cluster.
|
|
130
|
+
* @param databaseName The name of the database.
|
|
131
|
+
* @param parameters Storage information for exporting into the cluster
|
|
132
|
+
* @param options The options parameters.
|
|
133
|
+
*/
|
|
134
|
+
beginExportAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ExportClusterParameters, options?: DatabasesExportOptionalParams): Promise<void>;
|
|
135
|
+
}
|
|
136
|
+
//# sourceMappingURL=databases.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"databases.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/databases.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,QAAQ,EACR,oCAAoC,EACpC,6BAA6B,EAC7B,uBAAuB,EACvB,cAAc,EACd,6BAA6B,EAC7B,uBAAuB,EACvB,0BAA0B,EAC1B,oBAAoB,EACpB,6BAA6B,EAC7B,+BAA+B,EAC/B,yBAAyB,EACzB,uBAAuB,EACvB,oCAAoC,EACpC,8BAA8B,EAC9B,uBAAuB,EACvB,6BAA6B,EAC7B,uBAAuB,EACvB,6BAA6B,EAC9B,MAAM,WAAW,CAAC;AAGnB,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;;OAKG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,0BAA0B,CAAC,QAAQ,CAAC,CAAC;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