@azure/arm-redisenterprisecache 3.0.1-alpha.20240709.1 → 3.1.0-beta.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 +28 -13
- package/README.md +1 -1
- package/dist/index.js +1028 -721
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/databasesCreateSample.js +11 -10
- package/dist-esm/samples-dev/databasesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/databasesExportSample.js +3 -3
- package/dist-esm/samples-dev/databasesExportSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesFlushSample.js +4 -4
- package/dist-esm/samples-dev/databasesFlushSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.js +51 -0
- package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/databasesForceUnlinkSample.js +4 -4
- package/dist-esm/samples-dev/databasesForceUnlinkSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesGetSample.js +1 -1
- package/dist-esm/samples-dev/databasesImportSample.js +4 -4
- package/dist-esm/samples-dev/databasesImportSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/databasesListKeysSample.js +1 -1
- package/dist-esm/samples-dev/databasesRegenerateKeySample.js +2 -2
- package/dist-esm/samples-dev/databasesRegenerateKeySample.js.map +1 -1
- package/dist-esm/samples-dev/databasesUpdateSample.js +3 -3
- package/dist-esm/samples-dev/databasesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.d.ts +2 -0
- package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js +39 -0
- package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/operationsStatusGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/redisEnterpriseCreateSample.js +8 -8
- package/dist-esm/samples-dev/redisEnterpriseCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js +1 -1
- package/dist-esm/samples-dev/redisEnterpriseGetSample.js +1 -1
- package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/redisEnterpriseListSample.js +1 -1
- package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js +3 -3
- package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +72 -0
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +10 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +3 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +481 -389
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +1 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +62 -52
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/databases.d.ts +78 -40
- package/dist-esm/src/operations/databases.d.ts.map +1 -1
- package/dist-esm/src/operations/databases.js +337 -145
- package/dist-esm/src/operations/databases.js.map +1 -1
- package/dist-esm/src/operations/operations.js +9 -9
- package/dist-esm/src/operations/operationsStatus.js +5 -5
- package/dist-esm/src/operations/operationsStatus.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +7 -7
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +42 -42
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts +2 -2
- package/dist-esm/src/operations/privateLinkResources.js +8 -8
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/redisEnterprise.d.ts +7 -7
- package/dist-esm/src/operations/redisEnterprise.d.ts.map +1 -1
- package/dist-esm/src/operations/redisEnterprise.js +66 -66
- package/dist-esm/src/operations/redisEnterprise.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/databases.d.ts +76 -38
- package/dist-esm/src/operationsInterfaces/databases.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +6 -6
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/redisEnterprise.d.ts +7 -7
- package/dist-esm/src/redisEnterpriseManagementClient.d.ts.map +1 -1
- package/dist-esm/src/redisEnterpriseManagementClient.js +9 -9
- package/dist-esm/src/redisEnterpriseManagementClient.js.map +1 -1
- package/dist-esm/test/redisenterprisecache_test.spec.d.ts.map +1 -1
- package/dist-esm/test/redisenterprisecache_test.spec.js +0 -3
- package/dist-esm/test/redisenterprisecache_test.spec.js.map +1 -1
- package/package.json +6 -6
- package/review/arm-redisenterprisecache.api.md +54 -0
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +105 -18
- package/src/models/mappers.ts +539 -437
- package/src/models/parameters.ts +65 -53
- package/src/operations/databases.ts +527 -272
- package/src/operations/operations.ts +16 -16
- package/src/operations/operationsStatus.ts +9 -10
- package/src/operations/privateEndpointConnections.ts +78 -83
- package/src/operations/privateLinkResources.ts +18 -19
- package/src/operations/redisEnterprise.ts +121 -130
- package/src/operationsInterfaces/databases.ts +132 -57
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/operationsStatus.ts +2 -2
- package/src/operationsInterfaces/privateEndpointConnections.ts +13 -13
- package/src/operationsInterfaces/privateLinkResources.ts +3 -3
- package/src/operationsInterfaces/redisEnterprise.ts +17 -17
- package/src/pagingHelper.ts +1 -1
- package/src/redisEnterpriseManagementClient.ts +18 -17
- package/types/arm-redisenterprisecache.d.ts +170 -51
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
2
|
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
-
import { Database, DatabasesListByClusterOptionalParams, DatabasesCreateOptionalParams, DatabasesCreateResponse, DatabaseUpdate, DatabasesUpdateOptionalParams, DatabasesUpdateResponse, DatabasesGetOptionalParams, DatabasesGetResponse, DatabasesDeleteOptionalParams, DatabasesListKeysOptionalParams, DatabasesListKeysResponse, RegenerateKeyParameters, DatabasesRegenerateKeyOptionalParams, DatabasesRegenerateKeyResponse, ImportClusterParameters, DatabasesImportOptionalParams, ExportClusterParameters, DatabasesExportOptionalParams, ForceUnlinkParameters, DatabasesForceUnlinkOptionalParams, FlushParameters, DatabasesFlushOptionalParams } from "../models";
|
|
3
|
+
import { Database, DatabasesListByClusterOptionalParams, DatabasesCreateOptionalParams, DatabasesCreateResponse, DatabaseUpdate, DatabasesUpdateOptionalParams, DatabasesUpdateResponse, DatabasesGetOptionalParams, DatabasesGetResponse, DatabasesDeleteOptionalParams, DatabasesListKeysOptionalParams, DatabasesListKeysResponse, RegenerateKeyParameters, DatabasesRegenerateKeyOptionalParams, DatabasesRegenerateKeyResponse, ImportClusterParameters, DatabasesImportOptionalParams, ExportClusterParameters, DatabasesExportOptionalParams, ForceUnlinkParameters, DatabasesForceUnlinkOptionalParams, ForceLinkParameters, DatabasesForceLinkToReplicationGroupOptionalParams, DatabasesForceLinkToReplicationGroupResponse, FlushParameters, DatabasesFlushOptionalParams, DatabasesUpgradeDBRedisVersionOptionalParams, DatabasesUpgradeDBRedisVersionResponse } from "../models";
|
|
4
4
|
/** Interface representing a Databases. */
|
|
5
5
|
export interface Databases {
|
|
6
6
|
/**
|
|
7
7
|
* Gets all databases in the specified RedisEnterprise cluster.
|
|
8
8
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9
|
-
* @param clusterName The name of the
|
|
9
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
10
10
|
* @param options The options parameters.
|
|
11
11
|
*/
|
|
12
12
|
listByCluster(resourceGroupName: string, clusterName: string, options?: DatabasesListByClusterOptionalParams): PagedAsyncIterableIterator<Database>;
|
|
13
13
|
/**
|
|
14
14
|
* Creates a database
|
|
15
15
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
-
* @param clusterName The name of the
|
|
17
|
-
* @param databaseName The name of the database.
|
|
16
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
17
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
18
18
|
* @param parameters Parameters supplied to the create or update database operation.
|
|
19
19
|
* @param options The options parameters.
|
|
20
20
|
*/
|
|
@@ -22,8 +22,8 @@ export interface Databases {
|
|
|
22
22
|
/**
|
|
23
23
|
* Creates a database
|
|
24
24
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
-
* @param clusterName The name of the
|
|
26
|
-
* @param databaseName The name of the database.
|
|
25
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
26
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
27
27
|
* @param parameters Parameters supplied to the create or update database operation.
|
|
28
28
|
* @param options The options parameters.
|
|
29
29
|
*/
|
|
@@ -31,8 +31,8 @@ export interface Databases {
|
|
|
31
31
|
/**
|
|
32
32
|
* Updates a database
|
|
33
33
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
|
-
* @param clusterName The name of the
|
|
35
|
-
* @param databaseName The name of the database.
|
|
34
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
35
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
36
36
|
* @param parameters Parameters supplied to the create or update database operation.
|
|
37
37
|
* @param options The options parameters.
|
|
38
38
|
*/
|
|
@@ -40,8 +40,8 @@ export interface Databases {
|
|
|
40
40
|
/**
|
|
41
41
|
* Updates a database
|
|
42
42
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
43
|
-
* @param clusterName The name of the
|
|
44
|
-
* @param databaseName The name of the database.
|
|
43
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
44
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
45
45
|
* @param parameters Parameters supplied to the create or update database operation.
|
|
46
46
|
* @param options The options parameters.
|
|
47
47
|
*/
|
|
@@ -49,40 +49,40 @@ export interface Databases {
|
|
|
49
49
|
/**
|
|
50
50
|
* Gets information about a database in a RedisEnterprise cluster.
|
|
51
51
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
52
|
-
* @param clusterName The name of the
|
|
53
|
-
* @param databaseName The name of the database.
|
|
52
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
53
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
54
54
|
* @param options The options parameters.
|
|
55
55
|
*/
|
|
56
56
|
get(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesGetOptionalParams): Promise<DatabasesGetResponse>;
|
|
57
57
|
/**
|
|
58
58
|
* Deletes a single database
|
|
59
59
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
60
|
-
* @param clusterName The name of the
|
|
61
|
-
* @param databaseName The name of the database.
|
|
60
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
61
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
62
62
|
* @param options The options parameters.
|
|
63
63
|
*/
|
|
64
64
|
beginDelete(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
65
65
|
/**
|
|
66
66
|
* Deletes a single database
|
|
67
67
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
68
|
-
* @param clusterName The name of the
|
|
69
|
-
* @param databaseName The name of the database.
|
|
68
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
69
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
70
70
|
* @param options The options parameters.
|
|
71
71
|
*/
|
|
72
72
|
beginDeleteAndWait(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<void>;
|
|
73
73
|
/**
|
|
74
74
|
* Retrieves the access keys for the RedisEnterprise database.
|
|
75
75
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
76
|
-
* @param clusterName The name of the
|
|
77
|
-
* @param databaseName The name of the database.
|
|
76
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
77
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
78
78
|
* @param options The options parameters.
|
|
79
79
|
*/
|
|
80
80
|
listKeys(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesListKeysOptionalParams): Promise<DatabasesListKeysResponse>;
|
|
81
81
|
/**
|
|
82
82
|
* Regenerates the RedisEnterprise database's access keys.
|
|
83
83
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
84
|
-
* @param clusterName The name of the
|
|
85
|
-
* @param databaseName The name of the database.
|
|
84
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
85
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
86
86
|
* @param parameters Specifies which key to regenerate.
|
|
87
87
|
* @param options The options parameters.
|
|
88
88
|
*/
|
|
@@ -90,8 +90,8 @@ export interface Databases {
|
|
|
90
90
|
/**
|
|
91
91
|
* Regenerates the RedisEnterprise database's access keys.
|
|
92
92
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
93
|
-
* @param clusterName The name of the
|
|
94
|
-
* @param databaseName The name of the database.
|
|
93
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
94
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
95
95
|
* @param parameters Specifies which key to regenerate.
|
|
96
96
|
* @param options The options parameters.
|
|
97
97
|
*/
|
|
@@ -99,8 +99,8 @@ export interface Databases {
|
|
|
99
99
|
/**
|
|
100
100
|
* Imports database files to target database.
|
|
101
101
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
102
|
-
* @param clusterName The name of the
|
|
103
|
-
* @param databaseName The name of the database.
|
|
102
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
103
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
104
104
|
* @param parameters Storage information for importing into the cluster
|
|
105
105
|
* @param options The options parameters.
|
|
106
106
|
*/
|
|
@@ -108,8 +108,8 @@ export interface Databases {
|
|
|
108
108
|
/**
|
|
109
109
|
* Imports database files to target database.
|
|
110
110
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
111
|
-
* @param clusterName The name of the
|
|
112
|
-
* @param databaseName The name of the database.
|
|
111
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
112
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
113
113
|
* @param parameters Storage information for importing into the cluster
|
|
114
114
|
* @param options The options parameters.
|
|
115
115
|
*/
|
|
@@ -117,8 +117,8 @@ export interface Databases {
|
|
|
117
117
|
/**
|
|
118
118
|
* Exports a database file from target database.
|
|
119
119
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
120
|
-
* @param clusterName The name of the
|
|
121
|
-
* @param databaseName The name of the database.
|
|
120
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
121
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
122
122
|
* @param parameters Storage information for exporting into the cluster
|
|
123
123
|
* @param options The options parameters.
|
|
124
124
|
*/
|
|
@@ -126,8 +126,8 @@ export interface Databases {
|
|
|
126
126
|
/**
|
|
127
127
|
* Exports a database file from target database.
|
|
128
128
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
129
|
-
* @param clusterName The name of the
|
|
130
|
-
* @param databaseName The name of the database.
|
|
129
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
130
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
131
131
|
* @param parameters Storage information for exporting into the cluster
|
|
132
132
|
* @param options The options parameters.
|
|
133
133
|
*/
|
|
@@ -135,8 +135,8 @@ export interface Databases {
|
|
|
135
135
|
/**
|
|
136
136
|
* Forcibly removes the link to the specified database resource.
|
|
137
137
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
138
|
-
* @param clusterName The name of the
|
|
139
|
-
* @param databaseName The name of the database.
|
|
138
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
139
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
140
140
|
* @param parameters Information identifying the database to be unlinked.
|
|
141
141
|
* @param options The options parameters.
|
|
142
142
|
*/
|
|
@@ -144,17 +144,39 @@ export interface Databases {
|
|
|
144
144
|
/**
|
|
145
145
|
* Forcibly removes the link to the specified database resource.
|
|
146
146
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
147
|
-
* @param clusterName The name of the
|
|
148
|
-
* @param databaseName The name of the database.
|
|
147
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
148
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
149
149
|
* @param parameters Information identifying the database to be unlinked.
|
|
150
150
|
* @param options The options parameters.
|
|
151
151
|
*/
|
|
152
152
|
beginForceUnlinkAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ForceUnlinkParameters, options?: DatabasesForceUnlinkOptionalParams): Promise<void>;
|
|
153
|
+
/**
|
|
154
|
+
* Forcibly recreates an existing database on the specified cluster, and rejoins it to an existing
|
|
155
|
+
* replication group. **IMPORTANT NOTE:** All data in this database will be discarded, and the database
|
|
156
|
+
* will temporarily be unavailable while rejoining the replication group.
|
|
157
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
158
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
159
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
160
|
+
* @param parameters Information identifying the database to be unlinked.
|
|
161
|
+
* @param options The options parameters.
|
|
162
|
+
*/
|
|
163
|
+
beginForceLinkToReplicationGroup(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ForceLinkParameters, options?: DatabasesForceLinkToReplicationGroupOptionalParams): Promise<SimplePollerLike<OperationState<DatabasesForceLinkToReplicationGroupResponse>, DatabasesForceLinkToReplicationGroupResponse>>;
|
|
164
|
+
/**
|
|
165
|
+
* Forcibly recreates an existing database on the specified cluster, and rejoins it to an existing
|
|
166
|
+
* replication group. **IMPORTANT NOTE:** All data in this database will be discarded, and the database
|
|
167
|
+
* will temporarily be unavailable while rejoining the replication group.
|
|
168
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
169
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
170
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
171
|
+
* @param parameters Information identifying the database to be unlinked.
|
|
172
|
+
* @param options The options parameters.
|
|
173
|
+
*/
|
|
174
|
+
beginForceLinkToReplicationGroupAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ForceLinkParameters, options?: DatabasesForceLinkToReplicationGroupOptionalParams): Promise<DatabasesForceLinkToReplicationGroupResponse>;
|
|
153
175
|
/**
|
|
154
176
|
* Flushes all the keys in this database and also from its linked databases.
|
|
155
177
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
156
|
-
* @param clusterName The name of the
|
|
157
|
-
* @param databaseName The name of the database.
|
|
178
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
179
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
158
180
|
* @param parameters Information identifying the databases to be flushed
|
|
159
181
|
* @param options The options parameters.
|
|
160
182
|
*/
|
|
@@ -162,11 +184,27 @@ export interface Databases {
|
|
|
162
184
|
/**
|
|
163
185
|
* Flushes all the keys in this database and also from its linked databases.
|
|
164
186
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
165
|
-
* @param clusterName The name of the
|
|
166
|
-
* @param databaseName The name of the database.
|
|
187
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
188
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
167
189
|
* @param parameters Information identifying the databases to be flushed
|
|
168
190
|
* @param options The options parameters.
|
|
169
191
|
*/
|
|
170
192
|
beginFlushAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: FlushParameters, options?: DatabasesFlushOptionalParams): Promise<void>;
|
|
193
|
+
/**
|
|
194
|
+
* Upgrades the database Redis version to the latest available.
|
|
195
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
196
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
197
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
198
|
+
* @param options The options parameters.
|
|
199
|
+
*/
|
|
200
|
+
beginUpgradeDBRedisVersion(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesUpgradeDBRedisVersionOptionalParams): Promise<SimplePollerLike<OperationState<DatabasesUpgradeDBRedisVersionResponse>, DatabasesUpgradeDBRedisVersionResponse>>;
|
|
201
|
+
/**
|
|
202
|
+
* Upgrades the database Redis version to the latest available.
|
|
203
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
204
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
205
|
+
* @param databaseName The name of the Redis Enterprise database.
|
|
206
|
+
* @param options The options parameters.
|
|
207
|
+
*/
|
|
208
|
+
beginUpgradeDBRedisVersionAndWait(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesUpgradeDBRedisVersionOptionalParams): Promise<DatabasesUpgradeDBRedisVersionResponse>;
|
|
171
209
|
}
|
|
172
210
|
//# sourceMappingURL=databases.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"databases.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/databases.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,QAAQ,EACR,oCAAoC,EACpC,6BAA6B,EAC7B,uBAAuB,EACvB,cAAc,EACd,6BAA6B,EAC7B,uBAAuB,EACvB,0BAA0B,EAC1B,oBAAoB,EACpB,6BAA6B,EAC7B,+BAA+B,EAC/B,yBAAyB,EACzB,uBAAuB,EACvB,oCAAoC,EACpC,8BAA8B,EAC9B,uBAAuB,EACvB,6BAA6B,EAC7B,uBAAuB,EACvB,6BAA6B,EAC7B,qBAAqB,EACrB,kCAAkC,EAClC,eAAe,EACf,4BAA4B,
|
|
1
|
+
{"version":3,"file":"databases.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/databases.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,QAAQ,EACR,oCAAoC,EACpC,6BAA6B,EAC7B,uBAAuB,EACvB,cAAc,EACd,6BAA6B,EAC7B,uBAAuB,EACvB,0BAA0B,EAC1B,oBAAoB,EACpB,6BAA6B,EAC7B,+BAA+B,EAC/B,yBAAyB,EACzB,uBAAuB,EACvB,oCAAoC,EACpC,8BAA8B,EAC9B,uBAAuB,EACvB,6BA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CACd,cAAc,CAAC,sCAAsC,CAAC,EACtD,sCAAsC,CACvC,CACF,CAAC;IACF;;;;;;OAMG;IACH,iCAAiC,CAC/B,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;CACpD"}
|
|
@@ -6,14 +6,14 @@ export interface PrivateEndpointConnections {
|
|
|
6
6
|
/**
|
|
7
7
|
* Lists all the private endpoint connections associated with the RedisEnterprise cluster.
|
|
8
8
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9
|
-
* @param clusterName The name of the
|
|
9
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
10
10
|
* @param options The options parameters.
|
|
11
11
|
*/
|
|
12
12
|
list(resourceGroupName: string, clusterName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
|
|
13
13
|
/**
|
|
14
14
|
* Gets the specified private endpoint connection associated with the RedisEnterprise cluster.
|
|
15
15
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
-
* @param clusterName The name of the
|
|
16
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
17
17
|
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
18
18
|
* Azure resource
|
|
19
19
|
* @param options The options parameters.
|
|
@@ -23,7 +23,7 @@ export interface PrivateEndpointConnections {
|
|
|
23
23
|
* Updates the state of the specified private endpoint connection associated with the RedisEnterprise
|
|
24
24
|
* cluster.
|
|
25
25
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
-
* @param clusterName The name of the
|
|
26
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
27
27
|
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
28
28
|
* Azure resource
|
|
29
29
|
* @param properties The private endpoint connection properties.
|
|
@@ -34,7 +34,7 @@ export interface PrivateEndpointConnections {
|
|
|
34
34
|
* Updates the state of the specified private endpoint connection associated with the RedisEnterprise
|
|
35
35
|
* cluster.
|
|
36
36
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
37
|
-
* @param clusterName The name of the
|
|
37
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
38
38
|
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
39
39
|
* Azure resource
|
|
40
40
|
* @param properties The private endpoint connection properties.
|
|
@@ -44,7 +44,7 @@ export interface PrivateEndpointConnections {
|
|
|
44
44
|
/**
|
|
45
45
|
* Deletes the specified private endpoint connection associated with the RedisEnterprise cluster.
|
|
46
46
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
47
|
-
* @param clusterName The name of the
|
|
47
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
48
48
|
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
49
49
|
* Azure resource
|
|
50
50
|
* @param options The options parameters.
|
|
@@ -53,7 +53,7 @@ export interface PrivateEndpointConnections {
|
|
|
53
53
|
/**
|
|
54
54
|
* Deletes the specified private endpoint connection associated with the RedisEnterprise cluster.
|
|
55
55
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
56
|
-
* @param clusterName The name of the
|
|
56
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
57
57
|
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
58
58
|
* Azure resource
|
|
59
59
|
* @param options The options parameters.
|
|
@@ -5,7 +5,7 @@ export interface PrivateLinkResources {
|
|
|
5
5
|
/**
|
|
6
6
|
* Gets the private link resources that need to be created for a RedisEnterprise cluster.
|
|
7
7
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
8
|
-
* @param clusterName The name of the
|
|
8
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
9
9
|
* @param options The options parameters.
|
|
10
10
|
*/
|
|
11
11
|
listByCluster(resourceGroupName: string, clusterName: string, options?: PrivateLinkResourcesListByClusterOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
|
|
@@ -17,7 +17,7 @@ export interface RedisEnterprise {
|
|
|
17
17
|
/**
|
|
18
18
|
* Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
|
|
19
19
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
20
|
-
* @param clusterName The name of the
|
|
20
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
21
21
|
* @param parameters Parameters supplied to the Create RedisEnterprise operation.
|
|
22
22
|
* @param options The options parameters.
|
|
23
23
|
*/
|
|
@@ -25,7 +25,7 @@ export interface RedisEnterprise {
|
|
|
25
25
|
/**
|
|
26
26
|
* Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
|
|
27
27
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
28
|
-
* @param clusterName The name of the
|
|
28
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
29
29
|
* @param parameters Parameters supplied to the Create RedisEnterprise operation.
|
|
30
30
|
* @param options The options parameters.
|
|
31
31
|
*/
|
|
@@ -33,7 +33,7 @@ export interface RedisEnterprise {
|
|
|
33
33
|
/**
|
|
34
34
|
* Updates an existing RedisEnterprise cluster
|
|
35
35
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
36
|
-
* @param clusterName The name of the
|
|
36
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
37
37
|
* @param parameters Parameters supplied to the Update RedisEnterprise operation.
|
|
38
38
|
* @param options The options parameters.
|
|
39
39
|
*/
|
|
@@ -41,7 +41,7 @@ export interface RedisEnterprise {
|
|
|
41
41
|
/**
|
|
42
42
|
* Updates an existing RedisEnterprise cluster
|
|
43
43
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
44
|
-
* @param clusterName The name of the
|
|
44
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
45
45
|
* @param parameters Parameters supplied to the Update RedisEnterprise operation.
|
|
46
46
|
* @param options The options parameters.
|
|
47
47
|
*/
|
|
@@ -49,21 +49,21 @@ export interface RedisEnterprise {
|
|
|
49
49
|
/**
|
|
50
50
|
* Deletes a RedisEnterprise cache cluster.
|
|
51
51
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
52
|
-
* @param clusterName The name of the
|
|
52
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
53
53
|
* @param options The options parameters.
|
|
54
54
|
*/
|
|
55
55
|
beginDelete(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
56
56
|
/**
|
|
57
57
|
* Deletes a RedisEnterprise cache cluster.
|
|
58
58
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
59
|
-
* @param clusterName The name of the
|
|
59
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
60
60
|
* @param options The options parameters.
|
|
61
61
|
*/
|
|
62
62
|
beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseDeleteOptionalParams): Promise<void>;
|
|
63
63
|
/**
|
|
64
64
|
* Gets information about a RedisEnterprise cluster
|
|
65
65
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
66
|
-
* @param clusterName The name of the
|
|
66
|
+
* @param clusterName The name of the Redis Enterprise cluster.
|
|
67
67
|
* @param options The options parameters.
|
|
68
68
|
*/
|
|
69
69
|
get(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseGetOptionalParams): Promise<RedisEnterpriseGetResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redisEnterpriseManagementClient.d.ts","sourceRoot":"","sources":["../../src/redisEnterpriseManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAS7C,OAAO,EACL,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,SAAS,EACT,0BAA0B,EAC1B,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,6CAA6C,EAAE,MAAM,UAAU,CAAC;AAEzE,qBAAa,+BAAgC,SAAQ,UAAU,CAAC,aAAa;IAC3E,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,6CAA6C;
|
|
1
|
+
{"version":3,"file":"redisEnterpriseManagementClient.d.ts","sourceRoot":"","sources":["../../src/redisEnterpriseManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAS7C,OAAO,EACL,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,SAAS,EACT,0BAA0B,EAC1B,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,6CAA6C,EAAE,MAAM,UAAU,CAAC;AAEzE,qBAAa,+BAAgC,SAAQ,UAAU,CAAC,aAAa;IAC3E,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,6CAA6C;IAkFzD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,eAAe,EAAE,eAAe,CAAC;IACjC,SAAS,EAAE,SAAS,CAAC;IACrB,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C"}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
10
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
11
|
-
import { OperationsImpl, OperationsStatusImpl, RedisEnterpriseImpl, DatabasesImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl } from "./operations";
|
|
11
|
+
import { OperationsImpl, OperationsStatusImpl, RedisEnterpriseImpl, DatabasesImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, } from "./operations";
|
|
12
12
|
export class RedisEnterpriseManagementClient extends coreClient.ServiceClient {
|
|
13
13
|
/**
|
|
14
14
|
* Initializes a new instance of the RedisEnterpriseManagementClient class.
|
|
@@ -30,14 +30,14 @@ export class RedisEnterpriseManagementClient extends coreClient.ServiceClient {
|
|
|
30
30
|
}
|
|
31
31
|
const defaults = {
|
|
32
32
|
requestContentType: "application/json; charset=utf-8",
|
|
33
|
-
credential: credentials
|
|
33
|
+
credential: credentials,
|
|
34
34
|
};
|
|
35
|
-
const packageDetails = `azsdk-js-arm-redisenterprisecache/3.0.1`;
|
|
35
|
+
const packageDetails = `azsdk-js-arm-redisenterprisecache/3.1.0-beta.1`;
|
|
36
36
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
37
37
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
38
38
|
: `${packageDetails}`;
|
|
39
39
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
40
|
-
userAgentPrefix
|
|
40
|
+
userAgentPrefix,
|
|
41
41
|
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
42
42
|
super(optionsWithDefaults);
|
|
43
43
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
@@ -51,21 +51,21 @@ export class RedisEnterpriseManagementClient extends coreClient.ServiceClient {
|
|
|
51
51
|
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
52
52
|
!bearerTokenAuthenticationPolicyFound) {
|
|
53
53
|
this.pipeline.removePolicy({
|
|
54
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
54
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
55
55
|
});
|
|
56
56
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
57
57
|
credential: credentials,
|
|
58
58
|
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
59
59
|
challengeCallbacks: {
|
|
60
|
-
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
61
|
-
}
|
|
60
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
61
|
+
},
|
|
62
62
|
}));
|
|
63
63
|
}
|
|
64
64
|
// Parameter assignments
|
|
65
65
|
this.subscriptionId = subscriptionId;
|
|
66
66
|
// Assigning values to Constant parameters
|
|
67
67
|
this.$host = options.$host || "https://management.azure.com";
|
|
68
|
-
this.apiVersion = options.apiVersion || "
|
|
68
|
+
this.apiVersion = options.apiVersion || "2024-03-01-preview";
|
|
69
69
|
this.operations = new OperationsImpl(this);
|
|
70
70
|
this.operationsStatus = new OperationsStatusImpl(this);
|
|
71
71
|
this.redisEnterprise = new RedisEnterpriseImpl(this);
|
|
@@ -97,7 +97,7 @@ export class RedisEnterpriseManagementClient extends coreClient.ServiceClient {
|
|
|
97
97
|
}
|
|
98
98
|
return next(request);
|
|
99
99
|
});
|
|
100
|
-
}
|
|
100
|
+
},
|
|
101
101
|
};
|
|
102
102
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
103
103
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redisEnterpriseManagementClient.js","sourceRoot":"","sources":["../../src/redisEnterpriseManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,aAAa,EACb,8BAA8B,EAC9B,wBAAwB,
|
|
1
|
+
{"version":3,"file":"redisEnterpriseManagementClient.js","sourceRoot":"","sources":["../../src/redisEnterpriseManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,aAAa,EACb,8BAA8B,EAC9B,wBAAwB,GACzB,MAAM,cAAc,CAAC;AAWtB,MAAM,OAAO,+BAAgC,SAAQ,UAAU,CAAC,aAAa;IAK3E;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAuD;;QAEvD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAkD;YAC9D,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,gDAAgD,CAAC;QACxE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAA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C,GAAG,CAAC,CAAC,EAAE,CAAC;gCACrC,OAAO,cAAc,GAAG,UAAU,CAAC;4BACrC,CAAC;iCAAM,CAAC;gCACN,OAAO,IAAI,CAAC;4BACd,CAAC;wBACH,CAAC,CAAC,CAAC;wBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;oBACrD,CAAC;oBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC;aAAA;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAQF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redisenterprisecache_test.spec.d.ts","sourceRoot":"","sources":["../../test/redisenterprisecache_test.spec.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"redisenterprisecache_test.spec.d.ts","sourceRoot":"","sources":["../../test/redisenterprisecache_test.spec.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,kBAAkB;;CAE9B,CAAC"}
|
|
@@ -11,9 +11,6 @@ import { createTestCredential } from "@azure-tools/test-credential";
|
|
|
11
11
|
import { assert } from "chai";
|
|
12
12
|
import { RedisEnterpriseManagementClient } from "../src/redisEnterpriseManagementClient";
|
|
13
13
|
const replaceableVariables = {
|
|
14
|
-
AZURE_CLIENT_ID: "azure_client_id",
|
|
15
|
-
AZURE_CLIENT_SECRET: "azure_client_secret",
|
|
16
|
-
AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
|
|
17
14
|
SUBSCRIPTION_ID: "azure_subscription_id"
|
|
18
15
|
};
|
|
19
16
|
const recorderOptions = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redisenterprisecache_test.spec.js","sourceRoot":"","sources":["../../test/redisenterprisecache_test.spec.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AA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ACtC,cAAc,GAAG,GAAG,CAAC,eAAe,IAAI,EAAE,CAAC;YAC3C,+DAA+D;YAC/D,MAAM,UAAU,GAAG,oBAAoB,EAAE,CAAC;YAC1C,MAAM,GAAG,IAAI,+BAA+B,CAAC,UAAU,EAAE,cAAc,EAAE,QAAQ,CAAC,sBAAsB,CAAC,EAAE,CAAC,CAAC,CAAC;YAC9G,QAAQ,GAAG,QAAQ,CAAC;YACpB,aAAa,GAAG,UAAU,CAAC;YAC3B,YAAY,GAAG,cAAc,CAAC;QAEhC,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,sBAAsB,EAAE;;;YACzB,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;gBAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,CAAA,IAAA,sDAAE,CAAC;oBAA3B,cAAwB;oBAAxB,WAAwB;oBAApC,IAAI,IAAI,KAAA,CAAA;oBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBACtB,CAAC;;;;;;;;;YACD,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;QACtC,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"sdk-type": "mgmt",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "A generated SDK for RedisEnterpriseManagementClient.",
|
|
6
|
-
"version": "3.0
|
|
6
|
+
"version": "3.1.0-beta.1",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=18.0.0"
|
|
9
9
|
},
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"@azure/abort-controller": "^1.0.0",
|
|
13
13
|
"@azure/core-paging": "^1.2.0",
|
|
14
14
|
"@azure/core-client": "^1.7.0",
|
|
15
|
-
"@azure/core-auth": "^1.
|
|
16
|
-
"@azure/core-rest-pipeline": "^1.
|
|
15
|
+
"@azure/core-auth": "^1.6.0",
|
|
16
|
+
"@azure/core-rest-pipeline": "^1.14.0",
|
|
17
17
|
"tslib": "^2.2.0"
|
|
18
18
|
},
|
|
19
19
|
"keywords": [
|
|
@@ -34,16 +34,17 @@
|
|
|
34
34
|
"uglify-js": "^3.4.9",
|
|
35
35
|
"rimraf": "^5.0.0",
|
|
36
36
|
"dotenv": "^16.0.0",
|
|
37
|
+
"@azure/dev-tool": "^1.0.0",
|
|
37
38
|
"@azure/identity": "^4.0.1",
|
|
38
39
|
"@azure-tools/test-recorder": "^3.0.0",
|
|
39
|
-
"@azure-tools/test-credential": "^1.
|
|
40
|
+
"@azure-tools/test-credential": "^1.1.0",
|
|
40
41
|
"mocha": "^10.0.0",
|
|
41
42
|
"@types/mocha": "^10.0.0",
|
|
43
|
+
"esm": "^3.2.18",
|
|
42
44
|
"@types/chai": "^4.2.8",
|
|
43
45
|
"chai": "^4.2.0",
|
|
44
46
|
"cross-env": "^7.0.2",
|
|
45
47
|
"@types/node": "^18.0.0",
|
|
46
|
-
"@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
|
|
47
48
|
"ts-node": "^10.0.0"
|
|
48
49
|
},
|
|
49
50
|
"repository": {
|
|
@@ -77,7 +78,6 @@
|
|
|
77
78
|
"pack": "npm pack 2>&1",
|
|
78
79
|
"extract-api": "dev-tool run extract-api",
|
|
79
80
|
"lint": "echo skipped",
|
|
80
|
-
"audit": "echo skipped",
|
|
81
81
|
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
82
82
|
"build:node": "echo skipped",
|
|
83
83
|
"build:browser": "echo skipped",
|