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