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