@azure/arm-redisenterprisecache 1.1.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -80
- 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 +80 -33
- 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 -42
- 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 -2654
- 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 -29
- package/esm/redisEnterpriseManagementClient.d.ts.map +0 -1
- package/esm/redisEnterpriseManagementClient.js +0 -42
- package/esm/redisEnterpriseManagementClient.js.map +0 -1
- package/esm/redisEnterpriseManagementClientContext.d.ts +0 -22
- package/esm/redisEnterpriseManagementClientContext.d.ts.map +0 -1
- package/esm/redisEnterpriseManagementClientContext.js +0 -60
- 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 -67
package/src/models/index.ts
CHANGED
|
@@ -6,1313 +6,930 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* SKU parameters supplied to the create RedisEnterprise operation.
|
|
16
|
-
*/
|
|
17
|
-
export interface Sku {
|
|
11
|
+
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
12
|
+
export interface OperationListResult {
|
|
18
13
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* 'Enterprise_E50', 'Enterprise_E100', 'EnterpriseFlash_F300', 'EnterpriseFlash_F700',
|
|
22
|
-
* 'EnterpriseFlash_F1500'
|
|
14
|
+
* List of operations supported by the resource provider
|
|
15
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
23
16
|
*/
|
|
24
|
-
|
|
17
|
+
readonly value?: Operation[];
|
|
25
18
|
/**
|
|
26
|
-
*
|
|
27
|
-
*
|
|
19
|
+
* URL to get the next set of operation list results (if there are any).
|
|
20
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
28
21
|
*/
|
|
29
|
-
|
|
22
|
+
readonly nextLink?: string;
|
|
30
23
|
}
|
|
31
24
|
|
|
32
|
-
/**
|
|
33
|
-
|
|
34
|
-
*/
|
|
35
|
-
export interface PrivateEndpoint {
|
|
25
|
+
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
26
|
+
export interface Operation {
|
|
36
27
|
/**
|
|
37
|
-
* The
|
|
38
|
-
*
|
|
28
|
+
* The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
|
|
29
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
39
30
|
*/
|
|
40
|
-
readonly
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* A collection of information about the state of the connection between service consumer and
|
|
45
|
-
* provider.
|
|
46
|
-
*/
|
|
47
|
-
export interface PrivateLinkServiceConnectionState {
|
|
31
|
+
readonly name?: string;
|
|
48
32
|
/**
|
|
49
|
-
*
|
|
50
|
-
*
|
|
33
|
+
* Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
|
|
34
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
51
35
|
*/
|
|
52
|
-
|
|
36
|
+
readonly isDataAction?: boolean;
|
|
37
|
+
/** Localized display information for this particular operation. */
|
|
38
|
+
display?: OperationDisplay;
|
|
53
39
|
/**
|
|
54
|
-
* The
|
|
40
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
|
|
41
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
55
42
|
*/
|
|
56
|
-
|
|
43
|
+
readonly origin?: Origin;
|
|
57
44
|
/**
|
|
58
|
-
*
|
|
45
|
+
* Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
46
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
59
47
|
*/
|
|
60
|
-
|
|
48
|
+
readonly actionType?: ActionType;
|
|
61
49
|
}
|
|
62
50
|
|
|
63
|
-
/**
|
|
64
|
-
|
|
65
|
-
* @summary Resource
|
|
66
|
-
*/
|
|
67
|
-
export interface Resource extends BaseResource {
|
|
51
|
+
/** Localized display information for this particular operation. */
|
|
52
|
+
export interface OperationDisplay {
|
|
68
53
|
/**
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
54
|
+
* The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
|
|
55
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
72
56
|
*/
|
|
73
|
-
readonly
|
|
57
|
+
readonly provider?: string;
|
|
74
58
|
/**
|
|
75
|
-
* The name of the resource
|
|
76
|
-
*
|
|
59
|
+
* The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
|
|
60
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
77
61
|
*/
|
|
78
|
-
readonly
|
|
62
|
+
readonly resource?: string;
|
|
79
63
|
/**
|
|
80
|
-
* The
|
|
81
|
-
*
|
|
82
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
64
|
+
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
|
|
65
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
83
66
|
*/
|
|
84
|
-
readonly
|
|
67
|
+
readonly operation?: string;
|
|
68
|
+
/**
|
|
69
|
+
* The short, localized friendly description of the operation; suitable for tool tips and detailed views.
|
|
70
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
71
|
+
*/
|
|
72
|
+
readonly description?: string;
|
|
85
73
|
}
|
|
86
74
|
|
|
87
|
-
/**
|
|
88
|
-
|
|
89
|
-
*/
|
|
90
|
-
|
|
75
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
76
|
+
export interface ErrorResponse {
|
|
77
|
+
/** The error object. */
|
|
78
|
+
error?: ErrorDetail;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/** The error detail. */
|
|
82
|
+
export interface ErrorDetail {
|
|
91
83
|
/**
|
|
92
|
-
* The
|
|
84
|
+
* The error code.
|
|
85
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
93
86
|
*/
|
|
94
|
-
|
|
87
|
+
readonly code?: string;
|
|
95
88
|
/**
|
|
96
|
-
*
|
|
97
|
-
*
|
|
89
|
+
* The error message.
|
|
90
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
98
91
|
*/
|
|
99
|
-
|
|
92
|
+
readonly message?: string;
|
|
100
93
|
/**
|
|
101
|
-
* The
|
|
102
|
-
*
|
|
94
|
+
* The error target.
|
|
95
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
103
96
|
*/
|
|
104
|
-
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* The resource model definition for an Azure Resource Manager tracked top level resource which has
|
|
109
|
-
* 'tags' and a 'location'
|
|
110
|
-
* @summary Tracked Resource
|
|
111
|
-
*/
|
|
112
|
-
export interface TrackedResource extends Resource {
|
|
97
|
+
readonly target?: string;
|
|
113
98
|
/**
|
|
114
|
-
*
|
|
99
|
+
* The error details.
|
|
100
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
115
101
|
*/
|
|
116
|
-
|
|
102
|
+
readonly details?: ErrorDetail[];
|
|
117
103
|
/**
|
|
118
|
-
* The
|
|
104
|
+
* The error additional info.
|
|
105
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
119
106
|
*/
|
|
120
|
-
|
|
107
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
121
108
|
}
|
|
122
109
|
|
|
123
|
-
/**
|
|
124
|
-
|
|
125
|
-
*/
|
|
126
|
-
export interface Cluster extends TrackedResource {
|
|
127
|
-
/**
|
|
128
|
-
* The SKU to create, which affects price, performance, and features.
|
|
129
|
-
*/
|
|
130
|
-
sku: Sku;
|
|
131
|
-
/**
|
|
132
|
-
* The Availability Zones where this cluster will be deployed.
|
|
133
|
-
*/
|
|
134
|
-
zones?: string[];
|
|
110
|
+
/** The resource management error additional info. */
|
|
111
|
+
export interface ErrorAdditionalInfo {
|
|
135
112
|
/**
|
|
136
|
-
* The
|
|
137
|
-
*
|
|
113
|
+
* The additional info type.
|
|
114
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
138
115
|
*/
|
|
139
|
-
|
|
116
|
+
readonly type?: string;
|
|
140
117
|
/**
|
|
141
|
-
*
|
|
142
|
-
*
|
|
118
|
+
* The additional info.
|
|
119
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
143
120
|
*/
|
|
144
|
-
readonly
|
|
121
|
+
readonly info?: Record<string, unknown>;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/** The status of a long-running operation. */
|
|
125
|
+
export interface OperationStatus {
|
|
126
|
+
/** The operation's unique id. */
|
|
127
|
+
id?: string;
|
|
128
|
+
/** The operation's name. */
|
|
129
|
+
name?: string;
|
|
130
|
+
/** The start time of the operation. */
|
|
131
|
+
startTime?: string;
|
|
132
|
+
/** The end time of the operation. */
|
|
133
|
+
endTime?: string;
|
|
134
|
+
/** The current status of the operation. */
|
|
135
|
+
status?: string;
|
|
136
|
+
/** Error response describing why the operation failed. */
|
|
137
|
+
error?: ErrorResponse;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/** SKU parameters supplied to the create RedisEnterprise operation. */
|
|
141
|
+
export interface Sku {
|
|
142
|
+
/** The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.) */
|
|
143
|
+
name: SkuName;
|
|
144
|
+
/** The size of the RedisEnterprise cluster. Defaults to 2 or 3 depending on SKU. Valid values are (2, 4, 6, ...) for Enterprise SKUs and (3, 9, 15, ...) for Flash SKUs. */
|
|
145
|
+
capacity?: number;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/** The Private Endpoint resource. */
|
|
149
|
+
export interface PrivateEndpoint {
|
|
145
150
|
/**
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
151
|
+
* The ARM identifier for Private Endpoint
|
|
152
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
149
153
|
*/
|
|
150
|
-
readonly
|
|
154
|
+
readonly id?: string;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
158
|
+
export interface PrivateLinkServiceConnectionState {
|
|
159
|
+
/** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
|
|
160
|
+
status?: PrivateEndpointServiceConnectionStatus;
|
|
161
|
+
/** The reason for approval/rejection of the connection. */
|
|
162
|
+
description?: string;
|
|
163
|
+
/** A message indicating if changes on the service provider require any updates on the consumer. */
|
|
164
|
+
actionsRequired?: string;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
168
|
+
export interface Resource {
|
|
151
169
|
/**
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
* 'EnableFailed', 'Disabling', 'DisableFailed', 'Disabled'
|
|
155
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
170
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
171
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
156
172
|
*/
|
|
157
|
-
readonly
|
|
173
|
+
readonly id?: string;
|
|
158
174
|
/**
|
|
159
|
-
*
|
|
160
|
-
*
|
|
175
|
+
* The name of the resource
|
|
176
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
161
177
|
*/
|
|
162
|
-
readonly
|
|
178
|
+
readonly name?: string;
|
|
163
179
|
/**
|
|
164
|
-
*
|
|
165
|
-
*
|
|
180
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
181
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
166
182
|
*/
|
|
167
|
-
readonly
|
|
183
|
+
readonly type?: string;
|
|
168
184
|
}
|
|
169
185
|
|
|
170
|
-
/**
|
|
171
|
-
* A partial update to the RedisEnterprise cluster
|
|
172
|
-
*/
|
|
186
|
+
/** A partial update to the RedisEnterprise cluster */
|
|
173
187
|
export interface ClusterUpdate {
|
|
174
|
-
/**
|
|
175
|
-
* The SKU to create, which affects price, performance, and features.
|
|
176
|
-
*/
|
|
188
|
+
/** The SKU to create, which affects price, performance, and features. */
|
|
177
189
|
sku?: Sku;
|
|
178
|
-
/**
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
*/
|
|
190
|
+
/** Resource tags. */
|
|
191
|
+
tags?: { [propertyName: string]: string };
|
|
192
|
+
/** The minimum TLS version for the cluster to support, e.g. '1.2' */
|
|
182
193
|
minimumTlsVersion?: TlsVersion;
|
|
183
194
|
/**
|
|
184
195
|
* DNS name of the cluster endpoint
|
|
185
|
-
*
|
|
196
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
186
197
|
*/
|
|
187
198
|
readonly hostName?: string;
|
|
188
199
|
/**
|
|
189
|
-
* Current provisioning status of the cluster
|
|
190
|
-
*
|
|
191
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
200
|
+
* Current provisioning status of the cluster
|
|
201
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
192
202
|
*/
|
|
193
203
|
readonly provisioningState?: ProvisioningState;
|
|
194
204
|
/**
|
|
195
|
-
* Current resource status of the cluster
|
|
196
|
-
*
|
|
197
|
-
* 'EnableFailed', 'Disabling', 'DisableFailed', 'Disabled'
|
|
198
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
205
|
+
* Current resource status of the cluster
|
|
206
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
199
207
|
*/
|
|
200
208
|
readonly resourceState?: ResourceState;
|
|
201
209
|
/**
|
|
202
210
|
* Version of redis the cluster supports, e.g. '6'
|
|
203
|
-
*
|
|
211
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
204
212
|
*/
|
|
205
213
|
readonly redisVersion?: string;
|
|
206
214
|
/**
|
|
207
215
|
* List of private endpoint connections associated with the specified RedisEnterprise cluster
|
|
208
|
-
*
|
|
216
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
209
217
|
*/
|
|
210
218
|
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/** The response of a list-all operation. */
|
|
222
|
+
export interface ClusterList {
|
|
223
|
+
/** List of clusters. */
|
|
224
|
+
value?: Cluster[];
|
|
211
225
|
/**
|
|
212
|
-
*
|
|
226
|
+
* The URI to fetch the next page of results.
|
|
227
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
213
228
|
*/
|
|
214
|
-
|
|
229
|
+
readonly nextLink?: string;
|
|
215
230
|
}
|
|
216
231
|
|
|
217
|
-
/**
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
export interface Persistence {
|
|
232
|
+
/** The response of a list-all operation. */
|
|
233
|
+
export interface DatabaseList {
|
|
234
|
+
/** List of databases */
|
|
235
|
+
value?: Database[];
|
|
222
236
|
/**
|
|
223
|
-
*
|
|
237
|
+
* The URI to fetch the next page of results.
|
|
238
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
224
239
|
*/
|
|
240
|
+
readonly nextLink?: string;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/** Persistence-related configuration for the RedisEnterprise database */
|
|
244
|
+
export interface Persistence {
|
|
245
|
+
/** Sets whether AOF is enabled. */
|
|
225
246
|
aofEnabled?: boolean;
|
|
226
|
-
/**
|
|
227
|
-
* Sets whether RDB is enabled.
|
|
228
|
-
*/
|
|
247
|
+
/** Sets whether RDB is enabled. */
|
|
229
248
|
rdbEnabled?: boolean;
|
|
230
|
-
/**
|
|
231
|
-
* Sets the frequency at which data is written to disk. Possible values include: '1s', 'always'
|
|
232
|
-
*/
|
|
249
|
+
/** Sets the frequency at which data is written to disk. */
|
|
233
250
|
aofFrequency?: AofFrequency;
|
|
234
|
-
/**
|
|
235
|
-
* Sets the frequency at which a snapshot of the database is created. Possible values include:
|
|
236
|
-
* '1h', '6h', '12h'
|
|
237
|
-
*/
|
|
251
|
+
/** Sets the frequency at which a snapshot of the database is created. */
|
|
238
252
|
rdbFrequency?: RdbFrequency;
|
|
239
253
|
}
|
|
240
254
|
|
|
241
|
-
/**
|
|
242
|
-
* Specifies configuration of a redis module
|
|
243
|
-
* @summary Module settings
|
|
244
|
-
*/
|
|
255
|
+
/** Specifies configuration of a redis module */
|
|
245
256
|
export interface Module {
|
|
246
|
-
/**
|
|
247
|
-
* The name of the module, e.g. 'RedisBloom', 'RediSearch', 'RedisTimeSeries'
|
|
248
|
-
*/
|
|
257
|
+
/** The name of the module, e.g. 'RedisBloom', 'RediSearch', 'RedisTimeSeries' */
|
|
249
258
|
name: string;
|
|
250
|
-
/**
|
|
251
|
-
* Configuration options for the module, e.g. 'ERROR_RATE 0.00 INITIAL_SIZE 400'.
|
|
252
|
-
*/
|
|
259
|
+
/** Configuration options for the module, e.g. 'ERROR_RATE 0.00 INITIAL_SIZE 400'. */
|
|
253
260
|
args?: string;
|
|
254
261
|
/**
|
|
255
262
|
* The version of the module, e.g. '1.0'.
|
|
256
|
-
*
|
|
263
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
257
264
|
*/
|
|
258
265
|
readonly version?: string;
|
|
259
266
|
}
|
|
260
267
|
|
|
261
|
-
/**
|
|
262
|
-
* The resource model definition for a Azure Resource Manager proxy resource. It will not have tags
|
|
263
|
-
* and a location
|
|
264
|
-
* @summary Proxy Resource
|
|
265
|
-
*/
|
|
266
|
-
export interface ProxyResource extends Resource {
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* Describes a database on the RedisEnterprise cluster
|
|
271
|
-
*/
|
|
272
|
-
export interface Database extends ProxyResource {
|
|
273
|
-
/**
|
|
274
|
-
* Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols.
|
|
275
|
-
* Default is TLS-encrypted. Possible values include: 'Encrypted', 'Plaintext'
|
|
276
|
-
*/
|
|
277
|
-
clientProtocol?: Protocol;
|
|
278
|
-
/**
|
|
279
|
-
* TCP port of the database endpoint. Specified at create time. Defaults to an available port.
|
|
280
|
-
*/
|
|
281
|
-
port?: number;
|
|
282
|
-
/**
|
|
283
|
-
* Current provisioning status of the database. Possible values include: 'Succeeded', 'Failed',
|
|
284
|
-
* 'Canceled', 'Creating', 'Updating', 'Deleting'
|
|
285
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
286
|
-
*/
|
|
287
|
-
readonly provisioningState?: ProvisioningState;
|
|
288
|
-
/**
|
|
289
|
-
* Current resource status of the database. Possible values include: 'Running', 'Creating',
|
|
290
|
-
* 'CreateFailed', 'Updating', 'UpdateFailed', 'Deleting', 'DeleteFailed', 'Enabling',
|
|
291
|
-
* 'EnableFailed', 'Disabling', 'DisableFailed', 'Disabled'
|
|
292
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
293
|
-
*/
|
|
294
|
-
readonly resourceState?: ResourceState;
|
|
295
|
-
/**
|
|
296
|
-
* Clustering policy - default is OSSCluster. Specified at create time. Possible values include:
|
|
297
|
-
* 'EnterpriseCluster', 'OSSCluster'
|
|
298
|
-
*/
|
|
299
|
-
clusteringPolicy?: ClusteringPolicy;
|
|
300
|
-
/**
|
|
301
|
-
* Redis eviction policy - default is VolatileLRU. Possible values include: 'AllKeysLFU',
|
|
302
|
-
* 'AllKeysLRU', 'AllKeysRandom', 'VolatileLRU', 'VolatileLFU', 'VolatileTTL', 'VolatileRandom',
|
|
303
|
-
* 'NoEviction'
|
|
304
|
-
*/
|
|
305
|
-
evictionPolicy?: EvictionPolicy;
|
|
306
|
-
/**
|
|
307
|
-
* Persistence settings
|
|
308
|
-
*/
|
|
309
|
-
persistence?: Persistence;
|
|
310
|
-
/**
|
|
311
|
-
* Optional set of redis modules to enable in this database - modules can only be added at
|
|
312
|
-
* creation time.
|
|
313
|
-
*/
|
|
314
|
-
modules?: Module[];
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* A partial update to the RedisEnterprise database
|
|
319
|
-
*/
|
|
268
|
+
/** A partial update to the RedisEnterprise database */
|
|
320
269
|
export interface DatabaseUpdate {
|
|
321
|
-
/**
|
|
322
|
-
* Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols.
|
|
323
|
-
* Default is TLS-encrypted. Possible values include: 'Encrypted', 'Plaintext'
|
|
324
|
-
*/
|
|
270
|
+
/** Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. */
|
|
325
271
|
clientProtocol?: Protocol;
|
|
326
|
-
/**
|
|
327
|
-
* TCP port of the database endpoint. Specified at create time. Defaults to an available port.
|
|
328
|
-
*/
|
|
272
|
+
/** TCP port of the database endpoint. Specified at create time. Defaults to an available port. */
|
|
329
273
|
port?: number;
|
|
330
274
|
/**
|
|
331
|
-
* Current provisioning status of the database
|
|
332
|
-
*
|
|
333
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
275
|
+
* Current provisioning status of the database
|
|
276
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
334
277
|
*/
|
|
335
278
|
readonly provisioningState?: ProvisioningState;
|
|
336
279
|
/**
|
|
337
|
-
* Current resource status of the database
|
|
338
|
-
*
|
|
339
|
-
* 'EnableFailed', 'Disabling', 'DisableFailed', 'Disabled'
|
|
340
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
280
|
+
* Current resource status of the database
|
|
281
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
341
282
|
*/
|
|
342
283
|
readonly resourceState?: ResourceState;
|
|
343
|
-
/**
|
|
344
|
-
* Clustering policy - default is OSSCluster. Specified at create time. Possible values include:
|
|
345
|
-
* 'EnterpriseCluster', 'OSSCluster'
|
|
346
|
-
*/
|
|
284
|
+
/** Clustering policy - default is OSSCluster. Specified at create time. */
|
|
347
285
|
clusteringPolicy?: ClusteringPolicy;
|
|
348
|
-
/**
|
|
349
|
-
* Redis eviction policy - default is VolatileLRU. Possible values include: 'AllKeysLFU',
|
|
350
|
-
* 'AllKeysLRU', 'AllKeysRandom', 'VolatileLRU', 'VolatileLFU', 'VolatileTTL', 'VolatileRandom',
|
|
351
|
-
* 'NoEviction'
|
|
352
|
-
*/
|
|
286
|
+
/** Redis eviction policy - default is VolatileLRU */
|
|
353
287
|
evictionPolicy?: EvictionPolicy;
|
|
354
|
-
/**
|
|
355
|
-
* Persistence settings
|
|
356
|
-
*/
|
|
288
|
+
/** Persistence settings */
|
|
357
289
|
persistence?: Persistence;
|
|
358
|
-
/**
|
|
359
|
-
* Optional set of redis modules to enable in this database - modules can only be added at
|
|
360
|
-
* creation time.
|
|
361
|
-
*/
|
|
290
|
+
/** Optional set of redis modules to enable in this database - modules can only be added at creation time. */
|
|
362
291
|
modules?: Module[];
|
|
363
292
|
}
|
|
364
293
|
|
|
365
|
-
/**
|
|
366
|
-
* The secret access keys used for authenticating connections to redis
|
|
367
|
-
* @summary Access keys
|
|
368
|
-
*/
|
|
294
|
+
/** The secret access keys used for authenticating connections to redis */
|
|
369
295
|
export interface AccessKeys {
|
|
370
296
|
/**
|
|
371
297
|
* The current primary key that clients can use to authenticate
|
|
372
|
-
*
|
|
298
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
373
299
|
*/
|
|
374
300
|
readonly primaryKey?: string;
|
|
375
301
|
/**
|
|
376
302
|
* The current secondary key that clients can use to authenticate
|
|
377
|
-
*
|
|
303
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
378
304
|
*/
|
|
379
305
|
readonly secondaryKey?: string;
|
|
380
306
|
}
|
|
381
307
|
|
|
382
|
-
/**
|
|
383
|
-
* Specifies which access keys to reset to a new random value.
|
|
384
|
-
* @summary Regenerate access keys request
|
|
385
|
-
*/
|
|
308
|
+
/** Specifies which access keys to reset to a new random value. */
|
|
386
309
|
export interface RegenerateKeyParameters {
|
|
387
|
-
/**
|
|
388
|
-
* Which access key to regenerate. Possible values include: 'Primary', 'Secondary'
|
|
389
|
-
*/
|
|
310
|
+
/** Which access key to regenerate. */
|
|
390
311
|
keyType: AccessKeyType;
|
|
391
312
|
}
|
|
392
313
|
|
|
393
|
-
/**
|
|
394
|
-
* Parameters for a Redis Enterprise import operation.
|
|
395
|
-
* @summary Import an RDB file into a target database
|
|
396
|
-
*/
|
|
314
|
+
/** Parameters for a Redis Enterprise import operation. */
|
|
397
315
|
export interface ImportClusterParameters {
|
|
398
|
-
/**
|
|
399
|
-
|
|
400
|
-
*/
|
|
401
|
-
sasUri: string;
|
|
316
|
+
/** SAS URIs for the target blobs to import from */
|
|
317
|
+
sasUris: string[];
|
|
402
318
|
}
|
|
403
319
|
|
|
404
|
-
/**
|
|
405
|
-
* Parameters for a Redis Enterprise export operation.
|
|
406
|
-
* @summary Export an RDB file into a target database
|
|
407
|
-
*/
|
|
320
|
+
/** Parameters for a Redis Enterprise export operation. */
|
|
408
321
|
export interface ExportClusterParameters {
|
|
409
|
-
/**
|
|
410
|
-
* SAS URI for the target directory to export to
|
|
411
|
-
*/
|
|
322
|
+
/** SAS URI for the target directory to export to */
|
|
412
323
|
sasUri: string;
|
|
413
324
|
}
|
|
414
325
|
|
|
415
|
-
/**
|
|
416
|
-
|
|
417
|
-
*/
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
326
|
+
/** List of private endpoint connection associated with the specified storage account */
|
|
327
|
+
export interface PrivateEndpointConnectionListResult {
|
|
328
|
+
/** Array of private endpoint connections */
|
|
329
|
+
value?: PrivateEndpointConnection[];
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/** A list of private link resources */
|
|
333
|
+
export interface PrivateLinkResourceListResult {
|
|
334
|
+
/** Array of private link resources */
|
|
335
|
+
value?: PrivateLinkResource[];
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/** The Private Endpoint Connection resource. */
|
|
339
|
+
export type PrivateEndpointConnection = Resource & {
|
|
340
|
+
/** The resource of private end point. */
|
|
341
|
+
privateEndpoint?: PrivateEndpoint;
|
|
342
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
343
|
+
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
|
|
424
344
|
/**
|
|
425
|
-
* The
|
|
426
|
-
*
|
|
345
|
+
* The provisioning state of the private endpoint connection resource.
|
|
346
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
427
347
|
*/
|
|
428
|
-
readonly
|
|
429
|
-
}
|
|
348
|
+
readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
|
|
349
|
+
};
|
|
430
350
|
|
|
431
|
-
/**
|
|
432
|
-
|
|
433
|
-
*/
|
|
434
|
-
|
|
351
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
352
|
+
export type TrackedResource = Resource & {
|
|
353
|
+
/** Resource tags. */
|
|
354
|
+
tags?: { [propertyName: string]: string };
|
|
355
|
+
/** The geo-location where the resource lives */
|
|
356
|
+
location: string;
|
|
357
|
+
};
|
|
358
|
+
|
|
359
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
360
|
+
export type ProxyResource = Resource & {};
|
|
361
|
+
|
|
362
|
+
/** A private link resource */
|
|
363
|
+
export type PrivateLinkResource = Resource & {
|
|
435
364
|
/**
|
|
436
|
-
* The
|
|
437
|
-
*
|
|
365
|
+
* The private link resource group id.
|
|
366
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
438
367
|
*/
|
|
439
|
-
readonly
|
|
368
|
+
readonly groupId?: string;
|
|
440
369
|
/**
|
|
441
|
-
* The
|
|
442
|
-
*
|
|
370
|
+
* The private link resource required member names.
|
|
371
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
443
372
|
*/
|
|
444
|
-
readonly
|
|
373
|
+
readonly requiredMembers?: string[];
|
|
374
|
+
/** The private link resource Private link DNS zone name. */
|
|
375
|
+
requiredZoneNames?: string[];
|
|
376
|
+
};
|
|
377
|
+
|
|
378
|
+
/** Describes the RedisEnterprise cluster */
|
|
379
|
+
export type Cluster = TrackedResource & {
|
|
380
|
+
/** The SKU to create, which affects price, performance, and features. */
|
|
381
|
+
sku: Sku;
|
|
382
|
+
/** The Availability Zones where this cluster will be deployed. */
|
|
383
|
+
zones?: string[];
|
|
384
|
+
/** The minimum TLS version for the cluster to support, e.g. '1.2' */
|
|
385
|
+
minimumTlsVersion?: TlsVersion;
|
|
445
386
|
/**
|
|
446
|
-
*
|
|
447
|
-
*
|
|
387
|
+
* DNS name of the cluster endpoint
|
|
388
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
448
389
|
*/
|
|
449
|
-
readonly
|
|
390
|
+
readonly hostName?: string;
|
|
450
391
|
/**
|
|
451
|
-
*
|
|
452
|
-
*
|
|
392
|
+
* Current provisioning status of the cluster
|
|
393
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
453
394
|
*/
|
|
454
|
-
readonly
|
|
395
|
+
readonly provisioningState?: ProvisioningState;
|
|
455
396
|
/**
|
|
456
|
-
*
|
|
457
|
-
*
|
|
397
|
+
* Current resource status of the cluster
|
|
398
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
458
399
|
*/
|
|
459
|
-
readonly
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
/**
|
|
463
|
-
* Common error response for all Azure Resource Manager APIs to return error details for failed
|
|
464
|
-
* operations. (This also follows the OData error response format.).
|
|
465
|
-
* @summary Error response
|
|
466
|
-
*/
|
|
467
|
-
export interface ErrorResponse {
|
|
468
|
-
/**
|
|
469
|
-
* The error object.
|
|
470
|
-
*/
|
|
471
|
-
error?: ErrorDetail;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
/**
|
|
475
|
-
* The status of a long-running operation.
|
|
476
|
-
*/
|
|
477
|
-
export interface OperationStatus {
|
|
478
|
-
/**
|
|
479
|
-
* The operation's unique id.
|
|
480
|
-
*/
|
|
481
|
-
id?: string;
|
|
482
|
-
/**
|
|
483
|
-
* The operation's name.
|
|
484
|
-
*/
|
|
485
|
-
name?: string;
|
|
400
|
+
readonly resourceState?: ResourceState;
|
|
486
401
|
/**
|
|
487
|
-
*
|
|
402
|
+
* Version of redis the cluster supports, e.g. '6'
|
|
403
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
488
404
|
*/
|
|
489
|
-
|
|
405
|
+
readonly redisVersion?: string;
|
|
490
406
|
/**
|
|
491
|
-
*
|
|
407
|
+
* List of private endpoint connections associated with the specified RedisEnterprise cluster
|
|
408
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
492
409
|
*/
|
|
493
|
-
|
|
410
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
/** Describes a database on the RedisEnterprise cluster */
|
|
414
|
+
export type Database = ProxyResource & {
|
|
415
|
+
/** Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. */
|
|
416
|
+
clientProtocol?: Protocol;
|
|
417
|
+
/** TCP port of the database endpoint. Specified at create time. Defaults to an available port. */
|
|
418
|
+
port?: number;
|
|
494
419
|
/**
|
|
495
|
-
*
|
|
420
|
+
* Current provisioning status of the database
|
|
421
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
496
422
|
*/
|
|
497
|
-
|
|
423
|
+
readonly provisioningState?: ProvisioningState;
|
|
498
424
|
/**
|
|
499
|
-
*
|
|
425
|
+
* Current resource status of the database
|
|
426
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
500
427
|
*/
|
|
501
|
-
|
|
428
|
+
readonly resourceState?: ResourceState;
|
|
429
|
+
/** Clustering policy - default is OSSCluster. Specified at create time. */
|
|
430
|
+
clusteringPolicy?: ClusteringPolicy;
|
|
431
|
+
/** Redis eviction policy - default is VolatileLRU */
|
|
432
|
+
evictionPolicy?: EvictionPolicy;
|
|
433
|
+
/** Persistence settings */
|
|
434
|
+
persistence?: Persistence;
|
|
435
|
+
/** Optional set of redis modules to enable in this database - modules can only be added at creation time. */
|
|
436
|
+
modules?: Module[];
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
440
|
+
export enum KnownOrigin {
|
|
441
|
+
User = "user",
|
|
442
|
+
System = "system",
|
|
443
|
+
UserSystem = "user,system"
|
|
502
444
|
}
|
|
503
445
|
|
|
504
446
|
/**
|
|
505
|
-
*
|
|
506
|
-
* @
|
|
447
|
+
* Defines values for Origin. \
|
|
448
|
+
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
449
|
+
* this enum contains the known values that the service supports.
|
|
450
|
+
* ### Known values supported by the service
|
|
451
|
+
* **user** \
|
|
452
|
+
* **system** \
|
|
453
|
+
* **user,system**
|
|
507
454
|
*/
|
|
508
|
-
export
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
readonly etag?: string;
|
|
455
|
+
export type Origin = string;
|
|
456
|
+
|
|
457
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
458
|
+
export enum KnownActionType {
|
|
459
|
+
Internal = "Internal"
|
|
514
460
|
}
|
|
515
461
|
|
|
516
462
|
/**
|
|
517
|
-
*
|
|
463
|
+
* Defines values for ActionType. \
|
|
464
|
+
* {@link KnownActionType} can be used interchangeably with ActionType,
|
|
465
|
+
* this enum contains the known values that the service supports.
|
|
466
|
+
* ### Known values supported by the service
|
|
467
|
+
* **Internal**
|
|
518
468
|
*/
|
|
519
|
-
export
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
/**
|
|
531
|
-
* The private link resource Private link DNS zone name.
|
|
532
|
-
*/
|
|
533
|
-
requiredZoneNames?: string[];
|
|
469
|
+
export type ActionType = string;
|
|
470
|
+
|
|
471
|
+
/** Known values of {@link SkuName} that the service accepts. */
|
|
472
|
+
export enum KnownSkuName {
|
|
473
|
+
EnterpriseE10 = "Enterprise_E10",
|
|
474
|
+
EnterpriseE20 = "Enterprise_E20",
|
|
475
|
+
EnterpriseE50 = "Enterprise_E50",
|
|
476
|
+
EnterpriseE100 = "Enterprise_E100",
|
|
477
|
+
EnterpriseFlashF300 = "EnterpriseFlash_F300",
|
|
478
|
+
EnterpriseFlashF700 = "EnterpriseFlash_F700",
|
|
479
|
+
EnterpriseFlashF1500 = "EnterpriseFlash_F1500"
|
|
534
480
|
}
|
|
535
481
|
|
|
536
482
|
/**
|
|
537
|
-
*
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
*/
|
|
557
|
-
readonly operation?: string;
|
|
558
|
-
/**
|
|
559
|
-
* The short, localized friendly description of the operation; suitable for tool tips and
|
|
560
|
-
* detailed views.
|
|
561
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
562
|
-
*/
|
|
563
|
-
readonly description?: string;
|
|
483
|
+
* Defines values for SkuName. \
|
|
484
|
+
* {@link KnownSkuName} can be used interchangeably with SkuName,
|
|
485
|
+
* this enum contains the known values that the service supports.
|
|
486
|
+
* ### Known values supported by the service
|
|
487
|
+
* **Enterprise_E10** \
|
|
488
|
+
* **Enterprise_E20** \
|
|
489
|
+
* **Enterprise_E50** \
|
|
490
|
+
* **Enterprise_E100** \
|
|
491
|
+
* **EnterpriseFlash_F300** \
|
|
492
|
+
* **EnterpriseFlash_F700** \
|
|
493
|
+
* **EnterpriseFlash_F1500**
|
|
494
|
+
*/
|
|
495
|
+
export type SkuName = string;
|
|
496
|
+
|
|
497
|
+
/** Known values of {@link TlsVersion} that the service accepts. */
|
|
498
|
+
export enum KnownTlsVersion {
|
|
499
|
+
One0 = "1.0",
|
|
500
|
+
One1 = "1.1",
|
|
501
|
+
One2 = "1.2"
|
|
564
502
|
}
|
|
565
503
|
|
|
566
504
|
/**
|
|
567
|
-
*
|
|
568
|
-
* @
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
*/
|
|
586
|
-
display?: OperationDisplay;
|
|
587
|
-
/**
|
|
588
|
-
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit
|
|
589
|
-
* logs UX. Default value is "user,system". Possible values include: 'user', 'system',
|
|
590
|
-
* 'user,system'
|
|
591
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
592
|
-
*/
|
|
593
|
-
readonly origin?: Origin;
|
|
594
|
-
/**
|
|
595
|
-
* Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
596
|
-
* Possible values include: 'Internal'
|
|
597
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
598
|
-
*/
|
|
599
|
-
readonly actionType?: ActionType;
|
|
505
|
+
* Defines values for TlsVersion. \
|
|
506
|
+
* {@link KnownTlsVersion} can be used interchangeably with TlsVersion,
|
|
507
|
+
* this enum contains the known values that the service supports.
|
|
508
|
+
* ### Known values supported by the service
|
|
509
|
+
* **1.0** \
|
|
510
|
+
* **1.1** \
|
|
511
|
+
* **1.2**
|
|
512
|
+
*/
|
|
513
|
+
export type TlsVersion = string;
|
|
514
|
+
|
|
515
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
516
|
+
export enum KnownProvisioningState {
|
|
517
|
+
Succeeded = "Succeeded",
|
|
518
|
+
Failed = "Failed",
|
|
519
|
+
Canceled = "Canceled",
|
|
520
|
+
Creating = "Creating",
|
|
521
|
+
Updating = "Updating",
|
|
522
|
+
Deleting = "Deleting"
|
|
600
523
|
}
|
|
601
524
|
|
|
602
525
|
/**
|
|
603
|
-
*
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
526
|
+
* Defines values for ProvisioningState. \
|
|
527
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
528
|
+
* this enum contains the known values that the service supports.
|
|
529
|
+
* ### Known values supported by the service
|
|
530
|
+
* **Succeeded** \
|
|
531
|
+
* **Failed** \
|
|
532
|
+
* **Canceled** \
|
|
533
|
+
* **Creating** \
|
|
534
|
+
* **Updating** \
|
|
535
|
+
* **Deleting**
|
|
536
|
+
*/
|
|
537
|
+
export type ProvisioningState = string;
|
|
538
|
+
|
|
539
|
+
/** Known values of {@link ResourceState} that the service accepts. */
|
|
540
|
+
export enum KnownResourceState {
|
|
541
|
+
Running = "Running",
|
|
542
|
+
Creating = "Creating",
|
|
543
|
+
CreateFailed = "CreateFailed",
|
|
544
|
+
Updating = "Updating",
|
|
545
|
+
UpdateFailed = "UpdateFailed",
|
|
546
|
+
Deleting = "Deleting",
|
|
547
|
+
DeleteFailed = "DeleteFailed",
|
|
548
|
+
Enabling = "Enabling",
|
|
549
|
+
EnableFailed = "EnableFailed",
|
|
550
|
+
Disabling = "Disabling",
|
|
551
|
+
DisableFailed = "DisableFailed",
|
|
552
|
+
Disabled = "Disabled"
|
|
607
553
|
}
|
|
608
554
|
|
|
609
555
|
/**
|
|
610
|
-
*
|
|
611
|
-
*
|
|
612
|
-
*
|
|
613
|
-
*
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
556
|
+
* Defines values for ResourceState. \
|
|
557
|
+
* {@link KnownResourceState} can be used interchangeably with ResourceState,
|
|
558
|
+
* this enum contains the known values that the service supports.
|
|
559
|
+
* ### Known values supported by the service
|
|
560
|
+
* **Running** \
|
|
561
|
+
* **Creating** \
|
|
562
|
+
* **CreateFailed** \
|
|
563
|
+
* **Updating** \
|
|
564
|
+
* **UpdateFailed** \
|
|
565
|
+
* **Deleting** \
|
|
566
|
+
* **DeleteFailed** \
|
|
567
|
+
* **Enabling** \
|
|
568
|
+
* **EnableFailed** \
|
|
569
|
+
* **Disabling** \
|
|
570
|
+
* **DisableFailed** \
|
|
571
|
+
* **Disabled**
|
|
572
|
+
*/
|
|
573
|
+
export type ResourceState = string;
|
|
574
|
+
|
|
575
|
+
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
|
576
|
+
export enum KnownPrivateEndpointServiceConnectionStatus {
|
|
577
|
+
Pending = "Pending",
|
|
578
|
+
Approved = "Approved",
|
|
579
|
+
Rejected = "Rejected"
|
|
621
580
|
}
|
|
622
581
|
|
|
623
582
|
/**
|
|
624
|
-
*
|
|
625
|
-
*
|
|
626
|
-
*
|
|
583
|
+
* Defines values for PrivateEndpointServiceConnectionStatus. \
|
|
584
|
+
* {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
|
|
585
|
+
* this enum contains the known values that the service supports.
|
|
586
|
+
* ### Known values supported by the service
|
|
587
|
+
* **Pending** \
|
|
588
|
+
* **Approved** \
|
|
589
|
+
* **Rejected**
|
|
627
590
|
*/
|
|
628
|
-
export
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
591
|
+
export type PrivateEndpointServiceConnectionStatus = string;
|
|
592
|
+
|
|
593
|
+
/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
|
|
594
|
+
export enum KnownPrivateEndpointConnectionProvisioningState {
|
|
595
|
+
Succeeded = "Succeeded",
|
|
596
|
+
Creating = "Creating",
|
|
597
|
+
Deleting = "Deleting",
|
|
598
|
+
Failed = "Failed"
|
|
634
599
|
}
|
|
635
600
|
|
|
636
601
|
/**
|
|
637
|
-
*
|
|
638
|
-
*
|
|
639
|
-
*
|
|
602
|
+
* Defines values for PrivateEndpointConnectionProvisioningState. \
|
|
603
|
+
* {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
|
|
604
|
+
* this enum contains the known values that the service supports.
|
|
605
|
+
* ### Known values supported by the service
|
|
606
|
+
* **Succeeded** \
|
|
607
|
+
* **Creating** \
|
|
608
|
+
* **Deleting** \
|
|
609
|
+
* **Failed**
|
|
640
610
|
*/
|
|
641
|
-
export
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
611
|
+
export type PrivateEndpointConnectionProvisioningState = string;
|
|
612
|
+
|
|
613
|
+
/** Known values of {@link Protocol} that the service accepts. */
|
|
614
|
+
export enum KnownProtocol {
|
|
615
|
+
Encrypted = "Encrypted",
|
|
616
|
+
Plaintext = "Plaintext"
|
|
647
617
|
}
|
|
648
618
|
|
|
649
619
|
/**
|
|
650
|
-
*
|
|
651
|
-
*
|
|
652
|
-
*
|
|
620
|
+
* Defines values for Protocol. \
|
|
621
|
+
* {@link KnownProtocol} can be used interchangeably with Protocol,
|
|
622
|
+
* this enum contains the known values that the service supports.
|
|
623
|
+
* ### Known values supported by the service
|
|
624
|
+
* **Encrypted** \
|
|
625
|
+
* **Plaintext**
|
|
653
626
|
*/
|
|
654
|
-
export
|
|
627
|
+
export type Protocol = string;
|
|
628
|
+
|
|
629
|
+
/** Known values of {@link ClusteringPolicy} that the service accepts. */
|
|
630
|
+
export enum KnownClusteringPolicy {
|
|
631
|
+
EnterpriseCluster = "EnterpriseCluster",
|
|
632
|
+
OSSCluster = "OSSCluster"
|
|
655
633
|
}
|
|
656
634
|
|
|
657
635
|
/**
|
|
658
|
-
*
|
|
659
|
-
*
|
|
660
|
-
*
|
|
661
|
-
|
|
662
|
-
|
|
636
|
+
* Defines values for ClusteringPolicy. \
|
|
637
|
+
* {@link KnownClusteringPolicy} can be used interchangeably with ClusteringPolicy,
|
|
638
|
+
* this enum contains the known values that the service supports.
|
|
639
|
+
* ### Known values supported by the service
|
|
640
|
+
* **EnterpriseCluster** \
|
|
641
|
+
* **OSSCluster**
|
|
642
|
+
*/
|
|
643
|
+
export type ClusteringPolicy = string;
|
|
644
|
+
|
|
645
|
+
/** Known values of {@link EvictionPolicy} that the service accepts. */
|
|
646
|
+
export enum KnownEvictionPolicy {
|
|
647
|
+
AllKeysLFU = "AllKeysLFU",
|
|
648
|
+
AllKeysLRU = "AllKeysLRU",
|
|
649
|
+
AllKeysRandom = "AllKeysRandom",
|
|
650
|
+
VolatileLRU = "VolatileLRU",
|
|
651
|
+
VolatileLFU = "VolatileLFU",
|
|
652
|
+
VolatileTTL = "VolatileTTL",
|
|
653
|
+
VolatileRandom = "VolatileRandom",
|
|
654
|
+
NoEviction = "NoEviction"
|
|
663
655
|
}
|
|
664
656
|
|
|
665
657
|
/**
|
|
666
|
-
* Defines values for
|
|
667
|
-
*
|
|
668
|
-
*
|
|
669
|
-
*
|
|
670
|
-
*
|
|
671
|
-
|
|
672
|
-
|
|
658
|
+
* Defines values for EvictionPolicy. \
|
|
659
|
+
* {@link KnownEvictionPolicy} can be used interchangeably with EvictionPolicy,
|
|
660
|
+
* this enum contains the known values that the service supports.
|
|
661
|
+
* ### Known values supported by the service
|
|
662
|
+
* **AllKeysLFU** \
|
|
663
|
+
* **AllKeysLRU** \
|
|
664
|
+
* **AllKeysRandom** \
|
|
665
|
+
* **VolatileLRU** \
|
|
666
|
+
* **VolatileLFU** \
|
|
667
|
+
* **VolatileTTL** \
|
|
668
|
+
* **VolatileRandom** \
|
|
669
|
+
* **NoEviction**
|
|
670
|
+
*/
|
|
671
|
+
export type EvictionPolicy = string;
|
|
672
|
+
|
|
673
|
+
/** Known values of {@link AofFrequency} that the service accepts. */
|
|
674
|
+
export enum KnownAofFrequency {
|
|
675
|
+
OneS = "1s",
|
|
676
|
+
Always = "always"
|
|
677
|
+
}
|
|
673
678
|
|
|
674
679
|
/**
|
|
675
|
-
* Defines values for
|
|
676
|
-
*
|
|
677
|
-
*
|
|
678
|
-
*
|
|
680
|
+
* Defines values for AofFrequency. \
|
|
681
|
+
* {@link KnownAofFrequency} can be used interchangeably with AofFrequency,
|
|
682
|
+
* this enum contains the known values that the service supports.
|
|
683
|
+
* ### Known values supported by the service
|
|
684
|
+
* **1s** \
|
|
685
|
+
* **always**
|
|
679
686
|
*/
|
|
680
|
-
export type
|
|
687
|
+
export type AofFrequency = string;
|
|
681
688
|
|
|
682
|
-
/**
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
*/
|
|
689
|
-
export type ResourceState = 'Running' | 'Creating' | 'CreateFailed' | 'Updating' | 'UpdateFailed' | 'Deleting' | 'DeleteFailed' | 'Enabling' | 'EnableFailed' | 'Disabling' | 'DisableFailed' | 'Disabled';
|
|
689
|
+
/** Known values of {@link RdbFrequency} that the service accepts. */
|
|
690
|
+
export enum KnownRdbFrequency {
|
|
691
|
+
OneH = "1h",
|
|
692
|
+
SixH = "6h",
|
|
693
|
+
TwelveH = "12h"
|
|
694
|
+
}
|
|
690
695
|
|
|
691
696
|
/**
|
|
692
|
-
* Defines values for
|
|
693
|
-
*
|
|
694
|
-
*
|
|
695
|
-
*
|
|
697
|
+
* Defines values for RdbFrequency. \
|
|
698
|
+
* {@link KnownRdbFrequency} can be used interchangeably with RdbFrequency,
|
|
699
|
+
* this enum contains the known values that the service supports.
|
|
700
|
+
* ### Known values supported by the service
|
|
701
|
+
* **1h** \
|
|
702
|
+
* **6h** \
|
|
703
|
+
* **12h**
|
|
696
704
|
*/
|
|
697
|
-
export type
|
|
705
|
+
export type RdbFrequency = string;
|
|
706
|
+
/** Defines values for AccessKeyType. */
|
|
707
|
+
export type AccessKeyType = "Primary" | "Secondary";
|
|
698
708
|
|
|
699
|
-
/**
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
* @readonly
|
|
703
|
-
* @enum {string}
|
|
704
|
-
*/
|
|
705
|
-
export type PrivateEndpointServiceConnectionStatus = 'Pending' | 'Approved' | 'Rejected';
|
|
709
|
+
/** Optional parameters. */
|
|
710
|
+
export interface OperationsListOptionalParams
|
|
711
|
+
extends coreClient.OperationOptions {}
|
|
706
712
|
|
|
707
|
-
/**
|
|
708
|
-
|
|
709
|
-
* Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed'
|
|
710
|
-
* @readonly
|
|
711
|
-
* @enum {string}
|
|
712
|
-
*/
|
|
713
|
-
export type PrivateEndpointConnectionProvisioningState = 'Succeeded' | 'Creating' | 'Deleting' | 'Failed';
|
|
713
|
+
/** Contains response data for the list operation. */
|
|
714
|
+
export type OperationsListResponse = OperationListResult;
|
|
714
715
|
|
|
715
|
-
/**
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
* @readonly
|
|
719
|
-
* @enum {string}
|
|
720
|
-
*/
|
|
721
|
-
export type Protocol = 'Encrypted' | 'Plaintext';
|
|
716
|
+
/** Optional parameters. */
|
|
717
|
+
export interface OperationsListNextOptionalParams
|
|
718
|
+
extends coreClient.OperationOptions {}
|
|
722
719
|
|
|
723
|
-
/**
|
|
724
|
-
|
|
725
|
-
* Possible values include: 'EnterpriseCluster', 'OSSCluster'
|
|
726
|
-
* @readonly
|
|
727
|
-
* @enum {string}
|
|
728
|
-
*/
|
|
729
|
-
export type ClusteringPolicy = 'EnterpriseCluster' | 'OSSCluster';
|
|
720
|
+
/** Contains response data for the listNext operation. */
|
|
721
|
+
export type OperationsListNextResponse = OperationListResult;
|
|
730
722
|
|
|
731
|
-
/**
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
* 'VolatileLFU', 'VolatileTTL', 'VolatileRandom', 'NoEviction'
|
|
735
|
-
* @readonly
|
|
736
|
-
* @enum {string}
|
|
737
|
-
*/
|
|
738
|
-
export type EvictionPolicy = 'AllKeysLFU' | 'AllKeysLRU' | 'AllKeysRandom' | 'VolatileLRU' | 'VolatileLFU' | 'VolatileTTL' | 'VolatileRandom' | 'NoEviction';
|
|
723
|
+
/** Optional parameters. */
|
|
724
|
+
export interface OperationsStatusGetOptionalParams
|
|
725
|
+
extends coreClient.OperationOptions {}
|
|
739
726
|
|
|
740
|
-
/**
|
|
741
|
-
|
|
742
|
-
* Possible values include: '1s', 'always'
|
|
743
|
-
* @readonly
|
|
744
|
-
* @enum {string}
|
|
745
|
-
*/
|
|
746
|
-
export type AofFrequency = '1s' | 'always';
|
|
727
|
+
/** Contains response data for the get operation. */
|
|
728
|
+
export type OperationsStatusGetResponse = OperationStatus;
|
|
747
729
|
|
|
748
|
-
/**
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
*/
|
|
754
|
-
|
|
730
|
+
/** Optional parameters. */
|
|
731
|
+
export interface RedisEnterpriseCreateOptionalParams
|
|
732
|
+
extends coreClient.OperationOptions {
|
|
733
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
734
|
+
updateIntervalInMs?: number;
|
|
735
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
736
|
+
resumeFrom?: string;
|
|
737
|
+
}
|
|
755
738
|
|
|
756
|
-
/**
|
|
757
|
-
|
|
758
|
-
* Possible values include: 'Primary', 'Secondary'
|
|
759
|
-
* @readonly
|
|
760
|
-
* @enum {string}
|
|
761
|
-
*/
|
|
762
|
-
export type AccessKeyType = 'Primary' | 'Secondary';
|
|
739
|
+
/** Contains response data for the create operation. */
|
|
740
|
+
export type RedisEnterpriseCreateResponse = Cluster;
|
|
763
741
|
|
|
764
|
-
/**
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
*/
|
|
770
|
-
|
|
742
|
+
/** Optional parameters. */
|
|
743
|
+
export interface RedisEnterpriseUpdateOptionalParams
|
|
744
|
+
extends coreClient.OperationOptions {
|
|
745
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
746
|
+
updateIntervalInMs?: number;
|
|
747
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
748
|
+
resumeFrom?: string;
|
|
749
|
+
}
|
|
771
750
|
|
|
772
|
-
/**
|
|
773
|
-
|
|
774
|
-
* Possible values include: 'Internal'
|
|
775
|
-
* @readonly
|
|
776
|
-
* @enum {string}
|
|
777
|
-
*/
|
|
778
|
-
export type ActionType = 'Internal';
|
|
751
|
+
/** Contains response data for the update operation. */
|
|
752
|
+
export type RedisEnterpriseUpdateResponse = Cluster;
|
|
779
753
|
|
|
780
|
-
/**
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
/**
|
|
789
|
-
* The response body as text (string format)
|
|
790
|
-
*/
|
|
791
|
-
bodyAsText: string;
|
|
792
|
-
|
|
793
|
-
/**
|
|
794
|
-
* The response body as parsed JSON or XML
|
|
795
|
-
*/
|
|
796
|
-
parsedBody: OperationListResult;
|
|
797
|
-
};
|
|
798
|
-
};
|
|
754
|
+
/** Optional parameters. */
|
|
755
|
+
export interface RedisEnterpriseDeleteOptionalParams
|
|
756
|
+
extends coreClient.OperationOptions {
|
|
757
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
758
|
+
updateIntervalInMs?: number;
|
|
759
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
760
|
+
resumeFrom?: string;
|
|
761
|
+
}
|
|
799
762
|
|
|
800
|
-
/**
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
export type OperationsListNextResponse = OperationListResult & {
|
|
804
|
-
/**
|
|
805
|
-
* The underlying HTTP response.
|
|
806
|
-
*/
|
|
807
|
-
_response: msRest.HttpResponse & {
|
|
808
|
-
/**
|
|
809
|
-
* The response body as text (string format)
|
|
810
|
-
*/
|
|
811
|
-
bodyAsText: string;
|
|
812
|
-
|
|
813
|
-
/**
|
|
814
|
-
* The response body as parsed JSON or XML
|
|
815
|
-
*/
|
|
816
|
-
parsedBody: OperationListResult;
|
|
817
|
-
};
|
|
818
|
-
};
|
|
763
|
+
/** Optional parameters. */
|
|
764
|
+
export interface RedisEnterpriseGetOptionalParams
|
|
765
|
+
extends coreClient.OperationOptions {}
|
|
819
766
|
|
|
820
|
-
/**
|
|
821
|
-
|
|
822
|
-
*/
|
|
823
|
-
export type OperationsStatusGetResponse = OperationStatus & {
|
|
824
|
-
/**
|
|
825
|
-
* The underlying HTTP response.
|
|
826
|
-
*/
|
|
827
|
-
_response: msRest.HttpResponse & {
|
|
828
|
-
/**
|
|
829
|
-
* The response body as text (string format)
|
|
830
|
-
*/
|
|
831
|
-
bodyAsText: string;
|
|
832
|
-
|
|
833
|
-
/**
|
|
834
|
-
* The response body as parsed JSON or XML
|
|
835
|
-
*/
|
|
836
|
-
parsedBody: OperationStatus;
|
|
837
|
-
};
|
|
838
|
-
};
|
|
767
|
+
/** Contains response data for the get operation. */
|
|
768
|
+
export type RedisEnterpriseGetResponse = Cluster;
|
|
839
769
|
|
|
840
|
-
/**
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
export type RedisEnterpriseCreateResponse = Cluster & {
|
|
844
|
-
/**
|
|
845
|
-
* The underlying HTTP response.
|
|
846
|
-
*/
|
|
847
|
-
_response: msRest.HttpResponse & {
|
|
848
|
-
/**
|
|
849
|
-
* The response body as text (string format)
|
|
850
|
-
*/
|
|
851
|
-
bodyAsText: string;
|
|
852
|
-
|
|
853
|
-
/**
|
|
854
|
-
* The response body as parsed JSON or XML
|
|
855
|
-
*/
|
|
856
|
-
parsedBody: Cluster;
|
|
857
|
-
};
|
|
858
|
-
};
|
|
770
|
+
/** Optional parameters. */
|
|
771
|
+
export interface RedisEnterpriseListByResourceGroupOptionalParams
|
|
772
|
+
extends coreClient.OperationOptions {}
|
|
859
773
|
|
|
860
|
-
/**
|
|
861
|
-
|
|
862
|
-
*/
|
|
863
|
-
export type RedisEnterpriseUpdateResponse = Cluster & {
|
|
864
|
-
/**
|
|
865
|
-
* The underlying HTTP response.
|
|
866
|
-
*/
|
|
867
|
-
_response: msRest.HttpResponse & {
|
|
868
|
-
/**
|
|
869
|
-
* The response body as text (string format)
|
|
870
|
-
*/
|
|
871
|
-
bodyAsText: string;
|
|
872
|
-
|
|
873
|
-
/**
|
|
874
|
-
* The response body as parsed JSON or XML
|
|
875
|
-
*/
|
|
876
|
-
parsedBody: Cluster;
|
|
877
|
-
};
|
|
878
|
-
};
|
|
774
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
775
|
+
export type RedisEnterpriseListByResourceGroupResponse = ClusterList;
|
|
879
776
|
|
|
880
|
-
/**
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
export type RedisEnterpriseGetResponse = Cluster & {
|
|
884
|
-
/**
|
|
885
|
-
* The underlying HTTP response.
|
|
886
|
-
*/
|
|
887
|
-
_response: msRest.HttpResponse & {
|
|
888
|
-
/**
|
|
889
|
-
* The response body as text (string format)
|
|
890
|
-
*/
|
|
891
|
-
bodyAsText: string;
|
|
892
|
-
|
|
893
|
-
/**
|
|
894
|
-
* The response body as parsed JSON or XML
|
|
895
|
-
*/
|
|
896
|
-
parsedBody: Cluster;
|
|
897
|
-
};
|
|
898
|
-
};
|
|
777
|
+
/** Optional parameters. */
|
|
778
|
+
export interface RedisEnterpriseListOptionalParams
|
|
779
|
+
extends coreClient.OperationOptions {}
|
|
899
780
|
|
|
900
|
-
/**
|
|
901
|
-
|
|
902
|
-
*/
|
|
903
|
-
export type RedisEnterpriseListByResourceGroupResponse = ClusterList & {
|
|
904
|
-
/**
|
|
905
|
-
* The underlying HTTP response.
|
|
906
|
-
*/
|
|
907
|
-
_response: msRest.HttpResponse & {
|
|
908
|
-
/**
|
|
909
|
-
* The response body as text (string format)
|
|
910
|
-
*/
|
|
911
|
-
bodyAsText: string;
|
|
912
|
-
|
|
913
|
-
/**
|
|
914
|
-
* The response body as parsed JSON or XML
|
|
915
|
-
*/
|
|
916
|
-
parsedBody: ClusterList;
|
|
917
|
-
};
|
|
918
|
-
};
|
|
781
|
+
/** Contains response data for the list operation. */
|
|
782
|
+
export type RedisEnterpriseListResponse = ClusterList;
|
|
919
783
|
|
|
920
|
-
/**
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
export type RedisEnterpriseListResponse = ClusterList & {
|
|
924
|
-
/**
|
|
925
|
-
* The underlying HTTP response.
|
|
926
|
-
*/
|
|
927
|
-
_response: msRest.HttpResponse & {
|
|
928
|
-
/**
|
|
929
|
-
* The response body as text (string format)
|
|
930
|
-
*/
|
|
931
|
-
bodyAsText: string;
|
|
932
|
-
|
|
933
|
-
/**
|
|
934
|
-
* The response body as parsed JSON or XML
|
|
935
|
-
*/
|
|
936
|
-
parsedBody: ClusterList;
|
|
937
|
-
};
|
|
938
|
-
};
|
|
784
|
+
/** Optional parameters. */
|
|
785
|
+
export interface RedisEnterpriseListByResourceGroupNextOptionalParams
|
|
786
|
+
extends coreClient.OperationOptions {}
|
|
939
787
|
|
|
940
|
-
/**
|
|
941
|
-
|
|
942
|
-
*/
|
|
943
|
-
export type RedisEnterpriseBeginCreateResponse = Cluster & {
|
|
944
|
-
/**
|
|
945
|
-
* The underlying HTTP response.
|
|
946
|
-
*/
|
|
947
|
-
_response: msRest.HttpResponse & {
|
|
948
|
-
/**
|
|
949
|
-
* The response body as text (string format)
|
|
950
|
-
*/
|
|
951
|
-
bodyAsText: string;
|
|
952
|
-
|
|
953
|
-
/**
|
|
954
|
-
* The response body as parsed JSON or XML
|
|
955
|
-
*/
|
|
956
|
-
parsedBody: Cluster;
|
|
957
|
-
};
|
|
958
|
-
};
|
|
788
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
789
|
+
export type RedisEnterpriseListByResourceGroupNextResponse = ClusterList;
|
|
959
790
|
|
|
960
|
-
/**
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
export type RedisEnterpriseBeginUpdateResponse = Cluster & {
|
|
964
|
-
/**
|
|
965
|
-
* The underlying HTTP response.
|
|
966
|
-
*/
|
|
967
|
-
_response: msRest.HttpResponse & {
|
|
968
|
-
/**
|
|
969
|
-
* The response body as text (string format)
|
|
970
|
-
*/
|
|
971
|
-
bodyAsText: string;
|
|
972
|
-
|
|
973
|
-
/**
|
|
974
|
-
* The response body as parsed JSON or XML
|
|
975
|
-
*/
|
|
976
|
-
parsedBody: Cluster;
|
|
977
|
-
};
|
|
978
|
-
};
|
|
791
|
+
/** Optional parameters. */
|
|
792
|
+
export interface RedisEnterpriseListNextOptionalParams
|
|
793
|
+
extends coreClient.OperationOptions {}
|
|
979
794
|
|
|
980
|
-
/**
|
|
981
|
-
|
|
982
|
-
*/
|
|
983
|
-
export type RedisEnterpriseListByResourceGroupNextResponse = ClusterList & {
|
|
984
|
-
/**
|
|
985
|
-
* The underlying HTTP response.
|
|
986
|
-
*/
|
|
987
|
-
_response: msRest.HttpResponse & {
|
|
988
|
-
/**
|
|
989
|
-
* The response body as text (string format)
|
|
990
|
-
*/
|
|
991
|
-
bodyAsText: string;
|
|
992
|
-
|
|
993
|
-
/**
|
|
994
|
-
* The response body as parsed JSON or XML
|
|
995
|
-
*/
|
|
996
|
-
parsedBody: ClusterList;
|
|
997
|
-
};
|
|
998
|
-
};
|
|
795
|
+
/** Contains response data for the listNext operation. */
|
|
796
|
+
export type RedisEnterpriseListNextResponse = ClusterList;
|
|
999
797
|
|
|
1000
|
-
/**
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
export type RedisEnterpriseListNextResponse = ClusterList & {
|
|
1004
|
-
/**
|
|
1005
|
-
* The underlying HTTP response.
|
|
1006
|
-
*/
|
|
1007
|
-
_response: msRest.HttpResponse & {
|
|
1008
|
-
/**
|
|
1009
|
-
* The response body as text (string format)
|
|
1010
|
-
*/
|
|
1011
|
-
bodyAsText: string;
|
|
1012
|
-
|
|
1013
|
-
/**
|
|
1014
|
-
* The response body as parsed JSON or XML
|
|
1015
|
-
*/
|
|
1016
|
-
parsedBody: ClusterList;
|
|
1017
|
-
};
|
|
1018
|
-
};
|
|
798
|
+
/** Optional parameters. */
|
|
799
|
+
export interface DatabasesListByClusterOptionalParams
|
|
800
|
+
extends coreClient.OperationOptions {}
|
|
1019
801
|
|
|
1020
|
-
/**
|
|
1021
|
-
|
|
1022
|
-
*/
|
|
1023
|
-
export type DatabasesListByClusterResponse = DatabaseList & {
|
|
1024
|
-
/**
|
|
1025
|
-
* The underlying HTTP response.
|
|
1026
|
-
*/
|
|
1027
|
-
_response: msRest.HttpResponse & {
|
|
1028
|
-
/**
|
|
1029
|
-
* The response body as text (string format)
|
|
1030
|
-
*/
|
|
1031
|
-
bodyAsText: string;
|
|
1032
|
-
|
|
1033
|
-
/**
|
|
1034
|
-
* The response body as parsed JSON or XML
|
|
1035
|
-
*/
|
|
1036
|
-
parsedBody: DatabaseList;
|
|
1037
|
-
};
|
|
1038
|
-
};
|
|
802
|
+
/** Contains response data for the listByCluster operation. */
|
|
803
|
+
export type DatabasesListByClusterResponse = DatabaseList;
|
|
1039
804
|
|
|
1040
|
-
/**
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
/**
|
|
1049
|
-
* The response body as text (string format)
|
|
1050
|
-
*/
|
|
1051
|
-
bodyAsText: string;
|
|
1052
|
-
|
|
1053
|
-
/**
|
|
1054
|
-
* The response body as parsed JSON or XML
|
|
1055
|
-
*/
|
|
1056
|
-
parsedBody: Database;
|
|
1057
|
-
};
|
|
1058
|
-
};
|
|
805
|
+
/** Optional parameters. */
|
|
806
|
+
export interface DatabasesCreateOptionalParams
|
|
807
|
+
extends coreClient.OperationOptions {
|
|
808
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
809
|
+
updateIntervalInMs?: number;
|
|
810
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
811
|
+
resumeFrom?: string;
|
|
812
|
+
}
|
|
1059
813
|
|
|
1060
|
-
/**
|
|
1061
|
-
|
|
1062
|
-
*/
|
|
1063
|
-
export type DatabasesUpdateResponse = Database & {
|
|
1064
|
-
/**
|
|
1065
|
-
* The underlying HTTP response.
|
|
1066
|
-
*/
|
|
1067
|
-
_response: msRest.HttpResponse & {
|
|
1068
|
-
/**
|
|
1069
|
-
* The response body as text (string format)
|
|
1070
|
-
*/
|
|
1071
|
-
bodyAsText: string;
|
|
1072
|
-
|
|
1073
|
-
/**
|
|
1074
|
-
* The response body as parsed JSON or XML
|
|
1075
|
-
*/
|
|
1076
|
-
parsedBody: Database;
|
|
1077
|
-
};
|
|
1078
|
-
};
|
|
814
|
+
/** Contains response data for the create operation. */
|
|
815
|
+
export type DatabasesCreateResponse = Database;
|
|
1079
816
|
|
|
1080
|
-
/**
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
/**
|
|
1089
|
-
* The response body as text (string format)
|
|
1090
|
-
*/
|
|
1091
|
-
bodyAsText: string;
|
|
1092
|
-
|
|
1093
|
-
/**
|
|
1094
|
-
* The response body as parsed JSON or XML
|
|
1095
|
-
*/
|
|
1096
|
-
parsedBody: Database;
|
|
1097
|
-
};
|
|
1098
|
-
};
|
|
817
|
+
/** Optional parameters. */
|
|
818
|
+
export interface DatabasesUpdateOptionalParams
|
|
819
|
+
extends coreClient.OperationOptions {
|
|
820
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
821
|
+
updateIntervalInMs?: number;
|
|
822
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
823
|
+
resumeFrom?: string;
|
|
824
|
+
}
|
|
1099
825
|
|
|
1100
|
-
/**
|
|
1101
|
-
|
|
1102
|
-
*/
|
|
1103
|
-
export type DatabasesListKeysResponse = AccessKeys & {
|
|
1104
|
-
/**
|
|
1105
|
-
* The underlying HTTP response.
|
|
1106
|
-
*/
|
|
1107
|
-
_response: msRest.HttpResponse & {
|
|
1108
|
-
/**
|
|
1109
|
-
* The response body as text (string format)
|
|
1110
|
-
*/
|
|
1111
|
-
bodyAsText: string;
|
|
1112
|
-
|
|
1113
|
-
/**
|
|
1114
|
-
* The response body as parsed JSON or XML
|
|
1115
|
-
*/
|
|
1116
|
-
parsedBody: AccessKeys;
|
|
1117
|
-
};
|
|
1118
|
-
};
|
|
826
|
+
/** Contains response data for the update operation. */
|
|
827
|
+
export type DatabasesUpdateResponse = Database;
|
|
1119
828
|
|
|
1120
|
-
/**
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
export type DatabasesRegenerateKeyResponse = AccessKeys & {
|
|
1124
|
-
/**
|
|
1125
|
-
* The underlying HTTP response.
|
|
1126
|
-
*/
|
|
1127
|
-
_response: msRest.HttpResponse & {
|
|
1128
|
-
/**
|
|
1129
|
-
* The response body as text (string format)
|
|
1130
|
-
*/
|
|
1131
|
-
bodyAsText: string;
|
|
1132
|
-
|
|
1133
|
-
/**
|
|
1134
|
-
* The response body as parsed JSON or XML
|
|
1135
|
-
*/
|
|
1136
|
-
parsedBody: AccessKeys;
|
|
1137
|
-
};
|
|
1138
|
-
};
|
|
829
|
+
/** Optional parameters. */
|
|
830
|
+
export interface DatabasesGetOptionalParams
|
|
831
|
+
extends coreClient.OperationOptions {}
|
|
1139
832
|
|
|
1140
|
-
/**
|
|
1141
|
-
|
|
1142
|
-
*/
|
|
1143
|
-
export type DatabasesBeginCreateResponse = Database & {
|
|
1144
|
-
/**
|
|
1145
|
-
* The underlying HTTP response.
|
|
1146
|
-
*/
|
|
1147
|
-
_response: msRest.HttpResponse & {
|
|
1148
|
-
/**
|
|
1149
|
-
* The response body as text (string format)
|
|
1150
|
-
*/
|
|
1151
|
-
bodyAsText: string;
|
|
1152
|
-
|
|
1153
|
-
/**
|
|
1154
|
-
* The response body as parsed JSON or XML
|
|
1155
|
-
*/
|
|
1156
|
-
parsedBody: Database;
|
|
1157
|
-
};
|
|
1158
|
-
};
|
|
833
|
+
/** Contains response data for the get operation. */
|
|
834
|
+
export type DatabasesGetResponse = Database;
|
|
1159
835
|
|
|
1160
|
-
/**
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
/**
|
|
1169
|
-
* The response body as text (string format)
|
|
1170
|
-
*/
|
|
1171
|
-
bodyAsText: string;
|
|
1172
|
-
|
|
1173
|
-
/**
|
|
1174
|
-
* The response body as parsed JSON or XML
|
|
1175
|
-
*/
|
|
1176
|
-
parsedBody: Database;
|
|
1177
|
-
};
|
|
1178
|
-
};
|
|
836
|
+
/** Optional parameters. */
|
|
837
|
+
export interface DatabasesDeleteOptionalParams
|
|
838
|
+
extends coreClient.OperationOptions {
|
|
839
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
840
|
+
updateIntervalInMs?: number;
|
|
841
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
842
|
+
resumeFrom?: string;
|
|
843
|
+
}
|
|
1179
844
|
|
|
1180
|
-
/**
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
export type DatabasesBeginRegenerateKeyResponse = AccessKeys & {
|
|
1184
|
-
/**
|
|
1185
|
-
* The underlying HTTP response.
|
|
1186
|
-
*/
|
|
1187
|
-
_response: msRest.HttpResponse & {
|
|
1188
|
-
/**
|
|
1189
|
-
* The response body as text (string format)
|
|
1190
|
-
*/
|
|
1191
|
-
bodyAsText: string;
|
|
1192
|
-
|
|
1193
|
-
/**
|
|
1194
|
-
* The response body as parsed JSON or XML
|
|
1195
|
-
*/
|
|
1196
|
-
parsedBody: AccessKeys;
|
|
1197
|
-
};
|
|
1198
|
-
};
|
|
845
|
+
/** Optional parameters. */
|
|
846
|
+
export interface DatabasesListKeysOptionalParams
|
|
847
|
+
extends coreClient.OperationOptions {}
|
|
1199
848
|
|
|
1200
|
-
/**
|
|
1201
|
-
|
|
1202
|
-
*/
|
|
1203
|
-
export type DatabasesListByClusterNextResponse = DatabaseList & {
|
|
1204
|
-
/**
|
|
1205
|
-
* The underlying HTTP response.
|
|
1206
|
-
*/
|
|
1207
|
-
_response: msRest.HttpResponse & {
|
|
1208
|
-
/**
|
|
1209
|
-
* The response body as text (string format)
|
|
1210
|
-
*/
|
|
1211
|
-
bodyAsText: string;
|
|
1212
|
-
|
|
1213
|
-
/**
|
|
1214
|
-
* The response body as parsed JSON or XML
|
|
1215
|
-
*/
|
|
1216
|
-
parsedBody: DatabaseList;
|
|
1217
|
-
};
|
|
1218
|
-
};
|
|
849
|
+
/** Contains response data for the listKeys operation. */
|
|
850
|
+
export type DatabasesListKeysResponse = AccessKeys;
|
|
1219
851
|
|
|
1220
|
-
/**
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
/**
|
|
1229
|
-
* The response body as text (string format)
|
|
1230
|
-
*/
|
|
1231
|
-
bodyAsText: string;
|
|
1232
|
-
|
|
1233
|
-
/**
|
|
1234
|
-
* The response body as parsed JSON or XML
|
|
1235
|
-
*/
|
|
1236
|
-
parsedBody: PrivateEndpointConnectionListResult;
|
|
1237
|
-
};
|
|
1238
|
-
};
|
|
852
|
+
/** Optional parameters. */
|
|
853
|
+
export interface DatabasesRegenerateKeyOptionalParams
|
|
854
|
+
extends coreClient.OperationOptions {
|
|
855
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
856
|
+
updateIntervalInMs?: number;
|
|
857
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
858
|
+
resumeFrom?: string;
|
|
859
|
+
}
|
|
1239
860
|
|
|
1240
|
-
/**
|
|
1241
|
-
|
|
1242
|
-
*/
|
|
1243
|
-
export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & {
|
|
1244
|
-
/**
|
|
1245
|
-
* The underlying HTTP response.
|
|
1246
|
-
*/
|
|
1247
|
-
_response: msRest.HttpResponse & {
|
|
1248
|
-
/**
|
|
1249
|
-
* The response body as text (string format)
|
|
1250
|
-
*/
|
|
1251
|
-
bodyAsText: string;
|
|
1252
|
-
|
|
1253
|
-
/**
|
|
1254
|
-
* The response body as parsed JSON or XML
|
|
1255
|
-
*/
|
|
1256
|
-
parsedBody: PrivateEndpointConnection;
|
|
1257
|
-
};
|
|
1258
|
-
};
|
|
861
|
+
/** Contains response data for the regenerateKey operation. */
|
|
862
|
+
export type DatabasesRegenerateKeyResponse = AccessKeys;
|
|
1259
863
|
|
|
1260
|
-
/**
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
/**
|
|
1269
|
-
* The response body as text (string format)
|
|
1270
|
-
*/
|
|
1271
|
-
bodyAsText: string;
|
|
1272
|
-
|
|
1273
|
-
/**
|
|
1274
|
-
* The response body as parsed JSON or XML
|
|
1275
|
-
*/
|
|
1276
|
-
parsedBody: PrivateEndpointConnection;
|
|
1277
|
-
};
|
|
1278
|
-
};
|
|
864
|
+
/** Optional parameters. */
|
|
865
|
+
export interface DatabasesImportOptionalParams
|
|
866
|
+
extends coreClient.OperationOptions {
|
|
867
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
868
|
+
updateIntervalInMs?: number;
|
|
869
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
870
|
+
resumeFrom?: string;
|
|
871
|
+
}
|
|
1279
872
|
|
|
1280
|
-
/**
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
/**
|
|
1289
|
-
* The response body as text (string format)
|
|
1290
|
-
*/
|
|
1291
|
-
bodyAsText: string;
|
|
1292
|
-
|
|
1293
|
-
/**
|
|
1294
|
-
* The response body as parsed JSON or XML
|
|
1295
|
-
*/
|
|
1296
|
-
parsedBody: PrivateEndpointConnection;
|
|
1297
|
-
};
|
|
1298
|
-
};
|
|
873
|
+
/** Optional parameters. */
|
|
874
|
+
export interface DatabasesExportOptionalParams
|
|
875
|
+
extends coreClient.OperationOptions {
|
|
876
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
877
|
+
updateIntervalInMs?: number;
|
|
878
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
879
|
+
resumeFrom?: string;
|
|
880
|
+
}
|
|
1299
881
|
|
|
1300
|
-
/**
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
882
|
+
/** Optional parameters. */
|
|
883
|
+
export interface DatabasesListByClusterNextOptionalParams
|
|
884
|
+
extends coreClient.OperationOptions {}
|
|
885
|
+
|
|
886
|
+
/** Contains response data for the listByClusterNext operation. */
|
|
887
|
+
export type DatabasesListByClusterNextResponse = DatabaseList;
|
|
888
|
+
|
|
889
|
+
/** Optional parameters. */
|
|
890
|
+
export interface PrivateEndpointConnectionsListOptionalParams
|
|
891
|
+
extends coreClient.OperationOptions {}
|
|
892
|
+
|
|
893
|
+
/** Contains response data for the list operation. */
|
|
894
|
+
export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult;
|
|
895
|
+
|
|
896
|
+
/** Optional parameters. */
|
|
897
|
+
export interface PrivateEndpointConnectionsGetOptionalParams
|
|
898
|
+
extends coreClient.OperationOptions {}
|
|
899
|
+
|
|
900
|
+
/** Contains response data for the get operation. */
|
|
901
|
+
export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
|
|
902
|
+
|
|
903
|
+
/** Optional parameters. */
|
|
904
|
+
export interface PrivateEndpointConnectionsPutOptionalParams
|
|
905
|
+
extends coreClient.OperationOptions {
|
|
906
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
907
|
+
updateIntervalInMs?: number;
|
|
908
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
909
|
+
resumeFrom?: string;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
/** Contains response data for the put operation. */
|
|
913
|
+
export type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnection;
|
|
914
|
+
|
|
915
|
+
/** Optional parameters. */
|
|
916
|
+
export interface PrivateEndpointConnectionsDeleteOptionalParams
|
|
917
|
+
extends coreClient.OperationOptions {}
|
|
918
|
+
|
|
919
|
+
/** Optional parameters. */
|
|
920
|
+
export interface PrivateLinkResourcesListByClusterOptionalParams
|
|
921
|
+
extends coreClient.OperationOptions {}
|
|
922
|
+
|
|
923
|
+
/** Contains response data for the listByCluster operation. */
|
|
924
|
+
export type PrivateLinkResourcesListByClusterResponse = PrivateLinkResourceListResult;
|
|
925
|
+
|
|
926
|
+
/** Optional parameters. */
|
|
927
|
+
export interface RedisEnterpriseManagementClientOptionalParams
|
|
928
|
+
extends coreClient.ServiceClientOptions {
|
|
929
|
+
/** server parameter */
|
|
930
|
+
$host?: string;
|
|
931
|
+
/** Api Version */
|
|
932
|
+
apiVersion?: string;
|
|
933
|
+
/** Overrides client endpoint. */
|
|
934
|
+
endpoint?: string;
|
|
935
|
+
}
|