@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
|
@@ -1,515 +0,0 @@
|
|
|
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
|
|
7
|
-
* regenerated.
|
|
8
|
-
*/
|
|
9
|
-
import { __assign } from "tslib";
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
-
import * as Mappers from "../models/databasesMappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
/** Class representing a Databases. */
|
|
14
|
-
var Databases = /** @class */ (function () {
|
|
15
|
-
/**
|
|
16
|
-
* Create a Databases.
|
|
17
|
-
* @param {RedisEnterpriseManagementClientContext} client Reference to the service client.
|
|
18
|
-
*/
|
|
19
|
-
function Databases(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
Databases.prototype.listByCluster = function (resourceGroupName, clusterName, options, callback) {
|
|
23
|
-
return this.client.sendOperationRequest({
|
|
24
|
-
resourceGroupName: resourceGroupName,
|
|
25
|
-
clusterName: clusterName,
|
|
26
|
-
options: options
|
|
27
|
-
}, listByClusterOperationSpec, callback);
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Creates a database
|
|
31
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
32
|
-
* @param clusterName The name of the RedisEnterprise cluster.
|
|
33
|
-
* @param databaseName The name of the database.
|
|
34
|
-
* @param parameters Parameters supplied to the create or update database operation.
|
|
35
|
-
* @param [options] The optional parameters
|
|
36
|
-
* @returns Promise<Models.DatabasesCreateResponse>
|
|
37
|
-
*/
|
|
38
|
-
Databases.prototype.create = function (resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
39
|
-
return this.beginCreate(resourceGroupName, clusterName, databaseName, parameters, options)
|
|
40
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* Updates a database
|
|
44
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
45
|
-
* @param clusterName The name of the RedisEnterprise cluster.
|
|
46
|
-
* @param databaseName The name of the database.
|
|
47
|
-
* @param parameters Parameters supplied to the create or update database operation.
|
|
48
|
-
* @param [options] The optional parameters
|
|
49
|
-
* @returns Promise<Models.DatabasesUpdateResponse>
|
|
50
|
-
*/
|
|
51
|
-
Databases.prototype.update = function (resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
52
|
-
return this.beginUpdate(resourceGroupName, clusterName, databaseName, parameters, options)
|
|
53
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
54
|
-
};
|
|
55
|
-
Databases.prototype.get = function (resourceGroupName, clusterName, databaseName, options, callback) {
|
|
56
|
-
return this.client.sendOperationRequest({
|
|
57
|
-
resourceGroupName: resourceGroupName,
|
|
58
|
-
clusterName: clusterName,
|
|
59
|
-
databaseName: databaseName,
|
|
60
|
-
options: options
|
|
61
|
-
}, getOperationSpec, callback);
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Deletes a single database
|
|
65
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
66
|
-
* @param clusterName The name of the RedisEnterprise cluster.
|
|
67
|
-
* @param databaseName The name of the database.
|
|
68
|
-
* @param [options] The optional parameters
|
|
69
|
-
* @returns Promise<msRest.RestResponse>
|
|
70
|
-
*/
|
|
71
|
-
Databases.prototype.deleteMethod = function (resourceGroupName, clusterName, databaseName, options) {
|
|
72
|
-
return this.beginDeleteMethod(resourceGroupName, clusterName, databaseName, options)
|
|
73
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
74
|
-
};
|
|
75
|
-
Databases.prototype.listKeys = function (resourceGroupName, clusterName, databaseName, options, callback) {
|
|
76
|
-
return this.client.sendOperationRequest({
|
|
77
|
-
resourceGroupName: resourceGroupName,
|
|
78
|
-
clusterName: clusterName,
|
|
79
|
-
databaseName: databaseName,
|
|
80
|
-
options: options
|
|
81
|
-
}, listKeysOperationSpec, callback);
|
|
82
|
-
};
|
|
83
|
-
/**
|
|
84
|
-
* Regenerates the RedisEnterprise database's access keys.
|
|
85
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
86
|
-
* @param clusterName The name of the RedisEnterprise cluster.
|
|
87
|
-
* @param databaseName The name of the database.
|
|
88
|
-
* @param keyType Which access key to regenerate. Possible values include: 'Primary', 'Secondary'
|
|
89
|
-
* @param [options] The optional parameters
|
|
90
|
-
* @returns Promise<Models.DatabasesRegenerateKeyResponse>
|
|
91
|
-
*/
|
|
92
|
-
Databases.prototype.regenerateKey = function (resourceGroupName, clusterName, databaseName, keyType, options) {
|
|
93
|
-
return this.beginRegenerateKey(resourceGroupName, clusterName, databaseName, keyType, options)
|
|
94
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
|
-
* Imports a database file to target database.
|
|
98
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
99
|
-
* @param clusterName The name of the RedisEnterprise cluster.
|
|
100
|
-
* @param databaseName The name of the database.
|
|
101
|
-
* @param sasUri SAS URI for the target blob to import from
|
|
102
|
-
* @param [options] The optional parameters
|
|
103
|
-
* @returns Promise<msRest.RestResponse>
|
|
104
|
-
*/
|
|
105
|
-
Databases.prototype.importMethod = function (resourceGroupName, clusterName, databaseName, sasUri, options) {
|
|
106
|
-
return this.beginImportMethod(resourceGroupName, clusterName, databaseName, sasUri, options)
|
|
107
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
108
|
-
};
|
|
109
|
-
/**
|
|
110
|
-
* Exports a database file from target database.
|
|
111
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
112
|
-
* @param clusterName The name of the RedisEnterprise cluster.
|
|
113
|
-
* @param databaseName The name of the database.
|
|
114
|
-
* @param sasUri SAS URI for the target directory to export to
|
|
115
|
-
* @param [options] The optional parameters
|
|
116
|
-
* @returns Promise<msRest.RestResponse>
|
|
117
|
-
*/
|
|
118
|
-
Databases.prototype.exportMethod = function (resourceGroupName, clusterName, databaseName, sasUri, options) {
|
|
119
|
-
return this.beginExportMethod(resourceGroupName, clusterName, databaseName, sasUri, options)
|
|
120
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
121
|
-
};
|
|
122
|
-
/**
|
|
123
|
-
* Creates a database
|
|
124
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
125
|
-
* @param clusterName The name of the RedisEnterprise cluster.
|
|
126
|
-
* @param databaseName The name of the database.
|
|
127
|
-
* @param parameters Parameters supplied to the create or update database operation.
|
|
128
|
-
* @param [options] The optional parameters
|
|
129
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
130
|
-
*/
|
|
131
|
-
Databases.prototype.beginCreate = function (resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
132
|
-
return this.client.sendLRORequest({
|
|
133
|
-
resourceGroupName: resourceGroupName,
|
|
134
|
-
clusterName: clusterName,
|
|
135
|
-
databaseName: databaseName,
|
|
136
|
-
parameters: parameters,
|
|
137
|
-
options: options
|
|
138
|
-
}, beginCreateOperationSpec, options);
|
|
139
|
-
};
|
|
140
|
-
/**
|
|
141
|
-
* Updates a database
|
|
142
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
143
|
-
* @param clusterName The name of the RedisEnterprise cluster.
|
|
144
|
-
* @param databaseName The name of the database.
|
|
145
|
-
* @param parameters Parameters supplied to the create or update database operation.
|
|
146
|
-
* @param [options] The optional parameters
|
|
147
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
148
|
-
*/
|
|
149
|
-
Databases.prototype.beginUpdate = function (resourceGroupName, clusterName, databaseName, parameters, options) {
|
|
150
|
-
return this.client.sendLRORequest({
|
|
151
|
-
resourceGroupName: resourceGroupName,
|
|
152
|
-
clusterName: clusterName,
|
|
153
|
-
databaseName: databaseName,
|
|
154
|
-
parameters: parameters,
|
|
155
|
-
options: options
|
|
156
|
-
}, beginUpdateOperationSpec, options);
|
|
157
|
-
};
|
|
158
|
-
/**
|
|
159
|
-
* Deletes a single database
|
|
160
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
161
|
-
* @param clusterName The name of the RedisEnterprise cluster.
|
|
162
|
-
* @param databaseName The name of the database.
|
|
163
|
-
* @param [options] The optional parameters
|
|
164
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
165
|
-
*/
|
|
166
|
-
Databases.prototype.beginDeleteMethod = function (resourceGroupName, clusterName, databaseName, options) {
|
|
167
|
-
return this.client.sendLRORequest({
|
|
168
|
-
resourceGroupName: resourceGroupName,
|
|
169
|
-
clusterName: clusterName,
|
|
170
|
-
databaseName: databaseName,
|
|
171
|
-
options: options
|
|
172
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
173
|
-
};
|
|
174
|
-
/**
|
|
175
|
-
* Regenerates the RedisEnterprise database's access keys.
|
|
176
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
177
|
-
* @param clusterName The name of the RedisEnterprise cluster.
|
|
178
|
-
* @param databaseName The name of the database.
|
|
179
|
-
* @param keyType Which access key to regenerate. Possible values include: 'Primary', 'Secondary'
|
|
180
|
-
* @param [options] The optional parameters
|
|
181
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
182
|
-
*/
|
|
183
|
-
Databases.prototype.beginRegenerateKey = function (resourceGroupName, clusterName, databaseName, keyType, options) {
|
|
184
|
-
return this.client.sendLRORequest({
|
|
185
|
-
resourceGroupName: resourceGroupName,
|
|
186
|
-
clusterName: clusterName,
|
|
187
|
-
databaseName: databaseName,
|
|
188
|
-
keyType: keyType,
|
|
189
|
-
options: options
|
|
190
|
-
}, beginRegenerateKeyOperationSpec, options);
|
|
191
|
-
};
|
|
192
|
-
/**
|
|
193
|
-
* Imports a database file to target database.
|
|
194
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
195
|
-
* @param clusterName The name of the RedisEnterprise cluster.
|
|
196
|
-
* @param databaseName The name of the database.
|
|
197
|
-
* @param sasUri SAS URI for the target blob to import from
|
|
198
|
-
* @param [options] The optional parameters
|
|
199
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
200
|
-
*/
|
|
201
|
-
Databases.prototype.beginImportMethod = function (resourceGroupName, clusterName, databaseName, sasUri, options) {
|
|
202
|
-
return this.client.sendLRORequest({
|
|
203
|
-
resourceGroupName: resourceGroupName,
|
|
204
|
-
clusterName: clusterName,
|
|
205
|
-
databaseName: databaseName,
|
|
206
|
-
sasUri: sasUri,
|
|
207
|
-
options: options
|
|
208
|
-
}, beginImportMethodOperationSpec, options);
|
|
209
|
-
};
|
|
210
|
-
/**
|
|
211
|
-
* Exports a database file from target database.
|
|
212
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
213
|
-
* @param clusterName The name of the RedisEnterprise cluster.
|
|
214
|
-
* @param databaseName The name of the database.
|
|
215
|
-
* @param sasUri SAS URI for the target directory to export to
|
|
216
|
-
* @param [options] The optional parameters
|
|
217
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
218
|
-
*/
|
|
219
|
-
Databases.prototype.beginExportMethod = function (resourceGroupName, clusterName, databaseName, sasUri, options) {
|
|
220
|
-
return this.client.sendLRORequest({
|
|
221
|
-
resourceGroupName: resourceGroupName,
|
|
222
|
-
clusterName: clusterName,
|
|
223
|
-
databaseName: databaseName,
|
|
224
|
-
sasUri: sasUri,
|
|
225
|
-
options: options
|
|
226
|
-
}, beginExportMethodOperationSpec, options);
|
|
227
|
-
};
|
|
228
|
-
Databases.prototype.listByClusterNext = function (nextPageLink, options, callback) {
|
|
229
|
-
return this.client.sendOperationRequest({
|
|
230
|
-
nextPageLink: nextPageLink,
|
|
231
|
-
options: options
|
|
232
|
-
}, listByClusterNextOperationSpec, callback);
|
|
233
|
-
};
|
|
234
|
-
return Databases;
|
|
235
|
-
}());
|
|
236
|
-
export { Databases };
|
|
237
|
-
// Operation Specifications
|
|
238
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
239
|
-
var listByClusterOperationSpec = {
|
|
240
|
-
httpMethod: "GET",
|
|
241
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases",
|
|
242
|
-
urlParameters: [
|
|
243
|
-
Parameters.subscriptionId,
|
|
244
|
-
Parameters.resourceGroupName,
|
|
245
|
-
Parameters.clusterName
|
|
246
|
-
],
|
|
247
|
-
queryParameters: [
|
|
248
|
-
Parameters.apiVersion
|
|
249
|
-
],
|
|
250
|
-
headerParameters: [
|
|
251
|
-
Parameters.acceptLanguage
|
|
252
|
-
],
|
|
253
|
-
responses: {
|
|
254
|
-
200: {
|
|
255
|
-
bodyMapper: Mappers.DatabaseList
|
|
256
|
-
},
|
|
257
|
-
default: {
|
|
258
|
-
bodyMapper: Mappers.ErrorResponse
|
|
259
|
-
}
|
|
260
|
-
},
|
|
261
|
-
serializer: serializer
|
|
262
|
-
};
|
|
263
|
-
var getOperationSpec = {
|
|
264
|
-
httpMethod: "GET",
|
|
265
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
266
|
-
urlParameters: [
|
|
267
|
-
Parameters.resourceGroupName,
|
|
268
|
-
Parameters.clusterName,
|
|
269
|
-
Parameters.databaseName,
|
|
270
|
-
Parameters.subscriptionId
|
|
271
|
-
],
|
|
272
|
-
queryParameters: [
|
|
273
|
-
Parameters.apiVersion
|
|
274
|
-
],
|
|
275
|
-
headerParameters: [
|
|
276
|
-
Parameters.acceptLanguage
|
|
277
|
-
],
|
|
278
|
-
responses: {
|
|
279
|
-
200: {
|
|
280
|
-
bodyMapper: Mappers.Database
|
|
281
|
-
},
|
|
282
|
-
default: {
|
|
283
|
-
bodyMapper: Mappers.ErrorResponse
|
|
284
|
-
}
|
|
285
|
-
},
|
|
286
|
-
serializer: serializer
|
|
287
|
-
};
|
|
288
|
-
var listKeysOperationSpec = {
|
|
289
|
-
httpMethod: "POST",
|
|
290
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/listKeys",
|
|
291
|
-
urlParameters: [
|
|
292
|
-
Parameters.resourceGroupName,
|
|
293
|
-
Parameters.clusterName,
|
|
294
|
-
Parameters.databaseName,
|
|
295
|
-
Parameters.subscriptionId
|
|
296
|
-
],
|
|
297
|
-
queryParameters: [
|
|
298
|
-
Parameters.apiVersion
|
|
299
|
-
],
|
|
300
|
-
headerParameters: [
|
|
301
|
-
Parameters.acceptLanguage
|
|
302
|
-
],
|
|
303
|
-
responses: {
|
|
304
|
-
200: {
|
|
305
|
-
bodyMapper: Mappers.AccessKeys
|
|
306
|
-
},
|
|
307
|
-
default: {
|
|
308
|
-
bodyMapper: Mappers.ErrorResponse
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
serializer: serializer
|
|
312
|
-
};
|
|
313
|
-
var beginCreateOperationSpec = {
|
|
314
|
-
httpMethod: "PUT",
|
|
315
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
316
|
-
urlParameters: [
|
|
317
|
-
Parameters.resourceGroupName,
|
|
318
|
-
Parameters.clusterName,
|
|
319
|
-
Parameters.databaseName,
|
|
320
|
-
Parameters.subscriptionId
|
|
321
|
-
],
|
|
322
|
-
queryParameters: [
|
|
323
|
-
Parameters.apiVersion
|
|
324
|
-
],
|
|
325
|
-
headerParameters: [
|
|
326
|
-
Parameters.acceptLanguage
|
|
327
|
-
],
|
|
328
|
-
requestBody: {
|
|
329
|
-
parameterPath: "parameters",
|
|
330
|
-
mapper: __assign(__assign({}, Mappers.Database), { required: true })
|
|
331
|
-
},
|
|
332
|
-
responses: {
|
|
333
|
-
200: {
|
|
334
|
-
bodyMapper: Mappers.Database
|
|
335
|
-
},
|
|
336
|
-
201: {
|
|
337
|
-
bodyMapper: Mappers.Database
|
|
338
|
-
},
|
|
339
|
-
default: {
|
|
340
|
-
bodyMapper: Mappers.ErrorResponse
|
|
341
|
-
}
|
|
342
|
-
},
|
|
343
|
-
serializer: serializer
|
|
344
|
-
};
|
|
345
|
-
var beginUpdateOperationSpec = {
|
|
346
|
-
httpMethod: "PATCH",
|
|
347
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
348
|
-
urlParameters: [
|
|
349
|
-
Parameters.resourceGroupName,
|
|
350
|
-
Parameters.clusterName,
|
|
351
|
-
Parameters.databaseName,
|
|
352
|
-
Parameters.subscriptionId
|
|
353
|
-
],
|
|
354
|
-
queryParameters: [
|
|
355
|
-
Parameters.apiVersion
|
|
356
|
-
],
|
|
357
|
-
headerParameters: [
|
|
358
|
-
Parameters.acceptLanguage
|
|
359
|
-
],
|
|
360
|
-
requestBody: {
|
|
361
|
-
parameterPath: "parameters",
|
|
362
|
-
mapper: __assign(__assign({}, Mappers.DatabaseUpdate), { required: true })
|
|
363
|
-
},
|
|
364
|
-
responses: {
|
|
365
|
-
200: {
|
|
366
|
-
bodyMapper: Mappers.Database
|
|
367
|
-
},
|
|
368
|
-
202: {},
|
|
369
|
-
default: {
|
|
370
|
-
bodyMapper: Mappers.ErrorResponse
|
|
371
|
-
}
|
|
372
|
-
},
|
|
373
|
-
serializer: serializer
|
|
374
|
-
};
|
|
375
|
-
var beginDeleteMethodOperationSpec = {
|
|
376
|
-
httpMethod: "DELETE",
|
|
377
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}",
|
|
378
|
-
urlParameters: [
|
|
379
|
-
Parameters.resourceGroupName,
|
|
380
|
-
Parameters.clusterName,
|
|
381
|
-
Parameters.databaseName,
|
|
382
|
-
Parameters.subscriptionId
|
|
383
|
-
],
|
|
384
|
-
queryParameters: [
|
|
385
|
-
Parameters.apiVersion
|
|
386
|
-
],
|
|
387
|
-
headerParameters: [
|
|
388
|
-
Parameters.acceptLanguage
|
|
389
|
-
],
|
|
390
|
-
responses: {
|
|
391
|
-
200: {},
|
|
392
|
-
202: {},
|
|
393
|
-
204: {},
|
|
394
|
-
default: {
|
|
395
|
-
bodyMapper: Mappers.ErrorResponse
|
|
396
|
-
}
|
|
397
|
-
},
|
|
398
|
-
serializer: serializer
|
|
399
|
-
};
|
|
400
|
-
var beginRegenerateKeyOperationSpec = {
|
|
401
|
-
httpMethod: "POST",
|
|
402
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/regenerateKey",
|
|
403
|
-
urlParameters: [
|
|
404
|
-
Parameters.resourceGroupName,
|
|
405
|
-
Parameters.clusterName,
|
|
406
|
-
Parameters.databaseName,
|
|
407
|
-
Parameters.subscriptionId
|
|
408
|
-
],
|
|
409
|
-
queryParameters: [
|
|
410
|
-
Parameters.apiVersion
|
|
411
|
-
],
|
|
412
|
-
headerParameters: [
|
|
413
|
-
Parameters.acceptLanguage
|
|
414
|
-
],
|
|
415
|
-
requestBody: {
|
|
416
|
-
parameterPath: {
|
|
417
|
-
keyType: "keyType"
|
|
418
|
-
},
|
|
419
|
-
mapper: __assign(__assign({}, Mappers.RegenerateKeyParameters), { required: true })
|
|
420
|
-
},
|
|
421
|
-
responses: {
|
|
422
|
-
200: {
|
|
423
|
-
bodyMapper: Mappers.AccessKeys
|
|
424
|
-
},
|
|
425
|
-
202: {},
|
|
426
|
-
default: {
|
|
427
|
-
bodyMapper: Mappers.ErrorResponse
|
|
428
|
-
}
|
|
429
|
-
},
|
|
430
|
-
serializer: serializer
|
|
431
|
-
};
|
|
432
|
-
var beginImportMethodOperationSpec = {
|
|
433
|
-
httpMethod: "POST",
|
|
434
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/import",
|
|
435
|
-
urlParameters: [
|
|
436
|
-
Parameters.resourceGroupName,
|
|
437
|
-
Parameters.clusterName,
|
|
438
|
-
Parameters.databaseName,
|
|
439
|
-
Parameters.subscriptionId
|
|
440
|
-
],
|
|
441
|
-
queryParameters: [
|
|
442
|
-
Parameters.apiVersion
|
|
443
|
-
],
|
|
444
|
-
headerParameters: [
|
|
445
|
-
Parameters.acceptLanguage
|
|
446
|
-
],
|
|
447
|
-
requestBody: {
|
|
448
|
-
parameterPath: {
|
|
449
|
-
sasUri: "sasUri"
|
|
450
|
-
},
|
|
451
|
-
mapper: __assign(__assign({}, Mappers.ImportClusterParameters), { required: true })
|
|
452
|
-
},
|
|
453
|
-
responses: {
|
|
454
|
-
200: {},
|
|
455
|
-
202: {},
|
|
456
|
-
default: {
|
|
457
|
-
bodyMapper: Mappers.ErrorResponse
|
|
458
|
-
}
|
|
459
|
-
},
|
|
460
|
-
serializer: serializer
|
|
461
|
-
};
|
|
462
|
-
var beginExportMethodOperationSpec = {
|
|
463
|
-
httpMethod: "POST",
|
|
464
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}/databases/{databaseName}/export",
|
|
465
|
-
urlParameters: [
|
|
466
|
-
Parameters.resourceGroupName,
|
|
467
|
-
Parameters.clusterName,
|
|
468
|
-
Parameters.databaseName,
|
|
469
|
-
Parameters.subscriptionId
|
|
470
|
-
],
|
|
471
|
-
queryParameters: [
|
|
472
|
-
Parameters.apiVersion
|
|
473
|
-
],
|
|
474
|
-
headerParameters: [
|
|
475
|
-
Parameters.acceptLanguage
|
|
476
|
-
],
|
|
477
|
-
requestBody: {
|
|
478
|
-
parameterPath: {
|
|
479
|
-
sasUri: "sasUri"
|
|
480
|
-
},
|
|
481
|
-
mapper: __assign(__assign({}, Mappers.ExportClusterParameters), { required: true })
|
|
482
|
-
},
|
|
483
|
-
responses: {
|
|
484
|
-
200: {},
|
|
485
|
-
202: {},
|
|
486
|
-
default: {
|
|
487
|
-
bodyMapper: Mappers.ErrorResponse
|
|
488
|
-
}
|
|
489
|
-
},
|
|
490
|
-
serializer: serializer
|
|
491
|
-
};
|
|
492
|
-
var listByClusterNextOperationSpec = {
|
|
493
|
-
httpMethod: "GET",
|
|
494
|
-
baseUrl: "https://management.azure.com",
|
|
495
|
-
path: "{nextLink}",
|
|
496
|
-
urlParameters: [
|
|
497
|
-
Parameters.nextPageLink
|
|
498
|
-
],
|
|
499
|
-
queryParameters: [
|
|
500
|
-
Parameters.apiVersion
|
|
501
|
-
],
|
|
502
|
-
headerParameters: [
|
|
503
|
-
Parameters.acceptLanguage
|
|
504
|
-
],
|
|
505
|
-
responses: {
|
|
506
|
-
200: {
|
|
507
|
-
bodyMapper: Mappers.DatabaseList
|
|
508
|
-
},
|
|
509
|
-
default: {
|
|
510
|
-
bodyMapper: Mappers.ErrorResponse
|
|
511
|
-
}
|
|
512
|
-
},
|
|
513
|
-
serializer: serializer
|
|
514
|
-
};
|
|
515
|
-
//# sourceMappingURL=databases.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"databases.js","sourceRoot":"","sources":["../../src/operations/databases.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC;AACtD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,sCAAsC;AACtC;IAGE;;;OAGG;IACH,mBAAY,MAA8C;QACxD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAuBD,iCAAa,GAAb,UAAc,iBAAyB,EAAE,WAAmB,EAAE,OAAiF,EAAE,QAAsD;QACrM,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,WAAW,aAAA;YACX,OAAO,SAAA;SACR,EACD,0BAA0B,EAC1B,QAAQ,CAAmD,CAAC;IAChE,CAAC;IAED;;;;;;;;OAQG;IACH,0BAAM,GAAN,UAAO,iBAAyB,EAAE,WAAmB,EAAE,YAAoB,EAAE,UAA2B,EAAE,OAAmC;QAC3I,OAAO,IAAI,CAAC,WAAW,CAAC,iBAAiB,EAAC,WAAW,EAAC,YAAY,EAAC,UAAU,EAAC,OAAO,CAAC;aACn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yB;IAC3D,UAAU,EAAE,MAAM;IAClB,IAAI,EAAE,2JAA2J;IACjK,aAAa,EAAE;QACb,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,cAAc;KAC1B;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,WAAW,EAAE;QACX,aAAa,EAAE;YACb,MAAM,EAAE,QAAQ;SACjB;QACD,MAAM,wBACD,OAAO,CAAC,uBAAuB,KAClC,QAAQ,EAAE,IAAI,GACf;KACF;IACD,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,8BAA8B,GAAyB;IAC3D,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,YAAY;SACjC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AASA,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { RedisEnterpriseManagementClientContext } from "../redisEnterpriseManagementClientContext";
|
|
4
|
-
/** Class representing a Operations. */
|
|
5
|
-
export declare class Operations {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a Operations.
|
|
9
|
-
* @param {RedisEnterpriseManagementClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: RedisEnterpriseManagementClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* Lists all of the available REST API operations of the Microsoft.Cache provider.
|
|
14
|
-
* @param [options] The optional parameters
|
|
15
|
-
* @returns Promise<Models.OperationsListResponse>
|
|
16
|
-
*/
|
|
17
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* @param callback The callback
|
|
20
|
-
*/
|
|
21
|
-
list(callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
22
|
-
/**
|
|
23
|
-
* @param options The optional parameters
|
|
24
|
-
* @param callback The callback
|
|
25
|
-
*/
|
|
26
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
27
|
-
/**
|
|
28
|
-
* Lists all of the available REST API operations of the Microsoft.Cache provider.
|
|
29
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
30
|
-
* @param [options] The optional parameters
|
|
31
|
-
* @returns Promise<Models.OperationsListNextResponse>
|
|
32
|
-
*/
|
|
33
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.OperationsListNextResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
36
|
-
* @param callback The callback
|
|
37
|
-
*/
|
|
38
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
39
|
-
/**
|
|
40
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
41
|
-
* @param options The optional parameters
|
|
42
|
-
* @param callback The callback
|
|
43
|
-
*/
|
|
44
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,sCAAsC,EAAE,MAAM,2CAA2C,CAAC;AAEnG,uCAAuC;AACvC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyC;IAEhE;;;OAGG;gBACS,MAAM,EAAE,sCAAsC;IAI1D;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAC;IACjF;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IACxE;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAU5G;;;;;OAKG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAAC;IAC/G;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAClG;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;CAUvI"}
|
|
@@ -1,79 +0,0 @@
|
|
|
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
|
|
7
|
-
* regenerated.
|
|
8
|
-
*/
|
|
9
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
10
|
-
import * as Mappers from "../models/operationsMappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
12
|
-
/** Class representing a Operations. */
|
|
13
|
-
var Operations = /** @class */ (function () {
|
|
14
|
-
/**
|
|
15
|
-
* Create a Operations.
|
|
16
|
-
* @param {RedisEnterpriseManagementClientContext} client Reference to the service client.
|
|
17
|
-
*/
|
|
18
|
-
function Operations(client) {
|
|
19
|
-
this.client = client;
|
|
20
|
-
}
|
|
21
|
-
Operations.prototype.list = function (options, callback) {
|
|
22
|
-
return this.client.sendOperationRequest({
|
|
23
|
-
options: options
|
|
24
|
-
}, listOperationSpec, callback);
|
|
25
|
-
};
|
|
26
|
-
Operations.prototype.listNext = function (nextPageLink, options, callback) {
|
|
27
|
-
return this.client.sendOperationRequest({
|
|
28
|
-
nextPageLink: nextPageLink,
|
|
29
|
-
options: options
|
|
30
|
-
}, listNextOperationSpec, callback);
|
|
31
|
-
};
|
|
32
|
-
return Operations;
|
|
33
|
-
}());
|
|
34
|
-
export { Operations };
|
|
35
|
-
// Operation Specifications
|
|
36
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
37
|
-
var listOperationSpec = {
|
|
38
|
-
httpMethod: "GET",
|
|
39
|
-
path: "providers/Microsoft.Cache/operations",
|
|
40
|
-
queryParameters: [
|
|
41
|
-
Parameters.apiVersion
|
|
42
|
-
],
|
|
43
|
-
headerParameters: [
|
|
44
|
-
Parameters.acceptLanguage
|
|
45
|
-
],
|
|
46
|
-
responses: {
|
|
47
|
-
200: {
|
|
48
|
-
bodyMapper: Mappers.OperationListResult
|
|
49
|
-
},
|
|
50
|
-
default: {
|
|
51
|
-
bodyMapper: Mappers.ErrorResponse
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
serializer: serializer
|
|
55
|
-
};
|
|
56
|
-
var listNextOperationSpec = {
|
|
57
|
-
httpMethod: "GET",
|
|
58
|
-
baseUrl: "https://management.azure.com",
|
|
59
|
-
path: "{nextLink}",
|
|
60
|
-
urlParameters: [
|
|
61
|
-
Parameters.nextPageLink
|
|
62
|
-
],
|
|
63
|
-
queryParameters: [
|
|
64
|
-
Parameters.apiVersion
|
|
65
|
-
],
|
|
66
|
-
headerParameters: [
|
|
67
|
-
Parameters.acceptLanguage
|
|
68
|
-
],
|
|
69
|
-
responses: {
|
|
70
|
-
200: {
|
|
71
|
-
bodyMapper: Mappers.OperationListResult
|
|
72
|
-
},
|
|
73
|
-
default: {
|
|
74
|
-
bodyMapper: Mappers.ErrorResponse
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
serializer: serializer
|
|
78
|
-
};
|
|
79
|
-
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAA8C;QACxD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,yBAAI,GAAJ,UAAK,OAAwF,EAAE,QAA6D;QAC1J,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA2C,CAAC;IACxD,CAAC;IAoBD,6BAAQ,GAAR,UAAS,YAAoB,EAAE,OAAwF,EAAE,QAA6D;QACpL,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,qBAAqB,EACrB,QAAQ,CAA+C,CAAC;IAC5D,CAAC;IACH,iBAAC;AAAD,CAAC,AA9DD,IA8DC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,sCAAsC;IAC5C,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB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