@azure/arm-redisenterprisecache 3.0.1-alpha.20240709.1 → 3.1.0-beta.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 (111) hide show
  1. package/CHANGELOG.md +28 -13
  2. package/README.md +1 -1
  3. package/dist/index.js +1028 -721
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/databasesCreateSample.js +11 -10
  8. package/dist-esm/samples-dev/databasesCreateSample.js.map +1 -1
  9. package/dist-esm/samples-dev/databasesDeleteSample.js +1 -1
  10. package/dist-esm/samples-dev/databasesExportSample.js +3 -3
  11. package/dist-esm/samples-dev/databasesExportSample.js.map +1 -1
  12. package/dist-esm/samples-dev/databasesFlushSample.js +4 -4
  13. package/dist-esm/samples-dev/databasesFlushSample.js.map +1 -1
  14. package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.d.ts +2 -0
  15. package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.d.ts.map +1 -0
  16. package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.js +51 -0
  17. package/dist-esm/samples-dev/databasesForceLinkToReplicationGroupSample.js.map +1 -0
  18. package/dist-esm/samples-dev/databasesForceUnlinkSample.js +4 -4
  19. package/dist-esm/samples-dev/databasesForceUnlinkSample.js.map +1 -1
  20. package/dist-esm/samples-dev/databasesGetSample.js +1 -1
  21. package/dist-esm/samples-dev/databasesImportSample.js +4 -4
  22. package/dist-esm/samples-dev/databasesImportSample.js.map +1 -1
  23. package/dist-esm/samples-dev/databasesListByClusterSample.js +1 -1
  24. package/dist-esm/samples-dev/databasesListKeysSample.js +1 -1
  25. package/dist-esm/samples-dev/databasesRegenerateKeySample.js +2 -2
  26. package/dist-esm/samples-dev/databasesRegenerateKeySample.js.map +1 -1
  27. package/dist-esm/samples-dev/databasesUpdateSample.js +3 -3
  28. package/dist-esm/samples-dev/databasesUpdateSample.js.map +1 -1
  29. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.d.ts +2 -0
  30. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.d.ts.map +1 -0
  31. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js +39 -0
  32. package/dist-esm/samples-dev/databasesUpgradeDbRedisVersionSample.js.map +1 -0
  33. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  34. package/dist-esm/samples-dev/operationsStatusGetSample.js +1 -1
  35. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  36. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  37. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +1 -1
  38. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +4 -4
  39. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +1 -1
  40. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +1 -1
  41. package/dist-esm/samples-dev/redisEnterpriseCreateSample.js +8 -8
  42. package/dist-esm/samples-dev/redisEnterpriseCreateSample.js.map +1 -1
  43. package/dist-esm/samples-dev/redisEnterpriseDeleteSample.js +1 -1
  44. package/dist-esm/samples-dev/redisEnterpriseGetSample.js +1 -1
  45. package/dist-esm/samples-dev/redisEnterpriseListByResourceGroupSample.js +1 -1
  46. package/dist-esm/samples-dev/redisEnterpriseListSample.js +1 -1
  47. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js +3 -3
  48. package/dist-esm/samples-dev/redisEnterpriseUpdateSample.js.map +1 -1
  49. package/dist-esm/src/lroImpl.js +1 -1
  50. package/dist-esm/src/models/index.d.ts +72 -0
  51. package/dist-esm/src/models/index.d.ts.map +1 -1
  52. package/dist-esm/src/models/index.js +10 -0
  53. package/dist-esm/src/models/index.js.map +1 -1
  54. package/dist-esm/src/models/mappers.d.ts +3 -0
  55. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  56. package/dist-esm/src/models/mappers.js +481 -389
  57. package/dist-esm/src/models/mappers.js.map +1 -1
  58. package/dist-esm/src/models/parameters.d.ts +1 -0
  59. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  60. package/dist-esm/src/models/parameters.js +62 -52
  61. package/dist-esm/src/models/parameters.js.map +1 -1
  62. package/dist-esm/src/operations/databases.d.ts +78 -40
  63. package/dist-esm/src/operations/databases.d.ts.map +1 -1
  64. package/dist-esm/src/operations/databases.js +337 -145
  65. package/dist-esm/src/operations/databases.js.map +1 -1
  66. package/dist-esm/src/operations/operations.js +9 -9
  67. package/dist-esm/src/operations/operationsStatus.js +5 -5
  68. package/dist-esm/src/operations/operationsStatus.js.map +1 -1
  69. package/dist-esm/src/operations/privateEndpointConnections.d.ts +7 -7
  70. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  71. package/dist-esm/src/operations/privateEndpointConnections.js +42 -42
  72. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  73. package/dist-esm/src/operations/privateLinkResources.d.ts +2 -2
  74. package/dist-esm/src/operations/privateLinkResources.js +8 -8
  75. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  76. package/dist-esm/src/operations/redisEnterprise.d.ts +7 -7
  77. package/dist-esm/src/operations/redisEnterprise.d.ts.map +1 -1
  78. package/dist-esm/src/operations/redisEnterprise.js +66 -66
  79. package/dist-esm/src/operations/redisEnterprise.js.map +1 -1
  80. package/dist-esm/src/operationsInterfaces/databases.d.ts +76 -38
  81. package/dist-esm/src/operationsInterfaces/databases.d.ts.map +1 -1
  82. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +6 -6
  83. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +1 -1
  84. package/dist-esm/src/operationsInterfaces/redisEnterprise.d.ts +7 -7
  85. package/dist-esm/src/redisEnterpriseManagementClient.d.ts.map +1 -1
  86. package/dist-esm/src/redisEnterpriseManagementClient.js +9 -9
  87. package/dist-esm/src/redisEnterpriseManagementClient.js.map +1 -1
  88. package/dist-esm/test/redisenterprisecache_test.spec.d.ts.map +1 -1
  89. package/dist-esm/test/redisenterprisecache_test.spec.js +0 -3
  90. package/dist-esm/test/redisenterprisecache_test.spec.js.map +1 -1
  91. package/package.json +6 -6
  92. package/review/arm-redisenterprisecache.api.md +54 -0
  93. package/src/lroImpl.ts +3 -3
  94. package/src/models/index.ts +105 -18
  95. package/src/models/mappers.ts +539 -437
  96. package/src/models/parameters.ts +65 -53
  97. package/src/operations/databases.ts +527 -272
  98. package/src/operations/operations.ts +16 -16
  99. package/src/operations/operationsStatus.ts +9 -10
  100. package/src/operations/privateEndpointConnections.ts +78 -83
  101. package/src/operations/privateLinkResources.ts +18 -19
  102. package/src/operations/redisEnterprise.ts +121 -130
  103. package/src/operationsInterfaces/databases.ts +132 -57
  104. package/src/operationsInterfaces/operations.ts +1 -1
  105. package/src/operationsInterfaces/operationsStatus.ts +2 -2
  106. package/src/operationsInterfaces/privateEndpointConnections.ts +13 -13
  107. package/src/operationsInterfaces/privateLinkResources.ts +3 -3
  108. package/src/operationsInterfaces/redisEnterprise.ts +17 -17
  109. package/src/pagingHelper.ts +1 -1
  110. package/src/redisEnterpriseManagementClient.ts +18 -17
  111. package/types/arm-redisenterprisecache.d.ts +170 -51
@@ -18,20 +18,20 @@ export const OperationListResult = {
18
18
  element: {
19
19
  type: {
20
20
  name: "Composite",
21
- className: "Operation"
22
- }
23
- }
24
- }
21
+ className: "Operation",
22
+ },
23
+ },
24
+ },
25
25
  },
26
26
  nextLink: {
27
27
  serializedName: "nextLink",
28
28
  readOnly: true,
29
29
  type: {
30
- name: "String"
31
- }
32
- }
33
- }
34
- }
30
+ name: "String",
31
+ },
32
+ },
33
+ },
34
+ },
35
35
  };
36
36
  export const Operation = {
37
37
  type: {
@@ -42,39 +42,39 @@ export const Operation = {
42
42
  serializedName: "name",
43
43
  readOnly: true,
44
44
  type: {
45
- name: "String"
46
- }
45
+ name: "String",
46
+ },
47
47
  },
48
48
  isDataAction: {
49
49
  serializedName: "isDataAction",
50
50
  readOnly: true,
51
51
  type: {
52
- name: "Boolean"
53
- }
52
+ name: "Boolean",
53
+ },
54
54
  },
55
55
  display: {
56
56
  serializedName: "display",
57
57
  type: {
58
58
  name: "Composite",
59
- className: "OperationDisplay"
60
- }
59
+ className: "OperationDisplay",
60
+ },
61
61
  },
62
62
  origin: {
63
63
  serializedName: "origin",
64
64
  readOnly: true,
65
65
  type: {
66
- name: "String"
67
- }
66
+ name: "String",
67
+ },
68
68
  },
69
69
  actionType: {
70
70
  serializedName: "actionType",
71
71
  readOnly: true,
72
72
  type: {
73
- name: "String"
74
- }
75
- }
76
- }
77
- }
73
+ name: "String",
74
+ },
75
+ },
76
+ },
77
+ },
78
78
  };
79
79
  export const OperationDisplay = {
80
80
  type: {
@@ -85,32 +85,32 @@ export const OperationDisplay = {
85
85
  serializedName: "provider",
86
86
  readOnly: true,
87
87
  type: {
88
- name: "String"
89
- }
88
+ name: "String",
89
+ },
90
90
  },
91
91
  resource: {
92
92
  serializedName: "resource",
93
93
  readOnly: true,
94
94
  type: {
95
- name: "String"
96
- }
95
+ name: "String",
96
+ },
97
97
  },
98
98
  operation: {
99
99
  serializedName: "operation",
100
100
  readOnly: true,
101
101
  type: {
102
- name: "String"
103
- }
102
+ name: "String",
103
+ },
104
104
  },
105
105
  description: {
106
106
  serializedName: "description",
107
107
  readOnly: true,
108
108
  type: {
109
- name: "String"
110
- }
111
- }
112
- }
113
- }
109
+ name: "String",
110
+ },
111
+ },
112
+ },
113
+ },
114
114
  };
115
115
  export const ErrorResponse = {
116
116
  type: {
@@ -121,11 +121,11 @@ export const ErrorResponse = {
121
121
  serializedName: "error",
122
122
  type: {
123
123
  name: "Composite",
124
- className: "ErrorDetail"
125
- }
126
- }
127
- }
128
- }
124
+ className: "ErrorDetail",
125
+ },
126
+ },
127
+ },
128
+ },
129
129
  };
130
130
  export const ErrorDetail = {
131
131
  type: {
@@ -136,22 +136,22 @@ export const ErrorDetail = {
136
136
  serializedName: "code",
137
137
  readOnly: true,
138
138
  type: {
139
- name: "String"
140
- }
139
+ name: "String",
140
+ },
141
141
  },
142
142
  message: {
143
143
  serializedName: "message",
144
144
  readOnly: true,
145
145
  type: {
146
- name: "String"
147
- }
146
+ name: "String",
147
+ },
148
148
  },
149
149
  target: {
150
150
  serializedName: "target",
151
151
  readOnly: true,
152
152
  type: {
153
- name: "String"
154
- }
153
+ name: "String",
154
+ },
155
155
  },
156
156
  details: {
157
157
  serializedName: "details",
@@ -161,10 +161,10 @@ export const ErrorDetail = {
161
161
  element: {
162
162
  type: {
163
163
  name: "Composite",
164
- className: "ErrorDetail"
165
- }
166
- }
167
- }
164
+ className: "ErrorDetail",
165
+ },
166
+ },
167
+ },
168
168
  },
169
169
  additionalInfo: {
170
170
  serializedName: "additionalInfo",
@@ -174,13 +174,13 @@ export const ErrorDetail = {
174
174
  element: {
175
175
  type: {
176
176
  name: "Composite",
177
- className: "ErrorAdditionalInfo"
178
- }
179
- }
180
- }
181
- }
182
- }
183
- }
177
+ className: "ErrorAdditionalInfo",
178
+ },
179
+ },
180
+ },
181
+ },
182
+ },
183
+ },
184
184
  };
185
185
  export const ErrorAdditionalInfo = {
186
186
  type: {
@@ -191,19 +191,19 @@ export const ErrorAdditionalInfo = {
191
191
  serializedName: "type",
192
192
  readOnly: true,
193
193
  type: {
194
- name: "String"
195
- }
194
+ name: "String",
195
+ },
196
196
  },
197
197
  info: {
198
198
  serializedName: "info",
199
199
  readOnly: true,
200
200
  type: {
201
201
  name: "Dictionary",
202
- value: { type: { name: "any" } }
203
- }
204
- }
205
- }
206
- }
202
+ value: { type: { name: "any" } },
203
+ },
204
+ },
205
+ },
206
+ },
207
207
  };
208
208
  export const OperationStatus = {
209
209
  type: {
@@ -213,42 +213,42 @@ export const OperationStatus = {
213
213
  id: {
214
214
  serializedName: "id",
215
215
  type: {
216
- name: "String"
217
- }
216
+ name: "String",
217
+ },
218
218
  },
219
219
  name: {
220
220
  serializedName: "name",
221
221
  type: {
222
- name: "String"
223
- }
222
+ name: "String",
223
+ },
224
224
  },
225
225
  startTime: {
226
226
  serializedName: "startTime",
227
227
  type: {
228
- name: "String"
229
- }
228
+ name: "String",
229
+ },
230
230
  },
231
231
  endTime: {
232
232
  serializedName: "endTime",
233
233
  type: {
234
- name: "String"
235
- }
234
+ name: "String",
235
+ },
236
236
  },
237
237
  status: {
238
238
  serializedName: "status",
239
239
  type: {
240
- name: "String"
241
- }
240
+ name: "String",
241
+ },
242
242
  },
243
243
  error: {
244
244
  serializedName: "error",
245
245
  type: {
246
246
  name: "Composite",
247
- className: "ErrorResponse"
248
- }
249
- }
250
- }
251
- }
247
+ className: "ErrorResponse",
248
+ },
249
+ },
250
+ },
251
+ },
252
252
  };
253
253
  export const Sku = {
254
254
  type: {
@@ -259,17 +259,17 @@ export const Sku = {
259
259
  serializedName: "name",
260
260
  required: true,
261
261
  type: {
262
- name: "String"
263
- }
262
+ name: "String",
263
+ },
264
264
  },
265
265
  capacity: {
266
266
  serializedName: "capacity",
267
267
  type: {
268
- name: "Number"
269
- }
270
- }
271
- }
272
- }
268
+ name: "Number",
269
+ },
270
+ },
271
+ },
272
+ },
273
273
  };
274
274
  export const ManagedServiceIdentity = {
275
275
  type: {
@@ -280,34 +280,34 @@ export const ManagedServiceIdentity = {
280
280
  serializedName: "principalId",
281
281
  readOnly: true,
282
282
  type: {
283
- name: "Uuid"
284
- }
283
+ name: "Uuid",
284
+ },
285
285
  },
286
286
  tenantId: {
287
287
  serializedName: "tenantId",
288
288
  readOnly: true,
289
289
  type: {
290
- name: "Uuid"
291
- }
290
+ name: "Uuid",
291
+ },
292
292
  },
293
293
  type: {
294
294
  serializedName: "type",
295
295
  required: true,
296
296
  type: {
297
- name: "String"
298
- }
297
+ name: "String",
298
+ },
299
299
  },
300
300
  userAssignedIdentities: {
301
301
  serializedName: "userAssignedIdentities",
302
302
  type: {
303
303
  name: "Dictionary",
304
304
  value: {
305
- type: { name: "Composite", className: "UserAssignedIdentity" }
306
- }
307
- }
308
- }
309
- }
310
- }
305
+ type: { name: "Composite", className: "UserAssignedIdentity" },
306
+ },
307
+ },
308
+ },
309
+ },
310
+ },
311
311
  };
312
312
  export const UserAssignedIdentity = {
313
313
  type: {
@@ -318,18 +318,18 @@ export const UserAssignedIdentity = {
318
318
  serializedName: "principalId",
319
319
  readOnly: true,
320
320
  type: {
321
- name: "Uuid"
322
- }
321
+ name: "Uuid",
322
+ },
323
323
  },
324
324
  clientId: {
325
325
  serializedName: "clientId",
326
326
  readOnly: true,
327
327
  type: {
328
- name: "Uuid"
329
- }
330
- }
331
- }
332
- }
328
+ name: "Uuid",
329
+ },
330
+ },
331
+ },
332
+ },
333
333
  };
334
334
  export const ClusterPropertiesEncryption = {
335
335
  type: {
@@ -340,11 +340,11 @@ export const ClusterPropertiesEncryption = {
340
340
  serializedName: "customerManagedKeyEncryption",
341
341
  type: {
342
342
  name: "Composite",
343
- className: "ClusterPropertiesEncryptionCustomerManagedKeyEncryption"
344
- }
345
- }
346
- }
347
- }
343
+ className: "ClusterPropertiesEncryptionCustomerManagedKeyEncryption",
344
+ },
345
+ },
346
+ },
347
+ },
348
348
  };
349
349
  export const ClusterPropertiesEncryptionCustomerManagedKeyEncryption = {
350
350
  type: {
@@ -355,17 +355,17 @@ export const ClusterPropertiesEncryptionCustomerManagedKeyEncryption = {
355
355
  serializedName: "keyEncryptionKeyIdentity",
356
356
  type: {
357
357
  name: "Composite",
358
- className: "ClusterPropertiesEncryptionCustomerManagedKeyEncryptionKeyIdentity"
359
- }
358
+ className: "ClusterPropertiesEncryptionCustomerManagedKeyEncryptionKeyIdentity",
359
+ },
360
360
  },
361
361
  keyEncryptionKeyUrl: {
362
362
  serializedName: "keyEncryptionKeyUrl",
363
363
  type: {
364
- name: "String"
365
- }
366
- }
367
- }
368
- }
364
+ name: "String",
365
+ },
366
+ },
367
+ },
368
+ },
369
369
  };
370
370
  export const ClusterPropertiesEncryptionCustomerManagedKeyEncryptionKeyIdentity = {
371
371
  type: {
@@ -375,17 +375,17 @@ export const ClusterPropertiesEncryptionCustomerManagedKeyEncryptionKeyIdentity
375
375
  userAssignedIdentityResourceId: {
376
376
  serializedName: "userAssignedIdentityResourceId",
377
377
  type: {
378
- name: "String"
379
- }
378
+ name: "String",
379
+ },
380
380
  },
381
381
  identityType: {
382
382
  serializedName: "identityType",
383
383
  type: {
384
- name: "String"
385
- }
386
- }
387
- }
388
- }
384
+ name: "String",
385
+ },
386
+ },
387
+ },
388
+ },
389
389
  };
390
390
  export const PrivateEndpoint = {
391
391
  type: {
@@ -396,11 +396,11 @@ export const PrivateEndpoint = {
396
396
  serializedName: "id",
397
397
  readOnly: true,
398
398
  type: {
399
- name: "String"
400
- }
401
- }
402
- }
403
- }
399
+ name: "String",
400
+ },
401
+ },
402
+ },
403
+ },
404
404
  };
405
405
  export const PrivateLinkServiceConnectionState = {
406
406
  type: {
@@ -410,23 +410,23 @@ export const PrivateLinkServiceConnectionState = {
410
410
  status: {
411
411
  serializedName: "status",
412
412
  type: {
413
- name: "String"
414
- }
413
+ name: "String",
414
+ },
415
415
  },
416
416
  description: {
417
417
  serializedName: "description",
418
418
  type: {
419
- name: "String"
420
- }
419
+ name: "String",
420
+ },
421
421
  },
422
422
  actionsRequired: {
423
423
  serializedName: "actionsRequired",
424
424
  type: {
425
- name: "String"
426
- }
427
- }
428
- }
429
- }
425
+ name: "String",
426
+ },
427
+ },
428
+ },
429
+ },
430
430
  };
431
431
  export const Resource = {
432
432
  type: {
@@ -437,25 +437,25 @@ export const Resource = {
437
437
  serializedName: "id",
438
438
  readOnly: true,
439
439
  type: {
440
- name: "String"
441
- }
440
+ name: "String",
441
+ },
442
442
  },
443
443
  name: {
444
444
  serializedName: "name",
445
445
  readOnly: true,
446
446
  type: {
447
- name: "String"
448
- }
447
+ name: "String",
448
+ },
449
449
  },
450
450
  type: {
451
451
  serializedName: "type",
452
452
  readOnly: true,
453
453
  type: {
454
- name: "String"
455
- }
456
- }
457
- }
458
- }
454
+ name: "String",
455
+ },
456
+ },
457
+ },
458
+ },
459
459
  };
460
460
  export const ClusterUpdate = {
461
461
  type: {
@@ -466,63 +466,63 @@ export const ClusterUpdate = {
466
466
  serializedName: "sku",
467
467
  type: {
468
468
  name: "Composite",
469
- className: "Sku"
470
- }
469
+ className: "Sku",
470
+ },
471
471
  },
472
472
  identity: {
473
473
  serializedName: "identity",
474
474
  type: {
475
475
  name: "Composite",
476
- className: "ManagedServiceIdentity"
477
- }
476
+ className: "ManagedServiceIdentity",
477
+ },
478
478
  },
479
479
  tags: {
480
480
  serializedName: "tags",
481
481
  type: {
482
482
  name: "Dictionary",
483
- value: { type: { name: "String" } }
484
- }
483
+ value: { type: { name: "String" } },
484
+ },
485
485
  },
486
486
  minimumTlsVersion: {
487
487
  serializedName: "properties.minimumTlsVersion",
488
488
  type: {
489
- name: "String"
490
- }
489
+ name: "String",
490
+ },
491
491
  },
492
492
  encryption: {
493
493
  serializedName: "properties.encryption",
494
494
  type: {
495
495
  name: "Composite",
496
- className: "ClusterPropertiesEncryption"
497
- }
496
+ className: "ClusterPropertiesEncryption",
497
+ },
498
498
  },
499
499
  hostName: {
500
500
  serializedName: "properties.hostName",
501
501
  readOnly: true,
502
502
  type: {
503
- name: "String"
504
- }
503
+ name: "String",
504
+ },
505
505
  },
506
506
  provisioningState: {
507
507
  serializedName: "properties.provisioningState",
508
508
  readOnly: true,
509
509
  type: {
510
- name: "String"
511
- }
510
+ name: "String",
511
+ },
512
512
  },
513
513
  resourceState: {
514
514
  serializedName: "properties.resourceState",
515
515
  readOnly: true,
516
516
  type: {
517
- name: "String"
518
- }
517
+ name: "String",
518
+ },
519
519
  },
520
520
  redisVersion: {
521
521
  serializedName: "properties.redisVersion",
522
522
  readOnly: true,
523
523
  type: {
524
- name: "String"
525
- }
524
+ name: "String",
525
+ },
526
526
  },
527
527
  privateEndpointConnections: {
528
528
  serializedName: "properties.privateEndpointConnections",
@@ -532,13 +532,13 @@ export const ClusterUpdate = {
532
532
  element: {
533
533
  type: {
534
534
  name: "Composite",
535
- className: "PrivateEndpointConnection"
536
- }
537
- }
538
- }
539
- }
540
- }
541
- }
535
+ className: "PrivateEndpointConnection",
536
+ },
537
+ },
538
+ },
539
+ },
540
+ },
541
+ },
542
542
  };
543
543
  export const ClusterList = {
544
544
  type: {
@@ -552,20 +552,20 @@ export const ClusterList = {
552
552
  element: {
553
553
  type: {
554
554
  name: "Composite",
555
- className: "Cluster"
556
- }
557
- }
558
- }
555
+ className: "Cluster",
556
+ },
557
+ },
558
+ },
559
559
  },
560
560
  nextLink: {
561
561
  serializedName: "nextLink",
562
562
  readOnly: true,
563
563
  type: {
564
- name: "String"
565
- }
566
- }
567
- }
568
- }
564
+ name: "String",
565
+ },
566
+ },
567
+ },
568
+ },
569
569
  };
570
570
  export const DatabaseList = {
571
571
  type: {
@@ -579,20 +579,20 @@ export const DatabaseList = {
579
579
  element: {
580
580
  type: {
581
581
  name: "Composite",
582
- className: "Database"
583
- }
584
- }
585
- }
582
+ className: "Database",
583
+ },
584
+ },
585
+ },
586
586
  },
587
587
  nextLink: {
588
588
  serializedName: "nextLink",
589
589
  readOnly: true,
590
590
  type: {
591
- name: "String"
592
- }
593
- }
594
- }
595
- }
591
+ name: "String",
592
+ },
593
+ },
594
+ },
595
+ },
596
596
  };
597
597
  export const Persistence = {
598
598
  type: {
@@ -602,29 +602,29 @@ export const Persistence = {
602
602
  aofEnabled: {
603
603
  serializedName: "aofEnabled",
604
604
  type: {
605
- name: "Boolean"
606
- }
605
+ name: "Boolean",
606
+ },
607
607
  },
608
608
  rdbEnabled: {
609
609
  serializedName: "rdbEnabled",
610
610
  type: {
611
- name: "Boolean"
612
- }
611
+ name: "Boolean",
612
+ },
613
613
  },
614
614
  aofFrequency: {
615
615
  serializedName: "aofFrequency",
616
616
  type: {
617
- name: "String"
618
- }
617
+ name: "String",
618
+ },
619
619
  },
620
620
  rdbFrequency: {
621
621
  serializedName: "rdbFrequency",
622
622
  type: {
623
- name: "String"
624
- }
625
- }
626
- }
627
- }
623
+ name: "String",
624
+ },
625
+ },
626
+ },
627
+ },
628
628
  };
629
629
  export const Module = {
630
630
  type: {
@@ -635,24 +635,24 @@ export const Module = {
635
635
  serializedName: "name",
636
636
  required: true,
637
637
  type: {
638
- name: "String"
639
- }
638
+ name: "String",
639
+ },
640
640
  },
641
641
  args: {
642
642
  serializedName: "args",
643
643
  type: {
644
- name: "String"
645
- }
644
+ name: "String",
645
+ },
646
646
  },
647
647
  version: {
648
648
  serializedName: "version",
649
649
  readOnly: true,
650
650
  type: {
651
- name: "String"
652
- }
653
- }
654
- }
655
- }
651
+ name: "String",
652
+ },
653
+ },
654
+ },
655
+ },
656
656
  };
657
657
  export const DatabasePropertiesGeoReplication = {
658
658
  type: {
@@ -662,8 +662,8 @@ export const DatabasePropertiesGeoReplication = {
662
662
  groupNickname: {
663
663
  serializedName: "groupNickname",
664
664
  type: {
665
- name: "String"
666
- }
665
+ name: "String",
666
+ },
667
667
  },
668
668
  linkedDatabases: {
669
669
  serializedName: "linkedDatabases",
@@ -672,13 +672,13 @@ export const DatabasePropertiesGeoReplication = {
672
672
  element: {
673
673
  type: {
674
674
  name: "Composite",
675
- className: "LinkedDatabase"
676
- }
677
- }
678
- }
679
- }
680
- }
681
- }
675
+ className: "LinkedDatabase",
676
+ },
677
+ },
678
+ },
679
+ },
680
+ },
681
+ },
682
682
  };
683
683
  export const LinkedDatabase = {
684
684
  type: {
@@ -688,18 +688,18 @@ export const LinkedDatabase = {
688
688
  id: {
689
689
  serializedName: "id",
690
690
  type: {
691
- name: "String"
692
- }
691
+ name: "String",
692
+ },
693
693
  },
694
694
  state: {
695
695
  serializedName: "state",
696
696
  readOnly: true,
697
697
  type: {
698
- name: "String"
699
- }
700
- }
701
- }
702
- }
698
+ name: "String",
699
+ },
700
+ },
701
+ },
702
+ },
703
703
  };
704
704
  export const DatabaseUpdate = {
705
705
  type: {
@@ -709,47 +709,47 @@ export const DatabaseUpdate = {
709
709
  clientProtocol: {
710
710
  serializedName: "properties.clientProtocol",
711
711
  type: {
712
- name: "String"
713
- }
712
+ name: "String",
713
+ },
714
714
  },
715
715
  port: {
716
716
  serializedName: "properties.port",
717
717
  type: {
718
- name: "Number"
719
- }
718
+ name: "Number",
719
+ },
720
720
  },
721
721
  provisioningState: {
722
722
  serializedName: "properties.provisioningState",
723
723
  readOnly: true,
724
724
  type: {
725
- name: "String"
726
- }
725
+ name: "String",
726
+ },
727
727
  },
728
728
  resourceState: {
729
729
  serializedName: "properties.resourceState",
730
730
  readOnly: true,
731
731
  type: {
732
- name: "String"
733
- }
732
+ name: "String",
733
+ },
734
734
  },
735
735
  clusteringPolicy: {
736
736
  serializedName: "properties.clusteringPolicy",
737
737
  type: {
738
- name: "String"
739
- }
738
+ name: "String",
739
+ },
740
740
  },
741
741
  evictionPolicy: {
742
742
  serializedName: "properties.evictionPolicy",
743
743
  type: {
744
- name: "String"
745
- }
744
+ name: "String",
745
+ },
746
746
  },
747
747
  persistence: {
748
748
  serializedName: "properties.persistence",
749
749
  type: {
750
750
  name: "Composite",
751
- className: "Persistence"
752
- }
751
+ className: "Persistence",
752
+ },
753
753
  },
754
754
  modules: {
755
755
  serializedName: "properties.modules",
@@ -758,20 +758,33 @@ export const DatabaseUpdate = {
758
758
  element: {
759
759
  type: {
760
760
  name: "Composite",
761
- className: "Module"
762
- }
763
- }
764
- }
761
+ className: "Module",
762
+ },
763
+ },
764
+ },
765
765
  },
766
766
  geoReplication: {
767
767
  serializedName: "properties.geoReplication",
768
768
  type: {
769
769
  name: "Composite",
770
- className: "DatabasePropertiesGeoReplication"
771
- }
772
- }
773
- }
774
- }
770
+ className: "DatabasePropertiesGeoReplication",
771
+ },
772
+ },
773
+ redisVersion: {
774
+ serializedName: "properties.redisVersion",
775
+ readOnly: true,
776
+ type: {
777
+ name: "String",
778
+ },
779
+ },
780
+ deferUpgrade: {
781
+ serializedName: "properties.deferUpgrade",
782
+ type: {
783
+ name: "String",
784
+ },
785
+ },
786
+ },
787
+ },
775
788
  };
776
789
  export const AccessKeys = {
777
790
  type: {
@@ -782,18 +795,18 @@ export const AccessKeys = {
782
795
  serializedName: "primaryKey",
783
796
  readOnly: true,
784
797
  type: {
785
- name: "String"
786
- }
798
+ name: "String",
799
+ },
787
800
  },
788
801
  secondaryKey: {
789
802
  serializedName: "secondaryKey",
790
803
  readOnly: true,
791
804
  type: {
792
- name: "String"
793
- }
794
- }
795
- }
796
- }
805
+ name: "String",
806
+ },
807
+ },
808
+ },
809
+ },
797
810
  };
798
811
  export const RegenerateKeyParameters = {
799
812
  type: {
@@ -805,11 +818,11 @@ export const RegenerateKeyParameters = {
805
818
  required: true,
806
819
  type: {
807
820
  name: "Enum",
808
- allowedValues: ["Primary", "Secondary"]
809
- }
810
- }
811
- }
812
- }
821
+ allowedValues: ["Primary", "Secondary"],
822
+ },
823
+ },
824
+ },
825
+ },
813
826
  };
814
827
  export const ImportClusterParameters = {
815
828
  type: {
@@ -823,13 +836,13 @@ export const ImportClusterParameters = {
823
836
  name: "Sequence",
824
837
  element: {
825
838
  type: {
826
- name: "String"
827
- }
828
- }
829
- }
830
- }
831
- }
832
- }
839
+ name: "String",
840
+ },
841
+ },
842
+ },
843
+ },
844
+ },
845
+ },
833
846
  };
834
847
  export const ExportClusterParameters = {
835
848
  type: {
@@ -840,11 +853,11 @@ export const ExportClusterParameters = {
840
853
  serializedName: "sasUri",
841
854
  required: true,
842
855
  type: {
843
- name: "String"
844
- }
845
- }
846
- }
847
- }
856
+ name: "String",
857
+ },
858
+ },
859
+ },
860
+ },
848
861
  };
849
862
  export const PrivateEndpointConnectionListResult = {
850
863
  type: {
@@ -858,13 +871,13 @@ export const PrivateEndpointConnectionListResult = {
858
871
  element: {
859
872
  type: {
860
873
  name: "Composite",
861
- className: "PrivateEndpointConnection"
862
- }
863
- }
864
- }
865
- }
866
- }
867
- }
874
+ className: "PrivateEndpointConnection",
875
+ },
876
+ },
877
+ },
878
+ },
879
+ },
880
+ },
868
881
  };
869
882
  export const PrivateLinkResourceListResult = {
870
883
  type: {
@@ -878,13 +891,13 @@ export const PrivateLinkResourceListResult = {
878
891
  element: {
879
892
  type: {
880
893
  name: "Composite",
881
- className: "PrivateLinkResource"
882
- }
883
- }
884
- }
885
- }
886
- }
887
- }
894
+ className: "PrivateLinkResource",
895
+ },
896
+ },
897
+ },
898
+ },
899
+ },
900
+ },
888
901
  };
889
902
  export const ForceUnlinkParameters = {
890
903
  type: {
@@ -898,13 +911,41 @@ export const ForceUnlinkParameters = {
898
911
  name: "Sequence",
899
912
  element: {
900
913
  type: {
901
- name: "String"
902
- }
903
- }
904
- }
905
- }
906
- }
907
- }
914
+ name: "String",
915
+ },
916
+ },
917
+ },
918
+ },
919
+ },
920
+ },
921
+ };
922
+ export const ForceLinkParameters = {
923
+ type: {
924
+ name: "Composite",
925
+ className: "ForceLinkParameters",
926
+ modelProperties: {
927
+ groupNickname: {
928
+ serializedName: "groupNickname",
929
+ required: true,
930
+ type: {
931
+ name: "String",
932
+ },
933
+ },
934
+ linkedDatabases: {
935
+ serializedName: "linkedDatabases",
936
+ required: true,
937
+ type: {
938
+ name: "Sequence",
939
+ element: {
940
+ type: {
941
+ name: "Composite",
942
+ className: "LinkedDatabase",
943
+ },
944
+ },
945
+ },
946
+ },
947
+ },
948
+ },
908
949
  };
909
950
  export const FlushParameters = {
910
951
  type: {
@@ -917,13 +958,13 @@ export const FlushParameters = {
917
958
  name: "Sequence",
918
959
  element: {
919
960
  type: {
920
- name: "String"
921
- }
922
- }
923
- }
924
- }
925
- }
926
- }
961
+ name: "String",
962
+ },
963
+ },
964
+ },
965
+ },
966
+ },
967
+ },
927
968
  };
928
969
  export const PrivateEndpointConnection = {
929
970
  type: {
@@ -933,22 +974,22 @@ export const PrivateEndpointConnection = {
933
974
  serializedName: "properties.privateEndpoint",
934
975
  type: {
935
976
  name: "Composite",
936
- className: "PrivateEndpoint"
937
- }
977
+ className: "PrivateEndpoint",
978
+ },
938
979
  }, privateLinkServiceConnectionState: {
939
980
  serializedName: "properties.privateLinkServiceConnectionState",
940
981
  type: {
941
982
  name: "Composite",
942
- className: "PrivateLinkServiceConnectionState"
943
- }
983
+ className: "PrivateLinkServiceConnectionState",
984
+ },
944
985
  }, provisioningState: {
945
986
  serializedName: "properties.provisioningState",
946
987
  readOnly: true,
947
988
  type: {
948
- name: "String"
949
- }
950
- } })
951
- }
989
+ name: "String",
990
+ },
991
+ } }),
992
+ },
952
993
  };
953
994
  export const TrackedResource = {
954
995
  type: {
@@ -958,23 +999,23 @@ export const TrackedResource = {
958
999
  serializedName: "tags",
959
1000
  type: {
960
1001
  name: "Dictionary",
961
- value: { type: { name: "String" } }
962
- }
1002
+ value: { type: { name: "String" } },
1003
+ },
963
1004
  }, location: {
964
1005
  serializedName: "location",
965
1006
  required: true,
966
1007
  type: {
967
- name: "String"
968
- }
969
- } })
970
- }
1008
+ name: "String",
1009
+ },
1010
+ } }),
1011
+ },
971
1012
  };
972
1013
  export const ProxyResource = {
973
1014
  type: {
974
1015
  name: "Composite",
975
1016
  className: "ProxyResource",
976
- modelProperties: Object.assign({}, Resource.type.modelProperties)
977
- }
1017
+ modelProperties: Object.assign({}, Resource.type.modelProperties),
1018
+ },
978
1019
  };
979
1020
  export const PrivateLinkResource = {
980
1021
  type: {
@@ -984,8 +1025,8 @@ export const PrivateLinkResource = {
984
1025
  serializedName: "properties.groupId",
985
1026
  readOnly: true,
986
1027
  type: {
987
- name: "String"
988
- }
1028
+ name: "String",
1029
+ },
989
1030
  }, requiredMembers: {
990
1031
  serializedName: "properties.requiredMembers",
991
1032
  readOnly: true,
@@ -993,22 +1034,22 @@ export const PrivateLinkResource = {
993
1034
  name: "Sequence",
994
1035
  element: {
995
1036
  type: {
996
- name: "String"
997
- }
998
- }
999
- }
1037
+ name: "String",
1038
+ },
1039
+ },
1040
+ },
1000
1041
  }, requiredZoneNames: {
1001
1042
  serializedName: "properties.requiredZoneNames",
1002
1043
  type: {
1003
1044
  name: "Sequence",
1004
1045
  element: {
1005
1046
  type: {
1006
- name: "String"
1007
- }
1008
- }
1009
- }
1010
- } })
1011
- }
1047
+ name: "String",
1048
+ },
1049
+ },
1050
+ },
1051
+ } }),
1052
+ },
1012
1053
  };
1013
1054
  export const Cluster = {
1014
1055
  type: {
@@ -1018,59 +1059,59 @@ export const Cluster = {
1018
1059
  serializedName: "sku",
1019
1060
  type: {
1020
1061
  name: "Composite",
1021
- className: "Sku"
1022
- }
1062
+ className: "Sku",
1063
+ },
1023
1064
  }, zones: {
1024
1065
  serializedName: "zones",
1025
1066
  type: {
1026
1067
  name: "Sequence",
1027
1068
  element: {
1028
1069
  type: {
1029
- name: "String"
1030
- }
1031
- }
1032
- }
1070
+ name: "String",
1071
+ },
1072
+ },
1073
+ },
1033
1074
  }, identity: {
1034
1075
  serializedName: "identity",
1035
1076
  type: {
1036
1077
  name: "Composite",
1037
- className: "ManagedServiceIdentity"
1038
- }
1078
+ className: "ManagedServiceIdentity",
1079
+ },
1039
1080
  }, minimumTlsVersion: {
1040
1081
  serializedName: "properties.minimumTlsVersion",
1041
1082
  type: {
1042
- name: "String"
1043
- }
1083
+ name: "String",
1084
+ },
1044
1085
  }, encryption: {
1045
1086
  serializedName: "properties.encryption",
1046
1087
  type: {
1047
1088
  name: "Composite",
1048
- className: "ClusterPropertiesEncryption"
1049
- }
1089
+ className: "ClusterPropertiesEncryption",
1090
+ },
1050
1091
  }, hostName: {
1051
1092
  serializedName: "properties.hostName",
1052
1093
  readOnly: true,
1053
1094
  type: {
1054
- name: "String"
1055
- }
1095
+ name: "String",
1096
+ },
1056
1097
  }, provisioningState: {
1057
1098
  serializedName: "properties.provisioningState",
1058
1099
  readOnly: true,
1059
1100
  type: {
1060
- name: "String"
1061
- }
1101
+ name: "String",
1102
+ },
1062
1103
  }, resourceState: {
1063
1104
  serializedName: "properties.resourceState",
1064
1105
  readOnly: true,
1065
1106
  type: {
1066
- name: "String"
1067
- }
1107
+ name: "String",
1108
+ },
1068
1109
  }, redisVersion: {
1069
1110
  serializedName: "properties.redisVersion",
1070
1111
  readOnly: true,
1071
1112
  type: {
1072
- name: "String"
1073
- }
1113
+ name: "String",
1114
+ },
1074
1115
  }, privateEndpointConnections: {
1075
1116
  serializedName: "properties.privateEndpointConnections",
1076
1117
  readOnly: true,
@@ -1079,12 +1120,12 @@ export const Cluster = {
1079
1120
  element: {
1080
1121
  type: {
1081
1122
  name: "Composite",
1082
- className: "PrivateEndpointConnection"
1083
- }
1084
- }
1085
- }
1086
- } })
1087
- }
1123
+ className: "PrivateEndpointConnection",
1124
+ },
1125
+ },
1126
+ },
1127
+ } }),
1128
+ },
1088
1129
  };
1089
1130
  export const Database = {
1090
1131
  type: {
@@ -1093,41 +1134,41 @@ export const Database = {
1093
1134
  modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { clientProtocol: {
1094
1135
  serializedName: "properties.clientProtocol",
1095
1136
  type: {
1096
- name: "String"
1097
- }
1137
+ name: "String",
1138
+ },
1098
1139
  }, port: {
1099
1140
  serializedName: "properties.port",
1100
1141
  type: {
1101
- name: "Number"
1102
- }
1142
+ name: "Number",
1143
+ },
1103
1144
  }, provisioningState: {
1104
1145
  serializedName: "properties.provisioningState",
1105
1146
  readOnly: true,
1106
1147
  type: {
1107
- name: "String"
1108
- }
1148
+ name: "String",
1149
+ },
1109
1150
  }, resourceState: {
1110
1151
  serializedName: "properties.resourceState",
1111
1152
  readOnly: true,
1112
1153
  type: {
1113
- name: "String"
1114
- }
1154
+ name: "String",
1155
+ },
1115
1156
  }, clusteringPolicy: {
1116
1157
  serializedName: "properties.clusteringPolicy",
1117
1158
  type: {
1118
- name: "String"
1119
- }
1159
+ name: "String",
1160
+ },
1120
1161
  }, evictionPolicy: {
1121
1162
  serializedName: "properties.evictionPolicy",
1122
1163
  type: {
1123
- name: "String"
1124
- }
1164
+ name: "String",
1165
+ },
1125
1166
  }, persistence: {
1126
1167
  serializedName: "properties.persistence",
1127
1168
  type: {
1128
1169
  name: "Composite",
1129
- className: "Persistence"
1130
- }
1170
+ className: "Persistence",
1171
+ },
1131
1172
  }, modules: {
1132
1173
  serializedName: "properties.modules",
1133
1174
  type: {
@@ -1135,18 +1176,49 @@ export const Database = {
1135
1176
  element: {
1136
1177
  type: {
1137
1178
  name: "Composite",
1138
- className: "Module"
1139
- }
1140
- }
1141
- }
1179
+ className: "Module",
1180
+ },
1181
+ },
1182
+ },
1142
1183
  }, geoReplication: {
1143
1184
  serializedName: "properties.geoReplication",
1144
1185
  type: {
1145
1186
  name: "Composite",
1146
- className: "DatabasePropertiesGeoReplication"
1147
- }
1148
- } })
1149
- }
1187
+ className: "DatabasePropertiesGeoReplication",
1188
+ },
1189
+ }, redisVersion: {
1190
+ serializedName: "properties.redisVersion",
1191
+ readOnly: true,
1192
+ type: {
1193
+ name: "String",
1194
+ },
1195
+ }, deferUpgrade: {
1196
+ serializedName: "properties.deferUpgrade",
1197
+ type: {
1198
+ name: "String",
1199
+ },
1200
+ } }),
1201
+ },
1202
+ };
1203
+ export const DatabasesForceLinkToReplicationGroupHeaders = {
1204
+ type: {
1205
+ name: "Composite",
1206
+ className: "DatabasesForceLinkToReplicationGroupHeaders",
1207
+ modelProperties: {
1208
+ location: {
1209
+ serializedName: "location",
1210
+ type: {
1211
+ name: "String",
1212
+ },
1213
+ },
1214
+ azureAsyncOperation: {
1215
+ serializedName: "azure-asyncoperation",
1216
+ type: {
1217
+ name: "String",
1218
+ },
1219
+ },
1220
+ },
1221
+ },
1150
1222
  };
1151
1223
  export const DatabasesFlushHeaders = {
1152
1224
  type: {
@@ -1156,17 +1228,37 @@ export const DatabasesFlushHeaders = {
1156
1228
  location: {
1157
1229
  serializedName: "location",
1158
1230
  type: {
1159
- name: "String"
1160
- }
1231
+ name: "String",
1232
+ },
1233
+ },
1234
+ azureAsyncOperation: {
1235
+ serializedName: "azure-asyncoperation",
1236
+ type: {
1237
+ name: "String",
1238
+ },
1239
+ },
1240
+ },
1241
+ },
1242
+ };
1243
+ export const DatabasesUpgradeDBRedisVersionHeaders = {
1244
+ type: {
1245
+ name: "Composite",
1246
+ className: "DatabasesUpgradeDBRedisVersionHeaders",
1247
+ modelProperties: {
1248
+ location: {
1249
+ serializedName: "location",
1250
+ type: {
1251
+ name: "String",
1252
+ },
1161
1253
  },
1162
1254
  azureAsyncOperation: {
1163
1255
  serializedName: "azure-asyncoperation",
1164
1256
  type: {
1165
- name: "String"
1166
- }
1167
- }
1168
- }
1169
- }
1257
+ name: "String",
1258
+ },
1259
+ },
1260
+ },
1261
+ },
1170
1262
  };
1171
1263
  export const PrivateEndpointConnectionsDeleteHeaders = {
1172
1264
  type: {
@@ -1176,16 +1268,16 @@ export const PrivateEndpointConnectionsDeleteHeaders = {
1176
1268
  location: {
1177
1269
  serializedName: "location",
1178
1270
  type: {
1179
- name: "String"
1180
- }
1271
+ name: "String",
1272
+ },
1181
1273
  },
1182
1274
  azureAsyncOperation: {
1183
1275
  serializedName: "azure-asyncoperation",
1184
1276
  type: {
1185
- name: "String"
1186
- }
1187
- }
1188
- }
1189
- }
1277
+ name: "String",
1278
+ },
1279
+ },
1280
+ },
1281
+ },
1190
1282
  };
1191
1283
  //# sourceMappingURL=mappers.js.map