@azure/arm-redisenterprisecache 3.1.0-beta.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 (139) hide show
  1. package/CHANGELOG.md +112 -0
  2. package/dist/index.js +1095 -163
  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 +5 -3
  115. package/dist-esm/src/redisEnterpriseManagementClient.js.map +1 -1
  116. package/dist-esm/test/redisenterprisecache_test.spec.d.ts.map +1 -1
  117. package/dist-esm/test/redisenterprisecache_test.spec.js +5 -1
  118. package/dist-esm/test/redisenterprisecache_test.spec.js.map +1 -1
  119. package/package.json +31 -30
  120. package/review/arm-redisenterprisecache.api.md +239 -2
  121. package/src/lroImpl.ts +1 -1
  122. package/src/models/index.ts +457 -26
  123. package/src/models/mappers.ts +400 -2
  124. package/src/models/parameters.ts +21 -1
  125. package/src/operations/accessPolicyAssignmentOperations.ts +569 -0
  126. package/src/operations/databases.ts +6 -6
  127. package/src/operations/index.ts +1 -0
  128. package/src/operations/privateEndpointConnections.ts +7 -7
  129. package/src/operations/privateLinkResources.ts +2 -2
  130. package/src/operations/redisEnterprise.ts +13 -13
  131. package/src/operationsInterfaces/accessPolicyAssignmentOperations.ts +132 -0
  132. package/src/operationsInterfaces/databases.ts +5 -5
  133. package/src/operationsInterfaces/index.ts +1 -0
  134. package/src/operationsInterfaces/privateEndpointConnections.ts +6 -6
  135. package/src/operationsInterfaces/privateLinkResources.ts +1 -1
  136. package/src/operationsInterfaces/redisEnterprise.ts +11 -11
  137. package/src/redisEnterpriseManagementClient.ts +7 -2
  138. package/types/arm-redisenterprisecache.d.ts +544 -50
  139. package/types/tsdoc-metadata.json +1 -1
@@ -18,9 +18,164 @@ export declare interface AccessKeys {
18
18
  readonly secondaryKey?: string;
19
19
  }
20
20
 
21
+ /**
22
+ * Defines values for AccessKeysAuthentication. \
23
+ * {@link KnownAccessKeysAuthentication} can be used interchangeably with AccessKeysAuthentication,
24
+ * this enum contains the known values that the service supports.
25
+ * ### Known values supported by the service
26
+ * **Disabled** \
27
+ * **Enabled**
28
+ */
29
+ export declare type AccessKeysAuthentication = string;
30
+
21
31
  /** Defines values for AccessKeyType. */
22
32
  export declare type AccessKeyType = "Primary" | "Secondary";
23
33
 
34
+ /** Describes the access policy assignment of Redis Enterprise database */
35
+ export declare interface AccessPolicyAssignment extends ProxyResourceAutoGenerated {
36
+ /**
37
+ * Current provisioning status of the access policy assignment.
38
+ * NOTE: This property will not be serialized. It can only be populated by the server.
39
+ */
40
+ readonly provisioningState?: ProvisioningState;
41
+ /** Name of access policy under specific access policy assignment. Only "default" policy is supported for now. */
42
+ accessPolicyName?: string;
43
+ /** The user associated with the access policy. */
44
+ user?: AccessPolicyAssignmentPropertiesUser;
45
+ }
46
+
47
+ /** Optional parameters. */
48
+ export declare interface AccessPolicyAssignmentCreateUpdateOptionalParams extends coreClient.OperationOptions {
49
+ /** Delay to wait until next poll, in milliseconds. */
50
+ updateIntervalInMs?: number;
51
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
52
+ resumeFrom?: string;
53
+ }
54
+
55
+ /** Contains response data for the createUpdate operation. */
56
+ export declare type AccessPolicyAssignmentCreateUpdateResponse = AccessPolicyAssignment;
57
+
58
+ /** Defines headers for AccessPolicyAssignment_delete operation. */
59
+ export declare interface AccessPolicyAssignmentDeleteHeaders {
60
+ /** Location URI to poll for result */
61
+ location?: string;
62
+ /** Azure-AsyncOperation URI to poll for result */
63
+ azureAsyncOperation?: string;
64
+ }
65
+
66
+ /** Optional parameters. */
67
+ export declare interface AccessPolicyAssignmentDeleteOptionalParams extends coreClient.OperationOptions {
68
+ /** Delay to wait until next poll, in milliseconds. */
69
+ updateIntervalInMs?: number;
70
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
71
+ resumeFrom?: string;
72
+ }
73
+
74
+ /** Contains response data for the delete operation. */
75
+ export declare type AccessPolicyAssignmentDeleteResponse = AccessPolicyAssignmentDeleteHeaders;
76
+
77
+ /** Optional parameters. */
78
+ export declare interface AccessPolicyAssignmentGetOptionalParams extends coreClient.OperationOptions {
79
+ }
80
+
81
+ /** Contains response data for the get operation. */
82
+ export declare type AccessPolicyAssignmentGetResponse = AccessPolicyAssignment;
83
+
84
+ /** The response of a list-all operation. */
85
+ export declare interface AccessPolicyAssignmentList {
86
+ /** List of access policy assignments. */
87
+ value?: AccessPolicyAssignment[];
88
+ /**
89
+ * The URI to fetch the next page of results.
90
+ * NOTE: This property will not be serialized. It can only be populated by the server.
91
+ */
92
+ readonly nextLink?: string;
93
+ }
94
+
95
+ /** Optional parameters. */
96
+ export declare interface AccessPolicyAssignmentListNextOptionalParams extends coreClient.OperationOptions {
97
+ }
98
+
99
+ /** Contains response data for the listNext operation. */
100
+ export declare type AccessPolicyAssignmentListNextResponse = AccessPolicyAssignmentList;
101
+
102
+ /** Optional parameters. */
103
+ export declare interface AccessPolicyAssignmentListOptionalParams extends coreClient.OperationOptions {
104
+ }
105
+
106
+ /** Contains response data for the list operation. */
107
+ export declare type AccessPolicyAssignmentListResponse = AccessPolicyAssignmentList;
108
+
109
+ /** Interface representing a AccessPolicyAssignmentOperations. */
110
+ export declare interface AccessPolicyAssignmentOperations {
111
+ /**
112
+ * Gets all access policy assignments..
113
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
114
+ * @param clusterName The name of the Redis Enterprise cluster.
115
+ * @param databaseName The name of the Redis Enterprise database.
116
+ * @param options The options parameters.
117
+ */
118
+ list(resourceGroupName: string, clusterName: string, databaseName: string, options?: AccessPolicyAssignmentListOptionalParams): PagedAsyncIterableIterator<AccessPolicyAssignment>;
119
+ /**
120
+ * Creates/Updates a particular access policy assignment for a database
121
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
122
+ * @param clusterName The name of the Redis Enterprise cluster.
123
+ * @param databaseName The name of the Redis Enterprise database.
124
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
125
+ * assignment.
126
+ * @param parameters Parameters supplied to the create access policy assignment for database.
127
+ * @param options The options parameters.
128
+ */
129
+ beginCreateUpdate(resourceGroupName: string, clusterName: string, databaseName: string, accessPolicyAssignmentName: string, parameters: AccessPolicyAssignment, options?: AccessPolicyAssignmentCreateUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AccessPolicyAssignmentCreateUpdateResponse>, AccessPolicyAssignmentCreateUpdateResponse>>;
130
+ /**
131
+ * Creates/Updates a particular access policy assignment for a database
132
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
133
+ * @param clusterName The name of the Redis Enterprise cluster.
134
+ * @param databaseName The name of the Redis Enterprise database.
135
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
136
+ * assignment.
137
+ * @param parameters Parameters supplied to the create access policy assignment for database.
138
+ * @param options The options parameters.
139
+ */
140
+ beginCreateUpdateAndWait(resourceGroupName: string, clusterName: string, databaseName: string, accessPolicyAssignmentName: string, parameters: AccessPolicyAssignment, options?: AccessPolicyAssignmentCreateUpdateOptionalParams): Promise<AccessPolicyAssignmentCreateUpdateResponse>;
141
+ /**
142
+ * Gets information about access policy assignment for database.
143
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
144
+ * @param clusterName The name of the Redis Enterprise cluster.
145
+ * @param databaseName The name of the Redis Enterprise database.
146
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
147
+ * assignment.
148
+ * @param options The options parameters.
149
+ */
150
+ get(resourceGroupName: string, clusterName: string, databaseName: string, accessPolicyAssignmentName: string, options?: AccessPolicyAssignmentGetOptionalParams): Promise<AccessPolicyAssignmentGetResponse>;
151
+ /**
152
+ * Deletes a single access policy assignment.
153
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
154
+ * @param clusterName The name of the Redis Enterprise cluster.
155
+ * @param databaseName The name of the Redis Enterprise database.
156
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
157
+ * assignment.
158
+ * @param options The options parameters.
159
+ */
160
+ beginDelete(resourceGroupName: string, clusterName: string, databaseName: string, accessPolicyAssignmentName: string, options?: AccessPolicyAssignmentDeleteOptionalParams): Promise<SimplePollerLike<OperationState<AccessPolicyAssignmentDeleteResponse>, AccessPolicyAssignmentDeleteResponse>>;
161
+ /**
162
+ * Deletes a single access policy assignment.
163
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
164
+ * @param clusterName The name of the Redis Enterprise cluster.
165
+ * @param databaseName The name of the Redis Enterprise database.
166
+ * @param accessPolicyAssignmentName The name of the Redis Enterprise database access policy
167
+ * assignment.
168
+ * @param options The options parameters.
169
+ */
170
+ beginDeleteAndWait(resourceGroupName: string, clusterName: string, databaseName: string, accessPolicyAssignmentName: string, options?: AccessPolicyAssignmentDeleteOptionalParams): Promise<AccessPolicyAssignmentDeleteResponse>;
171
+ }
172
+
173
+ /** The user associated with the access policy. */
174
+ export declare interface AccessPolicyAssignmentPropertiesUser {
175
+ /** The object ID of the user. */
176
+ objectId?: string;
177
+ }
178
+
24
179
  /**
25
180
  * Defines values for ActionType. \
26
181
  * {@link KnownActionType} can be used interchangeably with ActionType,
@@ -40,7 +195,7 @@ export declare type ActionType = string;
40
195
  */
41
196
  export declare type AofFrequency = string;
42
197
 
43
- /** Describes the RedisEnterprise cluster */
198
+ /** Describes the Redis Enterprise cluster */
44
199
  export declare interface Cluster extends TrackedResource {
45
200
  /** The SKU to create, which affects price, performance, and features. */
46
201
  sku: Sku;
@@ -48,7 +203,9 @@ export declare interface Cluster extends TrackedResource {
48
203
  zones?: string[];
49
204
  /** The identity of the resource. */
50
205
  identity?: ManagedServiceIdentity;
51
- /** The minimum TLS version for the cluster to support, e.g. '1.2' */
206
+ /** 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. */
207
+ highAvailability?: HighAvailability;
208
+ /** 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. */
52
209
  minimumTlsVersion?: TlsVersion;
53
210
  /** Encryption-at-rest configuration for the cluster. */
54
211
  encryption?: ClusterPropertiesEncryption;
@@ -62,6 +219,11 @@ export declare interface Cluster extends TrackedResource {
62
219
  * NOTE: This property will not be serialized. It can only be populated by the server.
63
220
  */
64
221
  readonly provisioningState?: ProvisioningState;
222
+ /**
223
+ * Explains the current redundancy strategy of the cluster, which affects the expected SLA.
224
+ * NOTE: This property will not be serialized. It can only be populated by the server.
225
+ */
226
+ readonly redundancyMode?: RedundancyMode;
65
227
  /**
66
228
  * Current resource status of the cluster
67
229
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -73,7 +235,7 @@ export declare interface Cluster extends TrackedResource {
73
235
  */
74
236
  readonly redisVersion?: string;
75
237
  /**
76
- * List of private endpoint connections associated with the specified RedisEnterprise cluster
238
+ * List of private endpoint connections associated with the specified Redis Enterprise cluster
77
239
  * NOTE: This property will not be serialized. It can only be populated by the server.
78
240
  */
79
241
  readonly privateEndpointConnections?: PrivateEndpointConnection[];
@@ -84,8 +246,8 @@ export declare interface Cluster extends TrackedResource {
84
246
  * {@link KnownClusteringPolicy} can be used interchangeably with ClusteringPolicy,
85
247
  * this enum contains the known values that the service supports.
86
248
  * ### Known values supported by the service
87
- * **EnterpriseCluster** \
88
- * **OSSCluster**
249
+ * **EnterpriseCluster**: Enterprise clustering policy uses only the classic redis protocol, which does not support redis cluster commands. \
250
+ * **OSSCluster**: OSS clustering policy follows the redis cluster specification, and requires all clients to support redis clustering.
89
251
  */
90
252
  export declare type ClusteringPolicy = string;
91
253
 
@@ -122,7 +284,7 @@ export declare interface ClusterPropertiesEncryptionCustomerManagedKeyEncryption
122
284
  identityType?: CmkIdentityType;
123
285
  }
124
286
 
125
- /** A partial update to the RedisEnterprise cluster */
287
+ /** A partial update to the Redis Enterprise cluster */
126
288
  export declare interface ClusterUpdate {
127
289
  /** The SKU to create, which affects price, performance, and features. */
128
290
  sku?: Sku;
@@ -132,7 +294,9 @@ export declare interface ClusterUpdate {
132
294
  tags?: {
133
295
  [propertyName: string]: string;
134
296
  };
135
- /** The minimum TLS version for the cluster to support, e.g. '1.2' */
297
+ /** 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. */
298
+ highAvailability?: HighAvailability;
299
+ /** 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. */
136
300
  minimumTlsVersion?: TlsVersion;
137
301
  /** Encryption-at-rest configuration for the cluster. */
138
302
  encryption?: ClusterPropertiesEncryption;
@@ -146,6 +310,11 @@ export declare interface ClusterUpdate {
146
310
  * NOTE: This property will not be serialized. It can only be populated by the server.
147
311
  */
148
312
  readonly provisioningState?: ProvisioningState;
313
+ /**
314
+ * Explains the current redundancy strategy of the cluster, which affects the expected SLA.
315
+ * NOTE: This property will not be serialized. It can only be populated by the server.
316
+ */
317
+ readonly redundancyMode?: RedundancyMode;
149
318
  /**
150
319
  * Current resource status of the cluster
151
320
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -157,7 +326,7 @@ export declare interface ClusterUpdate {
157
326
  */
158
327
  readonly redisVersion?: string;
159
328
  /**
160
- * List of private endpoint connections associated with the specified RedisEnterprise cluster
329
+ * List of private endpoint connections associated with the specified Redis Enterprise cluster
161
330
  * NOTE: This property will not be serialized. It can only be populated by the server.
162
331
  */
163
332
  readonly privateEndpointConnections?: PrivateEndpointConnection[];
@@ -173,7 +342,19 @@ export declare interface ClusterUpdate {
173
342
  */
174
343
  export declare type CmkIdentityType = string;
175
344
 
176
- /** Describes a database on the RedisEnterprise cluster */
345
+ /**
346
+ * Defines values for CreatedByType. \
347
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
348
+ * this enum contains the known values that the service supports.
349
+ * ### Known values supported by the service
350
+ * **User** \
351
+ * **Application** \
352
+ * **ManagedIdentity** \
353
+ * **Key**
354
+ */
355
+ export declare type CreatedByType = string;
356
+
357
+ /** Describes a database on the Redis Enterprise cluster */
177
358
  export declare interface Database extends ProxyResource {
178
359
  /** Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. */
179
360
  clientProtocol?: Protocol;
@@ -189,7 +370,7 @@ export declare interface Database extends ProxyResource {
189
370
  * NOTE: This property will not be serialized. It can only be populated by the server.
190
371
  */
191
372
  readonly resourceState?: ResourceState;
192
- /** Clustering policy - default is OSSCluster. Specified at create time. */
373
+ /** Clustering policy - default is OSSCluster. This property must be chosen at create time, and cannot be changed without deleting the database. */
193
374
  clusteringPolicy?: ClusteringPolicy;
194
375
  /** Redis eviction policy - default is VolatileLRU */
195
376
  evictionPolicy?: EvictionPolicy;
@@ -204,8 +385,10 @@ export declare interface Database extends ProxyResource {
204
385
  * NOTE: This property will not be serialized. It can only be populated by the server.
205
386
  */
206
387
  readonly redisVersion?: string;
207
- /** Option to defer upgrade when newest version is released - default is NotDeferred. Learn more: https://aka.ms/redisversionupgrade */
388
+ /** Option to defer upgrade when newest version is released - default is NotDeferred. Learn more: https://aka.ms/redisversionupgrade */
208
389
  deferUpgrade?: DeferUpgradeSetting;
390
+ /** This property can be Enabled/Disabled to allow or deny access with the current access keys. Can be updated even after database is created. */
391
+ accessKeysAuthentication?: AccessKeysAuthentication;
209
392
  }
210
393
 
211
394
  /** The response of a list-all operation. */
@@ -230,7 +413,7 @@ export declare interface DatabasePropertiesGeoReplication {
230
413
  /** Interface representing a Databases. */
231
414
  export declare interface Databases {
232
415
  /**
233
- * Gets all databases in the specified RedisEnterprise cluster.
416
+ * Gets all databases in the specified Redis Enterprise cluster.
234
417
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
235
418
  * @param clusterName The name of the Redis Enterprise cluster.
236
419
  * @param options The options parameters.
@@ -273,7 +456,7 @@ export declare interface Databases {
273
456
  */
274
457
  beginUpdateAndWait(resourceGroupName: string, clusterName: string, databaseName: string, parameters: DatabaseUpdate, options?: DatabasesUpdateOptionalParams): Promise<DatabasesUpdateResponse>;
275
458
  /**
276
- * Gets information about a database in a RedisEnterprise cluster.
459
+ * Gets information about a database in a Redis Enterprise cluster.
277
460
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
278
461
  * @param clusterName The name of the Redis Enterprise cluster.
279
462
  * @param databaseName The name of the Redis Enterprise database.
@@ -297,7 +480,7 @@ export declare interface Databases {
297
480
  */
298
481
  beginDeleteAndWait(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<void>;
299
482
  /**
300
- * Retrieves the access keys for the RedisEnterprise database.
483
+ * Retrieves the access keys for the Redis Enterprise database.
301
484
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
302
485
  * @param clusterName The name of the Redis Enterprise cluster.
303
486
  * @param databaseName The name of the Redis Enterprise database.
@@ -305,7 +488,7 @@ export declare interface Databases {
305
488
  */
306
489
  listKeys(resourceGroupName: string, clusterName: string, databaseName: string, options?: DatabasesListKeysOptionalParams): Promise<DatabasesListKeysResponse>;
307
490
  /**
308
- * Regenerates the RedisEnterprise database's access keys.
491
+ * Regenerates the Redis Enterprise database's access keys.
309
492
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
310
493
  * @param clusterName The name of the Redis Enterprise cluster.
311
494
  * @param databaseName The name of the Redis Enterprise database.
@@ -314,7 +497,7 @@ export declare interface Databases {
314
497
  */
315
498
  beginRegenerateKey(resourceGroupName: string, clusterName: string, databaseName: string, parameters: RegenerateKeyParameters, options?: DatabasesRegenerateKeyOptionalParams): Promise<SimplePollerLike<OperationState<DatabasesRegenerateKeyResponse>, DatabasesRegenerateKeyResponse>>;
316
499
  /**
317
- * Regenerates the RedisEnterprise database's access keys.
500
+ * Regenerates the Redis Enterprise database's access keys.
318
501
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
319
502
  * @param clusterName The name of the Redis Enterprise cluster.
320
503
  * @param databaseName The name of the Redis Enterprise database.
@@ -445,6 +628,14 @@ export declare interface DatabasesCreateOptionalParams extends coreClient.Operat
445
628
  /** Contains response data for the create operation. */
446
629
  export declare type DatabasesCreateResponse = Database;
447
630
 
631
+ /** Defines headers for Databases_delete operation. */
632
+ export declare interface DatabasesDeleteHeaders {
633
+ /** Location URI to poll for result */
634
+ location?: string;
635
+ /** Azure-AsyncOperation URI to poll for result */
636
+ azureAsyncOperation?: string;
637
+ }
638
+
448
639
  /** Optional parameters. */
449
640
  export declare interface DatabasesDeleteOptionalParams extends coreClient.OperationOptions {
450
641
  /** Delay to wait until next poll, in milliseconds. */
@@ -453,6 +644,14 @@ export declare interface DatabasesDeleteOptionalParams extends coreClient.Operat
453
644
  resumeFrom?: string;
454
645
  }
455
646
 
647
+ /** Defines headers for Databases_export operation. */
648
+ export declare interface DatabasesExportHeaders {
649
+ /** Location URI to poll for result */
650
+ location?: string;
651
+ /** Azure-AsyncOperation URI to poll for result */
652
+ azureAsyncOperation?: string;
653
+ }
654
+
456
655
  /** Optional parameters. */
457
656
  export declare interface DatabasesExportOptionalParams extends coreClient.OperationOptions {
458
657
  /** Delay to wait until next poll, in milliseconds. */
@@ -496,6 +695,14 @@ export declare interface DatabasesForceLinkToReplicationGroupOptionalParams exte
496
695
  /** Contains response data for the forceLinkToReplicationGroup operation. */
497
696
  export declare type DatabasesForceLinkToReplicationGroupResponse = DatabasesForceLinkToReplicationGroupHeaders;
498
697
 
698
+ /** Defines headers for Databases_forceUnlink operation. */
699
+ export declare interface DatabasesForceUnlinkHeaders {
700
+ /** Location URI to poll for result */
701
+ location?: string;
702
+ /** Azure-AsyncOperation URI to poll for result */
703
+ azureAsyncOperation?: string;
704
+ }
705
+
499
706
  /** Optional parameters. */
500
707
  export declare interface DatabasesForceUnlinkOptionalParams extends coreClient.OperationOptions {
501
708
  /** Delay to wait until next poll, in milliseconds. */
@@ -511,6 +718,14 @@ export declare interface DatabasesGetOptionalParams extends coreClient.Operation
511
718
  /** Contains response data for the get operation. */
512
719
  export declare type DatabasesGetResponse = Database;
513
720
 
721
+ /** Defines headers for Databases_import operation. */
722
+ export declare interface DatabasesImportHeaders {
723
+ /** Location URI to poll for result */
724
+ location?: string;
725
+ /** Azure-AsyncOperation URI to poll for result */
726
+ azureAsyncOperation?: string;
727
+ }
728
+
514
729
  /** Optional parameters. */
515
730
  export declare interface DatabasesImportOptionalParams extends coreClient.OperationOptions {
516
731
  /** Delay to wait until next poll, in milliseconds. */
@@ -540,6 +755,14 @@ export declare interface DatabasesListKeysOptionalParams extends coreClient.Oper
540
755
  /** Contains response data for the listKeys operation. */
541
756
  export declare type DatabasesListKeysResponse = AccessKeys;
542
757
 
758
+ /** Defines headers for Databases_regenerateKey operation. */
759
+ export declare interface DatabasesRegenerateKeyHeaders {
760
+ /** Location URI to poll for result */
761
+ location?: string;
762
+ /** Azure-AsyncOperation URI to poll for result */
763
+ azureAsyncOperation?: string;
764
+ }
765
+
543
766
  /** Optional parameters. */
544
767
  export declare interface DatabasesRegenerateKeyOptionalParams extends coreClient.OperationOptions {
545
768
  /** Delay to wait until next poll, in milliseconds. */
@@ -551,6 +774,14 @@ export declare interface DatabasesRegenerateKeyOptionalParams extends coreClient
551
774
  /** Contains response data for the regenerateKey operation. */
552
775
  export declare type DatabasesRegenerateKeyResponse = AccessKeys;
553
776
 
777
+ /** Defines headers for Databases_update operation. */
778
+ export declare interface DatabasesUpdateHeaders {
779
+ /** Location URI to poll for result */
780
+ location?: string;
781
+ /** Azure-AsyncOperation URI to poll for result */
782
+ azureAsyncOperation?: string;
783
+ }
784
+
554
785
  /** Optional parameters. */
555
786
  export declare interface DatabasesUpdateOptionalParams extends coreClient.OperationOptions {
556
787
  /** Delay to wait until next poll, in milliseconds. */
@@ -581,7 +812,7 @@ export declare interface DatabasesUpgradeDBRedisVersionOptionalParams extends co
581
812
  /** Contains response data for the upgradeDBRedisVersion operation. */
582
813
  export declare type DatabasesUpgradeDBRedisVersionResponse = DatabasesUpgradeDBRedisVersionHeaders;
583
814
 
584
- /** A partial update to the RedisEnterprise database */
815
+ /** A partial update to the Redis Enterprise database */
585
816
  export declare interface DatabaseUpdate {
586
817
  /** Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. */
587
818
  clientProtocol?: Protocol;
@@ -597,7 +828,7 @@ export declare interface DatabaseUpdate {
597
828
  * NOTE: This property will not be serialized. It can only be populated by the server.
598
829
  */
599
830
  readonly resourceState?: ResourceState;
600
- /** Clustering policy - default is OSSCluster. Specified at create time. */
831
+ /** Clustering policy - default is OSSCluster. This property must be chosen at create time, and cannot be changed without deleting the database. */
601
832
  clusteringPolicy?: ClusteringPolicy;
602
833
  /** Redis eviction policy - default is VolatileLRU */
603
834
  evictionPolicy?: EvictionPolicy;
@@ -612,8 +843,10 @@ export declare interface DatabaseUpdate {
612
843
  * NOTE: This property will not be serialized. It can only be populated by the server.
613
844
  */
614
845
  readonly redisVersion?: string;
615
- /** Option to defer upgrade when newest version is released - default is NotDeferred. Learn more: https://aka.ms/redisversionupgrade */
846
+ /** Option to defer upgrade when newest version is released - default is NotDeferred. Learn more: https://aka.ms/redisversionupgrade */
616
847
  deferUpgrade?: DeferUpgradeSetting;
848
+ /** This property can be Enabled/Disabled to allow or deny access with the current access keys. Can be updated even after database is created. */
849
+ accessKeysAuthentication?: AccessKeysAuthentication;
617
850
  }
618
851
 
619
852
  /**
@@ -711,7 +944,7 @@ export declare interface ForceLinkParameters {
711
944
  linkedDatabases: LinkedDatabase[];
712
945
  }
713
946
 
714
- /** Parameters for a Redis Enterprise Active Geo Replication Force Unlink operation. */
947
+ /** Parameters for a redis enterprise active geo-replication force unlink operation. */
715
948
  export declare interface ForceUnlinkParameters {
716
949
  /** The resource IDs of the database resources to be unlinked. */
717
950
  ids: string[];
@@ -726,12 +959,30 @@ export declare interface ForceUnlinkParameters {
726
959
  */
727
960
  export declare function getContinuationToken(page: unknown): string | undefined;
728
961
 
962
+ /**
963
+ * Defines values for HighAvailability. \
964
+ * {@link KnownHighAvailability} can be used interchangeably with HighAvailability,
965
+ * this enum contains the known values that the service supports.
966
+ * ### Known values supported by the service
967
+ * **Enabled** \
968
+ * **Disabled**
969
+ */
970
+ export declare type HighAvailability = string;
971
+
729
972
  /** Parameters for a Redis Enterprise import operation. */
730
973
  export declare interface ImportClusterParameters {
731
974
  /** SAS URIs for the target blobs to import from */
732
975
  sasUris: string[];
733
976
  }
734
977
 
978
+ /** Known values of {@link AccessKeysAuthentication} that the service accepts. */
979
+ export declare enum KnownAccessKeysAuthentication {
980
+ /** Disabled */
981
+ Disabled = "Disabled",
982
+ /** Enabled */
983
+ Enabled = "Enabled"
984
+ }
985
+
735
986
  /** Known values of {@link ActionType} that the service accepts. */
736
987
  export declare enum KnownActionType {
737
988
  /** Internal */
@@ -748,9 +999,9 @@ export declare enum KnownAofFrequency {
748
999
 
749
1000
  /** Known values of {@link ClusteringPolicy} that the service accepts. */
750
1001
  export declare enum KnownClusteringPolicy {
751
- /** EnterpriseCluster */
1002
+ /** Enterprise clustering policy uses only the classic redis protocol, which does not support redis cluster commands. */
752
1003
  EnterpriseCluster = "EnterpriseCluster",
753
- /** OSSCluster */
1004
+ /** OSS clustering policy follows the redis cluster specification, and requires all clients to support redis clustering. */
754
1005
  OSSCluster = "OSSCluster"
755
1006
  }
756
1007
 
@@ -762,6 +1013,18 @@ export declare enum KnownCmkIdentityType {
762
1013
  UserAssignedIdentity = "userAssignedIdentity"
763
1014
  }
764
1015
 
1016
+ /** Known values of {@link CreatedByType} that the service accepts. */
1017
+ export declare enum KnownCreatedByType {
1018
+ /** User */
1019
+ User = "User",
1020
+ /** Application */
1021
+ Application = "Application",
1022
+ /** ManagedIdentity */
1023
+ ManagedIdentity = "ManagedIdentity",
1024
+ /** Key */
1025
+ Key = "Key"
1026
+ }
1027
+
765
1028
  /** Known values of {@link DeferUpgradeSetting} that the service accepts. */
766
1029
  export declare enum KnownDeferUpgradeSetting {
767
1030
  /** Deferred */
@@ -790,6 +1053,14 @@ export declare enum KnownEvictionPolicy {
790
1053
  NoEviction = "NoEviction"
791
1054
  }
792
1055
 
1056
+ /** Known values of {@link HighAvailability} that the service accepts. */
1057
+ export declare enum KnownHighAvailability {
1058
+ /** Enabled */
1059
+ Enabled = "Enabled",
1060
+ /** Disabled */
1061
+ Disabled = "Disabled"
1062
+ }
1063
+
793
1064
  /** Known values of {@link LinkState} that the service accepts. */
794
1065
  export declare enum KnownLinkState {
795
1066
  /** Linked */
@@ -882,6 +1153,16 @@ export declare enum KnownRdbFrequency {
882
1153
  TwelveH = "12h"
883
1154
  }
884
1155
 
1156
+ /** Known values of {@link RedundancyMode} that the service accepts. */
1157
+ export declare enum KnownRedundancyMode {
1158
+ /** No redundancy. Availability loss will occur. */
1159
+ None = "None",
1160
+ /** Local redundancy with high availability. */
1161
+ LR = "LR",
1162
+ /** Zone redundant. Higher availability. */
1163
+ ZR = "ZR"
1164
+ }
1165
+
885
1166
  /** Known values of {@link ResourceState} that the service accepts. */
886
1167
  export declare enum KnownResourceState {
887
1168
  /** Running */
@@ -916,6 +1197,8 @@ export declare enum KnownResourceState {
916
1197
 
917
1198
  /** Known values of {@link SkuName} that the service accepts. */
918
1199
  export declare enum KnownSkuName {
1200
+ /** EnterpriseE1 */
1201
+ EnterpriseE1 = "Enterprise_E1",
919
1202
  /** EnterpriseE5 */
920
1203
  EnterpriseE5 = "Enterprise_E5",
921
1204
  /** EnterpriseE10 */
@@ -926,12 +1209,104 @@ export declare enum KnownSkuName {
926
1209
  EnterpriseE50 = "Enterprise_E50",
927
1210
  /** EnterpriseE100 */
928
1211
  EnterpriseE100 = "Enterprise_E100",
1212
+ /** EnterpriseE200 */
1213
+ EnterpriseE200 = "Enterprise_E200",
1214
+ /** EnterpriseE400 */
1215
+ EnterpriseE400 = "Enterprise_E400",
929
1216
  /** EnterpriseFlashF300 */
930
1217
  EnterpriseFlashF300 = "EnterpriseFlash_F300",
931
1218
  /** EnterpriseFlashF700 */
932
1219
  EnterpriseFlashF700 = "EnterpriseFlash_F700",
933
1220
  /** EnterpriseFlashF1500 */
934
- EnterpriseFlashF1500 = "EnterpriseFlash_F1500"
1221
+ EnterpriseFlashF1500 = "EnterpriseFlash_F1500",
1222
+ /** BalancedB0 */
1223
+ BalancedB0 = "Balanced_B0",
1224
+ /** BalancedB1 */
1225
+ BalancedB1 = "Balanced_B1",
1226
+ /** BalancedB3 */
1227
+ BalancedB3 = "Balanced_B3",
1228
+ /** BalancedB5 */
1229
+ BalancedB5 = "Balanced_B5",
1230
+ /** BalancedB10 */
1231
+ BalancedB10 = "Balanced_B10",
1232
+ /** BalancedB20 */
1233
+ BalancedB20 = "Balanced_B20",
1234
+ /** BalancedB50 */
1235
+ BalancedB50 = "Balanced_B50",
1236
+ /** BalancedB100 */
1237
+ BalancedB100 = "Balanced_B100",
1238
+ /** BalancedB150 */
1239
+ BalancedB150 = "Balanced_B150",
1240
+ /** BalancedB250 */
1241
+ BalancedB250 = "Balanced_B250",
1242
+ /** BalancedB350 */
1243
+ BalancedB350 = "Balanced_B350",
1244
+ /** BalancedB500 */
1245
+ BalancedB500 = "Balanced_B500",
1246
+ /** BalancedB700 */
1247
+ BalancedB700 = "Balanced_B700",
1248
+ /** BalancedB1000 */
1249
+ BalancedB1000 = "Balanced_B1000",
1250
+ /** MemoryOptimizedM10 */
1251
+ MemoryOptimizedM10 = "MemoryOptimized_M10",
1252
+ /** MemoryOptimizedM20 */
1253
+ MemoryOptimizedM20 = "MemoryOptimized_M20",
1254
+ /** MemoryOptimizedM50 */
1255
+ MemoryOptimizedM50 = "MemoryOptimized_M50",
1256
+ /** MemoryOptimizedM100 */
1257
+ MemoryOptimizedM100 = "MemoryOptimized_M100",
1258
+ /** MemoryOptimizedM150 */
1259
+ MemoryOptimizedM150 = "MemoryOptimized_M150",
1260
+ /** MemoryOptimizedM250 */
1261
+ MemoryOptimizedM250 = "MemoryOptimized_M250",
1262
+ /** MemoryOptimizedM350 */
1263
+ MemoryOptimizedM350 = "MemoryOptimized_M350",
1264
+ /** MemoryOptimizedM500 */
1265
+ MemoryOptimizedM500 = "MemoryOptimized_M500",
1266
+ /** MemoryOptimizedM700 */
1267
+ MemoryOptimizedM700 = "MemoryOptimized_M700",
1268
+ /** MemoryOptimizedM1000 */
1269
+ MemoryOptimizedM1000 = "MemoryOptimized_M1000",
1270
+ /** MemoryOptimizedM1500 */
1271
+ MemoryOptimizedM1500 = "MemoryOptimized_M1500",
1272
+ /** MemoryOptimizedM2000 */
1273
+ MemoryOptimizedM2000 = "MemoryOptimized_M2000",
1274
+ /** ComputeOptimizedX3 */
1275
+ ComputeOptimizedX3 = "ComputeOptimized_X3",
1276
+ /** ComputeOptimizedX5 */
1277
+ ComputeOptimizedX5 = "ComputeOptimized_X5",
1278
+ /** ComputeOptimizedX10 */
1279
+ ComputeOptimizedX10 = "ComputeOptimized_X10",
1280
+ /** ComputeOptimizedX20 */
1281
+ ComputeOptimizedX20 = "ComputeOptimized_X20",
1282
+ /** ComputeOptimizedX50 */
1283
+ ComputeOptimizedX50 = "ComputeOptimized_X50",
1284
+ /** ComputeOptimizedX100 */
1285
+ ComputeOptimizedX100 = "ComputeOptimized_X100",
1286
+ /** ComputeOptimizedX150 */
1287
+ ComputeOptimizedX150 = "ComputeOptimized_X150",
1288
+ /** ComputeOptimizedX250 */
1289
+ ComputeOptimizedX250 = "ComputeOptimized_X250",
1290
+ /** ComputeOptimizedX350 */
1291
+ ComputeOptimizedX350 = "ComputeOptimized_X350",
1292
+ /** ComputeOptimizedX500 */
1293
+ ComputeOptimizedX500 = "ComputeOptimized_X500",
1294
+ /** ComputeOptimizedX700 */
1295
+ ComputeOptimizedX700 = "ComputeOptimized_X700",
1296
+ /** FlashOptimizedA250 */
1297
+ FlashOptimizedA250 = "FlashOptimized_A250",
1298
+ /** FlashOptimizedA500 */
1299
+ FlashOptimizedA500 = "FlashOptimized_A500",
1300
+ /** FlashOptimizedA700 */
1301
+ FlashOptimizedA700 = "FlashOptimized_A700",
1302
+ /** FlashOptimizedA1000 */
1303
+ FlashOptimizedA1000 = "FlashOptimized_A1000",
1304
+ /** FlashOptimizedA1500 */
1305
+ FlashOptimizedA1500 = "FlashOptimized_A1500",
1306
+ /** FlashOptimizedA2000 */
1307
+ FlashOptimizedA2000 = "FlashOptimized_A2000",
1308
+ /** FlashOptimizedA4500 */
1309
+ FlashOptimizedA4500 = "FlashOptimized_A4500"
935
1310
  }
936
1311
 
937
1312
  /** Known values of {@link TlsVersion} that the service accepts. */
@@ -1145,13 +1520,13 @@ export declare interface OperationStatus {
1145
1520
  */
1146
1521
  export declare type Origin = string;
1147
1522
 
1148
- /** Persistence-related configuration for the RedisEnterprise database */
1523
+ /** Persistence-related configuration for the Redis Enterprise database */
1149
1524
  export declare interface Persistence {
1150
- /** Sets whether AOF is enabled. */
1525
+ /** Sets whether AOF is enabled. Note that at most one of AOF or RDB persistence may be enabled. */
1151
1526
  aofEnabled?: boolean;
1152
- /** Sets whether RDB is enabled. */
1527
+ /** Sets whether RDB is enabled. Note that at most one of AOF or RDB persistence may be enabled. */
1153
1528
  rdbEnabled?: boolean;
1154
- /** Sets the frequency at which data is written to disk. */
1529
+ /** 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. */
1155
1530
  aofFrequency?: AofFrequency;
1156
1531
  /** Sets the frequency at which a snapshot of the database is created. */
1157
1532
  rdbFrequency?: RdbFrequency;
@@ -1200,14 +1575,14 @@ export declare type PrivateEndpointConnectionProvisioningState = string;
1200
1575
  /** Interface representing a PrivateEndpointConnections. */
1201
1576
  export declare interface PrivateEndpointConnections {
1202
1577
  /**
1203
- * Lists all the private endpoint connections associated with the RedisEnterprise cluster.
1578
+ * Lists all the private endpoint connections associated with the Redis Enterprise cluster.
1204
1579
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1205
1580
  * @param clusterName The name of the Redis Enterprise cluster.
1206
1581
  * @param options The options parameters.
1207
1582
  */
1208
1583
  list(resourceGroupName: string, clusterName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
1209
1584
  /**
1210
- * Gets the specified private endpoint connection associated with the RedisEnterprise cluster.
1585
+ * Gets the specified private endpoint connection associated with the Redis Enterprise cluster.
1211
1586
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1212
1587
  * @param clusterName The name of the Redis Enterprise cluster.
1213
1588
  * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
@@ -1216,7 +1591,7 @@ export declare interface PrivateEndpointConnections {
1216
1591
  */
1217
1592
  get(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
1218
1593
  /**
1219
- * Updates the state of the specified private endpoint connection associated with the RedisEnterprise
1594
+ * Updates the state of the specified private endpoint connection associated with the Redis Enterprise
1220
1595
  * cluster.
1221
1596
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1222
1597
  * @param clusterName The name of the Redis Enterprise cluster.
@@ -1227,7 +1602,7 @@ export declare interface PrivateEndpointConnections {
1227
1602
  */
1228
1603
  beginPut(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsPutResponse>, PrivateEndpointConnectionsPutResponse>>;
1229
1604
  /**
1230
- * Updates the state of the specified private endpoint connection associated with the RedisEnterprise
1605
+ * Updates the state of the specified private endpoint connection associated with the Redis Enterprise
1231
1606
  * cluster.
1232
1607
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1233
1608
  * @param clusterName The name of the Redis Enterprise cluster.
@@ -1238,7 +1613,7 @@ export declare interface PrivateEndpointConnections {
1238
1613
  */
1239
1614
  beginPutAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<PrivateEndpointConnectionsPutResponse>;
1240
1615
  /**
1241
- * Deletes the specified private endpoint connection associated with the RedisEnterprise cluster.
1616
+ * Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.
1242
1617
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1243
1618
  * @param clusterName The name of the Redis Enterprise cluster.
1244
1619
  * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
@@ -1247,7 +1622,7 @@ export declare interface PrivateEndpointConnections {
1247
1622
  */
1248
1623
  beginDelete(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
1249
1624
  /**
1250
- * Deletes the specified private endpoint connection associated with the RedisEnterprise cluster.
1625
+ * Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.
1251
1626
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1252
1627
  * @param clusterName The name of the Redis Enterprise cluster.
1253
1628
  * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
@@ -1334,7 +1709,7 @@ export declare interface PrivateLinkResourceListResult {
1334
1709
  /** Interface representing a PrivateLinkResources. */
1335
1710
  export declare interface PrivateLinkResources {
1336
1711
  /**
1337
- * Gets the private link resources that need to be created for a RedisEnterprise cluster.
1712
+ * Gets the private link resources that need to be created for a Redis Enterprise cluster.
1338
1713
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1339
1714
  * @param clusterName The name of the Redis Enterprise cluster.
1340
1715
  * @param options The options parameters.
@@ -1384,7 +1759,11 @@ export declare type Protocol = string;
1384
1759
  export declare type ProvisioningState = string;
1385
1760
 
1386
1761
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1387
- export declare interface ProxyResource extends Resource {
1762
+ export declare interface ProxyResource extends ResourceAutoGenerated {
1763
+ }
1764
+
1765
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1766
+ export declare interface ProxyResourceAutoGenerated extends Resource {
1388
1767
  }
1389
1768
 
1390
1769
  /**
@@ -1401,13 +1780,13 @@ export declare type RdbFrequency = string;
1401
1780
  /** Interface representing a RedisEnterprise. */
1402
1781
  export declare interface RedisEnterprise {
1403
1782
  /**
1404
- * Lists all RedisEnterprise clusters in a resource group.
1783
+ * Lists all Redis Enterprise clusters in a resource group.
1405
1784
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1406
1785
  * @param options The options parameters.
1407
1786
  */
1408
1787
  listByResourceGroup(resourceGroupName: string, options?: RedisEnterpriseListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cluster>;
1409
1788
  /**
1410
- * Gets all RedisEnterprise clusters in the specified subscription.
1789
+ * Lists all Redis Enterprise clusters in the specified subscription.
1411
1790
  * @param options The options parameters.
1412
1791
  */
1413
1792
  list(options?: RedisEnterpriseListOptionalParams): PagedAsyncIterableIterator<Cluster>;
@@ -1415,7 +1794,7 @@ export declare interface RedisEnterprise {
1415
1794
  * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
1416
1795
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1417
1796
  * @param clusterName The name of the Redis Enterprise cluster.
1418
- * @param parameters Parameters supplied to the Create RedisEnterprise operation.
1797
+ * @param parameters Parameters supplied to the Create Redis Enterprise operation.
1419
1798
  * @param options The options parameters.
1420
1799
  */
1421
1800
  beginCreate(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: RedisEnterpriseCreateOptionalParams): Promise<SimplePollerLike<OperationState<RedisEnterpriseCreateResponse>, RedisEnterpriseCreateResponse>>;
@@ -1423,42 +1802,42 @@ export declare interface RedisEnterprise {
1423
1802
  * Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster
1424
1803
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1425
1804
  * @param clusterName The name of the Redis Enterprise cluster.
1426
- * @param parameters Parameters supplied to the Create RedisEnterprise operation.
1805
+ * @param parameters Parameters supplied to the Create Redis Enterprise operation.
1427
1806
  * @param options The options parameters.
1428
1807
  */
1429
1808
  beginCreateAndWait(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: RedisEnterpriseCreateOptionalParams): Promise<RedisEnterpriseCreateResponse>;
1430
1809
  /**
1431
- * Updates an existing RedisEnterprise cluster
1810
+ * Updates an existing Redis Enterprise cluster
1432
1811
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1433
1812
  * @param clusterName The name of the Redis Enterprise cluster.
1434
- * @param parameters Parameters supplied to the Update RedisEnterprise operation.
1813
+ * @param parameters Parameters supplied to the Update Redis Enterprise operation.
1435
1814
  * @param options The options parameters.
1436
1815
  */
1437
1816
  beginUpdate(resourceGroupName: string, clusterName: string, parameters: ClusterUpdate, options?: RedisEnterpriseUpdateOptionalParams): Promise<SimplePollerLike<OperationState<RedisEnterpriseUpdateResponse>, RedisEnterpriseUpdateResponse>>;
1438
1817
  /**
1439
- * Updates an existing RedisEnterprise cluster
1818
+ * Updates an existing Redis Enterprise cluster
1440
1819
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1441
1820
  * @param clusterName The name of the Redis Enterprise cluster.
1442
- * @param parameters Parameters supplied to the Update RedisEnterprise operation.
1821
+ * @param parameters Parameters supplied to the Update Redis Enterprise operation.
1443
1822
  * @param options The options parameters.
1444
1823
  */
1445
1824
  beginUpdateAndWait(resourceGroupName: string, clusterName: string, parameters: ClusterUpdate, options?: RedisEnterpriseUpdateOptionalParams): Promise<RedisEnterpriseUpdateResponse>;
1446
1825
  /**
1447
- * Deletes a RedisEnterprise cache cluster.
1826
+ * Deletes a Redis Enterprise cache cluster.
1448
1827
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1449
1828
  * @param clusterName The name of the Redis Enterprise cluster.
1450
1829
  * @param options The options parameters.
1451
1830
  */
1452
1831
  beginDelete(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
1453
1832
  /**
1454
- * Deletes a RedisEnterprise cache cluster.
1833
+ * Deletes a Redis Enterprise cache cluster.
1455
1834
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1456
1835
  * @param clusterName The name of the Redis Enterprise cluster.
1457
1836
  * @param options The options parameters.
1458
1837
  */
1459
1838
  beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseDeleteOptionalParams): Promise<void>;
1460
1839
  /**
1461
- * Gets information about a RedisEnterprise cluster
1840
+ * Gets information about a Redis Enterprise cluster
1462
1841
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
1463
1842
  * @param clusterName The name of the Redis Enterprise cluster.
1464
1843
  * @param options The options parameters.
@@ -1477,6 +1856,14 @@ export declare interface RedisEnterpriseCreateOptionalParams extends coreClient.
1477
1856
  /** Contains response data for the create operation. */
1478
1857
  export declare type RedisEnterpriseCreateResponse = Cluster;
1479
1858
 
1859
+ /** Defines headers for RedisEnterprise_delete operation. */
1860
+ export declare interface RedisEnterpriseDeleteHeaders {
1861
+ /** Location URI to poll for result */
1862
+ location?: string;
1863
+ /** Azure-AsyncOperation URI to poll for result */
1864
+ azureAsyncOperation?: string;
1865
+ }
1866
+
1480
1867
  /** Optional parameters. */
1481
1868
  export declare interface RedisEnterpriseDeleteOptionalParams extends coreClient.OperationOptions {
1482
1869
  /** Delay to wait until next poll, in milliseconds. */
@@ -1537,6 +1924,7 @@ export declare class RedisEnterpriseManagementClient extends coreClient.ServiceC
1537
1924
  operationsStatus: OperationsStatus;
1538
1925
  redisEnterprise: RedisEnterprise;
1539
1926
  databases: Databases;
1927
+ accessPolicyAssignmentOperations: AccessPolicyAssignmentOperations;
1540
1928
  privateEndpointConnections: PrivateEndpointConnections;
1541
1929
  privateLinkResources: PrivateLinkResources;
1542
1930
  }
@@ -1551,6 +1939,14 @@ export declare interface RedisEnterpriseManagementClientOptionalParams extends c
1551
1939
  endpoint?: string;
1552
1940
  }
1553
1941
 
1942
+ /** Defines headers for RedisEnterprise_update operation. */
1943
+ export declare interface RedisEnterpriseUpdateHeaders {
1944
+ /** Location URI to poll for result */
1945
+ location?: string;
1946
+ /** Azure-AsyncOperation URI to poll for result */
1947
+ azureAsyncOperation?: string;
1948
+ }
1949
+
1554
1950
  /** Optional parameters. */
1555
1951
  export declare interface RedisEnterpriseUpdateOptionalParams extends coreClient.OperationOptions {
1556
1952
  /** Delay to wait until next poll, in milliseconds. */
@@ -1562,6 +1958,17 @@ export declare interface RedisEnterpriseUpdateOptionalParams extends coreClient.
1562
1958
  /** Contains response data for the update operation. */
1563
1959
  export declare type RedisEnterpriseUpdateResponse = Cluster;
1564
1960
 
1961
+ /**
1962
+ * Defines values for RedundancyMode. \
1963
+ * {@link KnownRedundancyMode} can be used interchangeably with RedundancyMode,
1964
+ * this enum contains the known values that the service supports.
1965
+ * ### Known values supported by the service
1966
+ * **None**: No redundancy. Availability loss will occur. \
1967
+ * **LR**: Local redundancy with high availability. \
1968
+ * **ZR**: Zone redundant. Higher availability.
1969
+ */
1970
+ export declare type RedundancyMode = string;
1971
+
1565
1972
  /** Specifies which access keys to reset to a new random value. */
1566
1973
  export declare interface RegenerateKeyParameters {
1567
1974
  /** Which access key to regenerate. */
@@ -1587,6 +1994,30 @@ export declare interface Resource {
1587
1994
  readonly type?: string;
1588
1995
  }
1589
1996
 
1997
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
1998
+ export declare interface ResourceAutoGenerated {
1999
+ /**
2000
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
2001
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2002
+ */
2003
+ readonly id?: string;
2004
+ /**
2005
+ * The name of the resource
2006
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2007
+ */
2008
+ readonly name?: string;
2009
+ /**
2010
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
2011
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2012
+ */
2013
+ readonly type?: string;
2014
+ /**
2015
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
2016
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2017
+ */
2018
+ readonly systemData?: SystemData;
2019
+ }
2020
+
1590
2021
  /**
1591
2022
  * Defines values for ResourceState. \
1592
2023
  * {@link KnownResourceState} can be used interchangeably with ResourceState,
@@ -1609,11 +2040,11 @@ export declare interface Resource {
1609
2040
  */
1610
2041
  export declare type ResourceState = string;
1611
2042
 
1612
- /** SKU parameters supplied to the create RedisEnterprise operation. */
2043
+ /** SKU parameters supplied to the create Redis Enterprise cluster operation. */
1613
2044
  export declare interface Sku {
1614
- /** The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.) */
2045
+ /** 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. */
1615
2046
  name: SkuName;
1616
- /** 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. */
2047
+ /** 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. */
1617
2048
  capacity?: number;
1618
2049
  }
1619
2050
 
@@ -1622,17 +2053,80 @@ export declare interface Sku {
1622
2053
  * {@link KnownSkuName} can be used interchangeably with SkuName,
1623
2054
  * this enum contains the known values that the service supports.
1624
2055
  * ### Known values supported by the service
2056
+ * **Enterprise_E1** \
1625
2057
  * **Enterprise_E5** \
1626
2058
  * **Enterprise_E10** \
1627
2059
  * **Enterprise_E20** \
1628
2060
  * **Enterprise_E50** \
1629
2061
  * **Enterprise_E100** \
2062
+ * **Enterprise_E200** \
2063
+ * **Enterprise_E400** \
1630
2064
  * **EnterpriseFlash_F300** \
1631
2065
  * **EnterpriseFlash_F700** \
1632
- * **EnterpriseFlash_F1500**
2066
+ * **EnterpriseFlash_F1500** \
2067
+ * **Balanced_B0** \
2068
+ * **Balanced_B1** \
2069
+ * **Balanced_B3** \
2070
+ * **Balanced_B5** \
2071
+ * **Balanced_B10** \
2072
+ * **Balanced_B20** \
2073
+ * **Balanced_B50** \
2074
+ * **Balanced_B100** \
2075
+ * **Balanced_B150** \
2076
+ * **Balanced_B250** \
2077
+ * **Balanced_B350** \
2078
+ * **Balanced_B500** \
2079
+ * **Balanced_B700** \
2080
+ * **Balanced_B1000** \
2081
+ * **MemoryOptimized_M10** \
2082
+ * **MemoryOptimized_M20** \
2083
+ * **MemoryOptimized_M50** \
2084
+ * **MemoryOptimized_M100** \
2085
+ * **MemoryOptimized_M150** \
2086
+ * **MemoryOptimized_M250** \
2087
+ * **MemoryOptimized_M350** \
2088
+ * **MemoryOptimized_M500** \
2089
+ * **MemoryOptimized_M700** \
2090
+ * **MemoryOptimized_M1000** \
2091
+ * **MemoryOptimized_M1500** \
2092
+ * **MemoryOptimized_M2000** \
2093
+ * **ComputeOptimized_X3** \
2094
+ * **ComputeOptimized_X5** \
2095
+ * **ComputeOptimized_X10** \
2096
+ * **ComputeOptimized_X20** \
2097
+ * **ComputeOptimized_X50** \
2098
+ * **ComputeOptimized_X100** \
2099
+ * **ComputeOptimized_X150** \
2100
+ * **ComputeOptimized_X250** \
2101
+ * **ComputeOptimized_X350** \
2102
+ * **ComputeOptimized_X500** \
2103
+ * **ComputeOptimized_X700** \
2104
+ * **FlashOptimized_A250** \
2105
+ * **FlashOptimized_A500** \
2106
+ * **FlashOptimized_A700** \
2107
+ * **FlashOptimized_A1000** \
2108
+ * **FlashOptimized_A1500** \
2109
+ * **FlashOptimized_A2000** \
2110
+ * **FlashOptimized_A4500**
1633
2111
  */
1634
2112
  export declare type SkuName = string;
1635
2113
 
2114
+ /** Metadata pertaining to creation and last modification of the resource. */
2115
+ export declare interface SystemData {
2116
+ /** The identity that created the resource. */
2117
+ createdBy?: string;
2118
+ /** The type of identity that created the resource. */
2119
+ createdByType?: CreatedByType;
2120
+ /** The timestamp of resource creation (UTC). */
2121
+ createdAt?: Date;
2122
+ /** The identity that last modified the resource. */
2123
+ lastModifiedBy?: string;
2124
+ /** The type of identity that last modified the resource. */
2125
+ lastModifiedByType?: CreatedByType;
2126
+ /** The timestamp of resource last modification (UTC) */
2127
+ lastModifiedAt?: Date;
2128
+ }
2129
+
1636
2130
  /**
1637
2131
  * Defines values for TlsVersion. \
1638
2132
  * {@link KnownTlsVersion} can be used interchangeably with TlsVersion,