@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
|
@@ -88,12 +88,14 @@ export type CmkIdentityType = string;
|
|
|
88
88
|
export interface Database extends ProxyResource {
|
|
89
89
|
clientProtocol?: Protocol;
|
|
90
90
|
clusteringPolicy?: ClusteringPolicy;
|
|
91
|
+
deferUpgrade?: DeferUpgradeSetting;
|
|
91
92
|
evictionPolicy?: EvictionPolicy;
|
|
92
93
|
geoReplication?: DatabasePropertiesGeoReplication;
|
|
93
94
|
modules?: Module[];
|
|
94
95
|
persistence?: Persistence;
|
|
95
96
|
port?: number;
|
|
96
97
|
readonly provisioningState?: ProvisioningState;
|
|
98
|
+
readonly redisVersion?: string;
|
|
97
99
|
readonly resourceState?: ResourceState;
|
|
98
100
|
}
|
|
99
101
|
|
|
@@ -119,6 +121,8 @@ export interface Databases {
|
|
|
119
121
|
beginExportAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ExportClusterParameters, options?: DatabasesExportOptionalParams): Promise<void>;
|
|
120
122
|
beginFlush(resourceGroupName: string, clusterName: string, databaseName: string, parameters: FlushParameters, options?: DatabasesFlushOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
121
123
|
beginFlushAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: FlushParameters, options?: DatabasesFlushOptionalParams): Promise<void>;
|
|
124
|
+
beginForceLinkToReplicationGroup(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ForceLinkParameters, options?: DatabasesForceLinkToReplicationGroupOptionalParams): Promise<SimplePollerLike<OperationState<DatabasesForceLinkToReplicationGroupResponse>, DatabasesForceLinkToReplicationGroupResponse>>;
|
|
125
|
+
beginForceLinkToReplicationGroupAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ForceLinkParameters, options?: DatabasesForceLinkToReplicationGroupOptionalParams): Promise<DatabasesForceLinkToReplicationGroupResponse>;
|
|
122
126
|
beginForceUnlink(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ForceUnlinkParameters, options?: DatabasesForceUnlinkOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
123
127
|
beginForceUnlinkAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ForceUnlinkParameters, options?: DatabasesForceUnlinkOptionalParams): Promise<void>;
|
|
124
128
|
beginImport(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ImportClusterParameters, options?: DatabasesImportOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
@@ -127,6 +131,8 @@ export interface Databases {
|
|
|
127
131
|
beginRegenerateKeyAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: RegenerateKeyParameters, options?: DatabasesRegenerateKeyOptionalParams): Promise<DatabasesRegenerateKeyResponse>;
|
|
128
132
|
beginUpdate(resourceGroupName: string, clusterName: string, databaseName: string, parameters: DatabaseUpdate, options?: DatabasesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DatabasesUpdateResponse>, DatabasesUpdateResponse>>;
|
|
129
133
|
beginUpdateAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: DatabaseUpdate, options?: DatabasesUpdateOptionalParams): Promise<DatabasesUpdateResponse>;
|
|
134
|
+
beginUpgradeDBRedisVersion(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesUpgradeDBRedisVersionOptionalParams): Promise<SimplePollerLike<OperationState<DatabasesUpgradeDBRedisVersionResponse>, DatabasesUpgradeDBRedisVersionResponse>>;
|
|
135
|
+
beginUpgradeDBRedisVersionAndWait(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesUpgradeDBRedisVersionOptionalParams): Promise<DatabasesUpgradeDBRedisVersionResponse>;
|
|
130
136
|
get(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesGetOptionalParams): Promise<DatabasesGetResponse>;
|
|
131
137
|
listByCluster(resourceGroupName: string, clusterName: string, options?: DatabasesListByClusterOptionalParams): PagedAsyncIterableIterator<Database>;
|
|
132
138
|
listKeys(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesListKeysOptionalParams): Promise<DatabasesListKeysResponse>;
|
|
@@ -165,6 +171,21 @@ export interface DatabasesFlushOptionalParams extends coreClient.OperationOption
|
|
|
165
171
|
updateIntervalInMs?: number;
|
|
166
172
|
}
|
|
167
173
|
|
|
174
|
+
// @public
|
|
175
|
+
export interface DatabasesForceLinkToReplicationGroupHeaders {
|
|
176
|
+
azureAsyncOperation?: string;
|
|
177
|
+
location?: string;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
// @public
|
|
181
|
+
export interface DatabasesForceLinkToReplicationGroupOptionalParams extends coreClient.OperationOptions {
|
|
182
|
+
resumeFrom?: string;
|
|
183
|
+
updateIntervalInMs?: number;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
// @public
|
|
187
|
+
export type DatabasesForceLinkToReplicationGroupResponse = DatabasesForceLinkToReplicationGroupHeaders;
|
|
188
|
+
|
|
168
189
|
// @public
|
|
169
190
|
export interface DatabasesForceUnlinkOptionalParams extends coreClient.OperationOptions {
|
|
170
191
|
resumeFrom?: string;
|
|
@@ -223,19 +244,39 @@ export interface DatabasesUpdateOptionalParams extends coreClient.OperationOptio
|
|
|
223
244
|
// @public
|
|
224
245
|
export type DatabasesUpdateResponse = Database;
|
|
225
246
|
|
|
247
|
+
// @public
|
|
248
|
+
export interface DatabasesUpgradeDBRedisVersionHeaders {
|
|
249
|
+
azureAsyncOperation?: string;
|
|
250
|
+
location?: string;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
// @public
|
|
254
|
+
export interface DatabasesUpgradeDBRedisVersionOptionalParams extends coreClient.OperationOptions {
|
|
255
|
+
resumeFrom?: string;
|
|
256
|
+
updateIntervalInMs?: number;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
// @public
|
|
260
|
+
export type DatabasesUpgradeDBRedisVersionResponse = DatabasesUpgradeDBRedisVersionHeaders;
|
|
261
|
+
|
|
226
262
|
// @public
|
|
227
263
|
export interface DatabaseUpdate {
|
|
228
264
|
clientProtocol?: Protocol;
|
|
229
265
|
clusteringPolicy?: ClusteringPolicy;
|
|
266
|
+
deferUpgrade?: DeferUpgradeSetting;
|
|
230
267
|
evictionPolicy?: EvictionPolicy;
|
|
231
268
|
geoReplication?: DatabasePropertiesGeoReplication;
|
|
232
269
|
modules?: Module[];
|
|
233
270
|
persistence?: Persistence;
|
|
234
271
|
port?: number;
|
|
235
272
|
readonly provisioningState?: ProvisioningState;
|
|
273
|
+
readonly redisVersion?: string;
|
|
236
274
|
readonly resourceState?: ResourceState;
|
|
237
275
|
}
|
|
238
276
|
|
|
277
|
+
// @public
|
|
278
|
+
export type DeferUpgradeSetting = string;
|
|
279
|
+
|
|
239
280
|
// @public
|
|
240
281
|
export interface ErrorAdditionalInfo {
|
|
241
282
|
readonly info?: Record<string, unknown>;
|
|
@@ -269,6 +310,12 @@ export interface FlushParameters {
|
|
|
269
310
|
ids?: string[];
|
|
270
311
|
}
|
|
271
312
|
|
|
313
|
+
// @public
|
|
314
|
+
export interface ForceLinkParameters {
|
|
315
|
+
groupNickname: string;
|
|
316
|
+
linkedDatabases: LinkedDatabase[];
|
|
317
|
+
}
|
|
318
|
+
|
|
272
319
|
// @public
|
|
273
320
|
export interface ForceUnlinkParameters {
|
|
274
321
|
ids: string[];
|
|
@@ -305,6 +352,12 @@ export enum KnownCmkIdentityType {
|
|
|
305
352
|
UserAssignedIdentity = "userAssignedIdentity"
|
|
306
353
|
}
|
|
307
354
|
|
|
355
|
+
// @public
|
|
356
|
+
export enum KnownDeferUpgradeSetting {
|
|
357
|
+
Deferred = "Deferred",
|
|
358
|
+
NotDeferred = "NotDeferred"
|
|
359
|
+
}
|
|
360
|
+
|
|
308
361
|
// @public
|
|
309
362
|
export enum KnownEvictionPolicy {
|
|
310
363
|
AllKeysLFU = "AllKeysLFU",
|
|
@@ -402,6 +455,7 @@ export enum KnownSkuName {
|
|
|
402
455
|
EnterpriseE10 = "Enterprise_E10",
|
|
403
456
|
EnterpriseE100 = "Enterprise_E100",
|
|
404
457
|
EnterpriseE20 = "Enterprise_E20",
|
|
458
|
+
EnterpriseE5 = "Enterprise_E5",
|
|
405
459
|
EnterpriseE50 = "Enterprise_E50",
|
|
406
460
|
EnterpriseFlashF1500 = "EnterpriseFlash_F1500",
|
|
407
461
|
EnterpriseFlashF300 = "EnterpriseFlash_F300",
|
package/src/lroImpl.ts
CHANGED
|
@@ -28,15 +28,15 @@ export function createLroSpec<T>(inputs: {
|
|
|
28
28
|
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
29
29
|
sendPollRequest: (
|
|
30
30
|
path: string,
|
|
31
|
-
options?: { abortSignal?: AbortSignalLike }
|
|
31
|
+
options?: { abortSignal?: AbortSignalLike },
|
|
32
32
|
) => {
|
|
33
33
|
const { requestBody, ...restSpec } = spec;
|
|
34
34
|
return sendOperationFn(args, {
|
|
35
35
|
...restSpec,
|
|
36
36
|
httpMethod: "GET",
|
|
37
37
|
path,
|
|
38
|
-
abortSignal: options?.abortSignal
|
|
38
|
+
abortSignal: options?.abortSignal,
|
|
39
39
|
});
|
|
40
|
-
}
|
|
40
|
+
},
|
|
41
41
|
};
|
|
42
42
|
}
|
package/src/models/index.ts
CHANGED
|
@@ -368,6 +368,13 @@ export interface DatabaseUpdate {
|
|
|
368
368
|
modules?: Module[];
|
|
369
369
|
/** Optional set of properties to configure geo replication for this database. */
|
|
370
370
|
geoReplication?: DatabasePropertiesGeoReplication;
|
|
371
|
+
/**
|
|
372
|
+
* Version of Redis the database is running on, e.g. '6.0'
|
|
373
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
374
|
+
*/
|
|
375
|
+
readonly redisVersion?: string;
|
|
376
|
+
/** Option to defer upgrade when newest version is released - default is NotDeferred. Learn more: https://aka.ms/redisversionupgrade */
|
|
377
|
+
deferUpgrade?: DeferUpgradeSetting;
|
|
371
378
|
}
|
|
372
379
|
|
|
373
380
|
/** The secret access keys used for authenticating connections to redis */
|
|
@@ -420,6 +427,14 @@ export interface ForceUnlinkParameters {
|
|
|
420
427
|
ids: string[];
|
|
421
428
|
}
|
|
422
429
|
|
|
430
|
+
/** Parameters for reconfiguring active geo-replication, of an existing database that was previously unlinked from a replication group. */
|
|
431
|
+
export interface ForceLinkParameters {
|
|
432
|
+
/** The name of the group of linked database resources. This should match the existing replication group name. */
|
|
433
|
+
groupNickname: string;
|
|
434
|
+
/** The resource IDs of the databases that are expected to be linked and included in the replication group. This parameter is used to validate that the linking is to the expected (unlinked) part of the replication group, if it is splintered. */
|
|
435
|
+
linkedDatabases: LinkedDatabase[];
|
|
436
|
+
}
|
|
437
|
+
|
|
423
438
|
/** Parameters for a Redis Enterprise active geo-replication flush operation */
|
|
424
439
|
export interface FlushParameters {
|
|
425
440
|
/** The identifiers of all the other database resources in the georeplication group to be flushed. */
|
|
@@ -531,6 +546,21 @@ export interface Database extends ProxyResource {
|
|
|
531
546
|
modules?: Module[];
|
|
532
547
|
/** Optional set of properties to configure geo replication for this database. */
|
|
533
548
|
geoReplication?: DatabasePropertiesGeoReplication;
|
|
549
|
+
/**
|
|
550
|
+
* Version of Redis the database is running on, e.g. '6.0'
|
|
551
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
552
|
+
*/
|
|
553
|
+
readonly redisVersion?: string;
|
|
554
|
+
/** Option to defer upgrade when newest version is released - default is NotDeferred. Learn more: https://aka.ms/redisversionupgrade */
|
|
555
|
+
deferUpgrade?: DeferUpgradeSetting;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
/** Defines headers for Databases_forceLinkToReplicationGroup operation. */
|
|
559
|
+
export interface DatabasesForceLinkToReplicationGroupHeaders {
|
|
560
|
+
/** Location URI to poll for result */
|
|
561
|
+
location?: string;
|
|
562
|
+
/** Azure-AsyncOperation URI to poll for result */
|
|
563
|
+
azureAsyncOperation?: string;
|
|
534
564
|
}
|
|
535
565
|
|
|
536
566
|
/** Defines headers for Databases_flush operation. */
|
|
@@ -541,6 +571,14 @@ export interface DatabasesFlushHeaders {
|
|
|
541
571
|
azureAsyncOperation?: string;
|
|
542
572
|
}
|
|
543
573
|
|
|
574
|
+
/** Defines headers for Databases_upgradeDBRedisVersion operation. */
|
|
575
|
+
export interface DatabasesUpgradeDBRedisVersionHeaders {
|
|
576
|
+
/** Location URI to poll for result */
|
|
577
|
+
location?: string;
|
|
578
|
+
/** URI to poll for the operation status */
|
|
579
|
+
azureAsyncOperation?: string;
|
|
580
|
+
}
|
|
581
|
+
|
|
544
582
|
/** Defines headers for PrivateEndpointConnections_delete operation. */
|
|
545
583
|
export interface PrivateEndpointConnectionsDeleteHeaders {
|
|
546
584
|
/** Location URI to poll for result */
|
|
@@ -556,7 +594,7 @@ export enum KnownOrigin {
|
|
|
556
594
|
/** System */
|
|
557
595
|
System = "system",
|
|
558
596
|
/** UserSystem */
|
|
559
|
-
UserSystem = "user,system"
|
|
597
|
+
UserSystem = "user,system",
|
|
560
598
|
}
|
|
561
599
|
|
|
562
600
|
/**
|
|
@@ -573,7 +611,7 @@ export type Origin = string;
|
|
|
573
611
|
/** Known values of {@link ActionType} that the service accepts. */
|
|
574
612
|
export enum KnownActionType {
|
|
575
613
|
/** Internal */
|
|
576
|
-
Internal = "Internal"
|
|
614
|
+
Internal = "Internal",
|
|
577
615
|
}
|
|
578
616
|
|
|
579
617
|
/**
|
|
@@ -587,6 +625,8 @@ export type ActionType = string;
|
|
|
587
625
|
|
|
588
626
|
/** Known values of {@link SkuName} that the service accepts. */
|
|
589
627
|
export enum KnownSkuName {
|
|
628
|
+
/** EnterpriseE5 */
|
|
629
|
+
EnterpriseE5 = "Enterprise_E5",
|
|
590
630
|
/** EnterpriseE10 */
|
|
591
631
|
EnterpriseE10 = "Enterprise_E10",
|
|
592
632
|
/** EnterpriseE20 */
|
|
@@ -600,7 +640,7 @@ export enum KnownSkuName {
|
|
|
600
640
|
/** EnterpriseFlashF700 */
|
|
601
641
|
EnterpriseFlashF700 = "EnterpriseFlash_F700",
|
|
602
642
|
/** EnterpriseFlashF1500 */
|
|
603
|
-
EnterpriseFlashF1500 = "EnterpriseFlash_F1500"
|
|
643
|
+
EnterpriseFlashF1500 = "EnterpriseFlash_F1500",
|
|
604
644
|
}
|
|
605
645
|
|
|
606
646
|
/**
|
|
@@ -608,6 +648,7 @@ export enum KnownSkuName {
|
|
|
608
648
|
* {@link KnownSkuName} can be used interchangeably with SkuName,
|
|
609
649
|
* this enum contains the known values that the service supports.
|
|
610
650
|
* ### Known values supported by the service
|
|
651
|
+
* **Enterprise_E5** \
|
|
611
652
|
* **Enterprise_E10** \
|
|
612
653
|
* **Enterprise_E20** \
|
|
613
654
|
* **Enterprise_E50** \
|
|
@@ -627,7 +668,7 @@ export enum KnownManagedServiceIdentityType {
|
|
|
627
668
|
/** UserAssigned */
|
|
628
669
|
UserAssigned = "UserAssigned",
|
|
629
670
|
/** SystemAssignedUserAssigned */
|
|
630
|
-
SystemAssignedUserAssigned = "SystemAssigned, UserAssigned"
|
|
671
|
+
SystemAssignedUserAssigned = "SystemAssigned, UserAssigned",
|
|
631
672
|
}
|
|
632
673
|
|
|
633
674
|
/**
|
|
@@ -649,7 +690,7 @@ export enum KnownTlsVersion {
|
|
|
649
690
|
/** One1 */
|
|
650
691
|
One1 = "1.1",
|
|
651
692
|
/** One2 */
|
|
652
|
-
One2 = "1.2"
|
|
693
|
+
One2 = "1.2",
|
|
653
694
|
}
|
|
654
695
|
|
|
655
696
|
/**
|
|
@@ -668,7 +709,7 @@ export enum KnownCmkIdentityType {
|
|
|
668
709
|
/** SystemAssignedIdentity */
|
|
669
710
|
SystemAssignedIdentity = "systemAssignedIdentity",
|
|
670
711
|
/** UserAssignedIdentity */
|
|
671
|
-
UserAssignedIdentity = "userAssignedIdentity"
|
|
712
|
+
UserAssignedIdentity = "userAssignedIdentity",
|
|
672
713
|
}
|
|
673
714
|
|
|
674
715
|
/**
|
|
@@ -694,7 +735,7 @@ export enum KnownProvisioningState {
|
|
|
694
735
|
/** Updating */
|
|
695
736
|
Updating = "Updating",
|
|
696
737
|
/** Deleting */
|
|
697
|
-
Deleting = "Deleting"
|
|
738
|
+
Deleting = "Deleting",
|
|
698
739
|
}
|
|
699
740
|
|
|
700
741
|
/**
|
|
@@ -740,7 +781,7 @@ export enum KnownResourceState {
|
|
|
740
781
|
/** Scaling */
|
|
741
782
|
Scaling = "Scaling",
|
|
742
783
|
/** ScalingFailed */
|
|
743
|
-
ScalingFailed = "ScalingFailed"
|
|
784
|
+
ScalingFailed = "ScalingFailed",
|
|
744
785
|
}
|
|
745
786
|
|
|
746
787
|
/**
|
|
@@ -772,7 +813,7 @@ export enum KnownPrivateEndpointServiceConnectionStatus {
|
|
|
772
813
|
/** Approved */
|
|
773
814
|
Approved = "Approved",
|
|
774
815
|
/** Rejected */
|
|
775
|
-
Rejected = "Rejected"
|
|
816
|
+
Rejected = "Rejected",
|
|
776
817
|
}
|
|
777
818
|
|
|
778
819
|
/**
|
|
@@ -795,7 +836,7 @@ export enum KnownPrivateEndpointConnectionProvisioningState {
|
|
|
795
836
|
/** Deleting */
|
|
796
837
|
Deleting = "Deleting",
|
|
797
838
|
/** Failed */
|
|
798
|
-
Failed = "Failed"
|
|
839
|
+
Failed = "Failed",
|
|
799
840
|
}
|
|
800
841
|
|
|
801
842
|
/**
|
|
@@ -815,7 +856,7 @@ export enum KnownProtocol {
|
|
|
815
856
|
/** Encrypted */
|
|
816
857
|
Encrypted = "Encrypted",
|
|
817
858
|
/** Plaintext */
|
|
818
|
-
Plaintext = "Plaintext"
|
|
859
|
+
Plaintext = "Plaintext",
|
|
819
860
|
}
|
|
820
861
|
|
|
821
862
|
/**
|
|
@@ -833,7 +874,7 @@ export enum KnownClusteringPolicy {
|
|
|
833
874
|
/** EnterpriseCluster */
|
|
834
875
|
EnterpriseCluster = "EnterpriseCluster",
|
|
835
876
|
/** OSSCluster */
|
|
836
|
-
OSSCluster = "OSSCluster"
|
|
877
|
+
OSSCluster = "OSSCluster",
|
|
837
878
|
}
|
|
838
879
|
|
|
839
880
|
/**
|
|
@@ -863,7 +904,7 @@ export enum KnownEvictionPolicy {
|
|
|
863
904
|
/** VolatileRandom */
|
|
864
905
|
VolatileRandom = "VolatileRandom",
|
|
865
906
|
/** NoEviction */
|
|
866
|
-
NoEviction = "NoEviction"
|
|
907
|
+
NoEviction = "NoEviction",
|
|
867
908
|
}
|
|
868
909
|
|
|
869
910
|
/**
|
|
@@ -887,7 +928,7 @@ export enum KnownAofFrequency {
|
|
|
887
928
|
/** OneS */
|
|
888
929
|
OneS = "1s",
|
|
889
930
|
/** Always */
|
|
890
|
-
Always = "always"
|
|
931
|
+
Always = "always",
|
|
891
932
|
}
|
|
892
933
|
|
|
893
934
|
/**
|
|
@@ -907,7 +948,7 @@ export enum KnownRdbFrequency {
|
|
|
907
948
|
/** SixH */
|
|
908
949
|
SixH = "6h",
|
|
909
950
|
/** TwelveH */
|
|
910
|
-
TwelveH = "12h"
|
|
951
|
+
TwelveH = "12h",
|
|
911
952
|
}
|
|
912
953
|
|
|
913
954
|
/**
|
|
@@ -932,7 +973,7 @@ export enum KnownLinkState {
|
|
|
932
973
|
/** LinkFailed */
|
|
933
974
|
LinkFailed = "LinkFailed",
|
|
934
975
|
/** UnlinkFailed */
|
|
935
|
-
UnlinkFailed = "UnlinkFailed"
|
|
976
|
+
UnlinkFailed = "UnlinkFailed",
|
|
936
977
|
}
|
|
937
978
|
|
|
938
979
|
/**
|
|
@@ -947,6 +988,24 @@ export enum KnownLinkState {
|
|
|
947
988
|
* **UnlinkFailed**
|
|
948
989
|
*/
|
|
949
990
|
export type LinkState = string;
|
|
991
|
+
|
|
992
|
+
/** Known values of {@link DeferUpgradeSetting} that the service accepts. */
|
|
993
|
+
export enum KnownDeferUpgradeSetting {
|
|
994
|
+
/** Deferred */
|
|
995
|
+
Deferred = "Deferred",
|
|
996
|
+
/** NotDeferred */
|
|
997
|
+
NotDeferred = "NotDeferred",
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* Defines values for DeferUpgradeSetting. \
|
|
1002
|
+
* {@link KnownDeferUpgradeSetting} can be used interchangeably with DeferUpgradeSetting,
|
|
1003
|
+
* this enum contains the known values that the service supports.
|
|
1004
|
+
* ### Known values supported by the service
|
|
1005
|
+
* **Deferred** \
|
|
1006
|
+
* **NotDeferred**
|
|
1007
|
+
*/
|
|
1008
|
+
export type DeferUpgradeSetting = string;
|
|
950
1009
|
/** Defines values for AccessKeyType. */
|
|
951
1010
|
export type AccessKeyType = "Primary" | "Secondary";
|
|
952
1011
|
|
|
@@ -1132,6 +1191,19 @@ export interface DatabasesForceUnlinkOptionalParams
|
|
|
1132
1191
|
resumeFrom?: string;
|
|
1133
1192
|
}
|
|
1134
1193
|
|
|
1194
|
+
/** Optional parameters. */
|
|
1195
|
+
export interface DatabasesForceLinkToReplicationGroupOptionalParams
|
|
1196
|
+
extends coreClient.OperationOptions {
|
|
1197
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1198
|
+
updateIntervalInMs?: number;
|
|
1199
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1200
|
+
resumeFrom?: string;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
/** Contains response data for the forceLinkToReplicationGroup operation. */
|
|
1204
|
+
export type DatabasesForceLinkToReplicationGroupResponse =
|
|
1205
|
+
DatabasesForceLinkToReplicationGroupHeaders;
|
|
1206
|
+
|
|
1135
1207
|
/** Optional parameters. */
|
|
1136
1208
|
export interface DatabasesFlushOptionalParams
|
|
1137
1209
|
extends coreClient.OperationOptions {
|
|
@@ -1141,6 +1213,19 @@ export interface DatabasesFlushOptionalParams
|
|
|
1141
1213
|
resumeFrom?: string;
|
|
1142
1214
|
}
|
|
1143
1215
|
|
|
1216
|
+
/** Optional parameters. */
|
|
1217
|
+
export interface DatabasesUpgradeDBRedisVersionOptionalParams
|
|
1218
|
+
extends coreClient.OperationOptions {
|
|
1219
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1220
|
+
updateIntervalInMs?: number;
|
|
1221
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1222
|
+
resumeFrom?: string;
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
/** Contains response data for the upgradeDBRedisVersion operation. */
|
|
1226
|
+
export type DatabasesUpgradeDBRedisVersionResponse =
|
|
1227
|
+
DatabasesUpgradeDBRedisVersionHeaders;
|
|
1228
|
+
|
|
1144
1229
|
/** Optional parameters. */
|
|
1145
1230
|
export interface DatabasesListByClusterNextOptionalParams
|
|
1146
1231
|
extends coreClient.OperationOptions {}
|
|
@@ -1153,7 +1238,8 @@ export interface PrivateEndpointConnectionsListOptionalParams
|
|
|
1153
1238
|
extends coreClient.OperationOptions {}
|
|
1154
1239
|
|
|
1155
1240
|
/** Contains response data for the list operation. */
|
|
1156
|
-
export type PrivateEndpointConnectionsListResponse =
|
|
1241
|
+
export type PrivateEndpointConnectionsListResponse =
|
|
1242
|
+
PrivateEndpointConnectionListResult;
|
|
1157
1243
|
|
|
1158
1244
|
/** Optional parameters. */
|
|
1159
1245
|
export interface PrivateEndpointConnectionsGetOptionalParams
|
|
@@ -1188,7 +1274,8 @@ export interface PrivateLinkResourcesListByClusterOptionalParams
|
|
|
1188
1274
|
extends coreClient.OperationOptions {}
|
|
1189
1275
|
|
|
1190
1276
|
/** Contains response data for the listByCluster operation. */
|
|
1191
|
-
export type PrivateLinkResourcesListByClusterResponse =
|
|
1277
|
+
export type PrivateLinkResourcesListByClusterResponse =
|
|
1278
|
+
PrivateLinkResourceListResult;
|
|
1192
1279
|
|
|
1193
1280
|
/** Optional parameters. */
|
|
1194
1281
|
export interface RedisEnterpriseManagementClientOptionalParams
|