@azure/arm-redisenterprisecache 2.2.1-alpha.20230418.1 → 2.3.0-alpha.20230501.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.
Files changed (134) hide show
  1. package/CHANGELOG.md +36 -10
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/dist/index.js +777 -121
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/databasesCreateSample.js +15 -8
  9. package/dist-esm/samples-dev/databasesCreateSample.js.map +1 -1
  10. package/dist-esm/samples-dev/databasesDeleteSample.js +11 -4
  11. package/dist-esm/samples-dev/databasesDeleteSample.js.map +1 -1
  12. package/dist-esm/samples-dev/databasesExportSample.js +11 -4
  13. package/dist-esm/samples-dev/databasesExportSample.js.map +1 -1
  14. package/dist-esm/samples-dev/databasesFlushSample.d.ts +2 -0
  15. package/dist-esm/samples-dev/databasesFlushSample.d.ts.map +1 -0
  16. package/dist-esm/samples-dev/databasesFlushSample.js +44 -0
  17. package/dist-esm/samples-dev/databasesFlushSample.js.map +1 -0
  18. package/dist-esm/samples-dev/databasesForceUnlinkSample.js +11 -4
  19. package/dist-esm/samples-dev/databasesForceUnlinkSample.js.map +1 -1
  20. package/dist-esm/samples-dev/databasesGetSample.js +11 -4
  21. package/dist-esm/samples-dev/databasesGetSample.js.map +1 -1
  22. package/dist-esm/samples-dev/databasesImportSample.js +11 -4
  23. package/dist-esm/samples-dev/databasesImportSample.js.map +1 -1
  24. package/dist-esm/samples-dev/databasesListByClusterSample.js +11 -4
  25. package/dist-esm/samples-dev/databasesListByClusterSample.js.map +1 -1
  26. package/dist-esm/samples-dev/databasesListKeysSample.js +11 -4
  27. package/dist-esm/samples-dev/databasesListKeysSample.js.map +1 -1
  28. package/dist-esm/samples-dev/databasesRegenerateKeySample.js +11 -4
  29. package/dist-esm/samples-dev/databasesRegenerateKeySample.js.map +1 -1
  30. package/dist-esm/samples-dev/databasesUpdateSample.js +11 -4
  31. package/dist-esm/samples-dev/databasesUpdateSample.js.map +1 -1
  32. package/dist-esm/samples-dev/operationsListSample.js +11 -3
  33. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  34. package/dist-esm/samples-dev/operationsStatusGetSample.js +10 -3
  35. package/dist-esm/samples-dev/operationsStatusGetSample.js.map +1 -1
  36. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +11 -4
  37. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
  38. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +11 -4
  39. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
  40. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +11 -4
  41. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
  42. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +11 -4
  43. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +1 -1
  44. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +11 -4
  45. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js.map +1 -1
  46. package/dist-esm/samples-dev/redisEnterpriseCreateSample.js +26 -4
  47. package/dist-esm/samples-dev/redisEnterpriseCreateSample.js.map +1 -1
  48. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js +11 -4
  49. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js.map +1 -1
  50. package/dist-esm/samples-dev/redisEnterpriseGetSample.js +11 -4
  51. package/dist-esm/samples-dev/redisEnterpriseGetSample.js.map +1 -1
  52. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js +11 -4
  53. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js.map +1 -1
  54. package/dist-esm/samples-dev/redisEnterpriseListSample.js +10 -3
  55. package/dist-esm/samples-dev/redisEnterpriseListSample.js.map +1 -1
  56. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js +11 -4
  57. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js.map +1 -1
  58. package/dist-esm/samples-dev/skusListSample.d.ts +2 -0
  59. package/dist-esm/samples-dev/skusListSample.d.ts.map +1 -0
  60. package/dist-esm/samples-dev/skusListSample.js +58 -0
  61. package/dist-esm/samples-dev/skusListSample.js.map +1 -0
  62. package/dist-esm/src/lroImpl.d.ts +6 -11
  63. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  64. package/dist-esm/src/lroImpl.js +12 -20
  65. package/dist-esm/src/lroImpl.js.map +1 -1
  66. package/dist-esm/src/models/index.d.ts +196 -0
  67. package/dist-esm/src/models/index.d.ts.map +1 -1
  68. package/dist-esm/src/models/index.js +32 -0
  69. package/dist-esm/src/models/index.js.map +1 -1
  70. package/dist-esm/src/models/mappers.d.ts +13 -0
  71. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  72. package/dist-esm/src/models/mappers.js +340 -0
  73. package/dist-esm/src/models/mappers.js.map +1 -1
  74. package/dist-esm/src/models/parameters.d.ts +1 -0
  75. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  76. package/dist-esm/src/models/parameters.js +6 -2
  77. package/dist-esm/src/models/parameters.js.map +1 -1
  78. package/dist-esm/src/operations/databases.d.ts +27 -9
  79. package/dist-esm/src/operations/databases.d.ts.map +1 -1
  80. package/dist-esm/src/operations/databases.js +192 -37
  81. package/dist-esm/src/operations/databases.js.map +1 -1
  82. package/dist-esm/src/operations/index.d.ts +1 -0
  83. package/dist-esm/src/operations/index.d.ts.map +1 -1
  84. package/dist-esm/src/operations/index.js +1 -0
  85. package/dist-esm/src/operations/index.js.map +1 -1
  86. package/dist-esm/src/operations/privateEndpointConnections.d.ts +2 -2
  87. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  88. package/dist-esm/src/operations/privateEndpointConnections.js +16 -12
  89. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  90. package/dist-esm/src/operations/redisEnterprise.d.ts +4 -4
  91. package/dist-esm/src/operations/redisEnterprise.d.ts.map +1 -1
  92. package/dist-esm/src/operations/redisEnterprise.js +29 -17
  93. package/dist-esm/src/operations/redisEnterprise.js.map +1 -1
  94. package/dist-esm/src/operations/skus.d.ts +28 -0
  95. package/dist-esm/src/operations/skus.d.ts.map +1 -0
  96. package/dist-esm/src/operations/skus.js +107 -0
  97. package/dist-esm/src/operations/skus.js.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/databases.d.ts +27 -9
  99. package/dist-esm/src/operationsInterfaces/databases.d.ts.map +1 -1
  100. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  101. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  102. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  103. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  104. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
  105. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  106. package/dist-esm/src/operationsInterfaces/redisEnterprise.d.ts +4 -4
  107. package/dist-esm/src/operationsInterfaces/redisEnterprise.d.ts.map +1 -1
  108. package/dist-esm/src/operationsInterfaces/skus.d.ts +12 -0
  109. package/dist-esm/src/operationsInterfaces/skus.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/skus.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/skus.js.map +1 -0
  112. package/dist-esm/src/redisEnterpriseManagementClient.d.ts +2 -1
  113. package/dist-esm/src/redisEnterpriseManagementClient.d.ts.map +1 -1
  114. package/dist-esm/src/redisEnterpriseManagementClient.js +4 -3
  115. package/dist-esm/src/redisEnterpriseManagementClient.js.map +1 -1
  116. package/package.json +6 -5
  117. package/review/arm-redisenterprisecache.api.md +154 -13
  118. package/src/lroImpl.ts +31 -23
  119. package/src/models/index.ts +216 -0
  120. package/src/models/mappers.ts +357 -0
  121. package/src/models/parameters.ts +7 -1
  122. package/src/operations/databases.ts +251 -75
  123. package/src/operations/index.ts +1 -0
  124. package/src/operations/privateEndpointConnections.ts +19 -12
  125. package/src/operations/redisEnterprise.ts +44 -34
  126. package/src/operations/skus.ts +117 -0
  127. package/src/operationsInterfaces/databases.ts +44 -12
  128. package/src/operationsInterfaces/index.ts +1 -0
  129. package/src/operationsInterfaces/privateEndpointConnections.ts +3 -3
  130. package/src/operationsInterfaces/redisEnterprise.ts +6 -6
  131. package/src/operationsInterfaces/skus.ts +24 -0
  132. package/src/redisEnterpriseManagementClient.ts +8 -4
  133. package/types/arm-redisenterprisecache.d.ts +260 -13
  134. package/types/tsdoc-metadata.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import * as coreAuth from '@azure/core-auth';
2
2
  import * as coreClient from '@azure/core-client';
3
+ import { OperationState } from '@azure/core-lro';
3
4
  import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
- import { PollerLike } from '@azure/core-lro';
5
- import { PollOperationState } from '@azure/core-lro';
5
+ import { SimplePollerLike } from '@azure/core-lro';
6
6
 
7
7
  /** The secret access keys used for authenticating connections to redis */
8
8
  export declare interface AccessKeys {
@@ -40,14 +40,26 @@ export declare type ActionType = string;
40
40
  */
41
41
  export declare type AofFrequency = string;
42
42
 
43
+ /** Information about the features the location supports */
44
+ export declare interface Capability {
45
+ /** Feature name */
46
+ name?: string;
47
+ /** Indicates whether feature is supported or not */
48
+ value?: boolean;
49
+ }
50
+
43
51
  /** Describes the RedisEnterprise cluster */
44
52
  export declare interface Cluster extends TrackedResource {
45
53
  /** The SKU to create, which affects price, performance, and features. */
46
54
  sku: Sku;
47
55
  /** The Availability Zones where this cluster will be deployed. */
48
56
  zones?: string[];
57
+ /** The identity of the resource. */
58
+ identity?: ManagedServiceIdentity;
49
59
  /** The minimum TLS version for the cluster to support, e.g. '1.2' */
50
60
  minimumTlsVersion?: TlsVersion;
61
+ /** Encryption-at-rest configuration for the cluster. */
62
+ encryption?: ClusterPropertiesEncryption;
51
63
  /**
52
64
  * DNS name of the cluster endpoint
53
65
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -96,16 +108,42 @@ export declare interface ClusterList {
96
108
  readonly nextLink?: string;
97
109
  }
98
110
 
111
+ /** Encryption-at-rest configuration for the cluster. */
112
+ export declare interface ClusterPropertiesEncryption {
113
+ /** All Customer-managed key encryption properties for the resource. Set this to an empty object to use Microsoft-managed key encryption. */
114
+ customerManagedKeyEncryption?: ClusterPropertiesEncryptionCustomerManagedKeyEncryption;
115
+ }
116
+
117
+ /** All Customer-managed key encryption properties for the resource. Set this to an empty object to use Microsoft-managed key encryption. */
118
+ export declare interface ClusterPropertiesEncryptionCustomerManagedKeyEncryption {
119
+ /** All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. */
120
+ keyEncryptionKeyIdentity?: ClusterPropertiesEncryptionCustomerManagedKeyEncryptionKeyIdentity;
121
+ /** Key encryption key Url, versioned only. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 */
122
+ keyEncryptionKeyUrl?: string;
123
+ }
124
+
125
+ /** All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. */
126
+ export declare interface ClusterPropertiesEncryptionCustomerManagedKeyEncryptionKeyIdentity {
127
+ /** User assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/<sub uuid>/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. */
128
+ userAssignedIdentityResourceId?: string;
129
+ /** Only userAssignedIdentity is supported in this API version; other types may be supported in the future */
130
+ identityType?: CmkIdentityType;
131
+ }
132
+
99
133
  /** A partial update to the RedisEnterprise cluster */
100
134
  export declare interface ClusterUpdate {
101
135
  /** The SKU to create, which affects price, performance, and features. */
102
136
  sku?: Sku;
137
+ /** The identity of the resource. */
138
+ identity?: ManagedServiceIdentity;
103
139
  /** Resource tags. */
104
140
  tags?: {
105
141
  [propertyName: string]: string;
106
142
  };
107
143
  /** The minimum TLS version for the cluster to support, e.g. '1.2' */
108
144
  minimumTlsVersion?: TlsVersion;
145
+ /** Encryption-at-rest configuration for the cluster. */
146
+ encryption?: ClusterPropertiesEncryption;
109
147
  /**
110
148
  * DNS name of the cluster endpoint
111
149
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -133,6 +171,28 @@ export declare interface ClusterUpdate {
133
171
  readonly privateEndpointConnections?: PrivateEndpointConnection[];
134
172
  }
135
173
 
174
+ /**
175
+ * Defines values for CmkIdentityType. \
176
+ * {@link KnownCmkIdentityType} can be used interchangeably with CmkIdentityType,
177
+ * this enum contains the known values that the service supports.
178
+ * ### Known values supported by the service
179
+ * **systemAssignedIdentity** \
180
+ * **userAssignedIdentity**
181
+ */
182
+ export declare type CmkIdentityType = string;
183
+
184
+ /**
185
+ * Defines values for CreatedByType. \
186
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
187
+ * this enum contains the known values that the service supports.
188
+ * ### Known values supported by the service
189
+ * **User** \
190
+ * **Application** \
191
+ * **ManagedIdentity** \
192
+ * **Key**
193
+ */
194
+ export declare type CreatedByType = string;
195
+
136
196
  /** Describes a database on the RedisEnterprise cluster */
137
197
  export declare interface Database extends ProxyResource {
138
198
  /** Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. */
@@ -197,7 +257,7 @@ export declare interface Databases {
197
257
  * @param parameters Parameters supplied to the create or update database operation.
198
258
  * @param options The options parameters.
199
259
  */
200
- beginCreate(resourceGroupName: string, clusterName: string, databaseName: string, parameters: Database, options?: DatabasesCreateOptionalParams): Promise<PollerLike<PollOperationState<DatabasesCreateResponse>, DatabasesCreateResponse>>;
260
+ beginCreate(resourceGroupName: string, clusterName: string, databaseName: string, parameters: Database, options?: DatabasesCreateOptionalParams): Promise<SimplePollerLike<OperationState<DatabasesCreateResponse>, DatabasesCreateResponse>>;
201
261
  /**
202
262
  * Creates a database
203
263
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -215,7 +275,7 @@ export declare interface Databases {
215
275
  * @param parameters Parameters supplied to the create or update database operation.
216
276
  * @param options The options parameters.
217
277
  */
218
- beginUpdate(resourceGroupName: string, clusterName: string, databaseName: string, parameters: DatabaseUpdate, options?: DatabasesUpdateOptionalParams): Promise<PollerLike<PollOperationState<DatabasesUpdateResponse>, DatabasesUpdateResponse>>;
278
+ beginUpdate(resourceGroupName: string, clusterName: string, databaseName: string, parameters: DatabaseUpdate, options?: DatabasesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DatabasesUpdateResponse>, DatabasesUpdateResponse>>;
219
279
  /**
220
280
  * Updates a database
221
281
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -240,7 +300,7 @@ export declare interface Databases {
240
300
  * @param databaseName The name of the database.
241
301
  * @param options The options parameters.
242
302
  */
243
- beginDelete(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
303
+ beginDelete(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
244
304
  /**
245
305
  * Deletes a single database
246
306
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -265,7 +325,7 @@ export declare interface Databases {
265
325
  * @param parameters Specifies which key to regenerate.
266
326
  * @param options The options parameters.
267
327
  */
268
- beginRegenerateKey(resourceGroupName: string, clusterName: string, databaseName: string, parameters: RegenerateKeyParameters, options?: DatabasesRegenerateKeyOptionalParams): Promise<PollerLike<PollOperationState<DatabasesRegenerateKeyResponse>, DatabasesRegenerateKeyResponse>>;
328
+ beginRegenerateKey(resourceGroupName: string, clusterName: string, databaseName: string, parameters: RegenerateKeyParameters, options?: DatabasesRegenerateKeyOptionalParams): Promise<SimplePollerLike<OperationState<DatabasesRegenerateKeyResponse>, DatabasesRegenerateKeyResponse>>;
269
329
  /**
270
330
  * Regenerates the RedisEnterprise database's access keys.
271
331
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -283,7 +343,7 @@ export declare interface Databases {
283
343
  * @param parameters Storage information for importing into the cluster
284
344
  * @param options The options parameters.
285
345
  */
286
- beginImport(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ImportClusterParameters, options?: DatabasesImportOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
346
+ beginImport(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ImportClusterParameters, options?: DatabasesImportOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
287
347
  /**
288
348
  * Imports database files to target database.
289
349
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -301,7 +361,7 @@ export declare interface Databases {
301
361
  * @param parameters Storage information for exporting into the cluster
302
362
  * @param options The options parameters.
303
363
  */
304
- beginExport(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ExportClusterParameters, options?: DatabasesExportOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
364
+ beginExport(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ExportClusterParameters, options?: DatabasesExportOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
305
365
  /**
306
366
  * Exports a database file from target database.
307
367
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -319,7 +379,7 @@ export declare interface Databases {
319
379
  * @param parameters Information identifying the database to be unlinked.
320
380
  * @param options The options parameters.
321
381
  */
322
- beginForceUnlink(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ForceUnlinkParameters, options?: DatabasesForceUnlinkOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
382
+ beginForceUnlink(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ForceUnlinkParameters, options?: DatabasesForceUnlinkOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
323
383
  /**
324
384
  * Forcibly removes the link to the specified database resource.
325
385
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -329,6 +389,24 @@ export declare interface Databases {
329
389
  * @param options The options parameters.
330
390
  */
331
391
  beginForceUnlinkAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: ForceUnlinkParameters, options?: DatabasesForceUnlinkOptionalParams): Promise<void>;
392
+ /**
393
+ * Flushes all the keys in this database and also from its linked databases.
394
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
395
+ * @param clusterName The name of the RedisEnterprise cluster.
396
+ * @param databaseName The name of the database.
397
+ * @param parameters Information identifying the databases to be flushed
398
+ * @param options The options parameters.
399
+ */
400
+ beginFlush(resourceGroupName: string, clusterName: string, databaseName: string, parameters: FlushParameters, options?: DatabasesFlushOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
401
+ /**
402
+ * Flushes all the keys in this database and also from its linked databases.
403
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
404
+ * @param clusterName The name of the RedisEnterprise cluster.
405
+ * @param databaseName The name of the database.
406
+ * @param parameters Information identifying the databases to be flushed
407
+ * @param options The options parameters.
408
+ */
409
+ beginFlushAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: FlushParameters, options?: DatabasesFlushOptionalParams): Promise<void>;
332
410
  }
333
411
 
334
412
  /** Optional parameters. */
@@ -358,6 +436,22 @@ export declare interface DatabasesExportOptionalParams extends coreClient.Operat
358
436
  resumeFrom?: string;
359
437
  }
360
438
 
439
+ /** Defines headers for Databases_flush operation. */
440
+ export declare interface DatabasesFlushHeaders {
441
+ /** Location URI to poll for result */
442
+ location?: string;
443
+ /** URI to poll for the operation status */
444
+ azureAsyncOperation?: string;
445
+ }
446
+
447
+ /** Optional parameters. */
448
+ export declare interface DatabasesFlushOptionalParams extends coreClient.OperationOptions {
449
+ /** Delay to wait until next poll, in milliseconds. */
450
+ updateIntervalInMs?: number;
451
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
452
+ resumeFrom?: string;
453
+ }
454
+
361
455
  /** Optional parameters. */
362
456
  export declare interface DatabasesForceUnlinkOptionalParams extends coreClient.OperationOptions {
363
457
  /** Delay to wait until next poll, in milliseconds. */
@@ -523,6 +617,12 @@ export declare interface ExportClusterParameters {
523
617
  sasUri: string;
524
618
  }
525
619
 
620
+ /** Parameters for a Redis Enterprise active geo-replication flush operation. */
621
+ export declare interface FlushParameters {
622
+ /** The resource identifiers of all the other database resources in the georeplication group to be flushed */
623
+ ids?: string[];
624
+ }
625
+
526
626
  /** Parameters for a Redis Enterprise Active Geo Replication Force Unlink operation. */
527
627
  export declare interface ForceUnlinkParameters {
528
628
  /** The resource IDs of the database resources to be unlinked. */
@@ -566,6 +666,26 @@ export declare enum KnownClusteringPolicy {
566
666
  OSSCluster = "OSSCluster"
567
667
  }
568
668
 
669
+ /** Known values of {@link CmkIdentityType} that the service accepts. */
670
+ export declare enum KnownCmkIdentityType {
671
+ /** SystemAssignedIdentity */
672
+ SystemAssignedIdentity = "systemAssignedIdentity",
673
+ /** UserAssignedIdentity */
674
+ UserAssignedIdentity = "userAssignedIdentity"
675
+ }
676
+
677
+ /** Known values of {@link CreatedByType} that the service accepts. */
678
+ export declare enum KnownCreatedByType {
679
+ /** User */
680
+ User = "User",
681
+ /** Application */
682
+ Application = "Application",
683
+ /** ManagedIdentity */
684
+ ManagedIdentity = "ManagedIdentity",
685
+ /** Key */
686
+ Key = "Key"
687
+ }
688
+
569
689
  /** Known values of {@link EvictionPolicy} that the service accepts. */
570
690
  export declare enum KnownEvictionPolicy {
571
691
  /** AllKeysLFU */
@@ -600,6 +720,18 @@ export declare enum KnownLinkState {
600
720
  UnlinkFailed = "UnlinkFailed"
601
721
  }
602
722
 
723
+ /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
724
+ export declare enum KnownManagedServiceIdentityType {
725
+ /** None */
726
+ None = "None",
727
+ /** SystemAssigned */
728
+ SystemAssigned = "SystemAssigned",
729
+ /** UserAssigned */
730
+ UserAssigned = "UserAssigned",
731
+ /** SystemAssignedUserAssigned */
732
+ SystemAssignedUserAssigned = "SystemAssigned, UserAssigned"
733
+ }
734
+
603
735
  /** Known values of {@link Origin} that the service accepts. */
604
736
  export declare enum KnownOrigin {
605
737
  /** User */
@@ -746,6 +878,46 @@ export declare interface LinkedDatabase {
746
878
  */
747
879
  export declare type LinkState = string;
748
880
 
881
+ /** Information about location (for example: features that it supports) */
882
+ export declare interface LocationInfo {
883
+ /** Location name */
884
+ location?: string;
885
+ /** List of capabilities */
886
+ capabilities?: Capability[];
887
+ }
888
+
889
+ /** Managed service identity (system assigned and/or user assigned identities) */
890
+ export declare interface ManagedServiceIdentity {
891
+ /**
892
+ * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
893
+ * NOTE: This property will not be serialized. It can only be populated by the server.
894
+ */
895
+ readonly principalId?: string;
896
+ /**
897
+ * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
898
+ * NOTE: This property will not be serialized. It can only be populated by the server.
899
+ */
900
+ readonly tenantId?: string;
901
+ /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
902
+ type: ManagedServiceIdentityType;
903
+ /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */
904
+ userAssignedIdentities?: {
905
+ [propertyName: string]: UserAssignedIdentity;
906
+ };
907
+ }
908
+
909
+ /**
910
+ * Defines values for ManagedServiceIdentityType. \
911
+ * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
912
+ * this enum contains the known values that the service supports.
913
+ * ### Known values supported by the service
914
+ * **None** \
915
+ * **SystemAssigned** \
916
+ * **UserAssigned** \
917
+ * **SystemAssigned, UserAssigned**
918
+ */
919
+ export declare type ManagedServiceIdentityType = string;
920
+
749
921
  /** Specifies configuration of a redis module */
750
922
  export declare interface Module {
751
923
  /** The name of the module, e.g. 'RedisBloom', 'RediSearch', 'RedisTimeSeries' */
@@ -971,7 +1143,7 @@ export declare interface PrivateEndpointConnections {
971
1143
  * @param properties The private endpoint connection properties.
972
1144
  * @param options The options parameters.
973
1145
  */
974
- beginPut(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsPutResponse>, PrivateEndpointConnectionsPutResponse>>;
1146
+ beginPut(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsPutResponse>, PrivateEndpointConnectionsPutResponse>>;
975
1147
  /**
976
1148
  * Updates the state of the specified private endpoint connection associated with the RedisEnterprise
977
1149
  * cluster.
@@ -1143,7 +1315,7 @@ export declare interface RedisEnterprise {
1143
1315
  * @param parameters Parameters supplied to the Create RedisEnterprise operation.
1144
1316
  * @param options The options parameters.
1145
1317
  */
1146
- beginCreate(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: RedisEnterpriseCreateOptionalParams): Promise<PollerLike<PollOperationState<RedisEnterpriseCreateResponse>, RedisEnterpriseCreateResponse>>;
1318
+ beginCreate(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: RedisEnterpriseCreateOptionalParams): Promise<SimplePollerLike<OperationState<RedisEnterpriseCreateResponse>, RedisEnterpriseCreateResponse>>;
1147
1319
  /**
1148
1320
  * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
1149
1321
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -1159,7 +1331,7 @@ export declare interface RedisEnterprise {
1159
1331
  * @param parameters Parameters supplied to the Update RedisEnterprise operation.
1160
1332
  * @param options The options parameters.
1161
1333
  */
1162
- beginUpdate(resourceGroupName: string, clusterName: string, parameters: ClusterUpdate, options?: RedisEnterpriseUpdateOptionalParams): Promise<PollerLike<PollOperationState<RedisEnterpriseUpdateResponse>, RedisEnterpriseUpdateResponse>>;
1334
+ beginUpdate(resourceGroupName: string, clusterName: string, parameters: ClusterUpdate, options?: RedisEnterpriseUpdateOptionalParams): Promise<SimplePollerLike<OperationState<RedisEnterpriseUpdateResponse>, RedisEnterpriseUpdateResponse>>;
1163
1335
  /**
1164
1336
  * Updates an existing RedisEnterprise cluster
1165
1337
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -1174,7 +1346,7 @@ export declare interface RedisEnterprise {
1174
1346
  * @param clusterName The name of the RedisEnterprise cluster.
1175
1347
  * @param options The options parameters.
1176
1348
  */
1177
- beginDelete(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1349
+ beginDelete(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
1178
1350
  /**
1179
1351
  * Deletes a RedisEnterprise cache cluster.
1180
1352
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -1264,6 +1436,7 @@ export declare class RedisEnterpriseManagementClient extends coreClient.ServiceC
1264
1436
  databases: Databases;
1265
1437
  privateEndpointConnections: PrivateEndpointConnections;
1266
1438
  privateLinkResources: PrivateLinkResources;
1439
+ skus: Skus;
1267
1440
  }
1268
1441
 
1269
1442
  /** Optional parameters. */
@@ -1293,6 +1466,22 @@ export declare interface RegenerateKeyParameters {
1293
1466
  keyType: AccessKeyType;
1294
1467
  }
1295
1468
 
1469
+ /** Details about the location requested and the available skus in the location */
1470
+ export declare interface RegionSkuDetail {
1471
+ /** Resource type which has the SKU, such as Microsoft.Cache/redisEnterprise */
1472
+ resourceType?: string;
1473
+ /** Details about location and its capabilities */
1474
+ locationInfo?: LocationInfo;
1475
+ /** Details about available skus */
1476
+ skuDetails?: SkuDetail;
1477
+ }
1478
+
1479
+ /** List of details about all the available SKUs */
1480
+ export declare interface RegionSkuDetails {
1481
+ /** List of Sku Detail */
1482
+ value?: RegionSkuDetail[];
1483
+ }
1484
+
1296
1485
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
1297
1486
  export declare interface Resource {
1298
1487
  /**
@@ -1310,6 +1499,11 @@ export declare interface Resource {
1310
1499
  * NOTE: This property will not be serialized. It can only be populated by the server.
1311
1500
  */
1312
1501
  readonly type?: string;
1502
+ /**
1503
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
1504
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1505
+ */
1506
+ readonly systemData?: SystemData;
1313
1507
  }
1314
1508
 
1315
1509
  /**
@@ -1340,6 +1534,12 @@ export declare interface Sku {
1340
1534
  capacity?: number;
1341
1535
  }
1342
1536
 
1537
+ /** Information about Sku */
1538
+ export declare interface SkuDetail {
1539
+ /** The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.) */
1540
+ name?: SkuName;
1541
+ }
1542
+
1343
1543
  /**
1344
1544
  * Defines values for SkuName. \
1345
1545
  * {@link KnownSkuName} can be used interchangeably with SkuName,
@@ -1355,6 +1555,39 @@ export declare interface Sku {
1355
1555
  */
1356
1556
  export declare type SkuName = string;
1357
1557
 
1558
+ /** Interface representing a Skus. */
1559
+ export declare interface Skus {
1560
+ /**
1561
+ * Gets information about skus in specified location for the given subscription id
1562
+ * @param location The name of Azure region.
1563
+ * @param options The options parameters.
1564
+ */
1565
+ list(location: string, options?: SkusListOptionalParams): PagedAsyncIterableIterator<RegionSkuDetail>;
1566
+ }
1567
+
1568
+ /** Optional parameters. */
1569
+ export declare interface SkusListOptionalParams extends coreClient.OperationOptions {
1570
+ }
1571
+
1572
+ /** Contains response data for the list operation. */
1573
+ export declare type SkusListResponse = RegionSkuDetails;
1574
+
1575
+ /** Metadata pertaining to creation and last modification of the resource. */
1576
+ export declare interface SystemData {
1577
+ /** The identity that created the resource. */
1578
+ createdBy?: string;
1579
+ /** The type of identity that created the resource. */
1580
+ createdByType?: CreatedByType;
1581
+ /** The timestamp of resource creation (UTC). */
1582
+ createdAt?: Date;
1583
+ /** The identity that last modified the resource. */
1584
+ lastModifiedBy?: string;
1585
+ /** The type of identity that last modified the resource. */
1586
+ lastModifiedByType?: CreatedByType;
1587
+ /** The timestamp of resource last modification (UTC) */
1588
+ lastModifiedAt?: Date;
1589
+ }
1590
+
1358
1591
  /**
1359
1592
  * Defines values for TlsVersion. \
1360
1593
  * {@link KnownTlsVersion} can be used interchangeably with TlsVersion,
@@ -1376,4 +1609,18 @@ export declare interface TrackedResource extends Resource {
1376
1609
  location: string;
1377
1610
  }
1378
1611
 
1612
+ /** User assigned identity properties */
1613
+ export declare interface UserAssignedIdentity {
1614
+ /**
1615
+ * The principal ID of the assigned identity.
1616
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1617
+ */
1618
+ readonly principalId?: string;
1619
+ /**
1620
+ * The client ID of the assigned identity.
1621
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1622
+ */
1623
+ readonly clientId?: string;
1624
+ }
1625
+
1379
1626
  export { }
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
8
+ "packageVersion": "7.34.6"
9
9
  }
10
10
  ]
11
11
  }