@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,879 @@
1
+ ## API Report File for "@azure/arm-rediscache"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
+ import { PollerLike } from '@azure/core-lro';
11
+ import { PollOperationState } from '@azure/core-lro';
12
+
13
+ // @public
14
+ export interface CheckNameAvailabilityParameters {
15
+ name: string;
16
+ type: string;
17
+ }
18
+
19
+ // @public
20
+ export type DayOfWeek = "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday" | "Everyday" | "Weekend";
21
+
22
+ // @public
23
+ export type DefaultName = string;
24
+
25
+ // @public
26
+ export interface ErrorAdditionalInfo {
27
+ readonly info?: Record<string, unknown>;
28
+ readonly type?: string;
29
+ }
30
+
31
+ // @public
32
+ export interface ErrorDetail {
33
+ readonly additionalInfo?: ErrorAdditionalInfo[];
34
+ readonly code?: string;
35
+ readonly details?: ErrorDetail[];
36
+ readonly message?: string;
37
+ readonly target?: string;
38
+ }
39
+
40
+ // @public
41
+ export interface ErrorResponse {
42
+ error?: ErrorDetail;
43
+ }
44
+
45
+ // @public
46
+ export interface ExportRDBParameters {
47
+ container: string;
48
+ format?: string;
49
+ prefix: string;
50
+ }
51
+
52
+ // @public
53
+ export interface FirewallRules {
54
+ createOrUpdate(resourceGroupName: string, cacheName: string, ruleName: string, parameters: RedisFirewallRule, options?: FirewallRulesCreateOrUpdateOptionalParams): Promise<FirewallRulesCreateOrUpdateResponse>;
55
+ delete(resourceGroupName: string, cacheName: string, ruleName: string, options?: FirewallRulesDeleteOptionalParams): Promise<void>;
56
+ get(resourceGroupName: string, cacheName: string, ruleName: string, options?: FirewallRulesGetOptionalParams): Promise<FirewallRulesGetResponse>;
57
+ list(resourceGroupName: string, cacheName: string, options?: FirewallRulesListOptionalParams): PagedAsyncIterableIterator<RedisFirewallRule>;
58
+ }
59
+
60
+ // @public
61
+ export interface FirewallRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
62
+ }
63
+
64
+ // @public
65
+ export type FirewallRulesCreateOrUpdateResponse = RedisFirewallRule;
66
+
67
+ // @public
68
+ export interface FirewallRulesDeleteOptionalParams extends coreClient.OperationOptions {
69
+ }
70
+
71
+ // @public
72
+ export interface FirewallRulesGetOptionalParams extends coreClient.OperationOptions {
73
+ }
74
+
75
+ // @public
76
+ export type FirewallRulesGetResponse = RedisFirewallRule;
77
+
78
+ // @public
79
+ export interface FirewallRulesListNextOptionalParams extends coreClient.OperationOptions {
80
+ }
81
+
82
+ // @public
83
+ export type FirewallRulesListNextResponse = RedisFirewallRuleListResult;
84
+
85
+ // @public
86
+ export interface FirewallRulesListOptionalParams extends coreClient.OperationOptions {
87
+ }
88
+
89
+ // @public
90
+ export type FirewallRulesListResponse = RedisFirewallRuleListResult;
91
+
92
+ // @public
93
+ export interface ImportRDBParameters {
94
+ files: string[];
95
+ format?: string;
96
+ }
97
+
98
+ // @public
99
+ export enum KnownDefaultName {
100
+ // (undocumented)
101
+ Default = "default"
102
+ }
103
+
104
+ // @public
105
+ export enum KnownPrivateEndpointConnectionProvisioningState {
106
+ // (undocumented)
107
+ Creating = "Creating",
108
+ // (undocumented)
109
+ Deleting = "Deleting",
110
+ // (undocumented)
111
+ Failed = "Failed",
112
+ // (undocumented)
113
+ Succeeded = "Succeeded"
114
+ }
115
+
116
+ // @public
117
+ export enum KnownPrivateEndpointServiceConnectionStatus {
118
+ // (undocumented)
119
+ Approved = "Approved",
120
+ // (undocumented)
121
+ Pending = "Pending",
122
+ // (undocumented)
123
+ Rejected = "Rejected"
124
+ }
125
+
126
+ // @public
127
+ export enum KnownProvisioningState {
128
+ // (undocumented)
129
+ Creating = "Creating",
130
+ // (undocumented)
131
+ Deleting = "Deleting",
132
+ // (undocumented)
133
+ Disabled = "Disabled",
134
+ // (undocumented)
135
+ Failed = "Failed",
136
+ // (undocumented)
137
+ Linking = "Linking",
138
+ // (undocumented)
139
+ Provisioning = "Provisioning",
140
+ // (undocumented)
141
+ RecoveringScaleFailure = "RecoveringScaleFailure",
142
+ // (undocumented)
143
+ Scaling = "Scaling",
144
+ // (undocumented)
145
+ Succeeded = "Succeeded",
146
+ // (undocumented)
147
+ Unlinking = "Unlinking",
148
+ // (undocumented)
149
+ Unprovisioning = "Unprovisioning",
150
+ // (undocumented)
151
+ Updating = "Updating"
152
+ }
153
+
154
+ // @public
155
+ export enum KnownPublicNetworkAccess {
156
+ // (undocumented)
157
+ Disabled = "Disabled",
158
+ // (undocumented)
159
+ Enabled = "Enabled"
160
+ }
161
+
162
+ // @public
163
+ export enum KnownRebootType {
164
+ // (undocumented)
165
+ AllNodes = "AllNodes",
166
+ // (undocumented)
167
+ PrimaryNode = "PrimaryNode",
168
+ // (undocumented)
169
+ SecondaryNode = "SecondaryNode"
170
+ }
171
+
172
+ // @public
173
+ export enum KnownSkuFamily {
174
+ // (undocumented)
175
+ C = "C",
176
+ // (undocumented)
177
+ P = "P"
178
+ }
179
+
180
+ // @public
181
+ export enum KnownSkuName {
182
+ // (undocumented)
183
+ Basic = "Basic",
184
+ // (undocumented)
185
+ Premium = "Premium",
186
+ // (undocumented)
187
+ Standard = "Standard"
188
+ }
189
+
190
+ // @public
191
+ export enum KnownTlsVersion {
192
+ // (undocumented)
193
+ One0 = "1.0",
194
+ // (undocumented)
195
+ One1 = "1.1",
196
+ // (undocumented)
197
+ One2 = "1.2"
198
+ }
199
+
200
+ // @public
201
+ export interface LinkedServer {
202
+ beginCreate(resourceGroupName: string, name: string, linkedServerName: string, parameters: RedisLinkedServerCreateParameters, options?: LinkedServerCreateOptionalParams): Promise<PollerLike<PollOperationState<LinkedServerCreateResponse>, LinkedServerCreateResponse>>;
203
+ beginCreateAndWait(resourceGroupName: string, name: string, linkedServerName: string, parameters: RedisLinkedServerCreateParameters, options?: LinkedServerCreateOptionalParams): Promise<LinkedServerCreateResponse>;
204
+ delete(resourceGroupName: string, name: string, linkedServerName: string, options?: LinkedServerDeleteOptionalParams): Promise<void>;
205
+ get(resourceGroupName: string, name: string, linkedServerName: string, options?: LinkedServerGetOptionalParams): Promise<LinkedServerGetResponse>;
206
+ list(resourceGroupName: string, name: string, options?: LinkedServerListOptionalParams): PagedAsyncIterableIterator<RedisLinkedServerWithProperties>;
207
+ }
208
+
209
+ // @public
210
+ export interface LinkedServerCreateOptionalParams extends coreClient.OperationOptions {
211
+ resumeFrom?: string;
212
+ updateIntervalInMs?: number;
213
+ }
214
+
215
+ // @public
216
+ export type LinkedServerCreateResponse = RedisLinkedServerWithProperties;
217
+
218
+ // @public
219
+ export interface LinkedServerDeleteOptionalParams extends coreClient.OperationOptions {
220
+ }
221
+
222
+ // @public
223
+ export interface LinkedServerGetOptionalParams extends coreClient.OperationOptions {
224
+ }
225
+
226
+ // @public
227
+ export type LinkedServerGetResponse = RedisLinkedServerWithProperties;
228
+
229
+ // @public
230
+ export interface LinkedServerListNextOptionalParams extends coreClient.OperationOptions {
231
+ }
232
+
233
+ // @public
234
+ export type LinkedServerListNextResponse = RedisLinkedServerWithPropertiesList;
235
+
236
+ // @public
237
+ export interface LinkedServerListOptionalParams extends coreClient.OperationOptions {
238
+ }
239
+
240
+ // @public
241
+ export type LinkedServerListResponse = RedisLinkedServerWithPropertiesList;
242
+
243
+ // @public
244
+ export interface NotificationListResponse {
245
+ readonly nextLink?: string;
246
+ value?: UpgradeNotification[];
247
+ }
248
+
249
+ // @public
250
+ export interface Operation {
251
+ display?: OperationDisplay;
252
+ name?: string;
253
+ }
254
+
255
+ // @public
256
+ export interface OperationDisplay {
257
+ description?: string;
258
+ operation?: string;
259
+ provider?: string;
260
+ resource?: string;
261
+ }
262
+
263
+ // @public
264
+ export interface OperationListResult {
265
+ readonly nextLink?: string;
266
+ value?: Operation[];
267
+ }
268
+
269
+ // @public
270
+ export interface Operations {
271
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
272
+ }
273
+
274
+ // @public
275
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
276
+ }
277
+
278
+ // @public
279
+ export type OperationsListNextResponse = OperationListResult;
280
+
281
+ // @public
282
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
283
+ }
284
+
285
+ // @public
286
+ export type OperationsListResponse = OperationListResult;
287
+
288
+ // @public
289
+ export interface PatchSchedules {
290
+ createOrUpdate(resourceGroupName: string, name: string, parameters: RedisPatchSchedule, defaultParam: DefaultName, options?: PatchSchedulesCreateOrUpdateOptionalParams): Promise<PatchSchedulesCreateOrUpdateResponse>;
291
+ delete(resourceGroupName: string, name: string, defaultParam: DefaultName, options?: PatchSchedulesDeleteOptionalParams): Promise<void>;
292
+ get(resourceGroupName: string, name: string, defaultParam: DefaultName, options?: PatchSchedulesGetOptionalParams): Promise<PatchSchedulesGetResponse>;
293
+ listByRedisResource(resourceGroupName: string, cacheName: string, options?: PatchSchedulesListByRedisResourceOptionalParams): PagedAsyncIterableIterator<RedisPatchSchedule>;
294
+ }
295
+
296
+ // @public
297
+ export interface PatchSchedulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
298
+ }
299
+
300
+ // @public
301
+ export type PatchSchedulesCreateOrUpdateResponse = RedisPatchSchedule;
302
+
303
+ // @public
304
+ export interface PatchSchedulesDeleteOptionalParams extends coreClient.OperationOptions {
305
+ }
306
+
307
+ // @public
308
+ export interface PatchSchedulesGetOptionalParams extends coreClient.OperationOptions {
309
+ }
310
+
311
+ // @public
312
+ export type PatchSchedulesGetResponse = RedisPatchSchedule;
313
+
314
+ // @public
315
+ export interface PatchSchedulesListByRedisResourceNextOptionalParams extends coreClient.OperationOptions {
316
+ }
317
+
318
+ // @public
319
+ export type PatchSchedulesListByRedisResourceNextResponse = RedisPatchScheduleListResult;
320
+
321
+ // @public
322
+ export interface PatchSchedulesListByRedisResourceOptionalParams extends coreClient.OperationOptions {
323
+ }
324
+
325
+ // @public
326
+ export type PatchSchedulesListByRedisResourceResponse = RedisPatchScheduleListResult;
327
+
328
+ // @public
329
+ export interface PrivateEndpoint {
330
+ readonly id?: string;
331
+ }
332
+
333
+ // @public
334
+ export type PrivateEndpointConnection = Resource & {
335
+ privateEndpoint?: PrivateEndpoint;
336
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
337
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
338
+ };
339
+
340
+ // @public
341
+ export interface PrivateEndpointConnectionListResult {
342
+ value?: PrivateEndpointConnection[];
343
+ }
344
+
345
+ // @public
346
+ export type PrivateEndpointConnectionProvisioningState = string;
347
+
348
+ // @public
349
+ export interface PrivateEndpointConnections {
350
+ beginPut(resourceGroupName: string, cacheName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsPutResponse>, PrivateEndpointConnectionsPutResponse>>;
351
+ beginPutAndWait(resourceGroupName: string, cacheName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<PrivateEndpointConnectionsPutResponse>;
352
+ delete(resourceGroupName: string, cacheName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
353
+ get(resourceGroupName: string, cacheName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
354
+ list(resourceGroupName: string, cacheName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
355
+ }
356
+
357
+ // @public
358
+ export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
359
+ }
360
+
361
+ // @public
362
+ export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
363
+ }
364
+
365
+ // @public
366
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
367
+
368
+ // @public
369
+ export interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {
370
+ }
371
+
372
+ // @public
373
+ export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult;
374
+
375
+ // @public
376
+ export interface PrivateEndpointConnectionsPutOptionalParams extends coreClient.OperationOptions {
377
+ resumeFrom?: string;
378
+ updateIntervalInMs?: number;
379
+ }
380
+
381
+ // @public
382
+ export type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnection;
383
+
384
+ // @public
385
+ export type PrivateEndpointServiceConnectionStatus = string;
386
+
387
+ // @public
388
+ export type PrivateLinkResource = Resource & {
389
+ readonly groupId?: string;
390
+ readonly requiredMembers?: string[];
391
+ requiredZoneNames?: string[];
392
+ };
393
+
394
+ // @public
395
+ export interface PrivateLinkResourceListResult {
396
+ value?: PrivateLinkResource[];
397
+ }
398
+
399
+ // @public
400
+ export interface PrivateLinkResources {
401
+ listByRedisCache(resourceGroupName: string, cacheName: string, options?: PrivateLinkResourcesListByRedisCacheOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
402
+ }
403
+
404
+ // @public
405
+ export interface PrivateLinkResourcesListByRedisCacheOptionalParams extends coreClient.OperationOptions {
406
+ }
407
+
408
+ // @public
409
+ export type PrivateLinkResourcesListByRedisCacheResponse = PrivateLinkResourceListResult;
410
+
411
+ // @public
412
+ export interface PrivateLinkServiceConnectionState {
413
+ actionsRequired?: string;
414
+ description?: string;
415
+ status?: PrivateEndpointServiceConnectionStatus;
416
+ }
417
+
418
+ // @public
419
+ export type ProvisioningState = string;
420
+
421
+ // @public
422
+ export type ProxyResource = Resource & {};
423
+
424
+ // @public
425
+ export type PublicNetworkAccess = string;
426
+
427
+ // @public
428
+ export type RebootType = string;
429
+
430
+ // @public
431
+ export interface Redis {
432
+ beginCreate(resourceGroupName: string, name: string, parameters: RedisCreateParameters, options?: RedisCreateOptionalParams): Promise<PollerLike<PollOperationState<RedisCreateResponse>, RedisCreateResponse>>;
433
+ beginCreateAndWait(resourceGroupName: string, name: string, parameters: RedisCreateParameters, options?: RedisCreateOptionalParams): Promise<RedisCreateResponse>;
434
+ beginDelete(resourceGroupName: string, name: string, options?: RedisDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
435
+ beginDeleteAndWait(resourceGroupName: string, name: string, options?: RedisDeleteOptionalParams): Promise<void>;
436
+ beginExportData(resourceGroupName: string, name: string, parameters: ExportRDBParameters, options?: RedisExportDataOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
437
+ beginExportDataAndWait(resourceGroupName: string, name: string, parameters: ExportRDBParameters, options?: RedisExportDataOptionalParams): Promise<void>;
438
+ beginImportData(resourceGroupName: string, name: string, parameters: ImportRDBParameters, options?: RedisImportDataOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
439
+ beginImportDataAndWait(resourceGroupName: string, name: string, parameters: ImportRDBParameters, options?: RedisImportDataOptionalParams): Promise<void>;
440
+ checkNameAvailability(parameters: CheckNameAvailabilityParameters, options?: RedisCheckNameAvailabilityOptionalParams): Promise<void>;
441
+ forceReboot(resourceGroupName: string, name: string, parameters: RedisRebootParameters, options?: RedisForceRebootOptionalParams): Promise<RedisForceRebootOperationResponse>;
442
+ get(resourceGroupName: string, name: string, options?: RedisGetOptionalParams): Promise<RedisGetResponse>;
443
+ listByResourceGroup(resourceGroupName: string, options?: RedisListByResourceGroupOptionalParams): PagedAsyncIterableIterator<RedisResource>;
444
+ listBySubscription(options?: RedisListBySubscriptionOptionalParams): PagedAsyncIterableIterator<RedisResource>;
445
+ listKeys(resourceGroupName: string, name: string, options?: RedisListKeysOptionalParams): Promise<RedisListKeysResponse>;
446
+ listUpgradeNotifications(resourceGroupName: string, name: string, history: number, options?: RedisListUpgradeNotificationsOptionalParams): PagedAsyncIterableIterator<UpgradeNotification>;
447
+ regenerateKey(resourceGroupName: string, name: string, parameters: RedisRegenerateKeyParameters, options?: RedisRegenerateKeyOptionalParams): Promise<RedisRegenerateKeyResponse>;
448
+ update(resourceGroupName: string, name: string, parameters: RedisUpdateParameters, options?: RedisUpdateOptionalParams): Promise<RedisUpdateResponse>;
449
+ }
450
+
451
+ // @public
452
+ export interface RedisAccessKeys {
453
+ readonly primaryKey?: string;
454
+ readonly secondaryKey?: string;
455
+ }
456
+
457
+ // @public
458
+ export interface RedisCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
459
+ }
460
+
461
+ // @public
462
+ export interface RedisCommonProperties {
463
+ enableNonSslPort?: boolean;
464
+ minimumTlsVersion?: TlsVersion;
465
+ publicNetworkAccess?: PublicNetworkAccess;
466
+ redisConfiguration?: RedisCommonPropertiesRedisConfiguration;
467
+ redisVersion?: string;
468
+ replicasPerMaster?: number;
469
+ replicasPerPrimary?: number;
470
+ shardCount?: number;
471
+ tenantSettings?: {
472
+ [propertyName: string]: string;
473
+ };
474
+ }
475
+
476
+ // @public
477
+ export interface RedisCommonPropertiesRedisConfiguration {
478
+ [property: string]: any;
479
+ aofStorageConnectionString0?: string;
480
+ aofStorageConnectionString1?: string;
481
+ readonly maxclients?: string;
482
+ maxfragmentationmemoryReserved?: string;
483
+ maxmemoryDelta?: string;
484
+ maxmemoryPolicy?: string;
485
+ maxmemoryReserved?: string;
486
+ rdbBackupEnabled?: string;
487
+ rdbBackupFrequency?: string;
488
+ rdbBackupMaxSnapshotCount?: string;
489
+ rdbStorageConnectionString?: string;
490
+ }
491
+
492
+ // @public
493
+ export interface RedisCreateOptionalParams extends coreClient.OperationOptions {
494
+ resumeFrom?: string;
495
+ updateIntervalInMs?: number;
496
+ }
497
+
498
+ // @public
499
+ export interface RedisCreateParameters {
500
+ enableNonSslPort?: boolean;
501
+ location: string;
502
+ minimumTlsVersion?: TlsVersion;
503
+ publicNetworkAccess?: PublicNetworkAccess;
504
+ redisConfiguration?: RedisCommonPropertiesRedisConfiguration;
505
+ redisVersion?: string;
506
+ replicasPerMaster?: number;
507
+ replicasPerPrimary?: number;
508
+ shardCount?: number;
509
+ sku: Sku;
510
+ staticIP?: string;
511
+ subnetId?: string;
512
+ tags?: {
513
+ [propertyName: string]: string;
514
+ };
515
+ tenantSettings?: {
516
+ [propertyName: string]: string;
517
+ };
518
+ zones?: string[];
519
+ }
520
+
521
+ // @public
522
+ export type RedisCreateProperties = RedisCommonProperties & {
523
+ sku: Sku;
524
+ subnetId?: string;
525
+ staticIP?: string;
526
+ };
527
+
528
+ // @public
529
+ export type RedisCreateResponse = RedisResource;
530
+
531
+ // @public
532
+ export interface RedisDeleteOptionalParams extends coreClient.OperationOptions {
533
+ resumeFrom?: string;
534
+ updateIntervalInMs?: number;
535
+ }
536
+
537
+ // @public
538
+ export interface RedisExportDataOptionalParams extends coreClient.OperationOptions {
539
+ resumeFrom?: string;
540
+ updateIntervalInMs?: number;
541
+ }
542
+
543
+ // @public
544
+ export type RedisFirewallRule = ProxyResource & {
545
+ startIP: string;
546
+ endIP: string;
547
+ };
548
+
549
+ // @public
550
+ export type RedisFirewallRuleCreateParameters = RedisFirewallRule & {};
551
+
552
+ // @public
553
+ export interface RedisFirewallRuleListResult {
554
+ readonly nextLink?: string;
555
+ value?: RedisFirewallRule[];
556
+ }
557
+
558
+ // @public
559
+ export type RedisForceRebootOperationResponse = RedisForceRebootResponse;
560
+
561
+ // @public
562
+ export interface RedisForceRebootOptionalParams extends coreClient.OperationOptions {
563
+ }
564
+
565
+ // @public
566
+ export interface RedisForceRebootResponse {
567
+ readonly message?: string;
568
+ }
569
+
570
+ // @public
571
+ export interface RedisGetOptionalParams extends coreClient.OperationOptions {
572
+ }
573
+
574
+ // @public
575
+ export type RedisGetResponse = RedisResource;
576
+
577
+ // @public
578
+ export interface RedisImportDataOptionalParams extends coreClient.OperationOptions {
579
+ resumeFrom?: string;
580
+ updateIntervalInMs?: number;
581
+ }
582
+
583
+ // @public
584
+ export interface RedisInstanceDetails {
585
+ readonly isMaster?: boolean;
586
+ readonly isPrimary?: boolean;
587
+ readonly nonSslPort?: number;
588
+ readonly shardId?: number;
589
+ readonly sslPort?: number;
590
+ readonly zone?: string;
591
+ }
592
+
593
+ // @public
594
+ export type RedisKeyType = "Primary" | "Secondary";
595
+
596
+ // @public
597
+ export interface RedisLinkedServer {
598
+ readonly id?: string;
599
+ }
600
+
601
+ // @public
602
+ export interface RedisLinkedServerCreateParameters {
603
+ linkedRedisCacheId: string;
604
+ linkedRedisCacheLocation: string;
605
+ serverRole: ReplicationRole;
606
+ }
607
+
608
+ // @public
609
+ export interface RedisLinkedServerCreateProperties {
610
+ linkedRedisCacheId: string;
611
+ linkedRedisCacheLocation: string;
612
+ serverRole: ReplicationRole;
613
+ }
614
+
615
+ // @public
616
+ export type RedisLinkedServerProperties = RedisLinkedServerCreateProperties & {
617
+ readonly provisioningState?: string;
618
+ };
619
+
620
+ // @public
621
+ export type RedisLinkedServerWithProperties = ProxyResource & {
622
+ linkedRedisCacheId?: string;
623
+ linkedRedisCacheLocation?: string;
624
+ serverRole?: ReplicationRole;
625
+ readonly provisioningState?: string;
626
+ };
627
+
628
+ // @public
629
+ export interface RedisLinkedServerWithPropertiesList {
630
+ readonly nextLink?: string;
631
+ value?: RedisLinkedServerWithProperties[];
632
+ }
633
+
634
+ // @public
635
+ export interface RedisListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
636
+ }
637
+
638
+ // @public
639
+ export type RedisListByResourceGroupNextResponse = RedisListResult;
640
+
641
+ // @public
642
+ export interface RedisListByResourceGroupOptionalParams extends coreClient.OperationOptions {
643
+ }
644
+
645
+ // @public
646
+ export type RedisListByResourceGroupResponse = RedisListResult;
647
+
648
+ // @public
649
+ export interface RedisListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
650
+ }
651
+
652
+ // @public
653
+ export type RedisListBySubscriptionNextResponse = RedisListResult;
654
+
655
+ // @public
656
+ export interface RedisListBySubscriptionOptionalParams extends coreClient.OperationOptions {
657
+ }
658
+
659
+ // @public
660
+ export type RedisListBySubscriptionResponse = RedisListResult;
661
+
662
+ // @public
663
+ export interface RedisListKeysOptionalParams extends coreClient.OperationOptions {
664
+ }
665
+
666
+ // @public
667
+ export type RedisListKeysResponse = RedisAccessKeys;
668
+
669
+ // @public
670
+ export interface RedisListResult {
671
+ readonly nextLink?: string;
672
+ value?: RedisResource[];
673
+ }
674
+
675
+ // @public
676
+ export interface RedisListUpgradeNotificationsNextOptionalParams extends coreClient.OperationOptions {
677
+ }
678
+
679
+ // @public
680
+ export type RedisListUpgradeNotificationsNextResponse = NotificationListResponse;
681
+
682
+ // @public
683
+ export interface RedisListUpgradeNotificationsOptionalParams extends coreClient.OperationOptions {
684
+ }
685
+
686
+ // @public
687
+ export type RedisListUpgradeNotificationsResponse = NotificationListResponse;
688
+
689
+ // @public (undocumented)
690
+ export class RedisManagementClient extends RedisManagementClientContext {
691
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: RedisManagementClientOptionalParams);
692
+ // (undocumented)
693
+ firewallRules: FirewallRules;
694
+ // (undocumented)
695
+ linkedServer: LinkedServer;
696
+ // (undocumented)
697
+ operations: Operations;
698
+ // (undocumented)
699
+ patchSchedules: PatchSchedules;
700
+ // (undocumented)
701
+ privateEndpointConnections: PrivateEndpointConnections;
702
+ // (undocumented)
703
+ privateLinkResources: PrivateLinkResources;
704
+ // (undocumented)
705
+ redis: Redis;
706
+ }
707
+
708
+ // @public (undocumented)
709
+ export class RedisManagementClientContext extends coreClient.ServiceClient {
710
+ // (undocumented)
711
+ $host: string;
712
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: RedisManagementClientOptionalParams);
713
+ // (undocumented)
714
+ apiVersion: string;
715
+ // (undocumented)
716
+ subscriptionId: string;
717
+ }
718
+
719
+ // @public
720
+ export interface RedisManagementClientOptionalParams extends coreClient.ServiceClientOptions {
721
+ $host?: string;
722
+ apiVersion?: string;
723
+ endpoint?: string;
724
+ }
725
+
726
+ // @public
727
+ export type RedisPatchSchedule = ProxyResource & {
728
+ scheduleEntries: ScheduleEntry[];
729
+ };
730
+
731
+ // @public
732
+ export interface RedisPatchScheduleListResult {
733
+ readonly nextLink?: string;
734
+ value?: RedisPatchSchedule[];
735
+ }
736
+
737
+ // @public
738
+ export type RedisProperties = RedisCreateProperties & {
739
+ readonly provisioningState?: ProvisioningState;
740
+ readonly hostName?: string;
741
+ readonly port?: number;
742
+ readonly sslPort?: number;
743
+ readonly accessKeys?: RedisAccessKeys;
744
+ readonly linkedServers?: RedisLinkedServer[];
745
+ readonly instances?: RedisInstanceDetails[];
746
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
747
+ };
748
+
749
+ // @public
750
+ export interface RedisRebootParameters {
751
+ ports?: number[];
752
+ rebootType?: RebootType;
753
+ shardId?: number;
754
+ }
755
+
756
+ // @public
757
+ export interface RedisRegenerateKeyOptionalParams extends coreClient.OperationOptions {
758
+ }
759
+
760
+ // @public
761
+ export interface RedisRegenerateKeyParameters {
762
+ keyType: RedisKeyType;
763
+ }
764
+
765
+ // @public
766
+ export type RedisRegenerateKeyResponse = RedisAccessKeys;
767
+
768
+ // @public
769
+ export type RedisResource = TrackedResource & {
770
+ zones?: string[];
771
+ redisConfiguration?: RedisCommonPropertiesRedisConfiguration;
772
+ redisVersion?: string;
773
+ enableNonSslPort?: boolean;
774
+ replicasPerMaster?: number;
775
+ replicasPerPrimary?: number;
776
+ tenantSettings?: {
777
+ [propertyName: string]: string;
778
+ };
779
+ shardCount?: number;
780
+ minimumTlsVersion?: TlsVersion;
781
+ publicNetworkAccess?: PublicNetworkAccess;
782
+ sku: Sku;
783
+ subnetId?: string;
784
+ staticIP?: string;
785
+ readonly provisioningState?: ProvisioningState;
786
+ readonly hostName?: string;
787
+ readonly port?: number;
788
+ readonly sslPort?: number;
789
+ readonly accessKeys?: RedisAccessKeys;
790
+ readonly linkedServers?: RedisLinkedServer[];
791
+ readonly instances?: RedisInstanceDetails[];
792
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
793
+ };
794
+
795
+ // @public
796
+ export interface RedisUpdateOptionalParams extends coreClient.OperationOptions {
797
+ }
798
+
799
+ // @public
800
+ export interface RedisUpdateParameters {
801
+ enableNonSslPort?: boolean;
802
+ minimumTlsVersion?: TlsVersion;
803
+ publicNetworkAccess?: PublicNetworkAccess;
804
+ redisConfiguration?: RedisCommonPropertiesRedisConfiguration;
805
+ redisVersion?: string;
806
+ replicasPerMaster?: number;
807
+ replicasPerPrimary?: number;
808
+ shardCount?: number;
809
+ sku?: Sku;
810
+ tags?: {
811
+ [propertyName: string]: string;
812
+ };
813
+ tenantSettings?: {
814
+ [propertyName: string]: string;
815
+ };
816
+ }
817
+
818
+ // @public
819
+ export type RedisUpdateProperties = RedisCommonProperties & {
820
+ sku?: Sku;
821
+ };
822
+
823
+ // @public
824
+ export type RedisUpdateResponse = RedisResource;
825
+
826
+ // @public
827
+ export type ReplicationRole = "Primary" | "Secondary";
828
+
829
+ // @public
830
+ export interface Resource {
831
+ readonly id?: string;
832
+ readonly name?: string;
833
+ readonly type?: string;
834
+ }
835
+
836
+ // @public
837
+ export interface ScheduleEntry {
838
+ dayOfWeek: DayOfWeek;
839
+ maintenanceWindow?: string;
840
+ startHourUtc: number;
841
+ }
842
+
843
+ // @public
844
+ export interface Sku {
845
+ capacity: number;
846
+ family: SkuFamily;
847
+ name: SkuName;
848
+ }
849
+
850
+ // @public
851
+ export type SkuFamily = string;
852
+
853
+ // @public
854
+ export type SkuName = string;
855
+
856
+ // @public
857
+ export type TlsVersion = string;
858
+
859
+ // @public
860
+ export type TrackedResource = Resource & {
861
+ tags?: {
862
+ [propertyName: string]: string;
863
+ };
864
+ location: string;
865
+ };
866
+
867
+ // @public
868
+ export interface UpgradeNotification {
869
+ readonly name?: string;
870
+ readonly timestamp?: Date;
871
+ readonly upsellNotification?: {
872
+ [propertyName: string]: string;
873
+ };
874
+ }
875
+
876
+
877
+ // (No @packageDocumentation comment for this package)
878
+
879
+ ```