@azure/arm-rediscache 30.0.0-alpha.20210928.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +21 -0
  4. package/README.md +94 -0
  5. package/dist/index.js +4051 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/src/index.d.ts +6 -0
  10. package/dist-esm/src/index.d.ts.map +1 -0
  11. package/dist-esm/src/index.js +13 -0
  12. package/dist-esm/src/index.js.map +1 -0
  13. package/dist-esm/src/lroImpl.d.ts +16 -0
  14. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  15. package/dist-esm/src/lroImpl.js +29 -0
  16. package/dist-esm/src/lroImpl.js.map +1 -0
  17. package/dist-esm/src/models/index.d.ts +1016 -0
  18. package/dist-esm/src/models/index.d.ts.map +1 -0
  19. package/dist-esm/src/models/index.js +77 -0
  20. package/dist-esm/src/models/index.js.map +1 -0
  21. package/dist-esm/src/models/mappers.d.ts +49 -0
  22. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  23. package/dist-esm/src/models/mappers.js +1580 -0
  24. package/dist-esm/src/models/mappers.js.map +1 -0
  25. package/dist-esm/src/models/parameters.d.ts +27 -0
  26. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  27. package/dist-esm/src/models/parameters.js +198 -0
  28. package/dist-esm/src/models/parameters.js.map +1 -0
  29. package/dist-esm/src/operations/firewallRules.d.ts +63 -0
  30. package/dist-esm/src/operations/firewallRules.d.ts.map +1 -0
  31. package/dist-esm/src/operations/firewallRules.js +238 -0
  32. package/dist-esm/src/operations/firewallRules.js.map +1 -0
  33. package/dist-esm/src/operations/index.d.ts +8 -0
  34. package/dist-esm/src/operations/index.d.ts.map +1 -0
  35. package/dist-esm/src/operations/index.js +15 -0
  36. package/dist-esm/src/operations/index.js.map +1 -0
  37. package/dist-esm/src/operations/linkedServer.d.ts +73 -0
  38. package/dist-esm/src/operations/linkedServer.d.ts.map +1 -0
  39. package/dist-esm/src/operations/linkedServer.js +288 -0
  40. package/dist-esm/src/operations/linkedServer.js.map +1 -0
  41. package/dist-esm/src/operations/operations.d.ts +32 -0
  42. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  43. package/dist-esm/src/operations/operations.js +120 -0
  44. package/dist-esm/src/operations/operations.js.map +1 -0
  45. package/dist-esm/src/operations/patchSchedules.d.ts +63 -0
  46. package/dist-esm/src/operations/patchSchedules.d.ts.map +1 -0
  47. package/dist-esm/src/operations/patchSchedules.js +238 -0
  48. package/dist-esm/src/operations/patchSchedules.js.map +1 -0
  49. package/dist-esm/src/operations/privateEndpointConnections.d.ts +69 -0
  50. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  51. package/dist-esm/src/operations/privateEndpointConnections.js +260 -0
  52. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  53. package/dist-esm/src/operations/privateLinkResources.d.ts +30 -0
  54. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  55. package/dist-esm/src/operations/privateLinkResources.js +99 -0
  56. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  57. package/dist-esm/src/operations/redis.d.ts +192 -0
  58. package/dist-esm/src/operations/redis.d.ts.map +1 -0
  59. package/dist-esm/src/operations/redis.js +840 -0
  60. package/dist-esm/src/operations/redis.js.map +1 -0
  61. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts +38 -0
  62. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts.map +1 -0
  63. package/dist-esm/src/operationsInterfaces/firewallRules.js +9 -0
  64. package/dist-esm/src/operationsInterfaces/firewallRules.js.map +1 -0
  65. package/dist-esm/src/operationsInterfaces/index.d.ts +8 -0
  66. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  67. package/dist-esm/src/operationsInterfaces/index.js +15 -0
  68. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  69. package/dist-esm/src/operationsInterfaces/linkedServer.d.ts +48 -0
  70. package/dist-esm/src/operationsInterfaces/linkedServer.d.ts.map +1 -0
  71. package/dist-esm/src/operationsInterfaces/linkedServer.js +9 -0
  72. package/dist-esm/src/operationsInterfaces/linkedServer.js.map +1 -0
  73. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  74. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  75. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  76. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  77. package/dist-esm/src/operationsInterfaces/patchSchedules.d.ts +38 -0
  78. package/dist-esm/src/operationsInterfaces/patchSchedules.d.ts.map +1 -0
  79. package/dist-esm/src/operationsInterfaces/patchSchedules.js +9 -0
  80. package/dist-esm/src/operationsInterfaces/patchSchedules.js.map +1 -0
  81. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +52 -0
  82. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  83. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  84. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  85. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +13 -0
  86. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  87. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  88. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  89. package/dist-esm/src/operationsInterfaces/redis.d.ts +136 -0
  90. package/dist-esm/src/operationsInterfaces/redis.d.ts.map +1 -0
  91. package/dist-esm/src/operationsInterfaces/redis.js +9 -0
  92. package/dist-esm/src/operationsInterfaces/redis.js.map +1 -0
  93. package/dist-esm/src/redisManagementClient.d.ts +22 -0
  94. package/dist-esm/src/redisManagementClient.d.ts.map +1 -0
  95. package/dist-esm/src/redisManagementClient.js +29 -0
  96. package/dist-esm/src/redisManagementClient.js.map +1 -0
  97. package/dist-esm/src/redisManagementClientContext.d.ts +17 -0
  98. package/dist-esm/src/redisManagementClientContext.d.ts.map +1 -0
  99. package/dist-esm/src/redisManagementClientContext.js +50 -0
  100. package/dist-esm/src/redisManagementClientContext.js.map +1 -0
  101. package/dist-esm/test/redis_examples.d.ts +2 -0
  102. package/dist-esm/test/redis_examples.d.ts.map +1 -0
  103. package/dist-esm/test/redis_examples.js +209 -0
  104. package/dist-esm/test/redis_examples.js.map +1 -0
  105. package/package.json +103 -0
  106. package/review/arm-rediscache.api.md +879 -0
  107. package/rollup.config.js +188 -0
  108. package/src/index.ts +13 -0
  109. package/src/lroImpl.ts +34 -0
  110. package/src/models/index.ts +1154 -0
  111. package/src/models/mappers.ts +1709 -0
  112. package/src/models/parameters.ts +240 -0
  113. package/src/operations/firewallRules.ts +314 -0
  114. package/src/operations/index.ts +15 -0
  115. package/src/operations/linkedServer.ts +397 -0
  116. package/src/operations/operations.ts +137 -0
  117. package/src/operations/patchSchedules.ts +327 -0
  118. package/src/operations/privateEndpointConnections.ts +353 -0
  119. package/src/operations/privateLinkResources.ts +135 -0
  120. package/src/operations/redis.ts +1152 -0
  121. package/src/operationsInterfaces/firewallRules.ts +75 -0
  122. package/src/operationsInterfaces/index.ts +15 -0
  123. package/src/operationsInterfaces/linkedServer.ts +97 -0
  124. package/src/operationsInterfaces/operations.ts +22 -0
  125. package/src/operationsInterfaces/patchSchedules.ts +76 -0
  126. package/src/operationsInterfaces/privateEndpointConnections.ts +100 -0
  127. package/src/operationsInterfaces/privateLinkResources.ts +29 -0
  128. package/src/operationsInterfaces/redis.ts +250 -0
  129. package/src/redisManagementClient.ts +61 -0
  130. package/src/redisManagementClientContext.ts +71 -0
  131. package/tsconfig.json +19 -0
  132. package/types/arm-rediscache.d.ts +1509 -0
  133. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,1154 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import * as coreClient from "@azure/core-client";
10
+
11
+ /** Result of the request to list REST API operations. It contains a list of operations and a URL nextLink to get the next set of results. */
12
+ export interface OperationListResult {
13
+ /** List of operations supported by the resource provider. */
14
+ value?: Operation[];
15
+ /**
16
+ * URL to get the next set of operation list results if there are any.
17
+ * NOTE: This property will not be serialized. It can only be populated by the server.
18
+ */
19
+ readonly nextLink?: string;
20
+ }
21
+
22
+ /** REST API operation */
23
+ export interface Operation {
24
+ /** Operation name: {provider}/{resource}/{operation} */
25
+ name?: string;
26
+ /** The object that describes the operation. */
27
+ display?: OperationDisplay;
28
+ }
29
+
30
+ /** The object that describes the operation. */
31
+ export interface OperationDisplay {
32
+ /** Friendly name of the resource provider */
33
+ provider?: string;
34
+ /** Operation type: read, write, delete, listKeys/action, etc. */
35
+ operation?: string;
36
+ /** Resource type on which the operation is performed. */
37
+ resource?: string;
38
+ /** Friendly name of the operation */
39
+ description?: string;
40
+ }
41
+
42
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
43
+ export interface ErrorResponse {
44
+ /** The error object. */
45
+ error?: ErrorDetail;
46
+ }
47
+
48
+ /** The error detail. */
49
+ export interface ErrorDetail {
50
+ /**
51
+ * The error code.
52
+ * NOTE: This property will not be serialized. It can only be populated by the server.
53
+ */
54
+ readonly code?: string;
55
+ /**
56
+ * The error message.
57
+ * NOTE: This property will not be serialized. It can only be populated by the server.
58
+ */
59
+ readonly message?: string;
60
+ /**
61
+ * The error target.
62
+ * NOTE: This property will not be serialized. It can only be populated by the server.
63
+ */
64
+ readonly target?: string;
65
+ /**
66
+ * The error details.
67
+ * NOTE: This property will not be serialized. It can only be populated by the server.
68
+ */
69
+ readonly details?: ErrorDetail[];
70
+ /**
71
+ * The error additional info.
72
+ * NOTE: This property will not be serialized. It can only be populated by the server.
73
+ */
74
+ readonly additionalInfo?: ErrorAdditionalInfo[];
75
+ }
76
+
77
+ /** The resource management error additional info. */
78
+ export interface ErrorAdditionalInfo {
79
+ /**
80
+ * The additional info type.
81
+ * NOTE: This property will not be serialized. It can only be populated by the server.
82
+ */
83
+ readonly type?: string;
84
+ /**
85
+ * The additional info.
86
+ * NOTE: This property will not be serialized. It can only be populated by the server.
87
+ */
88
+ readonly info?: Record<string, unknown>;
89
+ }
90
+
91
+ /** Parameters body to pass for resource name availability check. */
92
+ export interface CheckNameAvailabilityParameters {
93
+ /** Resource name. */
94
+ name: string;
95
+ /** Resource type. The only legal value of this property for checking redis cache name availability is 'Microsoft.Cache/redis'. */
96
+ type: string;
97
+ }
98
+
99
+ /** The response of listUpgradeNotifications. */
100
+ export interface NotificationListResponse {
101
+ /** List of all notifications. */
102
+ value?: UpgradeNotification[];
103
+ /**
104
+ * Link for next set of notifications.
105
+ * NOTE: This property will not be serialized. It can only be populated by the server.
106
+ */
107
+ readonly nextLink?: string;
108
+ }
109
+
110
+ /** Properties of upgrade notification. */
111
+ export interface UpgradeNotification {
112
+ /**
113
+ * Name of upgrade notification.
114
+ * NOTE: This property will not be serialized. It can only be populated by the server.
115
+ */
116
+ readonly name?: string;
117
+ /**
118
+ * Timestamp when upgrade notification occurred.
119
+ * NOTE: This property will not be serialized. It can only be populated by the server.
120
+ */
121
+ readonly timestamp?: Date;
122
+ /**
123
+ * Details about this upgrade notification
124
+ * NOTE: This property will not be serialized. It can only be populated by the server.
125
+ */
126
+ readonly upsellNotification?: { [propertyName: string]: string };
127
+ }
128
+
129
+ /** Parameters supplied to the Create Redis operation. */
130
+ export interface RedisCreateParameters {
131
+ /** A list of availability zones denoting where the resource needs to come from. */
132
+ zones?: string[];
133
+ /** The geo-location where the resource lives */
134
+ location: string;
135
+ /** Resource tags. */
136
+ tags?: { [propertyName: string]: string };
137
+ /** All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc. */
138
+ redisConfiguration?: RedisCommonPropertiesRedisConfiguration;
139
+ /** Redis version. Only major version will be used in PUT/PATCH request with current valid values: (4, 6) */
140
+ redisVersion?: string;
141
+ /** Specifies whether the non-ssl Redis server port (6379) is enabled. */
142
+ enableNonSslPort?: boolean;
143
+ /** The number of replicas to be created per primary. */
144
+ replicasPerMaster?: number;
145
+ /** The number of replicas to be created per primary. */
146
+ replicasPerPrimary?: number;
147
+ /** A dictionary of tenant settings */
148
+ tenantSettings?: { [propertyName: string]: string };
149
+ /** The number of shards to be created on a Premium Cluster Cache. */
150
+ shardCount?: number;
151
+ /** Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2') */
152
+ minimumTlsVersion?: TlsVersion;
153
+ /** Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled' */
154
+ publicNetworkAccess?: PublicNetworkAccess;
155
+ /** The SKU of the Redis cache to deploy. */
156
+ sku: Sku;
157
+ /** The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1 */
158
+ subnetId?: string;
159
+ /** Static IP address. Required when deploying a Redis cache inside an existing Azure Virtual Network. */
160
+ staticIP?: string;
161
+ }
162
+
163
+ /** Create/Update/Get common properties of the redis cache. */
164
+ export interface RedisCommonProperties {
165
+ /** All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc. */
166
+ redisConfiguration?: RedisCommonPropertiesRedisConfiguration;
167
+ /** Redis version. Only major version will be used in PUT/PATCH request with current valid values: (4, 6) */
168
+ redisVersion?: string;
169
+ /** Specifies whether the non-ssl Redis server port (6379) is enabled. */
170
+ enableNonSslPort?: boolean;
171
+ /** The number of replicas to be created per primary. */
172
+ replicasPerMaster?: number;
173
+ /** The number of replicas to be created per primary. */
174
+ replicasPerPrimary?: number;
175
+ /** A dictionary of tenant settings */
176
+ tenantSettings?: { [propertyName: string]: string };
177
+ /** The number of shards to be created on a Premium Cluster Cache. */
178
+ shardCount?: number;
179
+ /** Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2') */
180
+ minimumTlsVersion?: TlsVersion;
181
+ /** Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled' */
182
+ publicNetworkAccess?: PublicNetworkAccess;
183
+ }
184
+
185
+ /** All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc. */
186
+ export interface RedisCommonPropertiesRedisConfiguration {
187
+ /** Describes unknown properties. The value of an unknown property can be of "any" type. */
188
+ [property: string]: any;
189
+ /** Specifies whether the rdb backup is enabled */
190
+ rdbBackupEnabled?: string;
191
+ /** Specifies the frequency for creating rdb backup */
192
+ rdbBackupFrequency?: string;
193
+ /** Specifies the maximum number of snapshots for rdb backup */
194
+ rdbBackupMaxSnapshotCount?: string;
195
+ /** The storage account connection string for storing rdb file */
196
+ rdbStorageConnectionString?: string;
197
+ /** First storage account connection string */
198
+ aofStorageConnectionString0?: string;
199
+ /** Second storage account connection string */
200
+ aofStorageConnectionString1?: string;
201
+ /** Value in megabytes reserved for fragmentation per shard */
202
+ maxfragmentationmemoryReserved?: string;
203
+ /** The eviction strategy used when your data won't fit within its memory limit. */
204
+ maxmemoryPolicy?: string;
205
+ /** Value in megabytes reserved for non-cache usage per shard e.g. failover. */
206
+ maxmemoryReserved?: string;
207
+ /** Value in megabytes reserved for non-cache usage per shard e.g. failover. */
208
+ maxmemoryDelta?: string;
209
+ /**
210
+ * The max clients config
211
+ * NOTE: This property will not be serialized. It can only be populated by the server.
212
+ */
213
+ readonly maxclients?: string;
214
+ }
215
+
216
+ /** SKU parameters supplied to the create Redis operation. */
217
+ export interface Sku {
218
+ /** The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium) */
219
+ name: SkuName;
220
+ /** The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium). */
221
+ family: SkuFamily;
222
+ /** The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4). */
223
+ capacity: number;
224
+ }
225
+
226
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
227
+ export interface Resource {
228
+ /**
229
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
230
+ * NOTE: This property will not be serialized. It can only be populated by the server.
231
+ */
232
+ readonly id?: string;
233
+ /**
234
+ * The name of the resource
235
+ * NOTE: This property will not be serialized. It can only be populated by the server.
236
+ */
237
+ readonly name?: string;
238
+ /**
239
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
240
+ * NOTE: This property will not be serialized. It can only be populated by the server.
241
+ */
242
+ readonly type?: string;
243
+ }
244
+
245
+ /** Redis cache access keys. */
246
+ export interface RedisAccessKeys {
247
+ /**
248
+ * The current primary key that clients can use to authenticate with Redis cache.
249
+ * NOTE: This property will not be serialized. It can only be populated by the server.
250
+ */
251
+ readonly primaryKey?: string;
252
+ /**
253
+ * The current secondary key that clients can use to authenticate with Redis cache.
254
+ * NOTE: This property will not be serialized. It can only be populated by the server.
255
+ */
256
+ readonly secondaryKey?: string;
257
+ }
258
+
259
+ /** Linked server Id */
260
+ export interface RedisLinkedServer {
261
+ /**
262
+ * Linked server Id.
263
+ * NOTE: This property will not be serialized. It can only be populated by the server.
264
+ */
265
+ readonly id?: string;
266
+ }
267
+
268
+ /** Details of single instance of redis. */
269
+ export interface RedisInstanceDetails {
270
+ /**
271
+ * Redis instance SSL port.
272
+ * NOTE: This property will not be serialized. It can only be populated by the server.
273
+ */
274
+ readonly sslPort?: number;
275
+ /**
276
+ * If enableNonSslPort is true, provides Redis instance Non-SSL port.
277
+ * NOTE: This property will not be serialized. It can only be populated by the server.
278
+ */
279
+ readonly nonSslPort?: number;
280
+ /**
281
+ * If the Cache uses availability zones, specifies availability zone where this instance is located.
282
+ * NOTE: This property will not be serialized. It can only be populated by the server.
283
+ */
284
+ readonly zone?: string;
285
+ /**
286
+ * If clustering is enabled, the Shard ID of Redis Instance
287
+ * NOTE: This property will not be serialized. It can only be populated by the server.
288
+ */
289
+ readonly shardId?: number;
290
+ /**
291
+ * Specifies whether the instance is a primary node.
292
+ * NOTE: This property will not be serialized. It can only be populated by the server.
293
+ */
294
+ readonly isMaster?: boolean;
295
+ /**
296
+ * Specifies whether the instance is a primary node.
297
+ * NOTE: This property will not be serialized. It can only be populated by the server.
298
+ */
299
+ readonly isPrimary?: boolean;
300
+ }
301
+
302
+ /** The Private Endpoint resource. */
303
+ export interface PrivateEndpoint {
304
+ /**
305
+ * The ARM identifier for Private Endpoint
306
+ * NOTE: This property will not be serialized. It can only be populated by the server.
307
+ */
308
+ readonly id?: string;
309
+ }
310
+
311
+ /** A collection of information about the state of the connection between service consumer and provider. */
312
+ export interface PrivateLinkServiceConnectionState {
313
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
314
+ status?: PrivateEndpointServiceConnectionStatus;
315
+ /** The reason for approval/rejection of the connection. */
316
+ description?: string;
317
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
318
+ actionsRequired?: string;
319
+ }
320
+
321
+ /** Parameters supplied to the Update Redis operation. */
322
+ export interface RedisUpdateParameters {
323
+ /** Resource tags. */
324
+ tags?: { [propertyName: string]: string };
325
+ /** All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc. */
326
+ redisConfiguration?: RedisCommonPropertiesRedisConfiguration;
327
+ /** Redis version. Only major version will be used in PUT/PATCH request with current valid values: (4, 6) */
328
+ redisVersion?: string;
329
+ /** Specifies whether the non-ssl Redis server port (6379) is enabled. */
330
+ enableNonSslPort?: boolean;
331
+ /** The number of replicas to be created per primary. */
332
+ replicasPerMaster?: number;
333
+ /** The number of replicas to be created per primary. */
334
+ replicasPerPrimary?: number;
335
+ /** A dictionary of tenant settings */
336
+ tenantSettings?: { [propertyName: string]: string };
337
+ /** The number of shards to be created on a Premium Cluster Cache. */
338
+ shardCount?: number;
339
+ /** Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2') */
340
+ minimumTlsVersion?: TlsVersion;
341
+ /** Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled' */
342
+ publicNetworkAccess?: PublicNetworkAccess;
343
+ /** The SKU of the Redis cache to deploy. */
344
+ sku?: Sku;
345
+ }
346
+
347
+ /** The response of list Redis operation. */
348
+ export interface RedisListResult {
349
+ /** List of Redis cache instances. */
350
+ value?: RedisResource[];
351
+ /**
352
+ * Link for next page of results.
353
+ * NOTE: This property will not be serialized. It can only be populated by the server.
354
+ */
355
+ readonly nextLink?: string;
356
+ }
357
+
358
+ /** Specifies which Redis access keys to reset. */
359
+ export interface RedisRegenerateKeyParameters {
360
+ /** The Redis access key to regenerate. */
361
+ keyType: RedisKeyType;
362
+ }
363
+
364
+ /** Specifies which Redis node(s) to reboot. */
365
+ export interface RedisRebootParameters {
366
+ /** Which Redis node(s) to reboot. Depending on this value data loss is possible. */
367
+ rebootType?: RebootType;
368
+ /** If clustering is enabled, the ID of the shard to be rebooted. */
369
+ shardId?: number;
370
+ /** A list of redis instances to reboot, specified by per-instance SSL ports or non-SSL ports. */
371
+ ports?: number[];
372
+ }
373
+
374
+ /** Response to force reboot for Redis cache. */
375
+ export interface RedisForceRebootResponse {
376
+ /**
377
+ * Status message
378
+ * NOTE: This property will not be serialized. It can only be populated by the server.
379
+ */
380
+ readonly message?: string;
381
+ }
382
+
383
+ /** Parameters for Redis import operation. */
384
+ export interface ImportRDBParameters {
385
+ /** File format. */
386
+ format?: string;
387
+ /** files to import. */
388
+ files: string[];
389
+ }
390
+
391
+ /** Parameters for Redis export operation. */
392
+ export interface ExportRDBParameters {
393
+ /** File format. */
394
+ format?: string;
395
+ /** Prefix to use for exported files. */
396
+ prefix: string;
397
+ /** Container name to export to. */
398
+ container: string;
399
+ }
400
+
401
+ /** The response of list firewall rules Redis operation. */
402
+ export interface RedisFirewallRuleListResult {
403
+ /** Results of the list firewall rules operation. */
404
+ value?: RedisFirewallRule[];
405
+ /**
406
+ * Link for next page of results.
407
+ * NOTE: This property will not be serialized. It can only be populated by the server.
408
+ */
409
+ readonly nextLink?: string;
410
+ }
411
+
412
+ /** The response of list patch schedules Redis operation. */
413
+ export interface RedisPatchScheduleListResult {
414
+ /** Results of the list patch schedules operation. */
415
+ value?: RedisPatchSchedule[];
416
+ /**
417
+ * Link for next page of results.
418
+ * NOTE: This property will not be serialized. It can only be populated by the server.
419
+ */
420
+ readonly nextLink?: string;
421
+ }
422
+
423
+ /** Patch schedule entry for a Premium Redis Cache. */
424
+ export interface ScheduleEntry {
425
+ /** Day of the week when a cache can be patched. */
426
+ dayOfWeek: DayOfWeek;
427
+ /** Start hour after which cache patching can start. */
428
+ startHourUtc: number;
429
+ /** ISO8601 timespan specifying how much time cache patching can take. */
430
+ maintenanceWindow?: string;
431
+ }
432
+
433
+ /** Parameter required for creating a linked server to redis cache. */
434
+ export interface RedisLinkedServerCreateParameters {
435
+ /** Fully qualified resourceId of the linked redis cache. */
436
+ linkedRedisCacheId: string;
437
+ /** Location of the linked redis cache. */
438
+ linkedRedisCacheLocation: string;
439
+ /** Role of the linked server. */
440
+ serverRole: ReplicationRole;
441
+ }
442
+
443
+ /** Create properties for a linked server */
444
+ export interface RedisLinkedServerCreateProperties {
445
+ /** Fully qualified resourceId of the linked redis cache. */
446
+ linkedRedisCacheId: string;
447
+ /** Location of the linked redis cache. */
448
+ linkedRedisCacheLocation: string;
449
+ /** Role of the linked server. */
450
+ serverRole: ReplicationRole;
451
+ }
452
+
453
+ /** List of linked servers (with properties) of a Redis cache. */
454
+ export interface RedisLinkedServerWithPropertiesList {
455
+ /** List of linked servers (with properties) of a Redis cache. */
456
+ value?: RedisLinkedServerWithProperties[];
457
+ /**
458
+ * Link for next set.
459
+ * NOTE: This property will not be serialized. It can only be populated by the server.
460
+ */
461
+ readonly nextLink?: string;
462
+ }
463
+
464
+ /** List of private endpoint connection associated with the specified storage account */
465
+ export interface PrivateEndpointConnectionListResult {
466
+ /** Array of private endpoint connections */
467
+ value?: PrivateEndpointConnection[];
468
+ }
469
+
470
+ /** A list of private link resources */
471
+ export interface PrivateLinkResourceListResult {
472
+ /** Array of private link resources */
473
+ value?: PrivateLinkResource[];
474
+ }
475
+
476
+ /** Properties supplied to Create Redis operation. */
477
+ export type RedisCreateProperties = RedisCommonProperties & {
478
+ /** The SKU of the Redis cache to deploy. */
479
+ sku: Sku;
480
+ /** The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1 */
481
+ subnetId?: string;
482
+ /** Static IP address. Required when deploying a Redis cache inside an existing Azure Virtual Network. */
483
+ staticIP?: string;
484
+ };
485
+
486
+ /** Patchable properties of the redis cache. */
487
+ export type RedisUpdateProperties = RedisCommonProperties & {
488
+ /** The SKU of the Redis cache to deploy. */
489
+ sku?: Sku;
490
+ };
491
+
492
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
493
+ export type TrackedResource = Resource & {
494
+ /** Resource tags. */
495
+ tags?: { [propertyName: string]: string };
496
+ /** The geo-location where the resource lives */
497
+ location: string;
498
+ };
499
+
500
+ /** The Private Endpoint Connection resource. */
501
+ export type PrivateEndpointConnection = Resource & {
502
+ /** The resource of private end point. */
503
+ privateEndpoint?: PrivateEndpoint;
504
+ /** A collection of information about the state of the connection between service consumer and provider. */
505
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
506
+ /**
507
+ * The provisioning state of the private endpoint connection resource.
508
+ * NOTE: This property will not be serialized. It can only be populated by the server.
509
+ */
510
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
511
+ };
512
+
513
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
514
+ export type ProxyResource = Resource & {};
515
+
516
+ /** A private link resource */
517
+ export type PrivateLinkResource = Resource & {
518
+ /**
519
+ * The private link resource group id.
520
+ * NOTE: This property will not be serialized. It can only be populated by the server.
521
+ */
522
+ readonly groupId?: string;
523
+ /**
524
+ * The private link resource required member names.
525
+ * NOTE: This property will not be serialized. It can only be populated by the server.
526
+ */
527
+ readonly requiredMembers?: string[];
528
+ /** The private link resource Private link DNS zone name. */
529
+ requiredZoneNames?: string[];
530
+ };
531
+
532
+ /** Properties of a linked server to be returned in get/put response */
533
+ export type RedisLinkedServerProperties = RedisLinkedServerCreateProperties & {
534
+ /**
535
+ * Terminal state of the link between primary and secondary redis cache.
536
+ * NOTE: This property will not be serialized. It can only be populated by the server.
537
+ */
538
+ readonly provisioningState?: string;
539
+ };
540
+
541
+ /** Properties of the redis cache. */
542
+ export type RedisProperties = RedisCreateProperties & {
543
+ /**
544
+ * Redis instance provisioning status.
545
+ * NOTE: This property will not be serialized. It can only be populated by the server.
546
+ */
547
+ readonly provisioningState?: ProvisioningState;
548
+ /**
549
+ * Redis host name.
550
+ * NOTE: This property will not be serialized. It can only be populated by the server.
551
+ */
552
+ readonly hostName?: string;
553
+ /**
554
+ * Redis non-SSL port.
555
+ * NOTE: This property will not be serialized. It can only be populated by the server.
556
+ */
557
+ readonly port?: number;
558
+ /**
559
+ * Redis SSL port.
560
+ * NOTE: This property will not be serialized. It can only be populated by the server.
561
+ */
562
+ readonly sslPort?: number;
563
+ /**
564
+ * The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
565
+ * NOTE: This property will not be serialized. It can only be populated by the server.
566
+ */
567
+ readonly accessKeys?: RedisAccessKeys;
568
+ /**
569
+ * List of the linked servers associated with the cache
570
+ * NOTE: This property will not be serialized. It can only be populated by the server.
571
+ */
572
+ readonly linkedServers?: RedisLinkedServer[];
573
+ /**
574
+ * List of the Redis instances associated with the cache
575
+ * NOTE: This property will not be serialized. It can only be populated by the server.
576
+ */
577
+ readonly instances?: RedisInstanceDetails[];
578
+ /**
579
+ * List of private endpoint connection associated with the specified redis cache
580
+ * NOTE: This property will not be serialized. It can only be populated by the server.
581
+ */
582
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
583
+ };
584
+
585
+ /** A single Redis item in List or Get Operation. */
586
+ export type RedisResource = TrackedResource & {
587
+ /** A list of availability zones denoting where the resource needs to come from. */
588
+ zones?: string[];
589
+ /** All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc. */
590
+ redisConfiguration?: RedisCommonPropertiesRedisConfiguration;
591
+ /** Redis version. Only major version will be used in PUT/PATCH request with current valid values: (4, 6) */
592
+ redisVersion?: string;
593
+ /** Specifies whether the non-ssl Redis server port (6379) is enabled. */
594
+ enableNonSslPort?: boolean;
595
+ /** The number of replicas to be created per primary. */
596
+ replicasPerMaster?: number;
597
+ /** The number of replicas to be created per primary. */
598
+ replicasPerPrimary?: number;
599
+ /** A dictionary of tenant settings */
600
+ tenantSettings?: { [propertyName: string]: string };
601
+ /** The number of shards to be created on a Premium Cluster Cache. */
602
+ shardCount?: number;
603
+ /** Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2') */
604
+ minimumTlsVersion?: TlsVersion;
605
+ /** Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled' */
606
+ publicNetworkAccess?: PublicNetworkAccess;
607
+ /** The SKU of the Redis cache to deploy. */
608
+ sku: Sku;
609
+ /** The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1 */
610
+ subnetId?: string;
611
+ /** Static IP address. Required when deploying a Redis cache inside an existing Azure Virtual Network. */
612
+ staticIP?: string;
613
+ /**
614
+ * Redis instance provisioning status.
615
+ * NOTE: This property will not be serialized. It can only be populated by the server.
616
+ */
617
+ readonly provisioningState?: ProvisioningState;
618
+ /**
619
+ * Redis host name.
620
+ * NOTE: This property will not be serialized. It can only be populated by the server.
621
+ */
622
+ readonly hostName?: string;
623
+ /**
624
+ * Redis non-SSL port.
625
+ * NOTE: This property will not be serialized. It can only be populated by the server.
626
+ */
627
+ readonly port?: number;
628
+ /**
629
+ * Redis SSL port.
630
+ * NOTE: This property will not be serialized. It can only be populated by the server.
631
+ */
632
+ readonly sslPort?: number;
633
+ /**
634
+ * The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
635
+ * NOTE: This property will not be serialized. It can only be populated by the server.
636
+ */
637
+ readonly accessKeys?: RedisAccessKeys;
638
+ /**
639
+ * List of the linked servers associated with the cache
640
+ * NOTE: This property will not be serialized. It can only be populated by the server.
641
+ */
642
+ readonly linkedServers?: RedisLinkedServer[];
643
+ /**
644
+ * List of the Redis instances associated with the cache
645
+ * NOTE: This property will not be serialized. It can only be populated by the server.
646
+ */
647
+ readonly instances?: RedisInstanceDetails[];
648
+ /**
649
+ * List of private endpoint connection associated with the specified redis cache
650
+ * NOTE: This property will not be serialized. It can only be populated by the server.
651
+ */
652
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
653
+ };
654
+
655
+ /** A firewall rule on a redis cache has a name, and describes a contiguous range of IP addresses permitted to connect */
656
+ export type RedisFirewallRule = ProxyResource & {
657
+ /** lowest IP address included in the range */
658
+ startIP: string;
659
+ /** highest IP address included in the range */
660
+ endIP: string;
661
+ };
662
+
663
+ /** Response to put/get patch schedules for Redis cache. */
664
+ export type RedisPatchSchedule = ProxyResource & {
665
+ /** List of patch schedules for a Redis cache. */
666
+ scheduleEntries: ScheduleEntry[];
667
+ };
668
+
669
+ /** Response to put/get linked server (with properties) for Redis cache. */
670
+ export type RedisLinkedServerWithProperties = ProxyResource & {
671
+ /** Fully qualified resourceId of the linked redis cache. */
672
+ linkedRedisCacheId?: string;
673
+ /** Location of the linked redis cache. */
674
+ linkedRedisCacheLocation?: string;
675
+ /** Role of the linked server. */
676
+ serverRole?: ReplicationRole;
677
+ /**
678
+ * Terminal state of the link between primary and secondary redis cache.
679
+ * NOTE: This property will not be serialized. It can only be populated by the server.
680
+ */
681
+ readonly provisioningState?: string;
682
+ };
683
+
684
+ /** Parameters required for creating a firewall rule on redis cache. (Note, you can just use the FirewallRule type instead now.) */
685
+ export type RedisFirewallRuleCreateParameters = RedisFirewallRule & {};
686
+
687
+ /** Known values of {@link TlsVersion} that the service accepts. */
688
+ export enum KnownTlsVersion {
689
+ One0 = "1.0",
690
+ One1 = "1.1",
691
+ One2 = "1.2"
692
+ }
693
+
694
+ /**
695
+ * Defines values for TlsVersion. \
696
+ * {@link KnownTlsVersion} can be used interchangeably with TlsVersion,
697
+ * this enum contains the known values that the service supports.
698
+ * ### Known values supported by the service
699
+ * **1.0** \
700
+ * **1.1** \
701
+ * **1.2**
702
+ */
703
+ export type TlsVersion = string;
704
+
705
+ /** Known values of {@link PublicNetworkAccess} that the service accepts. */
706
+ export enum KnownPublicNetworkAccess {
707
+ Enabled = "Enabled",
708
+ Disabled = "Disabled"
709
+ }
710
+
711
+ /**
712
+ * Defines values for PublicNetworkAccess. \
713
+ * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
714
+ * this enum contains the known values that the service supports.
715
+ * ### Known values supported by the service
716
+ * **Enabled** \
717
+ * **Disabled**
718
+ */
719
+ export type PublicNetworkAccess = string;
720
+
721
+ /** Known values of {@link SkuName} that the service accepts. */
722
+ export enum KnownSkuName {
723
+ Basic = "Basic",
724
+ Standard = "Standard",
725
+ Premium = "Premium"
726
+ }
727
+
728
+ /**
729
+ * Defines values for SkuName. \
730
+ * {@link KnownSkuName} can be used interchangeably with SkuName,
731
+ * this enum contains the known values that the service supports.
732
+ * ### Known values supported by the service
733
+ * **Basic** \
734
+ * **Standard** \
735
+ * **Premium**
736
+ */
737
+ export type SkuName = string;
738
+
739
+ /** Known values of {@link SkuFamily} that the service accepts. */
740
+ export enum KnownSkuFamily {
741
+ C = "C",
742
+ P = "P"
743
+ }
744
+
745
+ /**
746
+ * Defines values for SkuFamily. \
747
+ * {@link KnownSkuFamily} can be used interchangeably with SkuFamily,
748
+ * this enum contains the known values that the service supports.
749
+ * ### Known values supported by the service
750
+ * **C** \
751
+ * **P**
752
+ */
753
+ export type SkuFamily = string;
754
+
755
+ /** Known values of {@link ProvisioningState} that the service accepts. */
756
+ export enum KnownProvisioningState {
757
+ Creating = "Creating",
758
+ Deleting = "Deleting",
759
+ Disabled = "Disabled",
760
+ Failed = "Failed",
761
+ Linking = "Linking",
762
+ Provisioning = "Provisioning",
763
+ RecoveringScaleFailure = "RecoveringScaleFailure",
764
+ Scaling = "Scaling",
765
+ Succeeded = "Succeeded",
766
+ Unlinking = "Unlinking",
767
+ Unprovisioning = "Unprovisioning",
768
+ Updating = "Updating"
769
+ }
770
+
771
+ /**
772
+ * Defines values for ProvisioningState. \
773
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
774
+ * this enum contains the known values that the service supports.
775
+ * ### Known values supported by the service
776
+ * **Creating** \
777
+ * **Deleting** \
778
+ * **Disabled** \
779
+ * **Failed** \
780
+ * **Linking** \
781
+ * **Provisioning** \
782
+ * **RecoveringScaleFailure** \
783
+ * **Scaling** \
784
+ * **Succeeded** \
785
+ * **Unlinking** \
786
+ * **Unprovisioning** \
787
+ * **Updating**
788
+ */
789
+ export type ProvisioningState = string;
790
+
791
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
792
+ export enum KnownPrivateEndpointServiceConnectionStatus {
793
+ Pending = "Pending",
794
+ Approved = "Approved",
795
+ Rejected = "Rejected"
796
+ }
797
+
798
+ /**
799
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
800
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
801
+ * this enum contains the known values that the service supports.
802
+ * ### Known values supported by the service
803
+ * **Pending** \
804
+ * **Approved** \
805
+ * **Rejected**
806
+ */
807
+ export type PrivateEndpointServiceConnectionStatus = string;
808
+
809
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
810
+ export enum KnownPrivateEndpointConnectionProvisioningState {
811
+ Succeeded = "Succeeded",
812
+ Creating = "Creating",
813
+ Deleting = "Deleting",
814
+ Failed = "Failed"
815
+ }
816
+
817
+ /**
818
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
819
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
820
+ * this enum contains the known values that the service supports.
821
+ * ### Known values supported by the service
822
+ * **Succeeded** \
823
+ * **Creating** \
824
+ * **Deleting** \
825
+ * **Failed**
826
+ */
827
+ export type PrivateEndpointConnectionProvisioningState = string;
828
+
829
+ /** Known values of {@link RebootType} that the service accepts. */
830
+ export enum KnownRebootType {
831
+ PrimaryNode = "PrimaryNode",
832
+ SecondaryNode = "SecondaryNode",
833
+ AllNodes = "AllNodes"
834
+ }
835
+
836
+ /**
837
+ * Defines values for RebootType. \
838
+ * {@link KnownRebootType} can be used interchangeably with RebootType,
839
+ * this enum contains the known values that the service supports.
840
+ * ### Known values supported by the service
841
+ * **PrimaryNode** \
842
+ * **SecondaryNode** \
843
+ * **AllNodes**
844
+ */
845
+ export type RebootType = string;
846
+
847
+ /** Known values of {@link DefaultName} that the service accepts. */
848
+ export enum KnownDefaultName {
849
+ Default = "default"
850
+ }
851
+
852
+ /**
853
+ * Defines values for DefaultName. \
854
+ * {@link KnownDefaultName} can be used interchangeably with DefaultName,
855
+ * this enum contains the known values that the service supports.
856
+ * ### Known values supported by the service
857
+ * **default**
858
+ */
859
+ export type DefaultName = string;
860
+ /** Defines values for RedisKeyType. */
861
+ export type RedisKeyType = "Primary" | "Secondary";
862
+ /** Defines values for DayOfWeek. */
863
+ export type DayOfWeek =
864
+ | "Monday"
865
+ | "Tuesday"
866
+ | "Wednesday"
867
+ | "Thursday"
868
+ | "Friday"
869
+ | "Saturday"
870
+ | "Sunday"
871
+ | "Everyday"
872
+ | "Weekend";
873
+ /** Defines values for ReplicationRole. */
874
+ export type ReplicationRole = "Primary" | "Secondary";
875
+
876
+ /** Optional parameters. */
877
+ export interface OperationsListOptionalParams
878
+ extends coreClient.OperationOptions {}
879
+
880
+ /** Contains response data for the list operation. */
881
+ export type OperationsListResponse = OperationListResult;
882
+
883
+ /** Optional parameters. */
884
+ export interface OperationsListNextOptionalParams
885
+ extends coreClient.OperationOptions {}
886
+
887
+ /** Contains response data for the listNext operation. */
888
+ export type OperationsListNextResponse = OperationListResult;
889
+
890
+ /** Optional parameters. */
891
+ export interface RedisCheckNameAvailabilityOptionalParams
892
+ extends coreClient.OperationOptions {}
893
+
894
+ /** Optional parameters. */
895
+ export interface RedisListUpgradeNotificationsOptionalParams
896
+ extends coreClient.OperationOptions {}
897
+
898
+ /** Contains response data for the listUpgradeNotifications operation. */
899
+ export type RedisListUpgradeNotificationsResponse = NotificationListResponse;
900
+
901
+ /** Optional parameters. */
902
+ export interface RedisCreateOptionalParams extends coreClient.OperationOptions {
903
+ /** Delay to wait until next poll, in milliseconds. */
904
+ updateIntervalInMs?: number;
905
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
906
+ resumeFrom?: string;
907
+ }
908
+
909
+ /** Contains response data for the create operation. */
910
+ export type RedisCreateResponse = RedisResource;
911
+
912
+ /** Optional parameters. */
913
+ export interface RedisUpdateOptionalParams
914
+ extends coreClient.OperationOptions {}
915
+
916
+ /** Contains response data for the update operation. */
917
+ export type RedisUpdateResponse = RedisResource;
918
+
919
+ /** Optional parameters. */
920
+ export interface RedisDeleteOptionalParams extends coreClient.OperationOptions {
921
+ /** Delay to wait until next poll, in milliseconds. */
922
+ updateIntervalInMs?: number;
923
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
924
+ resumeFrom?: string;
925
+ }
926
+
927
+ /** Optional parameters. */
928
+ export interface RedisGetOptionalParams extends coreClient.OperationOptions {}
929
+
930
+ /** Contains response data for the get operation. */
931
+ export type RedisGetResponse = RedisResource;
932
+
933
+ /** Optional parameters. */
934
+ export interface RedisListByResourceGroupOptionalParams
935
+ extends coreClient.OperationOptions {}
936
+
937
+ /** Contains response data for the listByResourceGroup operation. */
938
+ export type RedisListByResourceGroupResponse = RedisListResult;
939
+
940
+ /** Optional parameters. */
941
+ export interface RedisListBySubscriptionOptionalParams
942
+ extends coreClient.OperationOptions {}
943
+
944
+ /** Contains response data for the listBySubscription operation. */
945
+ export type RedisListBySubscriptionResponse = RedisListResult;
946
+
947
+ /** Optional parameters. */
948
+ export interface RedisListKeysOptionalParams
949
+ extends coreClient.OperationOptions {}
950
+
951
+ /** Contains response data for the listKeys operation. */
952
+ export type RedisListKeysResponse = RedisAccessKeys;
953
+
954
+ /** Optional parameters. */
955
+ export interface RedisRegenerateKeyOptionalParams
956
+ extends coreClient.OperationOptions {}
957
+
958
+ /** Contains response data for the regenerateKey operation. */
959
+ export type RedisRegenerateKeyResponse = RedisAccessKeys;
960
+
961
+ /** Optional parameters. */
962
+ export interface RedisForceRebootOptionalParams
963
+ extends coreClient.OperationOptions {}
964
+
965
+ /** Contains response data for the forceReboot operation. */
966
+ export type RedisForceRebootOperationResponse = RedisForceRebootResponse;
967
+
968
+ /** Optional parameters. */
969
+ export interface RedisImportDataOptionalParams
970
+ extends coreClient.OperationOptions {
971
+ /** Delay to wait until next poll, in milliseconds. */
972
+ updateIntervalInMs?: number;
973
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
974
+ resumeFrom?: string;
975
+ }
976
+
977
+ /** Optional parameters. */
978
+ export interface RedisExportDataOptionalParams
979
+ extends coreClient.OperationOptions {
980
+ /** Delay to wait until next poll, in milliseconds. */
981
+ updateIntervalInMs?: number;
982
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
983
+ resumeFrom?: string;
984
+ }
985
+
986
+ /** Optional parameters. */
987
+ export interface RedisListUpgradeNotificationsNextOptionalParams
988
+ extends coreClient.OperationOptions {}
989
+
990
+ /** Contains response data for the listUpgradeNotificationsNext operation. */
991
+ export type RedisListUpgradeNotificationsNextResponse = NotificationListResponse;
992
+
993
+ /** Optional parameters. */
994
+ export interface RedisListByResourceGroupNextOptionalParams
995
+ extends coreClient.OperationOptions {}
996
+
997
+ /** Contains response data for the listByResourceGroupNext operation. */
998
+ export type RedisListByResourceGroupNextResponse = RedisListResult;
999
+
1000
+ /** Optional parameters. */
1001
+ export interface RedisListBySubscriptionNextOptionalParams
1002
+ extends coreClient.OperationOptions {}
1003
+
1004
+ /** Contains response data for the listBySubscriptionNext operation. */
1005
+ export type RedisListBySubscriptionNextResponse = RedisListResult;
1006
+
1007
+ /** Optional parameters. */
1008
+ export interface FirewallRulesListOptionalParams
1009
+ extends coreClient.OperationOptions {}
1010
+
1011
+ /** Contains response data for the list operation. */
1012
+ export type FirewallRulesListResponse = RedisFirewallRuleListResult;
1013
+
1014
+ /** Optional parameters. */
1015
+ export interface FirewallRulesCreateOrUpdateOptionalParams
1016
+ extends coreClient.OperationOptions {}
1017
+
1018
+ /** Contains response data for the createOrUpdate operation. */
1019
+ export type FirewallRulesCreateOrUpdateResponse = RedisFirewallRule;
1020
+
1021
+ /** Optional parameters. */
1022
+ export interface FirewallRulesGetOptionalParams
1023
+ extends coreClient.OperationOptions {}
1024
+
1025
+ /** Contains response data for the get operation. */
1026
+ export type FirewallRulesGetResponse = RedisFirewallRule;
1027
+
1028
+ /** Optional parameters. */
1029
+ export interface FirewallRulesDeleteOptionalParams
1030
+ extends coreClient.OperationOptions {}
1031
+
1032
+ /** Optional parameters. */
1033
+ export interface FirewallRulesListNextOptionalParams
1034
+ extends coreClient.OperationOptions {}
1035
+
1036
+ /** Contains response data for the listNext operation. */
1037
+ export type FirewallRulesListNextResponse = RedisFirewallRuleListResult;
1038
+
1039
+ /** Optional parameters. */
1040
+ export interface PatchSchedulesListByRedisResourceOptionalParams
1041
+ extends coreClient.OperationOptions {}
1042
+
1043
+ /** Contains response data for the listByRedisResource operation. */
1044
+ export type PatchSchedulesListByRedisResourceResponse = RedisPatchScheduleListResult;
1045
+
1046
+ /** Optional parameters. */
1047
+ export interface PatchSchedulesCreateOrUpdateOptionalParams
1048
+ extends coreClient.OperationOptions {}
1049
+
1050
+ /** Contains response data for the createOrUpdate operation. */
1051
+ export type PatchSchedulesCreateOrUpdateResponse = RedisPatchSchedule;
1052
+
1053
+ /** Optional parameters. */
1054
+ export interface PatchSchedulesDeleteOptionalParams
1055
+ extends coreClient.OperationOptions {}
1056
+
1057
+ /** Optional parameters. */
1058
+ export interface PatchSchedulesGetOptionalParams
1059
+ extends coreClient.OperationOptions {}
1060
+
1061
+ /** Contains response data for the get operation. */
1062
+ export type PatchSchedulesGetResponse = RedisPatchSchedule;
1063
+
1064
+ /** Optional parameters. */
1065
+ export interface PatchSchedulesListByRedisResourceNextOptionalParams
1066
+ extends coreClient.OperationOptions {}
1067
+
1068
+ /** Contains response data for the listByRedisResourceNext operation. */
1069
+ export type PatchSchedulesListByRedisResourceNextResponse = RedisPatchScheduleListResult;
1070
+
1071
+ /** Optional parameters. */
1072
+ export interface LinkedServerCreateOptionalParams
1073
+ extends coreClient.OperationOptions {
1074
+ /** Delay to wait until next poll, in milliseconds. */
1075
+ updateIntervalInMs?: number;
1076
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1077
+ resumeFrom?: string;
1078
+ }
1079
+
1080
+ /** Contains response data for the create operation. */
1081
+ export type LinkedServerCreateResponse = RedisLinkedServerWithProperties;
1082
+
1083
+ /** Optional parameters. */
1084
+ export interface LinkedServerDeleteOptionalParams
1085
+ extends coreClient.OperationOptions {}
1086
+
1087
+ /** Optional parameters. */
1088
+ export interface LinkedServerGetOptionalParams
1089
+ extends coreClient.OperationOptions {}
1090
+
1091
+ /** Contains response data for the get operation. */
1092
+ export type LinkedServerGetResponse = RedisLinkedServerWithProperties;
1093
+
1094
+ /** Optional parameters. */
1095
+ export interface LinkedServerListOptionalParams
1096
+ extends coreClient.OperationOptions {}
1097
+
1098
+ /** Contains response data for the list operation. */
1099
+ export type LinkedServerListResponse = RedisLinkedServerWithPropertiesList;
1100
+
1101
+ /** Optional parameters. */
1102
+ export interface LinkedServerListNextOptionalParams
1103
+ extends coreClient.OperationOptions {}
1104
+
1105
+ /** Contains response data for the listNext operation. */
1106
+ export type LinkedServerListNextResponse = RedisLinkedServerWithPropertiesList;
1107
+
1108
+ /** Optional parameters. */
1109
+ export interface PrivateEndpointConnectionsListOptionalParams
1110
+ extends coreClient.OperationOptions {}
1111
+
1112
+ /** Contains response data for the list operation. */
1113
+ export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult;
1114
+
1115
+ /** Optional parameters. */
1116
+ export interface PrivateEndpointConnectionsGetOptionalParams
1117
+ extends coreClient.OperationOptions {}
1118
+
1119
+ /** Contains response data for the get operation. */
1120
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
1121
+
1122
+ /** Optional parameters. */
1123
+ export interface PrivateEndpointConnectionsPutOptionalParams
1124
+ extends coreClient.OperationOptions {
1125
+ /** Delay to wait until next poll, in milliseconds. */
1126
+ updateIntervalInMs?: number;
1127
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1128
+ resumeFrom?: string;
1129
+ }
1130
+
1131
+ /** Contains response data for the put operation. */
1132
+ export type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnection;
1133
+
1134
+ /** Optional parameters. */
1135
+ export interface PrivateEndpointConnectionsDeleteOptionalParams
1136
+ extends coreClient.OperationOptions {}
1137
+
1138
+ /** Optional parameters. */
1139
+ export interface PrivateLinkResourcesListByRedisCacheOptionalParams
1140
+ extends coreClient.OperationOptions {}
1141
+
1142
+ /** Contains response data for the listByRedisCache operation. */
1143
+ export type PrivateLinkResourcesListByRedisCacheResponse = PrivateLinkResourceListResult;
1144
+
1145
+ /** Optional parameters. */
1146
+ export interface RedisManagementClientOptionalParams
1147
+ extends coreClient.ServiceClientOptions {
1148
+ /** server parameter */
1149
+ $host?: string;
1150
+ /** Api Version */
1151
+ apiVersion?: string;
1152
+ /** Overrides client endpoint. */
1153
+ endpoint?: string;
1154
+ }