@azure/arm-redisenterprisecache 3.1.0-alpha.20241015.1 → 3.1.0-beta.2

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 +111 -9
  2. package/dist/index.js +1094 -162
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.d.ts +2 -0
  7. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.d.ts.map +1 -0
  8. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.js +45 -0
  9. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.js.map +1 -0
  10. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.d.ts +2 -0
  11. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.d.ts.map +1 -0
  12. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.js +41 -0
  13. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.js.map +1 -0
  14. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.d.ts +2 -0
  15. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.d.ts.map +1 -0
  16. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.js +41 -0
  17. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.js.map +1 -0
  18. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.d.ts +2 -0
  19. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.d.ts.map +1 -0
  20. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.js +56 -0
  21. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.js.map +1 -0
  22. package/dist-esm/samples-dev/databasesCreateSample.js +10 -6
  23. package/dist-esm/samples-dev/databasesCreateSample.js.map +1 -1
  24. package/dist-esm/samples-dev/databasesDeleteSample.js +3 -2
  25. package/dist-esm/samples-dev/databasesDeleteSample.js.map +1 -1
  26. package/dist-esm/samples-dev/databasesExportSample.js +3 -2
  27. package/dist-esm/samples-dev/databasesExportSample.js.map +1 -1
  28. package/dist-esm/samples-dev/databasesFlushSample.js +4 -3
  29. package/dist-esm/samples-dev/databasesFlushSample.js.map +1 -1
  30. package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.js +1 -1
  31. package/dist-esm/samples-dev/databasesForceUnlinkSample.js +4 -3
  32. package/dist-esm/samples-dev/databasesForceUnlinkSample.js.map +1 -1
  33. package/dist-esm/samples-dev/databasesGetSample.js +5 -4
  34. package/dist-esm/samples-dev/databasesGetSample.js.map +1 -1
  35. package/dist-esm/samples-dev/databasesImportSample.js +3 -2
  36. package/dist-esm/samples-dev/databasesImportSample.js.map +1 -1
  37. package/dist-esm/samples-dev/databasesListByClusterSample.js +5 -4
  38. package/dist-esm/samples-dev/databasesListByClusterSample.js.map +1 -1
  39. package/dist-esm/samples-dev/databasesListKeysSample.js +5 -4
  40. package/dist-esm/samples-dev/databasesListKeysSample.js.map +1 -1
  41. package/dist-esm/samples-dev/databasesRegenerateKeySample.js +5 -4
  42. package/dist-esm/samples-dev/databasesRegenerateKeySample.js.map +1 -1
  43. package/dist-esm/samples-dev/databasesUpdateSample.js +4 -2
  44. package/dist-esm/samples-dev/databasesUpdateSample.js.map +1 -1
  45. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js +3 -2
  46. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js.map +1 -1
  47. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  48. package/dist-esm/samples-dev/operationsStatusGetSample.js +3 -2
  49. package/dist-esm/samples-dev/operationsStatusGetSample.js.map +1 -1
  50. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +5 -4
  51. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
  52. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +5 -4
  53. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
  54. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +5 -4
  55. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
  56. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +5 -4
  57. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +1 -1
  58. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +5 -4
  59. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js.map +1 -1
  60. package/dist-esm/samples-dev/redisEnterpriseCreateSample.js +3 -2
  61. package/dist-esm/samples-dev/redisEnterpriseCreateSample.js.map +1 -1
  62. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js +5 -4
  63. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js.map +1 -1
  64. package/dist-esm/samples-dev/redisEnterpriseGetSample.js +5 -4
  65. package/dist-esm/samples-dev/redisEnterpriseGetSample.js.map +1 -1
  66. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js +5 -4
  67. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js.map +1 -1
  68. package/dist-esm/samples-dev/redisEnterpriseListSample.js +5 -4
  69. package/dist-esm/samples-dev/redisEnterpriseListSample.js.map +1 -1
  70. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js +5 -4
  71. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js.map +1 -1
  72. package/dist-esm/src/models/index.d.ts +423 -27
  73. package/dist-esm/src/models/index.d.ts.map +1 -1
  74. package/dist-esm/src/models/index.js +134 -2
  75. package/dist-esm/src/models/index.js.map +1 -1
  76. package/dist-esm/src/models/mappers.d.ts +16 -1
  77. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  78. package/dist-esm/src/models/mappers.js +372 -2
  79. package/dist-esm/src/models/mappers.js.map +1 -1
  80. package/dist-esm/src/models/parameters.d.ts +2 -0
  81. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  82. package/dist-esm/src/models/parameters.js +19 -2
  83. package/dist-esm/src/models/parameters.js.map +1 -1
  84. package/dist-esm/src/operations/accessPolicyAssignmentOperations.d.ts +94 -0
  85. package/dist-esm/src/operations/accessPolicyAssignmentOperations.d.ts.map +1 -0
  86. package/dist-esm/src/operations/accessPolicyAssignmentOperations.js +403 -0
  87. package/dist-esm/src/operations/accessPolicyAssignmentOperations.js.map +1 -0
  88. package/dist-esm/src/operations/databases.d.ts +6 -6
  89. package/dist-esm/src/operations/databases.js +6 -6
  90. package/dist-esm/src/operations/index.d.ts +1 -0
  91. package/dist-esm/src/operations/index.d.ts.map +1 -1
  92. package/dist-esm/src/operations/index.js +1 -0
  93. package/dist-esm/src/operations/index.js.map +1 -1
  94. package/dist-esm/src/operations/privateEndpointConnections.d.ts +7 -7
  95. package/dist-esm/src/operations/privateEndpointConnections.js +7 -7
  96. package/dist-esm/src/operations/privateLinkResources.d.ts +2 -2
  97. package/dist-esm/src/operations/privateLinkResources.js +2 -2
  98. package/dist-esm/src/operations/redisEnterprise.d.ts +13 -13
  99. package/dist-esm/src/operations/redisEnterprise.js +13 -13
  100. package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.d.ts +67 -0
  101. package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/accessPolicyAssignmentOperations.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/databases.d.ts +5 -5
  105. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  106. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  107. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  108. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  109. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +6 -6
  110. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +1 -1
  111. package/dist-esm/src/operationsInterfaces/redisEnterprise.d.ts +11 -11
  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 -2
  115. package/dist-esm/src/redisEnterpriseManagementClient.js.map +1 -1
  116. package/package.json +2 -2
  117. package/review/arm-redisenterprisecache.api.md +239 -2
  118. package/src/models/index.ts +457 -26
  119. package/src/models/mappers.ts +400 -2
  120. package/src/models/parameters.ts +21 -1
  121. package/src/operations/accessPolicyAssignmentOperations.ts +569 -0
  122. package/src/operations/databases.ts +6 -6
  123. package/src/operations/index.ts +1 -0
  124. package/src/operations/privateEndpointConnections.ts +7 -7
  125. package/src/operations/privateLinkResources.ts +2 -2
  126. package/src/operations/redisEnterprise.ts +13 -13
  127. package/src/operationsInterfaces/accessPolicyAssignmentOperations.ts +132 -0
  128. package/src/operationsInterfaces/databases.ts +5 -5
  129. package/src/operationsInterfaces/index.ts +1 -0
  130. package/src/operationsInterfaces/privateEndpointConnections.ts +6 -6
  131. package/src/operationsInterfaces/privateLinkResources.ts +1 -1
  132. package/src/operationsInterfaces/redisEnterprise.ts +11 -11
  133. package/src/redisEnterpriseManagementClient.ts +6 -1
  134. package/types/arm-redisenterprisecache.d.ts +544 -50
@@ -121,11 +121,11 @@ export interface OperationStatus {
121
121
  /** Error response describing why the operation failed. */
122
122
  error?: ErrorResponse;
123
123
  }
124
- /** SKU parameters supplied to the create RedisEnterprise operation. */
124
+ /** SKU parameters supplied to the create Redis Enterprise cluster operation. */
125
125
  export interface Sku {
126
- /** The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.) */
126
+ /** The level of Redis Enterprise cluster to deploy. Possible values: ('Balanced_B5', 'MemoryOptimized_M10', 'ComputeOptimized_X5', etc.). For more information on SKUs see the latest pricing documentation. Note that additional SKUs may become supported in the future. */
127
127
  name: SkuName;
128
- /** The size of the RedisEnterprise cluster. Defaults to 2 or 3 depending on SKU. Valid values are (2, 4, 6, ...) for Enterprise SKUs and (3, 9, 15, ...) for Flash SKUs. */
128
+ /** This property is only used with Enterprise and EnterpriseFlash SKUs. Determines the size of the cluster. Valid values are (2, 4, 6, ...) for Enterprise SKUs and (3, 9, 15, ...) for EnterpriseFlash SKUs. */
129
129
  capacity?: number;
130
130
  }
131
131
  /** Managed service identity (system assigned and/or user assigned identities) */
@@ -214,7 +214,7 @@ export interface Resource {
214
214
  */
215
215
  readonly type?: string;
216
216
  }
217
- /** A partial update to the RedisEnterprise cluster */
217
+ /** A partial update to the Redis Enterprise cluster */
218
218
  export interface ClusterUpdate {
219
219
  /** The SKU to create, which affects price, performance, and features. */
220
220
  sku?: Sku;
@@ -224,7 +224,9 @@ export interface ClusterUpdate {
224
224
  tags?: {
225
225
  [propertyName: string]: string;
226
226
  };
227
- /** The minimum TLS version for the cluster to support, e.g. '1.2' */
227
+ /** Enabled by default. If highAvailability is disabled, the data set is not replicated. This affects the availability SLA, and increases the risk of data loss. */
228
+ highAvailability?: HighAvailability;
229
+ /** The minimum TLS version for the cluster to support, e.g. '1.2'. Newer versions can be added in the future. Note that TLS 1.0 and TLS 1.1 are now completely obsolete -- you cannot use them. They are mentioned only for the sake of consistency with old API versions. */
228
230
  minimumTlsVersion?: TlsVersion;
229
231
  /** Encryption-at-rest configuration for the cluster. */
230
232
  encryption?: ClusterPropertiesEncryption;
@@ -238,6 +240,11 @@ export interface ClusterUpdate {
238
240
  * NOTE: This property will not be serialized. It can only be populated by the server.
239
241
  */
240
242
  readonly provisioningState?: ProvisioningState;
243
+ /**
244
+ * Explains the current redundancy strategy of the cluster, which affects the expected SLA.
245
+ * NOTE: This property will not be serialized. It can only be populated by the server.
246
+ */
247
+ readonly redundancyMode?: RedundancyMode;
241
248
  /**
242
249
  * Current resource status of the cluster
243
250
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -249,7 +256,7 @@ export interface ClusterUpdate {
249
256
  */
250
257
  readonly redisVersion?: string;
251
258
  /**
252
- * List of private endpoint connections associated with the specified RedisEnterprise cluster
259
+ * List of private endpoint connections associated with the specified Redis Enterprise cluster
253
260
  * NOTE: This property will not be serialized. It can only be populated by the server.
254
261
  */
255
262
  readonly privateEndpointConnections?: PrivateEndpointConnection[];
@@ -274,13 +281,13 @@ export interface DatabaseList {
274
281
  */
275
282
  readonly nextLink?: string;
276
283
  }
277
- /** Persistence-related configuration for the RedisEnterprise database */
284
+ /** Persistence-related configuration for the Redis Enterprise database */
278
285
  export interface Persistence {
279
- /** Sets whether AOF is enabled. */
286
+ /** Sets whether AOF is enabled. Note that at most one of AOF or RDB persistence may be enabled. */
280
287
  aofEnabled?: boolean;
281
- /** Sets whether RDB is enabled. */
288
+ /** Sets whether RDB is enabled. Note that at most one of AOF or RDB persistence may be enabled. */
282
289
  rdbEnabled?: boolean;
283
- /** Sets the frequency at which data is written to disk. */
290
+ /** Sets the frequency at which data is written to disk. Defaults to '1s', meaning 'every second'. Note that the 'always' setting is deprecated, because of its performance impact. */
284
291
  aofFrequency?: AofFrequency;
285
292
  /** Sets the frequency at which a snapshot of the database is created. */
286
293
  rdbFrequency?: RdbFrequency;
@@ -314,7 +321,45 @@ export interface LinkedDatabase {
314
321
  */
315
322
  readonly state?: LinkState;
316
323
  }
317
- /** A partial update to the RedisEnterprise database */
324
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
325
+ export interface ResourceAutoGenerated {
326
+ /**
327
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
328
+ * NOTE: This property will not be serialized. It can only be populated by the server.
329
+ */
330
+ readonly id?: string;
331
+ /**
332
+ * The name of the resource
333
+ * NOTE: This property will not be serialized. It can only be populated by the server.
334
+ */
335
+ readonly name?: string;
336
+ /**
337
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
338
+ * NOTE: This property will not be serialized. It can only be populated by the server.
339
+ */
340
+ readonly type?: string;
341
+ /**
342
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
343
+ * NOTE: This property will not be serialized. It can only be populated by the server.
344
+ */
345
+ readonly systemData?: SystemData;
346
+ }
347
+ /** Metadata pertaining to creation and last modification of the resource. */
348
+ export interface SystemData {
349
+ /** The identity that created the resource. */
350
+ createdBy?: string;
351
+ /** The type of identity that created the resource. */
352
+ createdByType?: CreatedByType;
353
+ /** The timestamp of resource creation (UTC). */
354
+ createdAt?: Date;
355
+ /** The identity that last modified the resource. */
356
+ lastModifiedBy?: string;
357
+ /** The type of identity that last modified the resource. */
358
+ lastModifiedByType?: CreatedByType;
359
+ /** The timestamp of resource last modification (UTC) */
360
+ lastModifiedAt?: Date;
361
+ }
362
+ /** A partial update to the Redis Enterprise database */
318
363
  export interface DatabaseUpdate {
319
364
  /** Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. */
320
365
  clientProtocol?: Protocol;
@@ -330,7 +375,7 @@ export interface DatabaseUpdate {
330
375
  * NOTE: This property will not be serialized. It can only be populated by the server.
331
376
  */
332
377
  readonly resourceState?: ResourceState;
333
- /** Clustering policy - default is OSSCluster. Specified at create time. */
378
+ /** Clustering policy - default is OSSCluster. This property must be chosen at create time, and cannot be changed without deleting the database. */
334
379
  clusteringPolicy?: ClusteringPolicy;
335
380
  /** Redis eviction policy - default is VolatileLRU */
336
381
  evictionPolicy?: EvictionPolicy;
@@ -345,8 +390,10 @@ export interface DatabaseUpdate {
345
390
  * NOTE: This property will not be serialized. It can only be populated by the server.
346
391
  */
347
392
  readonly redisVersion?: string;
348
- /** Option to defer upgrade when newest version is released - default is NotDeferred. Learn more: https://aka.ms/redisversionupgrade */
393
+ /** Option to defer upgrade when newest version is released - default is NotDeferred. Learn more: https://aka.ms/redisversionupgrade */
349
394
  deferUpgrade?: DeferUpgradeSetting;
395
+ /** This property can be Enabled/Disabled to allow or deny access with the current access keys. Can be updated even after database is created. */
396
+ accessKeysAuthentication?: AccessKeysAuthentication;
350
397
  }
351
398
  /** The secret access keys used for authenticating connections to redis */
352
399
  export interface AccessKeys {
@@ -376,6 +423,21 @@ export interface ExportClusterParameters {
376
423
  /** SAS URI for the target directory to export to */
377
424
  sasUri: string;
378
425
  }
426
+ /** The user associated with the access policy. */
427
+ export interface AccessPolicyAssignmentPropertiesUser {
428
+ /** The object ID of the user. */
429
+ objectId?: string;
430
+ }
431
+ /** The response of a list-all operation. */
432
+ export interface AccessPolicyAssignmentList {
433
+ /** List of access policy assignments. */
434
+ value?: AccessPolicyAssignment[];
435
+ /**
436
+ * The URI to fetch the next page of results.
437
+ * NOTE: This property will not be serialized. It can only be populated by the server.
438
+ */
439
+ readonly nextLink?: string;
440
+ }
379
441
  /** List of private endpoint connection associated with the specified storage account */
380
442
  export interface PrivateEndpointConnectionListResult {
381
443
  /** Array of private endpoint connections */
@@ -386,7 +448,7 @@ export interface PrivateLinkResourceListResult {
386
448
  /** Array of private link resources */
387
449
  value?: PrivateLinkResource[];
388
450
  }
389
- /** Parameters for a Redis Enterprise Active Geo Replication Force Unlink operation. */
451
+ /** Parameters for a redis enterprise active geo-replication force unlink operation. */
390
452
  export interface ForceUnlinkParameters {
391
453
  /** The resource IDs of the database resources to be unlinked. */
392
454
  ids: string[];
@@ -425,7 +487,7 @@ export interface TrackedResource extends Resource {
425
487
  location: string;
426
488
  }
427
489
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
428
- export interface ProxyResource extends Resource {
490
+ export interface ProxyResourceAutoGenerated extends Resource {
429
491
  }
430
492
  /** A private link resource */
431
493
  export interface PrivateLinkResource extends Resource {
@@ -442,7 +504,10 @@ export interface PrivateLinkResource extends Resource {
442
504
  /** The private link resource Private link DNS zone name. */
443
505
  requiredZoneNames?: string[];
444
506
  }
445
- /** Describes the RedisEnterprise cluster */
507
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
508
+ export interface ProxyResource extends ResourceAutoGenerated {
509
+ }
510
+ /** Describes the Redis Enterprise cluster */
446
511
  export interface Cluster extends TrackedResource {
447
512
  /** The SKU to create, which affects price, performance, and features. */
448
513
  sku: Sku;
@@ -450,7 +515,9 @@ export interface Cluster extends TrackedResource {
450
515
  zones?: string[];
451
516
  /** The identity of the resource. */
452
517
  identity?: ManagedServiceIdentity;
453
- /** The minimum TLS version for the cluster to support, e.g. '1.2' */
518
+ /** Enabled by default. If highAvailability is disabled, the data set is not replicated. This affects the availability SLA, and increases the risk of data loss. */
519
+ highAvailability?: HighAvailability;
520
+ /** The minimum TLS version for the cluster to support, e.g. '1.2'. Newer versions can be added in the future. Note that TLS 1.0 and TLS 1.1 are now completely obsolete -- you cannot use them. They are mentioned only for the sake of consistency with old API versions. */
454
521
  minimumTlsVersion?: TlsVersion;
455
522
  /** Encryption-at-rest configuration for the cluster. */
456
523
  encryption?: ClusterPropertiesEncryption;
@@ -464,6 +531,11 @@ export interface Cluster extends TrackedResource {
464
531
  * NOTE: This property will not be serialized. It can only be populated by the server.
465
532
  */
466
533
  readonly provisioningState?: ProvisioningState;
534
+ /**
535
+ * Explains the current redundancy strategy of the cluster, which affects the expected SLA.
536
+ * NOTE: This property will not be serialized. It can only be populated by the server.
537
+ */
538
+ readonly redundancyMode?: RedundancyMode;
467
539
  /**
468
540
  * Current resource status of the cluster
469
541
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -475,12 +547,24 @@ export interface Cluster extends TrackedResource {
475
547
  */
476
548
  readonly redisVersion?: string;
477
549
  /**
478
- * List of private endpoint connections associated with the specified RedisEnterprise cluster
550
+ * List of private endpoint connections associated with the specified Redis Enterprise cluster
479
551
  * NOTE: This property will not be serialized. It can only be populated by the server.
480
552
  */
481
553
  readonly privateEndpointConnections?: PrivateEndpointConnection[];
482
554
  }
483
- /** Describes a database on the RedisEnterprise cluster */
555
+ /** Describes the access policy assignment of Redis Enterprise database */
556
+ export interface AccessPolicyAssignment extends ProxyResourceAutoGenerated {
557
+ /**
558
+ * Current provisioning status of the access policy assignment.
559
+ * NOTE: This property will not be serialized. It can only be populated by the server.
560
+ */
561
+ readonly provisioningState?: ProvisioningState;
562
+ /** Name of access policy under specific access policy assignment. Only "default" policy is supported for now. */
563
+ accessPolicyName?: string;
564
+ /** The user associated with the access policy. */
565
+ user?: AccessPolicyAssignmentPropertiesUser;
566
+ }
567
+ /** Describes a database on the Redis Enterprise cluster */
484
568
  export interface Database extends ProxyResource {
485
569
  /** Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. */
486
570
  clientProtocol?: Protocol;
@@ -496,7 +580,7 @@ export interface Database extends ProxyResource {
496
580
  * NOTE: This property will not be serialized. It can only be populated by the server.
497
581
  */
498
582
  readonly resourceState?: ResourceState;
499
- /** Clustering policy - default is OSSCluster. Specified at create time. */
583
+ /** Clustering policy - default is OSSCluster. This property must be chosen at create time, and cannot be changed without deleting the database. */
500
584
  clusteringPolicy?: ClusteringPolicy;
501
585
  /** Redis eviction policy - default is VolatileLRU */
502
586
  evictionPolicy?: EvictionPolicy;
@@ -511,8 +595,66 @@ export interface Database extends ProxyResource {
511
595
  * NOTE: This property will not be serialized. It can only be populated by the server.
512
596
  */
513
597
  readonly redisVersion?: string;
514
- /** Option to defer upgrade when newest version is released - default is NotDeferred. Learn more: https://aka.ms/redisversionupgrade */
598
+ /** Option to defer upgrade when newest version is released - default is NotDeferred. Learn more: https://aka.ms/redisversionupgrade */
515
599
  deferUpgrade?: DeferUpgradeSetting;
600
+ /** This property can be Enabled/Disabled to allow or deny access with the current access keys. Can be updated even after database is created. */
601
+ accessKeysAuthentication?: AccessKeysAuthentication;
602
+ }
603
+ /** Defines headers for RedisEnterprise_update operation. */
604
+ export interface RedisEnterpriseUpdateHeaders {
605
+ /** Location URI to poll for result */
606
+ location?: string;
607
+ /** Azure-AsyncOperation URI to poll for result */
608
+ azureAsyncOperation?: string;
609
+ }
610
+ /** Defines headers for RedisEnterprise_delete operation. */
611
+ export interface RedisEnterpriseDeleteHeaders {
612
+ /** Location URI to poll for result */
613
+ location?: string;
614
+ /** Azure-AsyncOperation URI to poll for result */
615
+ azureAsyncOperation?: string;
616
+ }
617
+ /** Defines headers for Databases_update operation. */
618
+ export interface DatabasesUpdateHeaders {
619
+ /** Location URI to poll for result */
620
+ location?: string;
621
+ /** Azure-AsyncOperation URI to poll for result */
622
+ azureAsyncOperation?: string;
623
+ }
624
+ /** Defines headers for Databases_delete operation. */
625
+ export interface DatabasesDeleteHeaders {
626
+ /** Location URI to poll for result */
627
+ location?: string;
628
+ /** Azure-AsyncOperation URI to poll for result */
629
+ azureAsyncOperation?: string;
630
+ }
631
+ /** Defines headers for Databases_regenerateKey operation. */
632
+ export interface DatabasesRegenerateKeyHeaders {
633
+ /** Location URI to poll for result */
634
+ location?: string;
635
+ /** Azure-AsyncOperation URI to poll for result */
636
+ azureAsyncOperation?: string;
637
+ }
638
+ /** Defines headers for Databases_import operation. */
639
+ export interface DatabasesImportHeaders {
640
+ /** Location URI to poll for result */
641
+ location?: string;
642
+ /** Azure-AsyncOperation URI to poll for result */
643
+ azureAsyncOperation?: string;
644
+ }
645
+ /** Defines headers for Databases_export operation. */
646
+ export interface DatabasesExportHeaders {
647
+ /** Location URI to poll for result */
648
+ location?: string;
649
+ /** Azure-AsyncOperation URI to poll for result */
650
+ azureAsyncOperation?: string;
651
+ }
652
+ /** Defines headers for Databases_forceUnlink operation. */
653
+ export interface DatabasesForceUnlinkHeaders {
654
+ /** Location URI to poll for result */
655
+ location?: string;
656
+ /** Azure-AsyncOperation URI to poll for result */
657
+ azureAsyncOperation?: string;
516
658
  }
517
659
  /** Defines headers for Databases_forceLinkToReplicationGroup operation. */
518
660
  export interface DatabasesForceLinkToReplicationGroupHeaders {
@@ -535,6 +677,13 @@ export interface DatabasesUpgradeDBRedisVersionHeaders {
535
677
  /** URI to poll for the operation status */
536
678
  azureAsyncOperation?: string;
537
679
  }
680
+ /** Defines headers for AccessPolicyAssignment_delete operation. */
681
+ export interface AccessPolicyAssignmentDeleteHeaders {
682
+ /** Location URI to poll for result */
683
+ location?: string;
684
+ /** Azure-AsyncOperation URI to poll for result */
685
+ azureAsyncOperation?: string;
686
+ }
538
687
  /** Defines headers for PrivateEndpointConnections_delete operation. */
539
688
  export interface PrivateEndpointConnectionsDeleteHeaders {
540
689
  /** Location URI to poll for result */
@@ -576,6 +725,8 @@ export declare enum KnownActionType {
576
725
  export type ActionType = string;
577
726
  /** Known values of {@link SkuName} that the service accepts. */
578
727
  export declare enum KnownSkuName {
728
+ /** EnterpriseE1 */
729
+ EnterpriseE1 = "Enterprise_E1",
579
730
  /** EnterpriseE5 */
580
731
  EnterpriseE5 = "Enterprise_E5",
581
732
  /** EnterpriseE10 */
@@ -586,26 +737,165 @@ export declare enum KnownSkuName {
586
737
  EnterpriseE50 = "Enterprise_E50",
587
738
  /** EnterpriseE100 */
588
739
  EnterpriseE100 = "Enterprise_E100",
740
+ /** EnterpriseE200 */
741
+ EnterpriseE200 = "Enterprise_E200",
742
+ /** EnterpriseE400 */
743
+ EnterpriseE400 = "Enterprise_E400",
589
744
  /** EnterpriseFlashF300 */
590
745
  EnterpriseFlashF300 = "EnterpriseFlash_F300",
591
746
  /** EnterpriseFlashF700 */
592
747
  EnterpriseFlashF700 = "EnterpriseFlash_F700",
593
748
  /** EnterpriseFlashF1500 */
594
- EnterpriseFlashF1500 = "EnterpriseFlash_F1500"
749
+ EnterpriseFlashF1500 = "EnterpriseFlash_F1500",
750
+ /** BalancedB0 */
751
+ BalancedB0 = "Balanced_B0",
752
+ /** BalancedB1 */
753
+ BalancedB1 = "Balanced_B1",
754
+ /** BalancedB3 */
755
+ BalancedB3 = "Balanced_B3",
756
+ /** BalancedB5 */
757
+ BalancedB5 = "Balanced_B5",
758
+ /** BalancedB10 */
759
+ BalancedB10 = "Balanced_B10",
760
+ /** BalancedB20 */
761
+ BalancedB20 = "Balanced_B20",
762
+ /** BalancedB50 */
763
+ BalancedB50 = "Balanced_B50",
764
+ /** BalancedB100 */
765
+ BalancedB100 = "Balanced_B100",
766
+ /** BalancedB150 */
767
+ BalancedB150 = "Balanced_B150",
768
+ /** BalancedB250 */
769
+ BalancedB250 = "Balanced_B250",
770
+ /** BalancedB350 */
771
+ BalancedB350 = "Balanced_B350",
772
+ /** BalancedB500 */
773
+ BalancedB500 = "Balanced_B500",
774
+ /** BalancedB700 */
775
+ BalancedB700 = "Balanced_B700",
776
+ /** BalancedB1000 */
777
+ BalancedB1000 = "Balanced_B1000",
778
+ /** MemoryOptimizedM10 */
779
+ MemoryOptimizedM10 = "MemoryOptimized_M10",
780
+ /** MemoryOptimizedM20 */
781
+ MemoryOptimizedM20 = "MemoryOptimized_M20",
782
+ /** MemoryOptimizedM50 */
783
+ MemoryOptimizedM50 = "MemoryOptimized_M50",
784
+ /** MemoryOptimizedM100 */
785
+ MemoryOptimizedM100 = "MemoryOptimized_M100",
786
+ /** MemoryOptimizedM150 */
787
+ MemoryOptimizedM150 = "MemoryOptimized_M150",
788
+ /** MemoryOptimizedM250 */
789
+ MemoryOptimizedM250 = "MemoryOptimized_M250",
790
+ /** MemoryOptimizedM350 */
791
+ MemoryOptimizedM350 = "MemoryOptimized_M350",
792
+ /** MemoryOptimizedM500 */
793
+ MemoryOptimizedM500 = "MemoryOptimized_M500",
794
+ /** MemoryOptimizedM700 */
795
+ MemoryOptimizedM700 = "MemoryOptimized_M700",
796
+ /** MemoryOptimizedM1000 */
797
+ MemoryOptimizedM1000 = "MemoryOptimized_M1000",
798
+ /** MemoryOptimizedM1500 */
799
+ MemoryOptimizedM1500 = "MemoryOptimized_M1500",
800
+ /** MemoryOptimizedM2000 */
801
+ MemoryOptimizedM2000 = "MemoryOptimized_M2000",
802
+ /** ComputeOptimizedX3 */
803
+ ComputeOptimizedX3 = "ComputeOptimized_X3",
804
+ /** ComputeOptimizedX5 */
805
+ ComputeOptimizedX5 = "ComputeOptimized_X5",
806
+ /** ComputeOptimizedX10 */
807
+ ComputeOptimizedX10 = "ComputeOptimized_X10",
808
+ /** ComputeOptimizedX20 */
809
+ ComputeOptimizedX20 = "ComputeOptimized_X20",
810
+ /** ComputeOptimizedX50 */
811
+ ComputeOptimizedX50 = "ComputeOptimized_X50",
812
+ /** ComputeOptimizedX100 */
813
+ ComputeOptimizedX100 = "ComputeOptimized_X100",
814
+ /** ComputeOptimizedX150 */
815
+ ComputeOptimizedX150 = "ComputeOptimized_X150",
816
+ /** ComputeOptimizedX250 */
817
+ ComputeOptimizedX250 = "ComputeOptimized_X250",
818
+ /** ComputeOptimizedX350 */
819
+ ComputeOptimizedX350 = "ComputeOptimized_X350",
820
+ /** ComputeOptimizedX500 */
821
+ ComputeOptimizedX500 = "ComputeOptimized_X500",
822
+ /** ComputeOptimizedX700 */
823
+ ComputeOptimizedX700 = "ComputeOptimized_X700",
824
+ /** FlashOptimizedA250 */
825
+ FlashOptimizedA250 = "FlashOptimized_A250",
826
+ /** FlashOptimizedA500 */
827
+ FlashOptimizedA500 = "FlashOptimized_A500",
828
+ /** FlashOptimizedA700 */
829
+ FlashOptimizedA700 = "FlashOptimized_A700",
830
+ /** FlashOptimizedA1000 */
831
+ FlashOptimizedA1000 = "FlashOptimized_A1000",
832
+ /** FlashOptimizedA1500 */
833
+ FlashOptimizedA1500 = "FlashOptimized_A1500",
834
+ /** FlashOptimizedA2000 */
835
+ FlashOptimizedA2000 = "FlashOptimized_A2000",
836
+ /** FlashOptimizedA4500 */
837
+ FlashOptimizedA4500 = "FlashOptimized_A4500"
595
838
  }
596
839
  /**
597
840
  * Defines values for SkuName. \
598
841
  * {@link KnownSkuName} can be used interchangeably with SkuName,
599
842
  * this enum contains the known values that the service supports.
600
843
  * ### Known values supported by the service
844
+ * **Enterprise_E1** \
601
845
  * **Enterprise_E5** \
602
846
  * **Enterprise_E10** \
603
847
  * **Enterprise_E20** \
604
848
  * **Enterprise_E50** \
605
849
  * **Enterprise_E100** \
850
+ * **Enterprise_E200** \
851
+ * **Enterprise_E400** \
606
852
  * **EnterpriseFlash_F300** \
607
853
  * **EnterpriseFlash_F700** \
608
- * **EnterpriseFlash_F1500**
854
+ * **EnterpriseFlash_F1500** \
855
+ * **Balanced_B0** \
856
+ * **Balanced_B1** \
857
+ * **Balanced_B3** \
858
+ * **Balanced_B5** \
859
+ * **Balanced_B10** \
860
+ * **Balanced_B20** \
861
+ * **Balanced_B50** \
862
+ * **Balanced_B100** \
863
+ * **Balanced_B150** \
864
+ * **Balanced_B250** \
865
+ * **Balanced_B350** \
866
+ * **Balanced_B500** \
867
+ * **Balanced_B700** \
868
+ * **Balanced_B1000** \
869
+ * **MemoryOptimized_M10** \
870
+ * **MemoryOptimized_M20** \
871
+ * **MemoryOptimized_M50** \
872
+ * **MemoryOptimized_M100** \
873
+ * **MemoryOptimized_M150** \
874
+ * **MemoryOptimized_M250** \
875
+ * **MemoryOptimized_M350** \
876
+ * **MemoryOptimized_M500** \
877
+ * **MemoryOptimized_M700** \
878
+ * **MemoryOptimized_M1000** \
879
+ * **MemoryOptimized_M1500** \
880
+ * **MemoryOptimized_M2000** \
881
+ * **ComputeOptimized_X3** \
882
+ * **ComputeOptimized_X5** \
883
+ * **ComputeOptimized_X10** \
884
+ * **ComputeOptimized_X20** \
885
+ * **ComputeOptimized_X50** \
886
+ * **ComputeOptimized_X100** \
887
+ * **ComputeOptimized_X150** \
888
+ * **ComputeOptimized_X250** \
889
+ * **ComputeOptimized_X350** \
890
+ * **ComputeOptimized_X500** \
891
+ * **ComputeOptimized_X700** \
892
+ * **FlashOptimized_A250** \
893
+ * **FlashOptimized_A500** \
894
+ * **FlashOptimized_A700** \
895
+ * **FlashOptimized_A1000** \
896
+ * **FlashOptimized_A1500** \
897
+ * **FlashOptimized_A2000** \
898
+ * **FlashOptimized_A4500**
609
899
  */
610
900
  export type SkuName = string;
611
901
  /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
@@ -630,6 +920,22 @@ export declare enum KnownManagedServiceIdentityType {
630
920
  * **SystemAssigned, UserAssigned**
631
921
  */
632
922
  export type ManagedServiceIdentityType = string;
923
+ /** Known values of {@link HighAvailability} that the service accepts. */
924
+ export declare enum KnownHighAvailability {
925
+ /** Enabled */
926
+ Enabled = "Enabled",
927
+ /** Disabled */
928
+ Disabled = "Disabled"
929
+ }
930
+ /**
931
+ * Defines values for HighAvailability. \
932
+ * {@link KnownHighAvailability} can be used interchangeably with HighAvailability,
933
+ * this enum contains the known values that the service supports.
934
+ * ### Known values supported by the service
935
+ * **Enabled** \
936
+ * **Disabled**
937
+ */
938
+ export type HighAvailability = string;
633
939
  /** Known values of {@link TlsVersion} that the service accepts. */
634
940
  export declare enum KnownTlsVersion {
635
941
  /** One0 */
@@ -693,6 +999,25 @@ export declare enum KnownProvisioningState {
693
999
  * **Deleting**
694
1000
  */
695
1001
  export type ProvisioningState = string;
1002
+ /** Known values of {@link RedundancyMode} that the service accepts. */
1003
+ export declare enum KnownRedundancyMode {
1004
+ /** No redundancy. Availability loss will occur. */
1005
+ None = "None",
1006
+ /** Local redundancy with high availability. */
1007
+ LR = "LR",
1008
+ /** Zone redundant. Higher availability. */
1009
+ ZR = "ZR"
1010
+ }
1011
+ /**
1012
+ * Defines values for RedundancyMode. \
1013
+ * {@link KnownRedundancyMode} can be used interchangeably with RedundancyMode,
1014
+ * this enum contains the known values that the service supports.
1015
+ * ### Known values supported by the service
1016
+ * **None**: No redundancy. Availability loss will occur. \
1017
+ * **LR**: Local redundancy with high availability. \
1018
+ * **ZR**: Zone redundant. Higher availability.
1019
+ */
1020
+ export type RedundancyMode = string;
696
1021
  /** Known values of {@link ResourceState} that the service accepts. */
697
1022
  export declare enum KnownResourceState {
698
1023
  /** Running */
@@ -804,9 +1129,9 @@ export declare enum KnownProtocol {
804
1129
  export type Protocol = string;
805
1130
  /** Known values of {@link ClusteringPolicy} that the service accepts. */
806
1131
  export declare enum KnownClusteringPolicy {
807
- /** EnterpriseCluster */
1132
+ /** Enterprise clustering policy uses only the classic redis protocol, which does not support redis cluster commands. */
808
1133
  EnterpriseCluster = "EnterpriseCluster",
809
- /** OSSCluster */
1134
+ /** OSS clustering policy follows the redis cluster specification, and requires all clients to support redis clustering. */
810
1135
  OSSCluster = "OSSCluster"
811
1136
  }
812
1137
  /**
@@ -814,8 +1139,8 @@ export declare enum KnownClusteringPolicy {
814
1139
  * {@link KnownClusteringPolicy} can be used interchangeably with ClusteringPolicy,
815
1140
  * this enum contains the known values that the service supports.
816
1141
  * ### Known values supported by the service
817
- * **EnterpriseCluster** \
818
- * **OSSCluster**
1142
+ * **EnterpriseCluster**: Enterprise clustering policy uses only the classic redis protocol, which does not support redis cluster commands. \
1143
+ * **OSSCluster**: OSS clustering policy follows the redis cluster specification, and requires all clients to support redis clustering.
819
1144
  */
820
1145
  export type ClusteringPolicy = string;
821
1146
  /** Known values of {@link EvictionPolicy} that the service accepts. */
@@ -928,6 +1253,44 @@ export declare enum KnownDeferUpgradeSetting {
928
1253
  * **NotDeferred**
929
1254
  */
930
1255
  export type DeferUpgradeSetting = string;
1256
+ /** Known values of {@link AccessKeysAuthentication} that the service accepts. */
1257
+ export declare enum KnownAccessKeysAuthentication {
1258
+ /** Disabled */
1259
+ Disabled = "Disabled",
1260
+ /** Enabled */
1261
+ Enabled = "Enabled"
1262
+ }
1263
+ /**
1264
+ * Defines values for AccessKeysAuthentication. \
1265
+ * {@link KnownAccessKeysAuthentication} can be used interchangeably with AccessKeysAuthentication,
1266
+ * this enum contains the known values that the service supports.
1267
+ * ### Known values supported by the service
1268
+ * **Disabled** \
1269
+ * **Enabled**
1270
+ */
1271
+ export type AccessKeysAuthentication = string;
1272
+ /** Known values of {@link CreatedByType} that the service accepts. */
1273
+ export declare enum KnownCreatedByType {
1274
+ /** User */
1275
+ User = "User",
1276
+ /** Application */
1277
+ Application = "Application",
1278
+ /** ManagedIdentity */
1279
+ ManagedIdentity = "ManagedIdentity",
1280
+ /** Key */
1281
+ Key = "Key"
1282
+ }
1283
+ /**
1284
+ * Defines values for CreatedByType. \
1285
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1286
+ * this enum contains the known values that the service supports.
1287
+ * ### Known values supported by the service
1288
+ * **User** \
1289
+ * **Application** \
1290
+ * **ManagedIdentity** \
1291
+ * **Key**
1292
+ */
1293
+ export type CreatedByType = string;
931
1294
  /** Defines values for AccessKeyType. */
932
1295
  export type AccessKeyType = "Primary" | "Secondary";
933
1296
  /** Optional parameters. */
@@ -1096,6 +1459,39 @@ export interface DatabasesListByClusterNextOptionalParams extends coreClient.Ope
1096
1459
  /** Contains response data for the listByClusterNext operation. */
1097
1460
  export type DatabasesListByClusterNextResponse = DatabaseList;
1098
1461
  /** Optional parameters. */
1462
+ export interface AccessPolicyAssignmentCreateUpdateOptionalParams extends coreClient.OperationOptions {
1463
+ /** Delay to wait until next poll, in milliseconds. */
1464
+ updateIntervalInMs?: number;
1465
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1466
+ resumeFrom?: string;
1467
+ }
1468
+ /** Contains response data for the createUpdate operation. */
1469
+ export type AccessPolicyAssignmentCreateUpdateResponse = AccessPolicyAssignment;
1470
+ /** Optional parameters. */
1471
+ export interface AccessPolicyAssignmentGetOptionalParams extends coreClient.OperationOptions {
1472
+ }
1473
+ /** Contains response data for the get operation. */
1474
+ export type AccessPolicyAssignmentGetResponse = AccessPolicyAssignment;
1475
+ /** Optional parameters. */
1476
+ export interface AccessPolicyAssignmentDeleteOptionalParams extends coreClient.OperationOptions {
1477
+ /** Delay to wait until next poll, in milliseconds. */
1478
+ updateIntervalInMs?: number;
1479
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1480
+ resumeFrom?: string;
1481
+ }
1482
+ /** Contains response data for the delete operation. */
1483
+ export type AccessPolicyAssignmentDeleteResponse = AccessPolicyAssignmentDeleteHeaders;
1484
+ /** Optional parameters. */
1485
+ export interface AccessPolicyAssignmentListOptionalParams extends coreClient.OperationOptions {
1486
+ }
1487
+ /** Contains response data for the list operation. */
1488
+ export type AccessPolicyAssignmentListResponse = AccessPolicyAssignmentList;
1489
+ /** Optional parameters. */
1490
+ export interface AccessPolicyAssignmentListNextOptionalParams extends coreClient.OperationOptions {
1491
+ }
1492
+ /** Contains response data for the listNext operation. */
1493
+ export type AccessPolicyAssignmentListNextResponse = AccessPolicyAssignmentList;
1494
+ /** Optional parameters. */
1099
1495
  export interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {
1100
1496
  }
1101
1497
  /** Contains response data for the list operation. */