@azure/arm-rediscache 8.0.0 → 8.1.0

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 (144) hide show
  1. package/CHANGELOG.md +21 -10
  2. package/LICENSE +1 -1
  3. package/dist/index.js +1195 -1218
  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/accessPolicyAssignmentCreateUpdateSample.js +3 -3
  8. package/dist-esm/samples-dev/accessPolicyAssignmentCreateUpdateSample.js.map +1 -1
  9. package/dist-esm/samples-dev/accessPolicyAssignmentDeleteSample.js +1 -1
  10. package/dist-esm/samples-dev/accessPolicyAssignmentGetSample.js +1 -1
  11. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.js +5 -10
  12. package/dist-esm/samples-dev/accessPolicyAssignmentListSample.js.map +1 -1
  13. package/dist-esm/samples-dev/accessPolicyCreateUpdateSample.js +2 -2
  14. package/dist-esm/samples-dev/accessPolicyCreateUpdateSample.js.map +1 -1
  15. package/dist-esm/samples-dev/accessPolicyDeleteSample.js +1 -1
  16. package/dist-esm/samples-dev/accessPolicyGetSample.js +1 -1
  17. package/dist-esm/samples-dev/accessPolicyListSample.js +5 -10
  18. package/dist-esm/samples-dev/accessPolicyListSample.js.map +1 -1
  19. package/dist-esm/samples-dev/asyncOperationStatusGetSample.js +1 -1
  20. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js +3 -3
  21. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js.map +1 -1
  22. package/dist-esm/samples-dev/firewallRulesDeleteSample.js +1 -1
  23. package/dist-esm/samples-dev/firewallRulesGetSample.js +1 -1
  24. package/dist-esm/samples-dev/firewallRulesListSample.js +5 -10
  25. package/dist-esm/samples-dev/firewallRulesListSample.js.map +1 -1
  26. package/dist-esm/samples-dev/linkedServerCreateSample.js +3 -3
  27. package/dist-esm/samples-dev/linkedServerCreateSample.js.map +1 -1
  28. package/dist-esm/samples-dev/linkedServerDeleteSample.js +1 -1
  29. package/dist-esm/samples-dev/linkedServerGetSample.js +1 -1
  30. package/dist-esm/samples-dev/linkedServerListSample.js +5 -10
  31. package/dist-esm/samples-dev/linkedServerListSample.js.map +1 -1
  32. package/dist-esm/samples-dev/operationsListSample.js +5 -10
  33. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  34. package/dist-esm/samples-dev/patchSchedulesCreateOrUpdateSample.js +4 -4
  35. package/dist-esm/samples-dev/patchSchedulesCreateOrUpdateSample.js.map +1 -1
  36. package/dist-esm/samples-dev/patchSchedulesDeleteSample.js +1 -1
  37. package/dist-esm/samples-dev/patchSchedulesGetSample.js +1 -1
  38. package/dist-esm/samples-dev/patchSchedulesListByRedisResourceSample.js +5 -10
  39. package/dist-esm/samples-dev/patchSchedulesListByRedisResourceSample.js.map +1 -1
  40. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  41. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  42. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +5 -10
  43. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
  44. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +4 -4
  45. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +1 -1
  46. package/dist-esm/samples-dev/privateLinkResourcesListByRedisCacheSample.js +5 -10
  47. package/dist-esm/samples-dev/privateLinkResourcesListByRedisCacheSample.js.map +1 -1
  48. package/dist-esm/samples-dev/redisCheckNameAvailabilitySample.js +3 -3
  49. package/dist-esm/samples-dev/redisCheckNameAvailabilitySample.js.map +1 -1
  50. package/dist-esm/samples-dev/redisCreateSample.js +7 -7
  51. package/dist-esm/samples-dev/redisCreateSample.js.map +1 -1
  52. package/dist-esm/samples-dev/redisDeleteSample.js +1 -1
  53. package/dist-esm/samples-dev/redisExportDataSample.js +3 -3
  54. package/dist-esm/samples-dev/redisExportDataSample.js.map +1 -1
  55. package/dist-esm/samples-dev/redisFlushCacheSample.js +1 -1
  56. package/dist-esm/samples-dev/redisForceRebootSample.js +3 -3
  57. package/dist-esm/samples-dev/redisForceRebootSample.js.map +1 -1
  58. package/dist-esm/samples-dev/redisGetSample.js +1 -1
  59. package/dist-esm/samples-dev/redisImportDataSample.js +3 -3
  60. package/dist-esm/samples-dev/redisImportDataSample.js.map +1 -1
  61. package/dist-esm/samples-dev/redisListByResourceGroupSample.js +5 -10
  62. package/dist-esm/samples-dev/redisListByResourceGroupSample.js.map +1 -1
  63. package/dist-esm/samples-dev/redisListBySubscriptionSample.js +5 -10
  64. package/dist-esm/samples-dev/redisListBySubscriptionSample.js.map +1 -1
  65. package/dist-esm/samples-dev/redisListKeysSample.js +1 -1
  66. package/dist-esm/samples-dev/redisListUpgradeNotificationsSample.js +5 -10
  67. package/dist-esm/samples-dev/redisListUpgradeNotificationsSample.js.map +1 -1
  68. package/dist-esm/samples-dev/redisRegenerateKeySample.js +2 -2
  69. package/dist-esm/samples-dev/redisRegenerateKeySample.js.map +1 -1
  70. package/dist-esm/samples-dev/redisUpdateSample.js +3 -3
  71. package/dist-esm/samples-dev/redisUpdateSample.js.map +1 -1
  72. package/dist-esm/src/lroImpl.js +1 -1
  73. package/dist-esm/src/models/index.d.ts +15 -5
  74. package/dist-esm/src/models/index.d.ts.map +1 -1
  75. package/dist-esm/src/models/index.js.map +1 -1
  76. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  77. package/dist-esm/src/models/mappers.js +700 -667
  78. package/dist-esm/src/models/mappers.js.map +1 -1
  79. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  80. package/dist-esm/src/models/parameters.js +75 -75
  81. package/dist-esm/src/models/parameters.js.map +1 -1
  82. package/dist-esm/src/operations/accessPolicy.d.ts.map +1 -1
  83. package/dist-esm/src/operations/accessPolicy.js +41 -46
  84. package/dist-esm/src/operations/accessPolicy.js.map +1 -1
  85. package/dist-esm/src/operations/accessPolicyAssignment.d.ts.map +1 -1
  86. package/dist-esm/src/operations/accessPolicyAssignment.js +42 -47
  87. package/dist-esm/src/operations/accessPolicyAssignment.js.map +1 -1
  88. package/dist-esm/src/operations/asyncOperationStatus.js +5 -5
  89. package/dist-esm/src/operations/asyncOperationStatus.js.map +1 -1
  90. package/dist-esm/src/operations/firewallRules.js +29 -34
  91. package/dist-esm/src/operations/firewallRules.js.map +1 -1
  92. package/dist-esm/src/operations/linkedServer.d.ts.map +1 -1
  93. package/dist-esm/src/operations/linkedServer.js +40 -45
  94. package/dist-esm/src/operations/linkedServer.js.map +1 -1
  95. package/dist-esm/src/operations/operations.js +12 -17
  96. package/dist-esm/src/operations/operations.js.map +1 -1
  97. package/dist-esm/src/operations/patchSchedules.js +29 -34
  98. package/dist-esm/src/operations/patchSchedules.js.map +1 -1
  99. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  100. package/dist-esm/src/operations/privateEndpointConnections.js +32 -37
  101. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  102. package/dist-esm/src/operations/privateLinkResources.js +9 -14
  103. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  104. package/dist-esm/src/operations/redis.d.ts.map +1 -1
  105. package/dist-esm/src/operations/redis.js +125 -140
  106. package/dist-esm/src/operations/redis.js.map +1 -1
  107. package/dist-esm/src/pagingHelper.js.map +1 -1
  108. package/dist-esm/src/redisManagementClient.d.ts.map +1 -1
  109. package/dist-esm/src/redisManagementClient.js +9 -9
  110. package/dist-esm/src/redisManagementClient.js.map +1 -1
  111. package/dist-esm/test/redis_examples.d.ts.map +1 -1
  112. package/dist-esm/test/redis_examples.js +47 -51
  113. package/dist-esm/test/redis_examples.js.map +1 -1
  114. package/package.json +19 -25
  115. package/review/arm-rediscache.api.md +5 -0
  116. package/src/lroImpl.ts +3 -3
  117. package/src/models/index.ts +47 -28
  118. package/src/models/mappers.ts +819 -783
  119. package/src/models/parameters.ts +79 -77
  120. package/src/operations/accessPolicy.ts +75 -81
  121. package/src/operations/accessPolicyAssignment.ts +76 -82
  122. package/src/operations/asyncOperationStatus.ts +9 -10
  123. package/src/operations/firewallRules.ts +47 -51
  124. package/src/operations/linkedServer.ts +73 -79
  125. package/src/operations/operations.ts +16 -16
  126. package/src/operations/patchSchedules.ts +49 -53
  127. package/src/operations/privateEndpointConnections.ts +57 -61
  128. package/src/operations/privateLinkResources.ts +17 -18
  129. package/src/operations/redis.ts +228 -247
  130. package/src/operationsInterfaces/accessPolicy.ts +7 -7
  131. package/src/operationsInterfaces/accessPolicyAssignment.ts +7 -7
  132. package/src/operationsInterfaces/asyncOperationStatus.ts +2 -2
  133. package/src/operationsInterfaces/firewallRules.ts +5 -5
  134. package/src/operationsInterfaces/linkedServer.ts +7 -7
  135. package/src/operationsInterfaces/operations.ts +1 -1
  136. package/src/operationsInterfaces/patchSchedules.ts +5 -5
  137. package/src/operationsInterfaces/privateEndpointConnections.ts +6 -6
  138. package/src/operationsInterfaces/privateLinkResources.ts +2 -2
  139. package/src/operationsInterfaces/redis.ts +21 -21
  140. package/src/pagingHelper.ts +1 -1
  141. package/src/redisManagementClient.ts +18 -17
  142. package/types/arm-rediscache.d.ts +15 -5
  143. package/types/tsdoc-metadata.json +1 -1
  144. package/rollup.config.js +0 -122
@@ -20,20 +20,20 @@ export const OperationListResult: coreClient.CompositeMapper = {
20
20
  element: {
21
21
  type: {
22
22
  name: "Composite",
23
- className: "Operation"
24
- }
25
- }
26
- }
23
+ className: "Operation",
24
+ },
25
+ },
26
+ },
27
27
  },
28
28
  nextLink: {
29
29
  serializedName: "nextLink",
30
30
  readOnly: true,
31
31
  type: {
32
- name: "String"
33
- }
34
- }
35
- }
36
- }
32
+ name: "String",
33
+ },
34
+ },
35
+ },
36
+ },
37
37
  };
38
38
 
39
39
  export const Operation: coreClient.CompositeMapper = {
@@ -44,18 +44,18 @@ export const Operation: coreClient.CompositeMapper = {
44
44
  name: {
45
45
  serializedName: "name",
46
46
  type: {
47
- name: "String"
48
- }
47
+ name: "String",
48
+ },
49
49
  },
50
50
  display: {
51
51
  serializedName: "display",
52
52
  type: {
53
53
  name: "Composite",
54
- className: "OperationDisplay"
55
- }
56
- }
57
- }
58
- }
54
+ className: "OperationDisplay",
55
+ },
56
+ },
57
+ },
58
+ },
59
59
  };
60
60
 
61
61
  export const OperationDisplay: coreClient.CompositeMapper = {
@@ -66,29 +66,29 @@ export const OperationDisplay: coreClient.CompositeMapper = {
66
66
  provider: {
67
67
  serializedName: "provider",
68
68
  type: {
69
- name: "String"
70
- }
69
+ name: "String",
70
+ },
71
71
  },
72
72
  operation: {
73
73
  serializedName: "operation",
74
74
  type: {
75
- name: "String"
76
- }
75
+ name: "String",
76
+ },
77
77
  },
78
78
  resource: {
79
79
  serializedName: "resource",
80
80
  type: {
81
- name: "String"
82
- }
81
+ name: "String",
82
+ },
83
83
  },
84
84
  description: {
85
85
  serializedName: "description",
86
86
  type: {
87
- name: "String"
88
- }
89
- }
90
- }
91
- }
87
+ name: "String",
88
+ },
89
+ },
90
+ },
91
+ },
92
92
  };
93
93
 
94
94
  export const ErrorResponse: coreClient.CompositeMapper = {
@@ -100,11 +100,11 @@ export const ErrorResponse: coreClient.CompositeMapper = {
100
100
  serializedName: "error",
101
101
  type: {
102
102
  name: "Composite",
103
- className: "ErrorDetail"
104
- }
105
- }
106
- }
107
- }
103
+ className: "ErrorDetail",
104
+ },
105
+ },
106
+ },
107
+ },
108
108
  };
109
109
 
110
110
  export const ErrorDetail: coreClient.CompositeMapper = {
@@ -116,22 +116,22 @@ export const ErrorDetail: coreClient.CompositeMapper = {
116
116
  serializedName: "code",
117
117
  readOnly: true,
118
118
  type: {
119
- name: "String"
120
- }
119
+ name: "String",
120
+ },
121
121
  },
122
122
  message: {
123
123
  serializedName: "message",
124
124
  readOnly: true,
125
125
  type: {
126
- name: "String"
127
- }
126
+ name: "String",
127
+ },
128
128
  },
129
129
  target: {
130
130
  serializedName: "target",
131
131
  readOnly: true,
132
132
  type: {
133
- name: "String"
134
- }
133
+ name: "String",
134
+ },
135
135
  },
136
136
  details: {
137
137
  serializedName: "details",
@@ -141,10 +141,10 @@ export const ErrorDetail: coreClient.CompositeMapper = {
141
141
  element: {
142
142
  type: {
143
143
  name: "Composite",
144
- className: "ErrorDetail"
145
- }
146
- }
147
- }
144
+ className: "ErrorDetail",
145
+ },
146
+ },
147
+ },
148
148
  },
149
149
  additionalInfo: {
150
150
  serializedName: "additionalInfo",
@@ -154,13 +154,13 @@ export const ErrorDetail: coreClient.CompositeMapper = {
154
154
  element: {
155
155
  type: {
156
156
  name: "Composite",
157
- className: "ErrorAdditionalInfo"
158
- }
159
- }
160
- }
161
- }
162
- }
163
- }
157
+ className: "ErrorAdditionalInfo",
158
+ },
159
+ },
160
+ },
161
+ },
162
+ },
163
+ },
164
164
  };
165
165
 
166
166
  export const ErrorAdditionalInfo: coreClient.CompositeMapper = {
@@ -172,19 +172,19 @@ export const ErrorAdditionalInfo: coreClient.CompositeMapper = {
172
172
  serializedName: "type",
173
173
  readOnly: true,
174
174
  type: {
175
- name: "String"
176
- }
175
+ name: "String",
176
+ },
177
177
  },
178
178
  info: {
179
179
  serializedName: "info",
180
180
  readOnly: true,
181
181
  type: {
182
182
  name: "Dictionary",
183
- value: { type: { name: "any" } }
184
- }
185
- }
186
- }
187
- }
183
+ value: { type: { name: "any" } },
184
+ },
185
+ },
186
+ },
187
+ },
188
188
  };
189
189
 
190
190
  export const CheckNameAvailabilityParameters: coreClient.CompositeMapper = {
@@ -196,18 +196,18 @@ export const CheckNameAvailabilityParameters: coreClient.CompositeMapper = {
196
196
  serializedName: "name",
197
197
  required: true,
198
198
  type: {
199
- name: "String"
200
- }
199
+ name: "String",
200
+ },
201
201
  },
202
202
  type: {
203
203
  serializedName: "type",
204
204
  required: true,
205
205
  type: {
206
- name: "String"
207
- }
208
- }
209
- }
210
- }
206
+ name: "String",
207
+ },
208
+ },
209
+ },
210
+ },
211
211
  };
212
212
 
213
213
  export const NotificationListResponse: coreClient.CompositeMapper = {
@@ -222,20 +222,20 @@ export const NotificationListResponse: coreClient.CompositeMapper = {
222
222
  element: {
223
223
  type: {
224
224
  name: "Composite",
225
- className: "UpgradeNotification"
226
- }
227
- }
228
- }
225
+ className: "UpgradeNotification",
226
+ },
227
+ },
228
+ },
229
229
  },
230
230
  nextLink: {
231
231
  serializedName: "nextLink",
232
232
  readOnly: true,
233
233
  type: {
234
- name: "String"
235
- }
236
- }
237
- }
238
- }
234
+ name: "String",
235
+ },
236
+ },
237
+ },
238
+ },
239
239
  };
240
240
 
241
241
  export const UpgradeNotification: coreClient.CompositeMapper = {
@@ -247,26 +247,26 @@ export const UpgradeNotification: coreClient.CompositeMapper = {
247
247
  serializedName: "name",
248
248
  readOnly: true,
249
249
  type: {
250
- name: "String"
251
- }
250
+ name: "String",
251
+ },
252
252
  },
253
253
  timestamp: {
254
254
  serializedName: "timestamp",
255
255
  readOnly: true,
256
256
  type: {
257
- name: "DateTime"
258
- }
257
+ name: "DateTime",
258
+ },
259
259
  },
260
260
  upsellNotification: {
261
261
  serializedName: "upsellNotification",
262
262
  readOnly: true,
263
263
  type: {
264
264
  name: "Dictionary",
265
- value: { type: { name: "String" } }
266
- }
267
- }
268
- }
269
- }
265
+ value: { type: { name: "String" } },
266
+ },
267
+ },
268
+ },
269
+ },
270
270
  };
271
271
 
272
272
  export const RedisCreateParameters: coreClient.CompositeMapper = {
@@ -280,125 +280,132 @@ export const RedisCreateParameters: coreClient.CompositeMapper = {
280
280
  name: "Sequence",
281
281
  element: {
282
282
  type: {
283
- name: "String"
284
- }
285
- }
286
- }
283
+ name: "String",
284
+ },
285
+ },
286
+ },
287
287
  },
288
288
  location: {
289
289
  serializedName: "location",
290
290
  required: true,
291
291
  type: {
292
- name: "String"
293
- }
292
+ name: "String",
293
+ },
294
294
  },
295
295
  tags: {
296
296
  serializedName: "tags",
297
297
  type: {
298
298
  name: "Dictionary",
299
- value: { type: { name: "String" } }
300
- }
299
+ value: { type: { name: "String" } },
300
+ },
301
301
  },
302
302
  identity: {
303
303
  serializedName: "identity",
304
304
  type: {
305
305
  name: "Composite",
306
- className: "ManagedServiceIdentity"
307
- }
306
+ className: "ManagedServiceIdentity",
307
+ },
308
308
  },
309
309
  redisConfiguration: {
310
310
  serializedName: "properties.redisConfiguration",
311
311
  type: {
312
312
  name: "Composite",
313
- className: "RedisCommonPropertiesRedisConfiguration"
314
- }
313
+ className: "RedisCommonPropertiesRedisConfiguration",
314
+ },
315
315
  },
316
316
  redisVersion: {
317
317
  serializedName: "properties.redisVersion",
318
318
  type: {
319
- name: "String"
320
- }
319
+ name: "String",
320
+ },
321
321
  },
322
322
  enableNonSslPort: {
323
323
  defaultValue: false,
324
324
  serializedName: "properties.enableNonSslPort",
325
325
  type: {
326
- name: "Boolean"
327
- }
326
+ name: "Boolean",
327
+ },
328
328
  },
329
329
  replicasPerMaster: {
330
330
  serializedName: "properties.replicasPerMaster",
331
331
  type: {
332
- name: "Number"
333
- }
332
+ name: "Number",
333
+ },
334
334
  },
335
335
  replicasPerPrimary: {
336
336
  serializedName: "properties.replicasPerPrimary",
337
337
  type: {
338
- name: "Number"
339
- }
338
+ name: "Number",
339
+ },
340
340
  },
341
341
  tenantSettings: {
342
342
  serializedName: "properties.tenantSettings",
343
343
  type: {
344
344
  name: "Dictionary",
345
- value: { type: { name: "String" } }
346
- }
345
+ value: { type: { name: "String" } },
346
+ },
347
347
  },
348
348
  shardCount: {
349
349
  serializedName: "properties.shardCount",
350
350
  type: {
351
- name: "Number"
352
- }
351
+ name: "Number",
352
+ },
353
353
  },
354
354
  minimumTlsVersion: {
355
355
  serializedName: "properties.minimumTlsVersion",
356
356
  type: {
357
- name: "String"
358
- }
357
+ name: "String",
358
+ },
359
359
  },
360
360
  publicNetworkAccess: {
361
361
  defaultValue: "Enabled",
362
362
  serializedName: "properties.publicNetworkAccess",
363
363
  type: {
364
- name: "String"
365
- }
364
+ name: "String",
365
+ },
366
366
  },
367
367
  updateChannel: {
368
368
  serializedName: "properties.updateChannel",
369
369
  type: {
370
- name: "String"
371
- }
370
+ name: "String",
371
+ },
372
+ },
373
+ disableAccessKeyAuthentication: {
374
+ defaultValue: false,
375
+ serializedName: "properties.disableAccessKeyAuthentication",
376
+ type: {
377
+ name: "Boolean",
378
+ },
372
379
  },
373
380
  sku: {
374
381
  serializedName: "properties.sku",
375
382
  type: {
376
383
  name: "Composite",
377
- className: "Sku"
378
- }
384
+ className: "Sku",
385
+ },
379
386
  },
380
387
  subnetId: {
381
388
  constraints: {
382
389
  Pattern: new RegExp(
383
- "^\\/subscriptions\\/[^/]*\\/resourceGroups\\/[^/]*\\/providers\\/Microsoft.(ClassicNetwork|Network)\\/virtualNetworks\\/[^/]*\\/subnets\\/[^/]*$"
384
- )
390
+ "^\\/subscriptions\\/[^/]*\\/resourceGroups\\/[^/]*\\/providers\\/Microsoft.(ClassicNetwork|Network)\\/virtualNetworks\\/[^/]*\\/subnets\\/[^/]*$",
391
+ ),
385
392
  },
386
393
  serializedName: "properties.subnetId",
387
394
  type: {
388
- name: "String"
389
- }
395
+ name: "String",
396
+ },
390
397
  },
391
398
  staticIP: {
392
399
  constraints: {
393
- Pattern: new RegExp("^\\d+\\.\\d+\\.\\d+\\.\\d+$")
400
+ Pattern: new RegExp("^\\d+\\.\\d+\\.\\d+\\.\\d+$"),
394
401
  },
395
402
  serializedName: "properties.staticIP",
396
403
  type: {
397
- name: "String"
398
- }
399
- }
400
- }
401
- }
404
+ name: "String",
405
+ },
406
+ },
407
+ },
408
+ },
402
409
  };
403
410
 
404
411
  export const Sku: coreClient.CompositeMapper = {
@@ -410,25 +417,25 @@ export const Sku: coreClient.CompositeMapper = {
410
417
  serializedName: "name",
411
418
  required: true,
412
419
  type: {
413
- name: "String"
414
- }
420
+ name: "String",
421
+ },
415
422
  },
416
423
  family: {
417
424
  serializedName: "family",
418
425
  required: true,
419
426
  type: {
420
- name: "String"
421
- }
427
+ name: "String",
428
+ },
422
429
  },
423
430
  capacity: {
424
431
  serializedName: "capacity",
425
432
  required: true,
426
433
  type: {
427
- name: "Number"
428
- }
429
- }
430
- }
431
- }
434
+ name: "Number",
435
+ },
436
+ },
437
+ },
438
+ },
432
439
  };
433
440
 
434
441
  export const RedisCommonProperties: coreClient.CompositeMapper = {
@@ -440,191 +447,205 @@ export const RedisCommonProperties: coreClient.CompositeMapper = {
440
447
  serializedName: "redisConfiguration",
441
448
  type: {
442
449
  name: "Composite",
443
- className: "RedisCommonPropertiesRedisConfiguration"
444
- }
450
+ className: "RedisCommonPropertiesRedisConfiguration",
451
+ },
445
452
  },
446
453
  redisVersion: {
447
454
  serializedName: "redisVersion",
448
455
  type: {
449
- name: "String"
450
- }
456
+ name: "String",
457
+ },
451
458
  },
452
459
  enableNonSslPort: {
453
460
  defaultValue: false,
454
461
  serializedName: "enableNonSslPort",
455
462
  type: {
456
- name: "Boolean"
457
- }
463
+ name: "Boolean",
464
+ },
458
465
  },
459
466
  replicasPerMaster: {
460
467
  serializedName: "replicasPerMaster",
461
468
  type: {
462
- name: "Number"
463
- }
469
+ name: "Number",
470
+ },
464
471
  },
465
472
  replicasPerPrimary: {
466
473
  serializedName: "replicasPerPrimary",
467
474
  type: {
468
- name: "Number"
469
- }
475
+ name: "Number",
476
+ },
470
477
  },
471
478
  tenantSettings: {
472
479
  serializedName: "tenantSettings",
473
480
  type: {
474
481
  name: "Dictionary",
475
- value: { type: { name: "String" } }
476
- }
482
+ value: { type: { name: "String" } },
483
+ },
477
484
  },
478
485
  shardCount: {
479
486
  serializedName: "shardCount",
480
487
  type: {
481
- name: "Number"
482
- }
488
+ name: "Number",
489
+ },
483
490
  },
484
491
  minimumTlsVersion: {
485
492
  serializedName: "minimumTlsVersion",
486
493
  type: {
487
- name: "String"
488
- }
494
+ name: "String",
495
+ },
489
496
  },
490
497
  publicNetworkAccess: {
491
498
  defaultValue: "Enabled",
492
499
  serializedName: "publicNetworkAccess",
493
500
  type: {
494
- name: "String"
495
- }
501
+ name: "String",
502
+ },
496
503
  },
497
504
  updateChannel: {
498
505
  serializedName: "updateChannel",
499
506
  type: {
500
- name: "String"
501
- }
502
- }
503
- }
504
- }
505
- };
506
-
507
- export const RedisCommonPropertiesRedisConfiguration: coreClient.CompositeMapper = {
508
- type: {
509
- name: "Composite",
510
- className: "RedisCommonPropertiesRedisConfiguration",
511
- additionalProperties: { type: { name: "Object" } },
512
- modelProperties: {
513
- rdbBackupEnabled: {
514
- serializedName: "rdb-backup-enabled",
515
- type: {
516
- name: "String"
517
- }
518
- },
519
- rdbBackupFrequency: {
520
- serializedName: "rdb-backup-frequency",
521
- type: {
522
- name: "String"
523
- }
524
- },
525
- rdbBackupMaxSnapshotCount: {
526
- serializedName: "rdb-backup-max-snapshot-count",
527
- type: {
528
- name: "String"
529
- }
530
- },
531
- rdbStorageConnectionString: {
532
- serializedName: "rdb-storage-connection-string",
533
- type: {
534
- name: "String"
535
- }
536
- },
537
- aofBackupEnabled: {
538
- serializedName: "aof-backup-enabled",
539
- type: {
540
- name: "String"
541
- }
542
- },
543
- aofStorageConnectionString0: {
544
- serializedName: "aof-storage-connection-string-0",
545
- type: {
546
- name: "String"
547
- }
548
- },
549
- aofStorageConnectionString1: {
550
- serializedName: "aof-storage-connection-string-1",
551
- type: {
552
- name: "String"
553
- }
554
- },
555
- maxfragmentationmemoryReserved: {
556
- serializedName: "maxfragmentationmemory-reserved",
557
- type: {
558
- name: "String"
559
- }
560
- },
561
- maxmemoryPolicy: {
562
- serializedName: "maxmemory-policy",
563
- type: {
564
- name: "String"
565
- }
566
- },
567
- maxmemoryReserved: {
568
- serializedName: "maxmemory-reserved",
569
- type: {
570
- name: "String"
571
- }
572
- },
573
- maxmemoryDelta: {
574
- serializedName: "maxmemory-delta",
575
- type: {
576
- name: "String"
577
- }
578
- },
579
- maxclients: {
580
- serializedName: "maxclients",
581
- readOnly: true,
582
- type: {
583
- name: "String"
584
- }
585
- },
586
- preferredDataArchiveAuthMethod: {
587
- serializedName: "preferred-data-archive-auth-method",
588
- readOnly: true,
589
- type: {
590
- name: "String"
591
- }
592
- },
593
- preferredDataPersistenceAuthMethod: {
594
- serializedName: "preferred-data-persistence-auth-method",
595
- type: {
596
- name: "String"
597
- }
598
- },
599
- zonalConfiguration: {
600
- serializedName: "zonal-configuration",
601
- readOnly: true,
602
- type: {
603
- name: "String"
604
- }
605
- },
606
- authnotrequired: {
607
- serializedName: "authnotrequired",
608
- type: {
609
- name: "String"
610
- }
507
+ name: "String",
508
+ },
611
509
  },
612
- storageSubscriptionId: {
613
- serializedName: "storage-subscription-id",
510
+ disableAccessKeyAuthentication: {
511
+ defaultValue: false,
512
+ serializedName: "disableAccessKeyAuthentication",
614
513
  type: {
615
- name: "String"
616
- }
514
+ name: "Boolean",
515
+ },
617
516
  },
618
- aadEnabled: {
619
- serializedName: "aad-enabled",
620
- type: {
621
- name: "String"
622
- }
623
- }
624
- }
625
- }
517
+ },
518
+ },
626
519
  };
627
520
 
521
+ export const RedisCommonPropertiesRedisConfiguration: coreClient.CompositeMapper =
522
+ {
523
+ type: {
524
+ name: "Composite",
525
+ className: "RedisCommonPropertiesRedisConfiguration",
526
+ additionalProperties: { type: { name: "Object" } },
527
+ modelProperties: {
528
+ rdbBackupEnabled: {
529
+ serializedName: "rdb-backup-enabled",
530
+ type: {
531
+ name: "String",
532
+ },
533
+ },
534
+ rdbBackupFrequency: {
535
+ serializedName: "rdb-backup-frequency",
536
+ type: {
537
+ name: "String",
538
+ },
539
+ },
540
+ rdbBackupMaxSnapshotCount: {
541
+ serializedName: "rdb-backup-max-snapshot-count",
542
+ type: {
543
+ name: "String",
544
+ },
545
+ },
546
+ rdbStorageConnectionString: {
547
+ serializedName: "rdb-storage-connection-string",
548
+ type: {
549
+ name: "String",
550
+ },
551
+ },
552
+ aofBackupEnabled: {
553
+ serializedName: "aof-backup-enabled",
554
+ type: {
555
+ name: "String",
556
+ },
557
+ },
558
+ aofStorageConnectionString0: {
559
+ serializedName: "aof-storage-connection-string-0",
560
+ type: {
561
+ name: "String",
562
+ },
563
+ },
564
+ aofStorageConnectionString1: {
565
+ serializedName: "aof-storage-connection-string-1",
566
+ type: {
567
+ name: "String",
568
+ },
569
+ },
570
+ maxfragmentationmemoryReserved: {
571
+ serializedName: "maxfragmentationmemory-reserved",
572
+ type: {
573
+ name: "String",
574
+ },
575
+ },
576
+ maxmemoryPolicy: {
577
+ serializedName: "maxmemory-policy",
578
+ type: {
579
+ name: "String",
580
+ },
581
+ },
582
+ maxmemoryReserved: {
583
+ serializedName: "maxmemory-reserved",
584
+ type: {
585
+ name: "String",
586
+ },
587
+ },
588
+ maxmemoryDelta: {
589
+ serializedName: "maxmemory-delta",
590
+ type: {
591
+ name: "String",
592
+ },
593
+ },
594
+ maxclients: {
595
+ serializedName: "maxclients",
596
+ readOnly: true,
597
+ type: {
598
+ name: "String",
599
+ },
600
+ },
601
+ notifyKeyspaceEvents: {
602
+ serializedName: "notify-keyspace-events",
603
+ type: {
604
+ name: "String",
605
+ },
606
+ },
607
+ preferredDataArchiveAuthMethod: {
608
+ serializedName: "preferred-data-archive-auth-method",
609
+ readOnly: true,
610
+ type: {
611
+ name: "String",
612
+ },
613
+ },
614
+ preferredDataPersistenceAuthMethod: {
615
+ serializedName: "preferred-data-persistence-auth-method",
616
+ type: {
617
+ name: "String",
618
+ },
619
+ },
620
+ zonalConfiguration: {
621
+ serializedName: "zonal-configuration",
622
+ readOnly: true,
623
+ type: {
624
+ name: "String",
625
+ },
626
+ },
627
+ authnotrequired: {
628
+ serializedName: "authnotrequired",
629
+ type: {
630
+ name: "String",
631
+ },
632
+ },
633
+ storageSubscriptionId: {
634
+ serializedName: "storage-subscription-id",
635
+ type: {
636
+ name: "String",
637
+ },
638
+ },
639
+ aadEnabled: {
640
+ serializedName: "aad-enabled",
641
+ type: {
642
+ name: "String",
643
+ },
644
+ },
645
+ },
646
+ },
647
+ };
648
+
628
649
  export const ManagedServiceIdentity: coreClient.CompositeMapper = {
629
650
  type: {
630
651
  name: "Composite",
@@ -634,34 +655,34 @@ export const ManagedServiceIdentity: coreClient.CompositeMapper = {
634
655
  serializedName: "principalId",
635
656
  readOnly: true,
636
657
  type: {
637
- name: "Uuid"
638
- }
658
+ name: "Uuid",
659
+ },
639
660
  },
640
661
  tenantId: {
641
662
  serializedName: "tenantId",
642
663
  readOnly: true,
643
664
  type: {
644
- name: "Uuid"
645
- }
665
+ name: "Uuid",
666
+ },
646
667
  },
647
668
  type: {
648
669
  serializedName: "type",
649
670
  required: true,
650
671
  type: {
651
- name: "String"
652
- }
672
+ name: "String",
673
+ },
653
674
  },
654
675
  userAssignedIdentities: {
655
676
  serializedName: "userAssignedIdentities",
656
677
  type: {
657
678
  name: "Dictionary",
658
679
  value: {
659
- type: { name: "Composite", className: "UserAssignedIdentity" }
660
- }
661
- }
662
- }
663
- }
664
- }
680
+ type: { name: "Composite", className: "UserAssignedIdentity" },
681
+ },
682
+ },
683
+ },
684
+ },
685
+ },
665
686
  };
666
687
 
667
688
  export const UserAssignedIdentity: coreClient.CompositeMapper = {
@@ -673,18 +694,18 @@ export const UserAssignedIdentity: coreClient.CompositeMapper = {
673
694
  serializedName: "principalId",
674
695
  readOnly: true,
675
696
  type: {
676
- name: "Uuid"
677
- }
697
+ name: "Uuid",
698
+ },
678
699
  },
679
700
  clientId: {
680
701
  serializedName: "clientId",
681
702
  readOnly: true,
682
703
  type: {
683
- name: "Uuid"
684
- }
685
- }
686
- }
687
- }
704
+ name: "Uuid",
705
+ },
706
+ },
707
+ },
708
+ },
688
709
  };
689
710
 
690
711
  export const RedisAccessKeys: coreClient.CompositeMapper = {
@@ -696,18 +717,18 @@ export const RedisAccessKeys: coreClient.CompositeMapper = {
696
717
  serializedName: "primaryKey",
697
718
  readOnly: true,
698
719
  type: {
699
- name: "String"
700
- }
720
+ name: "String",
721
+ },
701
722
  },
702
723
  secondaryKey: {
703
724
  serializedName: "secondaryKey",
704
725
  readOnly: true,
705
726
  type: {
706
- name: "String"
707
- }
708
- }
709
- }
710
- }
727
+ name: "String",
728
+ },
729
+ },
730
+ },
731
+ },
711
732
  };
712
733
 
713
734
  export const RedisLinkedServer: coreClient.CompositeMapper = {
@@ -719,11 +740,11 @@ export const RedisLinkedServer: coreClient.CompositeMapper = {
719
740
  serializedName: "id",
720
741
  readOnly: true,
721
742
  type: {
722
- name: "String"
723
- }
724
- }
725
- }
726
- }
743
+ name: "String",
744
+ },
745
+ },
746
+ },
747
+ },
727
748
  };
728
749
 
729
750
  export const RedisInstanceDetails: coreClient.CompositeMapper = {
@@ -735,46 +756,46 @@ export const RedisInstanceDetails: coreClient.CompositeMapper = {
735
756
  serializedName: "sslPort",
736
757
  readOnly: true,
737
758
  type: {
738
- name: "Number"
739
- }
759
+ name: "Number",
760
+ },
740
761
  },
741
762
  nonSslPort: {
742
763
  serializedName: "nonSslPort",
743
764
  readOnly: true,
744
765
  type: {
745
- name: "Number"
746
- }
766
+ name: "Number",
767
+ },
747
768
  },
748
769
  zone: {
749
770
  serializedName: "zone",
750
771
  readOnly: true,
751
772
  type: {
752
- name: "String"
753
- }
773
+ name: "String",
774
+ },
754
775
  },
755
776
  shardId: {
756
777
  serializedName: "shardId",
757
778
  readOnly: true,
758
779
  type: {
759
- name: "Number"
760
- }
780
+ name: "Number",
781
+ },
761
782
  },
762
783
  isMaster: {
763
784
  serializedName: "isMaster",
764
785
  readOnly: true,
765
786
  type: {
766
- name: "Boolean"
767
- }
787
+ name: "Boolean",
788
+ },
768
789
  },
769
790
  isPrimary: {
770
791
  serializedName: "isPrimary",
771
792
  readOnly: true,
772
793
  type: {
773
- name: "Boolean"
774
- }
775
- }
776
- }
777
- }
794
+ name: "Boolean",
795
+ },
796
+ },
797
+ },
798
+ },
778
799
  };
779
800
 
780
801
  export const PrivateEndpoint: coreClient.CompositeMapper = {
@@ -786,11 +807,11 @@ export const PrivateEndpoint: coreClient.CompositeMapper = {
786
807
  serializedName: "id",
787
808
  readOnly: true,
788
809
  type: {
789
- name: "String"
790
- }
791
- }
792
- }
793
- }
810
+ name: "String",
811
+ },
812
+ },
813
+ },
814
+ },
794
815
  };
795
816
 
796
817
  export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = {
@@ -801,23 +822,23 @@ export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = {
801
822
  status: {
802
823
  serializedName: "status",
803
824
  type: {
804
- name: "String"
805
- }
825
+ name: "String",
826
+ },
806
827
  },
807
828
  description: {
808
829
  serializedName: "description",
809
830
  type: {
810
- name: "String"
811
- }
831
+ name: "String",
832
+ },
812
833
  },
813
834
  actionsRequired: {
814
835
  serializedName: "actionsRequired",
815
836
  type: {
816
- name: "String"
817
- }
818
- }
819
- }
820
- }
837
+ name: "String",
838
+ },
839
+ },
840
+ },
841
+ },
821
842
  };
822
843
 
823
844
  export const Resource: coreClient.CompositeMapper = {
@@ -829,25 +850,25 @@ export const Resource: coreClient.CompositeMapper = {
829
850
  serializedName: "id",
830
851
  readOnly: true,
831
852
  type: {
832
- name: "String"
833
- }
853
+ name: "String",
854
+ },
834
855
  },
835
856
  name: {
836
857
  serializedName: "name",
837
858
  readOnly: true,
838
859
  type: {
839
- name: "String"
840
- }
860
+ name: "String",
861
+ },
841
862
  },
842
863
  type: {
843
864
  serializedName: "type",
844
865
  readOnly: true,
845
866
  type: {
846
- name: "String"
847
- }
848
- }
849
- }
850
- }
867
+ name: "String",
868
+ },
869
+ },
870
+ },
871
+ },
851
872
  };
852
873
 
853
874
  export const RedisUpdateParameters: coreClient.CompositeMapper = {
@@ -859,89 +880,96 @@ export const RedisUpdateParameters: coreClient.CompositeMapper = {
859
880
  serializedName: "tags",
860
881
  type: {
861
882
  name: "Dictionary",
862
- value: { type: { name: "String" } }
863
- }
883
+ value: { type: { name: "String" } },
884
+ },
864
885
  },
865
886
  identity: {
866
887
  serializedName: "identity",
867
888
  type: {
868
889
  name: "Composite",
869
- className: "ManagedServiceIdentity"
870
- }
890
+ className: "ManagedServiceIdentity",
891
+ },
871
892
  },
872
893
  redisConfiguration: {
873
894
  serializedName: "properties.redisConfiguration",
874
895
  type: {
875
896
  name: "Composite",
876
- className: "RedisCommonPropertiesRedisConfiguration"
877
- }
897
+ className: "RedisCommonPropertiesRedisConfiguration",
898
+ },
878
899
  },
879
900
  redisVersion: {
880
901
  serializedName: "properties.redisVersion",
881
902
  type: {
882
- name: "String"
883
- }
903
+ name: "String",
904
+ },
884
905
  },
885
906
  enableNonSslPort: {
886
907
  defaultValue: false,
887
908
  serializedName: "properties.enableNonSslPort",
888
909
  type: {
889
- name: "Boolean"
890
- }
910
+ name: "Boolean",
911
+ },
891
912
  },
892
913
  replicasPerMaster: {
893
914
  serializedName: "properties.replicasPerMaster",
894
915
  type: {
895
- name: "Number"
896
- }
916
+ name: "Number",
917
+ },
897
918
  },
898
919
  replicasPerPrimary: {
899
920
  serializedName: "properties.replicasPerPrimary",
900
921
  type: {
901
- name: "Number"
902
- }
922
+ name: "Number",
923
+ },
903
924
  },
904
925
  tenantSettings: {
905
926
  serializedName: "properties.tenantSettings",
906
927
  type: {
907
928
  name: "Dictionary",
908
- value: { type: { name: "String" } }
909
- }
929
+ value: { type: { name: "String" } },
930
+ },
910
931
  },
911
932
  shardCount: {
912
933
  serializedName: "properties.shardCount",
913
934
  type: {
914
- name: "Number"
915
- }
935
+ name: "Number",
936
+ },
916
937
  },
917
938
  minimumTlsVersion: {
918
939
  serializedName: "properties.minimumTlsVersion",
919
940
  type: {
920
- name: "String"
921
- }
941
+ name: "String",
942
+ },
922
943
  },
923
944
  publicNetworkAccess: {
924
945
  defaultValue: "Enabled",
925
946
  serializedName: "properties.publicNetworkAccess",
926
947
  type: {
927
- name: "String"
928
- }
948
+ name: "String",
949
+ },
929
950
  },
930
951
  updateChannel: {
931
952
  serializedName: "properties.updateChannel",
932
953
  type: {
933
- name: "String"
934
- }
954
+ name: "String",
955
+ },
956
+ },
957
+ disableAccessKeyAuthentication: {
958
+ defaultValue: false,
959
+ serializedName: "properties.disableAccessKeyAuthentication",
960
+ type: {
961
+ name: "Boolean",
962
+ },
935
963
  },
936
964
  sku: {
937
965
  serializedName: "properties.sku",
938
966
  type: {
939
967
  name: "Composite",
940
- className: "Sku"
941
- }
942
- }
943
- }
944
- }
968
+ className: "Sku",
969
+ },
970
+ },
971
+ },
972
+ },
945
973
  };
946
974
 
947
975
  export const RedisListResult: coreClient.CompositeMapper = {
@@ -956,20 +984,20 @@ export const RedisListResult: coreClient.CompositeMapper = {
956
984
  element: {
957
985
  type: {
958
986
  name: "Composite",
959
- className: "RedisResource"
960
- }
961
- }
962
- }
987
+ className: "RedisResource",
988
+ },
989
+ },
990
+ },
963
991
  },
964
992
  nextLink: {
965
993
  serializedName: "nextLink",
966
994
  readOnly: true,
967
995
  type: {
968
- name: "String"
969
- }
970
- }
971
- }
972
- }
996
+ name: "String",
997
+ },
998
+ },
999
+ },
1000
+ },
973
1001
  };
974
1002
 
975
1003
  export const RedisRegenerateKeyParameters: coreClient.CompositeMapper = {
@@ -982,11 +1010,11 @@ export const RedisRegenerateKeyParameters: coreClient.CompositeMapper = {
982
1010
  required: true,
983
1011
  type: {
984
1012
  name: "Enum",
985
- allowedValues: ["Primary", "Secondary"]
986
- }
987
- }
988
- }
989
- }
1013
+ allowedValues: ["Primary", "Secondary"],
1014
+ },
1015
+ },
1016
+ },
1017
+ },
990
1018
  };
991
1019
 
992
1020
  export const RedisRebootParameters: coreClient.CompositeMapper = {
@@ -997,14 +1025,14 @@ export const RedisRebootParameters: coreClient.CompositeMapper = {
997
1025
  rebootType: {
998
1026
  serializedName: "rebootType",
999
1027
  type: {
1000
- name: "String"
1001
- }
1028
+ name: "String",
1029
+ },
1002
1030
  },
1003
1031
  shardId: {
1004
1032
  serializedName: "shardId",
1005
1033
  type: {
1006
- name: "Number"
1007
- }
1034
+ name: "Number",
1035
+ },
1008
1036
  },
1009
1037
  ports: {
1010
1038
  serializedName: "ports",
@@ -1012,13 +1040,13 @@ export const RedisRebootParameters: coreClient.CompositeMapper = {
1012
1040
  name: "Sequence",
1013
1041
  element: {
1014
1042
  type: {
1015
- name: "Number"
1016
- }
1017
- }
1018
- }
1019
- }
1020
- }
1021
- }
1043
+ name: "Number",
1044
+ },
1045
+ },
1046
+ },
1047
+ },
1048
+ },
1049
+ },
1022
1050
  };
1023
1051
 
1024
1052
  export const RedisForceRebootResponse: coreClient.CompositeMapper = {
@@ -1030,11 +1058,11 @@ export const RedisForceRebootResponse: coreClient.CompositeMapper = {
1030
1058
  serializedName: "message",
1031
1059
  readOnly: true,
1032
1060
  type: {
1033
- name: "String"
1034
- }
1035
- }
1036
- }
1037
- }
1061
+ name: "String",
1062
+ },
1063
+ },
1064
+ },
1065
+ },
1038
1066
  };
1039
1067
 
1040
1068
  export const ImportRDBParameters: coreClient.CompositeMapper = {
@@ -1045,8 +1073,8 @@ export const ImportRDBParameters: coreClient.CompositeMapper = {
1045
1073
  format: {
1046
1074
  serializedName: "format",
1047
1075
  type: {
1048
- name: "String"
1049
- }
1076
+ name: "String",
1077
+ },
1050
1078
  },
1051
1079
  files: {
1052
1080
  serializedName: "files",
@@ -1055,25 +1083,25 @@ export const ImportRDBParameters: coreClient.CompositeMapper = {
1055
1083
  name: "Sequence",
1056
1084
  element: {
1057
1085
  type: {
1058
- name: "String"
1059
- }
1060
- }
1061
- }
1086
+ name: "String",
1087
+ },
1088
+ },
1089
+ },
1062
1090
  },
1063
1091
  preferredDataArchiveAuthMethod: {
1064
1092
  serializedName: "preferred-data-archive-auth-method",
1065
1093
  type: {
1066
- name: "String"
1067
- }
1094
+ name: "String",
1095
+ },
1068
1096
  },
1069
1097
  storageSubscriptionId: {
1070
1098
  serializedName: "storage-subscription-id",
1071
1099
  type: {
1072
- name: "String"
1073
- }
1074
- }
1075
- }
1076
- }
1100
+ name: "String",
1101
+ },
1102
+ },
1103
+ },
1104
+ },
1077
1105
  };
1078
1106
 
1079
1107
  export const ExportRDBParameters: coreClient.CompositeMapper = {
@@ -1084,37 +1112,37 @@ export const ExportRDBParameters: coreClient.CompositeMapper = {
1084
1112
  format: {
1085
1113
  serializedName: "format",
1086
1114
  type: {
1087
- name: "String"
1088
- }
1115
+ name: "String",
1116
+ },
1089
1117
  },
1090
1118
  prefix: {
1091
1119
  serializedName: "prefix",
1092
1120
  required: true,
1093
1121
  type: {
1094
- name: "String"
1095
- }
1122
+ name: "String",
1123
+ },
1096
1124
  },
1097
1125
  container: {
1098
1126
  serializedName: "container",
1099
1127
  required: true,
1100
1128
  type: {
1101
- name: "String"
1102
- }
1129
+ name: "String",
1130
+ },
1103
1131
  },
1104
1132
  preferredDataArchiveAuthMethod: {
1105
1133
  serializedName: "preferred-data-archive-auth-method",
1106
1134
  type: {
1107
- name: "String"
1108
- }
1135
+ name: "String",
1136
+ },
1109
1137
  },
1110
1138
  storageSubscriptionId: {
1111
1139
  serializedName: "storage-subscription-id",
1112
1140
  type: {
1113
- name: "String"
1114
- }
1115
- }
1116
- }
1117
- }
1141
+ name: "String",
1142
+ },
1143
+ },
1144
+ },
1145
+ },
1118
1146
  };
1119
1147
 
1120
1148
  export const OperationStatusResult: coreClient.CompositeMapper = {
@@ -1125,43 +1153,43 @@ export const OperationStatusResult: coreClient.CompositeMapper = {
1125
1153
  id: {
1126
1154
  serializedName: "id",
1127
1155
  type: {
1128
- name: "String"
1129
- }
1156
+ name: "String",
1157
+ },
1130
1158
  },
1131
1159
  name: {
1132
1160
  serializedName: "name",
1133
1161
  type: {
1134
- name: "String"
1135
- }
1162
+ name: "String",
1163
+ },
1136
1164
  },
1137
1165
  status: {
1138
1166
  serializedName: "status",
1139
1167
  required: true,
1140
1168
  type: {
1141
- name: "String"
1142
- }
1169
+ name: "String",
1170
+ },
1143
1171
  },
1144
1172
  percentComplete: {
1145
1173
  constraints: {
1146
1174
  InclusiveMaximum: 100,
1147
- InclusiveMinimum: 0
1175
+ InclusiveMinimum: 0,
1148
1176
  },
1149
1177
  serializedName: "percentComplete",
1150
1178
  type: {
1151
- name: "Number"
1152
- }
1179
+ name: "Number",
1180
+ },
1153
1181
  },
1154
1182
  startTime: {
1155
1183
  serializedName: "startTime",
1156
1184
  type: {
1157
- name: "DateTime"
1158
- }
1185
+ name: "DateTime",
1186
+ },
1159
1187
  },
1160
1188
  endTime: {
1161
1189
  serializedName: "endTime",
1162
1190
  type: {
1163
- name: "DateTime"
1164
- }
1191
+ name: "DateTime",
1192
+ },
1165
1193
  },
1166
1194
  operations: {
1167
1195
  serializedName: "operations",
@@ -1170,20 +1198,20 @@ export const OperationStatusResult: coreClient.CompositeMapper = {
1170
1198
  element: {
1171
1199
  type: {
1172
1200
  name: "Composite",
1173
- className: "OperationStatusResult"
1174
- }
1175
- }
1176
- }
1201
+ className: "OperationStatusResult",
1202
+ },
1203
+ },
1204
+ },
1177
1205
  },
1178
1206
  error: {
1179
1207
  serializedName: "error",
1180
1208
  type: {
1181
1209
  name: "Composite",
1182
- className: "ErrorDetail"
1183
- }
1184
- }
1185
- }
1186
- }
1210
+ className: "ErrorDetail",
1211
+ },
1212
+ },
1213
+ },
1214
+ },
1187
1215
  };
1188
1216
 
1189
1217
  export const RedisFirewallRuleListResult: coreClient.CompositeMapper = {
@@ -1198,20 +1226,20 @@ export const RedisFirewallRuleListResult: coreClient.CompositeMapper = {
1198
1226
  element: {
1199
1227
  type: {
1200
1228
  name: "Composite",
1201
- className: "RedisFirewallRule"
1202
- }
1203
- }
1204
- }
1229
+ className: "RedisFirewallRule",
1230
+ },
1231
+ },
1232
+ },
1205
1233
  },
1206
1234
  nextLink: {
1207
1235
  serializedName: "nextLink",
1208
1236
  readOnly: true,
1209
1237
  type: {
1210
- name: "String"
1211
- }
1212
- }
1213
- }
1214
- }
1238
+ name: "String",
1239
+ },
1240
+ },
1241
+ },
1242
+ },
1215
1243
  };
1216
1244
 
1217
1245
  export const RedisPatchScheduleListResult: coreClient.CompositeMapper = {
@@ -1226,20 +1254,20 @@ export const RedisPatchScheduleListResult: coreClient.CompositeMapper = {
1226
1254
  element: {
1227
1255
  type: {
1228
1256
  name: "Composite",
1229
- className: "RedisPatchSchedule"
1230
- }
1231
- }
1232
- }
1257
+ className: "RedisPatchSchedule",
1258
+ },
1259
+ },
1260
+ },
1233
1261
  },
1234
1262
  nextLink: {
1235
1263
  serializedName: "nextLink",
1236
1264
  readOnly: true,
1237
1265
  type: {
1238
- name: "String"
1239
- }
1240
- }
1241
- }
1242
- }
1266
+ name: "String",
1267
+ },
1268
+ },
1269
+ },
1270
+ },
1243
1271
  };
1244
1272
 
1245
1273
  export const ScheduleEntry: coreClient.CompositeMapper = {
@@ -1261,25 +1289,25 @@ export const ScheduleEntry: coreClient.CompositeMapper = {
1261
1289
  "Saturday",
1262
1290
  "Sunday",
1263
1291
  "Everyday",
1264
- "Weekend"
1265
- ]
1266
- }
1292
+ "Weekend",
1293
+ ],
1294
+ },
1267
1295
  },
1268
1296
  startHourUtc: {
1269
1297
  serializedName: "startHourUtc",
1270
1298
  required: true,
1271
1299
  type: {
1272
- name: "Number"
1273
- }
1300
+ name: "Number",
1301
+ },
1274
1302
  },
1275
1303
  maintenanceWindow: {
1276
1304
  serializedName: "maintenanceWindow",
1277
1305
  type: {
1278
- name: "TimeSpan"
1279
- }
1280
- }
1281
- }
1282
- }
1306
+ name: "TimeSpan",
1307
+ },
1308
+ },
1309
+ },
1310
+ },
1283
1311
  };
1284
1312
 
1285
1313
  export const RedisLinkedServerCreateParameters: coreClient.CompositeMapper = {
@@ -1291,40 +1319,40 @@ export const RedisLinkedServerCreateParameters: coreClient.CompositeMapper = {
1291
1319
  serializedName: "properties.linkedRedisCacheId",
1292
1320
  required: true,
1293
1321
  type: {
1294
- name: "String"
1295
- }
1322
+ name: "String",
1323
+ },
1296
1324
  },
1297
1325
  linkedRedisCacheLocation: {
1298
1326
  serializedName: "properties.linkedRedisCacheLocation",
1299
1327
  required: true,
1300
1328
  type: {
1301
- name: "String"
1302
- }
1329
+ name: "String",
1330
+ },
1303
1331
  },
1304
1332
  serverRole: {
1305
1333
  serializedName: "properties.serverRole",
1306
1334
  required: true,
1307
1335
  type: {
1308
1336
  name: "Enum",
1309
- allowedValues: ["Primary", "Secondary"]
1310
- }
1337
+ allowedValues: ["Primary", "Secondary"],
1338
+ },
1311
1339
  },
1312
1340
  geoReplicatedPrimaryHostName: {
1313
1341
  serializedName: "properties.geoReplicatedPrimaryHostName",
1314
1342
  readOnly: true,
1315
1343
  type: {
1316
- name: "String"
1317
- }
1344
+ name: "String",
1345
+ },
1318
1346
  },
1319
1347
  primaryHostName: {
1320
1348
  serializedName: "properties.primaryHostName",
1321
1349
  readOnly: true,
1322
1350
  type: {
1323
- name: "String"
1324
- }
1325
- }
1326
- }
1327
- }
1351
+ name: "String",
1352
+ },
1353
+ },
1354
+ },
1355
+ },
1328
1356
  };
1329
1357
 
1330
1358
  export const RedisLinkedServerCreateProperties: coreClient.CompositeMapper = {
@@ -1336,40 +1364,40 @@ export const RedisLinkedServerCreateProperties: coreClient.CompositeMapper = {
1336
1364
  serializedName: "linkedRedisCacheId",
1337
1365
  required: true,
1338
1366
  type: {
1339
- name: "String"
1340
- }
1367
+ name: "String",
1368
+ },
1341
1369
  },
1342
1370
  linkedRedisCacheLocation: {
1343
1371
  serializedName: "linkedRedisCacheLocation",
1344
1372
  required: true,
1345
1373
  type: {
1346
- name: "String"
1347
- }
1374
+ name: "String",
1375
+ },
1348
1376
  },
1349
1377
  serverRole: {
1350
1378
  serializedName: "serverRole",
1351
1379
  required: true,
1352
1380
  type: {
1353
1381
  name: "Enum",
1354
- allowedValues: ["Primary", "Secondary"]
1355
- }
1382
+ allowedValues: ["Primary", "Secondary"],
1383
+ },
1356
1384
  },
1357
1385
  geoReplicatedPrimaryHostName: {
1358
1386
  serializedName: "geoReplicatedPrimaryHostName",
1359
1387
  readOnly: true,
1360
1388
  type: {
1361
- name: "String"
1362
- }
1389
+ name: "String",
1390
+ },
1363
1391
  },
1364
1392
  primaryHostName: {
1365
1393
  serializedName: "primaryHostName",
1366
1394
  readOnly: true,
1367
1395
  type: {
1368
- name: "String"
1369
- }
1370
- }
1371
- }
1372
- }
1396
+ name: "String",
1397
+ },
1398
+ },
1399
+ },
1400
+ },
1373
1401
  };
1374
1402
 
1375
1403
  export const RedisLinkedServerWithPropertiesList: coreClient.CompositeMapper = {
@@ -1384,20 +1412,20 @@ export const RedisLinkedServerWithPropertiesList: coreClient.CompositeMapper = {
1384
1412
  element: {
1385
1413
  type: {
1386
1414
  name: "Composite",
1387
- className: "RedisLinkedServerWithProperties"
1388
- }
1389
- }
1390
- }
1415
+ className: "RedisLinkedServerWithProperties",
1416
+ },
1417
+ },
1418
+ },
1391
1419
  },
1392
1420
  nextLink: {
1393
1421
  serializedName: "nextLink",
1394
1422
  readOnly: true,
1395
1423
  type: {
1396
- name: "String"
1397
- }
1398
- }
1399
- }
1400
- }
1424
+ name: "String",
1425
+ },
1426
+ },
1427
+ },
1428
+ },
1401
1429
  };
1402
1430
 
1403
1431
  export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = {
@@ -1412,13 +1440,13 @@ export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = {
1412
1440
  element: {
1413
1441
  type: {
1414
1442
  name: "Composite",
1415
- className: "PrivateEndpointConnection"
1416
- }
1417
- }
1418
- }
1419
- }
1420
- }
1421
- }
1443
+ className: "PrivateEndpointConnection",
1444
+ },
1445
+ },
1446
+ },
1447
+ },
1448
+ },
1449
+ },
1422
1450
  };
1423
1451
 
1424
1452
  export const PrivateLinkResourceListResult: coreClient.CompositeMapper = {
@@ -1433,13 +1461,13 @@ export const PrivateLinkResourceListResult: coreClient.CompositeMapper = {
1433
1461
  element: {
1434
1462
  type: {
1435
1463
  name: "Composite",
1436
- className: "PrivateLinkResource"
1437
- }
1438
- }
1439
- }
1440
- }
1441
- }
1442
- }
1464
+ className: "PrivateLinkResource",
1465
+ },
1466
+ },
1467
+ },
1468
+ },
1469
+ },
1470
+ },
1443
1471
  };
1444
1472
 
1445
1473
  export const RedisCacheAccessPolicyList: coreClient.CompositeMapper = {
@@ -1454,49 +1482,50 @@ export const RedisCacheAccessPolicyList: coreClient.CompositeMapper = {
1454
1482
  element: {
1455
1483
  type: {
1456
1484
  name: "Composite",
1457
- className: "RedisCacheAccessPolicy"
1458
- }
1459
- }
1460
- }
1485
+ className: "RedisCacheAccessPolicy",
1486
+ },
1487
+ },
1488
+ },
1461
1489
  },
1462
1490
  nextLink: {
1463
1491
  serializedName: "nextLink",
1464
1492
  readOnly: true,
1465
1493
  type: {
1466
- name: "String"
1467
- }
1468
- }
1469
- }
1470
- }
1494
+ name: "String",
1495
+ },
1496
+ },
1497
+ },
1498
+ },
1471
1499
  };
1472
1500
 
1473
- export const RedisCacheAccessPolicyAssignmentList: coreClient.CompositeMapper = {
1474
- type: {
1475
- name: "Composite",
1476
- className: "RedisCacheAccessPolicyAssignmentList",
1477
- modelProperties: {
1478
- value: {
1479
- serializedName: "value",
1480
- type: {
1481
- name: "Sequence",
1482
- element: {
1483
- type: {
1484
- name: "Composite",
1485
- className: "RedisCacheAccessPolicyAssignment"
1486
- }
1487
- }
1488
- }
1501
+ export const RedisCacheAccessPolicyAssignmentList: coreClient.CompositeMapper =
1502
+ {
1503
+ type: {
1504
+ name: "Composite",
1505
+ className: "RedisCacheAccessPolicyAssignmentList",
1506
+ modelProperties: {
1507
+ value: {
1508
+ serializedName: "value",
1509
+ type: {
1510
+ name: "Sequence",
1511
+ element: {
1512
+ type: {
1513
+ name: "Composite",
1514
+ className: "RedisCacheAccessPolicyAssignment",
1515
+ },
1516
+ },
1517
+ },
1518
+ },
1519
+ nextLink: {
1520
+ serializedName: "nextLink",
1521
+ readOnly: true,
1522
+ type: {
1523
+ name: "String",
1524
+ },
1525
+ },
1489
1526
  },
1490
- nextLink: {
1491
- serializedName: "nextLink",
1492
- readOnly: true,
1493
- type: {
1494
- name: "String"
1495
- }
1496
- }
1497
- }
1498
- }
1499
- };
1527
+ },
1528
+ };
1500
1529
 
1501
1530
  export const RedisCreateProperties: coreClient.CompositeMapper = {
1502
1531
  type: {
@@ -1508,31 +1537,31 @@ export const RedisCreateProperties: coreClient.CompositeMapper = {
1508
1537
  serializedName: "sku",
1509
1538
  type: {
1510
1539
  name: "Composite",
1511
- className: "Sku"
1512
- }
1540
+ className: "Sku",
1541
+ },
1513
1542
  },
1514
1543
  subnetId: {
1515
1544
  constraints: {
1516
1545
  Pattern: new RegExp(
1517
- "^\\/subscriptions\\/[^/]*\\/resourceGroups\\/[^/]*\\/providers\\/Microsoft.(ClassicNetwork|Network)\\/virtualNetworks\\/[^/]*\\/subnets\\/[^/]*$"
1518
- )
1546
+ "^\\/subscriptions\\/[^/]*\\/resourceGroups\\/[^/]*\\/providers\\/Microsoft.(ClassicNetwork|Network)\\/virtualNetworks\\/[^/]*\\/subnets\\/[^/]*$",
1547
+ ),
1519
1548
  },
1520
1549
  serializedName: "subnetId",
1521
1550
  type: {
1522
- name: "String"
1523
- }
1551
+ name: "String",
1552
+ },
1524
1553
  },
1525
1554
  staticIP: {
1526
1555
  constraints: {
1527
- Pattern: new RegExp("^\\d+\\.\\d+\\.\\d+\\.\\d+$")
1556
+ Pattern: new RegExp("^\\d+\\.\\d+\\.\\d+\\.\\d+$"),
1528
1557
  },
1529
1558
  serializedName: "staticIP",
1530
1559
  type: {
1531
- name: "String"
1532
- }
1533
- }
1534
- }
1535
- }
1560
+ name: "String",
1561
+ },
1562
+ },
1563
+ },
1564
+ },
1536
1565
  };
1537
1566
 
1538
1567
  export const RedisUpdateProperties: coreClient.CompositeMapper = {
@@ -1545,11 +1574,11 @@ export const RedisUpdateProperties: coreClient.CompositeMapper = {
1545
1574
  serializedName: "sku",
1546
1575
  type: {
1547
1576
  name: "Composite",
1548
- className: "Sku"
1549
- }
1550
- }
1551
- }
1552
- }
1577
+ className: "Sku",
1578
+ },
1579
+ },
1580
+ },
1581
+ },
1553
1582
  };
1554
1583
 
1555
1584
  export const PrivateEndpointConnection: coreClient.CompositeMapper = {
@@ -1562,25 +1591,25 @@ export const PrivateEndpointConnection: coreClient.CompositeMapper = {
1562
1591
  serializedName: "properties.privateEndpoint",
1563
1592
  type: {
1564
1593
  name: "Composite",
1565
- className: "PrivateEndpoint"
1566
- }
1594
+ className: "PrivateEndpoint",
1595
+ },
1567
1596
  },
1568
1597
  privateLinkServiceConnectionState: {
1569
1598
  serializedName: "properties.privateLinkServiceConnectionState",
1570
1599
  type: {
1571
1600
  name: "Composite",
1572
- className: "PrivateLinkServiceConnectionState"
1573
- }
1601
+ className: "PrivateLinkServiceConnectionState",
1602
+ },
1574
1603
  },
1575
1604
  provisioningState: {
1576
1605
  serializedName: "properties.provisioningState",
1577
1606
  readOnly: true,
1578
1607
  type: {
1579
- name: "String"
1580
- }
1581
- }
1582
- }
1583
- }
1608
+ name: "String",
1609
+ },
1610
+ },
1611
+ },
1612
+ },
1584
1613
  };
1585
1614
 
1586
1615
  export const TrackedResource: coreClient.CompositeMapper = {
@@ -1593,18 +1622,18 @@ export const TrackedResource: coreClient.CompositeMapper = {
1593
1622
  serializedName: "tags",
1594
1623
  type: {
1595
1624
  name: "Dictionary",
1596
- value: { type: { name: "String" } }
1597
- }
1625
+ value: { type: { name: "String" } },
1626
+ },
1598
1627
  },
1599
1628
  location: {
1600
1629
  serializedName: "location",
1601
1630
  required: true,
1602
1631
  type: {
1603
- name: "String"
1604
- }
1605
- }
1606
- }
1607
- }
1632
+ name: "String",
1633
+ },
1634
+ },
1635
+ },
1636
+ },
1608
1637
  };
1609
1638
 
1610
1639
  export const ProxyResource: coreClient.CompositeMapper = {
@@ -1612,9 +1641,9 @@ export const ProxyResource: coreClient.CompositeMapper = {
1612
1641
  name: "Composite",
1613
1642
  className: "ProxyResource",
1614
1643
  modelProperties: {
1615
- ...Resource.type.modelProperties
1616
- }
1617
- }
1644
+ ...Resource.type.modelProperties,
1645
+ },
1646
+ },
1618
1647
  };
1619
1648
 
1620
1649
  export const PrivateLinkResource: coreClient.CompositeMapper = {
@@ -1627,8 +1656,8 @@ export const PrivateLinkResource: coreClient.CompositeMapper = {
1627
1656
  serializedName: "properties.groupId",
1628
1657
  readOnly: true,
1629
1658
  type: {
1630
- name: "String"
1631
- }
1659
+ name: "String",
1660
+ },
1632
1661
  },
1633
1662
  requiredMembers: {
1634
1663
  serializedName: "properties.requiredMembers",
@@ -1637,10 +1666,10 @@ export const PrivateLinkResource: coreClient.CompositeMapper = {
1637
1666
  name: "Sequence",
1638
1667
  element: {
1639
1668
  type: {
1640
- name: "String"
1641
- }
1642
- }
1643
- }
1669
+ name: "String",
1670
+ },
1671
+ },
1672
+ },
1644
1673
  },
1645
1674
  requiredZoneNames: {
1646
1675
  serializedName: "properties.requiredZoneNames",
@@ -1648,13 +1677,13 @@ export const PrivateLinkResource: coreClient.CompositeMapper = {
1648
1677
  name: "Sequence",
1649
1678
  element: {
1650
1679
  type: {
1651
- name: "String"
1652
- }
1653
- }
1654
- }
1655
- }
1656
- }
1657
- }
1680
+ name: "String",
1681
+ },
1682
+ },
1683
+ },
1684
+ },
1685
+ },
1686
+ },
1658
1687
  };
1659
1688
 
1660
1689
  export const OperationStatus: coreClient.CompositeMapper = {
@@ -1667,11 +1696,11 @@ export const OperationStatus: coreClient.CompositeMapper = {
1667
1696
  serializedName: "properties",
1668
1697
  type: {
1669
1698
  name: "Dictionary",
1670
- value: { type: { name: "any" } }
1671
- }
1672
- }
1673
- }
1674
- }
1699
+ value: { type: { name: "any" } },
1700
+ },
1701
+ },
1702
+ },
1703
+ },
1675
1704
  };
1676
1705
 
1677
1706
  export const RedisLinkedServerProperties: coreClient.CompositeMapper = {
@@ -1684,11 +1713,11 @@ export const RedisLinkedServerProperties: coreClient.CompositeMapper = {
1684
1713
  serializedName: "provisioningState",
1685
1714
  readOnly: true,
1686
1715
  type: {
1687
- name: "String"
1688
- }
1689
- }
1690
- }
1691
- }
1716
+ name: "String",
1717
+ },
1718
+ },
1719
+ },
1720
+ },
1692
1721
  };
1693
1722
 
1694
1723
  export const RedisProperties: coreClient.CompositeMapper = {
@@ -1701,36 +1730,36 @@ export const RedisProperties: coreClient.CompositeMapper = {
1701
1730
  serializedName: "provisioningState",
1702
1731
  readOnly: true,
1703
1732
  type: {
1704
- name: "String"
1705
- }
1733
+ name: "String",
1734
+ },
1706
1735
  },
1707
1736
  hostName: {
1708
1737
  serializedName: "hostName",
1709
1738
  readOnly: true,
1710
1739
  type: {
1711
- name: "String"
1712
- }
1740
+ name: "String",
1741
+ },
1713
1742
  },
1714
1743
  port: {
1715
1744
  serializedName: "port",
1716
1745
  readOnly: true,
1717
1746
  type: {
1718
- name: "Number"
1719
- }
1747
+ name: "Number",
1748
+ },
1720
1749
  },
1721
1750
  sslPort: {
1722
1751
  serializedName: "sslPort",
1723
1752
  readOnly: true,
1724
1753
  type: {
1725
- name: "Number"
1726
- }
1754
+ name: "Number",
1755
+ },
1727
1756
  },
1728
1757
  accessKeys: {
1729
1758
  serializedName: "accessKeys",
1730
1759
  type: {
1731
1760
  name: "Composite",
1732
- className: "RedisAccessKeys"
1733
- }
1761
+ className: "RedisAccessKeys",
1762
+ },
1734
1763
  },
1735
1764
  linkedServers: {
1736
1765
  serializedName: "linkedServers",
@@ -1740,10 +1769,10 @@ export const RedisProperties: coreClient.CompositeMapper = {
1740
1769
  element: {
1741
1770
  type: {
1742
1771
  name: "Composite",
1743
- className: "RedisLinkedServer"
1744
- }
1745
- }
1746
- }
1772
+ className: "RedisLinkedServer",
1773
+ },
1774
+ },
1775
+ },
1747
1776
  },
1748
1777
  instances: {
1749
1778
  serializedName: "instances",
@@ -1753,10 +1782,10 @@ export const RedisProperties: coreClient.CompositeMapper = {
1753
1782
  element: {
1754
1783
  type: {
1755
1784
  name: "Composite",
1756
- className: "RedisInstanceDetails"
1757
- }
1758
- }
1759
- }
1785
+ className: "RedisInstanceDetails",
1786
+ },
1787
+ },
1788
+ },
1760
1789
  },
1761
1790
  privateEndpointConnections: {
1762
1791
  serializedName: "privateEndpointConnections",
@@ -1766,13 +1795,13 @@ export const RedisProperties: coreClient.CompositeMapper = {
1766
1795
  element: {
1767
1796
  type: {
1768
1797
  name: "Composite",
1769
- className: "PrivateEndpointConnection"
1770
- }
1771
- }
1772
- }
1773
- }
1774
- }
1775
- }
1798
+ className: "PrivateEndpointConnection",
1799
+ },
1800
+ },
1801
+ },
1802
+ },
1803
+ },
1804
+ },
1776
1805
  };
1777
1806
 
1778
1807
  export const RedisResource: coreClient.CompositeMapper = {
@@ -1787,143 +1816,150 @@ export const RedisResource: coreClient.CompositeMapper = {
1787
1816
  name: "Sequence",
1788
1817
  element: {
1789
1818
  type: {
1790
- name: "String"
1791
- }
1792
- }
1793
- }
1819
+ name: "String",
1820
+ },
1821
+ },
1822
+ },
1794
1823
  },
1795
1824
  identity: {
1796
1825
  serializedName: "identity",
1797
1826
  type: {
1798
1827
  name: "Composite",
1799
- className: "ManagedServiceIdentity"
1800
- }
1828
+ className: "ManagedServiceIdentity",
1829
+ },
1801
1830
  },
1802
1831
  redisConfiguration: {
1803
1832
  serializedName: "properties.redisConfiguration",
1804
1833
  type: {
1805
1834
  name: "Composite",
1806
- className: "RedisCommonPropertiesRedisConfiguration"
1807
- }
1835
+ className: "RedisCommonPropertiesRedisConfiguration",
1836
+ },
1808
1837
  },
1809
1838
  redisVersion: {
1810
1839
  serializedName: "properties.redisVersion",
1811
1840
  type: {
1812
- name: "String"
1813
- }
1841
+ name: "String",
1842
+ },
1814
1843
  },
1815
1844
  enableNonSslPort: {
1816
1845
  defaultValue: false,
1817
1846
  serializedName: "properties.enableNonSslPort",
1818
1847
  type: {
1819
- name: "Boolean"
1820
- }
1848
+ name: "Boolean",
1849
+ },
1821
1850
  },
1822
1851
  replicasPerMaster: {
1823
1852
  serializedName: "properties.replicasPerMaster",
1824
1853
  type: {
1825
- name: "Number"
1826
- }
1854
+ name: "Number",
1855
+ },
1827
1856
  },
1828
1857
  replicasPerPrimary: {
1829
1858
  serializedName: "properties.replicasPerPrimary",
1830
1859
  type: {
1831
- name: "Number"
1832
- }
1860
+ name: "Number",
1861
+ },
1833
1862
  },
1834
1863
  tenantSettings: {
1835
1864
  serializedName: "properties.tenantSettings",
1836
1865
  type: {
1837
1866
  name: "Dictionary",
1838
- value: { type: { name: "String" } }
1839
- }
1867
+ value: { type: { name: "String" } },
1868
+ },
1840
1869
  },
1841
1870
  shardCount: {
1842
1871
  serializedName: "properties.shardCount",
1843
1872
  type: {
1844
- name: "Number"
1845
- }
1873
+ name: "Number",
1874
+ },
1846
1875
  },
1847
1876
  minimumTlsVersion: {
1848
1877
  serializedName: "properties.minimumTlsVersion",
1849
1878
  type: {
1850
- name: "String"
1851
- }
1879
+ name: "String",
1880
+ },
1852
1881
  },
1853
1882
  publicNetworkAccess: {
1854
1883
  defaultValue: "Enabled",
1855
1884
  serializedName: "properties.publicNetworkAccess",
1856
1885
  type: {
1857
- name: "String"
1858
- }
1886
+ name: "String",
1887
+ },
1859
1888
  },
1860
1889
  updateChannel: {
1861
1890
  serializedName: "properties.updateChannel",
1862
1891
  type: {
1863
- name: "String"
1864
- }
1892
+ name: "String",
1893
+ },
1894
+ },
1895
+ disableAccessKeyAuthentication: {
1896
+ defaultValue: false,
1897
+ serializedName: "properties.disableAccessKeyAuthentication",
1898
+ type: {
1899
+ name: "Boolean",
1900
+ },
1865
1901
  },
1866
1902
  sku: {
1867
1903
  serializedName: "properties.sku",
1868
1904
  type: {
1869
1905
  name: "Composite",
1870
- className: "Sku"
1871
- }
1906
+ className: "Sku",
1907
+ },
1872
1908
  },
1873
1909
  subnetId: {
1874
1910
  constraints: {
1875
1911
  Pattern: new RegExp(
1876
- "^\\/subscriptions\\/[^/]*\\/resourceGroups\\/[^/]*\\/providers\\/Microsoft.(ClassicNetwork|Network)\\/virtualNetworks\\/[^/]*\\/subnets\\/[^/]*$"
1877
- )
1912
+ "^\\/subscriptions\\/[^/]*\\/resourceGroups\\/[^/]*\\/providers\\/Microsoft.(ClassicNetwork|Network)\\/virtualNetworks\\/[^/]*\\/subnets\\/[^/]*$",
1913
+ ),
1878
1914
  },
1879
1915
  serializedName: "properties.subnetId",
1880
1916
  type: {
1881
- name: "String"
1882
- }
1917
+ name: "String",
1918
+ },
1883
1919
  },
1884
1920
  staticIP: {
1885
1921
  constraints: {
1886
- Pattern: new RegExp("^\\d+\\.\\d+\\.\\d+\\.\\d+$")
1922
+ Pattern: new RegExp("^\\d+\\.\\d+\\.\\d+\\.\\d+$"),
1887
1923
  },
1888
1924
  serializedName: "properties.staticIP",
1889
1925
  type: {
1890
- name: "String"
1891
- }
1926
+ name: "String",
1927
+ },
1892
1928
  },
1893
1929
  provisioningState: {
1894
1930
  serializedName: "properties.provisioningState",
1895
1931
  readOnly: true,
1896
1932
  type: {
1897
- name: "String"
1898
- }
1933
+ name: "String",
1934
+ },
1899
1935
  },
1900
1936
  hostName: {
1901
1937
  serializedName: "properties.hostName",
1902
1938
  readOnly: true,
1903
1939
  type: {
1904
- name: "String"
1905
- }
1940
+ name: "String",
1941
+ },
1906
1942
  },
1907
1943
  port: {
1908
1944
  serializedName: "properties.port",
1909
1945
  readOnly: true,
1910
1946
  type: {
1911
- name: "Number"
1912
- }
1947
+ name: "Number",
1948
+ },
1913
1949
  },
1914
1950
  sslPort: {
1915
1951
  serializedName: "properties.sslPort",
1916
1952
  readOnly: true,
1917
1953
  type: {
1918
- name: "Number"
1919
- }
1954
+ name: "Number",
1955
+ },
1920
1956
  },
1921
1957
  accessKeys: {
1922
1958
  serializedName: "properties.accessKeys",
1923
1959
  type: {
1924
1960
  name: "Composite",
1925
- className: "RedisAccessKeys"
1926
- }
1961
+ className: "RedisAccessKeys",
1962
+ },
1927
1963
  },
1928
1964
  linkedServers: {
1929
1965
  serializedName: "properties.linkedServers",
@@ -1933,10 +1969,10 @@ export const RedisResource: coreClient.CompositeMapper = {
1933
1969
  element: {
1934
1970
  type: {
1935
1971
  name: "Composite",
1936
- className: "RedisLinkedServer"
1937
- }
1938
- }
1939
- }
1972
+ className: "RedisLinkedServer",
1973
+ },
1974
+ },
1975
+ },
1940
1976
  },
1941
1977
  instances: {
1942
1978
  serializedName: "properties.instances",
@@ -1946,10 +1982,10 @@ export const RedisResource: coreClient.CompositeMapper = {
1946
1982
  element: {
1947
1983
  type: {
1948
1984
  name: "Composite",
1949
- className: "RedisInstanceDetails"
1950
- }
1951
- }
1952
- }
1985
+ className: "RedisInstanceDetails",
1986
+ },
1987
+ },
1988
+ },
1953
1989
  },
1954
1990
  privateEndpointConnections: {
1955
1991
  serializedName: "properties.privateEndpointConnections",
@@ -1959,13 +1995,13 @@ export const RedisResource: coreClient.CompositeMapper = {
1959
1995
  element: {
1960
1996
  type: {
1961
1997
  name: "Composite",
1962
- className: "PrivateEndpointConnection"
1963
- }
1964
- }
1965
- }
1966
- }
1967
- }
1968
- }
1998
+ className: "PrivateEndpointConnection",
1999
+ },
2000
+ },
2001
+ },
2002
+ },
2003
+ },
2004
+ },
1969
2005
  };
1970
2006
 
1971
2007
  export const RedisFirewallRule: coreClient.CompositeMapper = {
@@ -1978,18 +2014,18 @@ export const RedisFirewallRule: coreClient.CompositeMapper = {
1978
2014
  serializedName: "properties.startIP",
1979
2015
  required: true,
1980
2016
  type: {
1981
- name: "String"
1982
- }
2017
+ name: "String",
2018
+ },
1983
2019
  },
1984
2020
  endIP: {
1985
2021
  serializedName: "properties.endIP",
1986
2022
  required: true,
1987
2023
  type: {
1988
- name: "String"
1989
- }
1990
- }
1991
- }
1992
- }
2024
+ name: "String",
2025
+ },
2026
+ },
2027
+ },
2028
+ },
1993
2029
  };
1994
2030
 
1995
2031
  export const RedisPatchSchedule: coreClient.CompositeMapper = {
@@ -2002,8 +2038,8 @@ export const RedisPatchSchedule: coreClient.CompositeMapper = {
2002
2038
  serializedName: "location",
2003
2039
  readOnly: true,
2004
2040
  type: {
2005
- name: "String"
2006
- }
2041
+ name: "String",
2042
+ },
2007
2043
  },
2008
2044
  scheduleEntries: {
2009
2045
  serializedName: "properties.scheduleEntries",
@@ -2013,13 +2049,13 @@ export const RedisPatchSchedule: coreClient.CompositeMapper = {
2013
2049
  element: {
2014
2050
  type: {
2015
2051
  name: "Composite",
2016
- className: "ScheduleEntry"
2017
- }
2018
- }
2019
- }
2020
- }
2021
- }
2022
- }
2052
+ className: "ScheduleEntry",
2053
+ },
2054
+ },
2055
+ },
2056
+ },
2057
+ },
2058
+ },
2023
2059
  };
2024
2060
 
2025
2061
  export const RedisLinkedServerWithProperties: coreClient.CompositeMapper = {
@@ -2031,45 +2067,45 @@ export const RedisLinkedServerWithProperties: coreClient.CompositeMapper = {
2031
2067
  linkedRedisCacheId: {
2032
2068
  serializedName: "properties.linkedRedisCacheId",
2033
2069
  type: {
2034
- name: "String"
2035
- }
2070
+ name: "String",
2071
+ },
2036
2072
  },
2037
2073
  linkedRedisCacheLocation: {
2038
2074
  serializedName: "properties.linkedRedisCacheLocation",
2039
2075
  type: {
2040
- name: "String"
2041
- }
2076
+ name: "String",
2077
+ },
2042
2078
  },
2043
2079
  serverRole: {
2044
2080
  serializedName: "properties.serverRole",
2045
2081
  type: {
2046
2082
  name: "Enum",
2047
- allowedValues: ["Primary", "Secondary"]
2048
- }
2083
+ allowedValues: ["Primary", "Secondary"],
2084
+ },
2049
2085
  },
2050
2086
  geoReplicatedPrimaryHostName: {
2051
2087
  serializedName: "properties.geoReplicatedPrimaryHostName",
2052
2088
  readOnly: true,
2053
2089
  type: {
2054
- name: "String"
2055
- }
2090
+ name: "String",
2091
+ },
2056
2092
  },
2057
2093
  primaryHostName: {
2058
2094
  serializedName: "properties.primaryHostName",
2059
2095
  readOnly: true,
2060
2096
  type: {
2061
- name: "String"
2062
- }
2097
+ name: "String",
2098
+ },
2063
2099
  },
2064
2100
  provisioningState: {
2065
2101
  serializedName: "properties.provisioningState",
2066
2102
  readOnly: true,
2067
2103
  type: {
2068
- name: "String"
2069
- }
2070
- }
2071
- }
2072
- }
2104
+ name: "String",
2105
+ },
2106
+ },
2107
+ },
2108
+ },
2073
2109
  };
2074
2110
 
2075
2111
  export const RedisCacheAccessPolicy: coreClient.CompositeMapper = {
@@ -2082,24 +2118,24 @@ export const RedisCacheAccessPolicy: coreClient.CompositeMapper = {
2082
2118
  serializedName: "properties.provisioningState",
2083
2119
  readOnly: true,
2084
2120
  type: {
2085
- name: "String"
2086
- }
2121
+ name: "String",
2122
+ },
2087
2123
  },
2088
2124
  typePropertiesType: {
2089
2125
  serializedName: "properties.type",
2090
2126
  readOnly: true,
2091
2127
  type: {
2092
- name: "String"
2093
- }
2128
+ name: "String",
2129
+ },
2094
2130
  },
2095
2131
  permissions: {
2096
2132
  serializedName: "properties.permissions",
2097
2133
  type: {
2098
- name: "String"
2099
- }
2100
- }
2101
- }
2102
- }
2134
+ name: "String",
2135
+ },
2136
+ },
2137
+ },
2138
+ },
2103
2139
  };
2104
2140
 
2105
2141
  export const RedisCacheAccessPolicyAssignment: coreClient.CompositeMapper = {
@@ -2112,34 +2148,34 @@ export const RedisCacheAccessPolicyAssignment: coreClient.CompositeMapper = {
2112
2148
  serializedName: "properties.provisioningState",
2113
2149
  readOnly: true,
2114
2150
  type: {
2115
- name: "String"
2116
- }
2151
+ name: "String",
2152
+ },
2117
2153
  },
2118
2154
  objectId: {
2119
2155
  serializedName: "properties.objectId",
2120
2156
  type: {
2121
- name: "String"
2122
- }
2157
+ name: "String",
2158
+ },
2123
2159
  },
2124
2160
  objectIdAlias: {
2125
2161
  serializedName: "properties.objectIdAlias",
2126
2162
  type: {
2127
- name: "String"
2128
- }
2163
+ name: "String",
2164
+ },
2129
2165
  },
2130
2166
  accessPolicyName: {
2131
2167
  constraints: {
2132
2168
  Pattern: new RegExp(
2133
- "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$"
2134
- )
2169
+ "^([a-zA-Z0-9][a-zA-Z0-9- ]*[a-zA-Z0-9]|[a-zA-Z0-9])$",
2170
+ ),
2135
2171
  },
2136
2172
  serializedName: "properties.accessPolicyName",
2137
2173
  type: {
2138
- name: "String"
2139
- }
2140
- }
2141
- }
2142
- }
2174
+ name: "String",
2175
+ },
2176
+ },
2177
+ },
2178
+ },
2143
2179
  };
2144
2180
 
2145
2181
  export const RedisFirewallRuleCreateParameters: coreClient.CompositeMapper = {
@@ -2147,9 +2183,9 @@ export const RedisFirewallRuleCreateParameters: coreClient.CompositeMapper = {
2147
2183
  name: "Composite",
2148
2184
  className: "RedisFirewallRuleCreateParameters",
2149
2185
  modelProperties: {
2150
- ...RedisFirewallRule.type.modelProperties
2151
- }
2152
- }
2186
+ ...RedisFirewallRule.type.modelProperties,
2187
+ },
2188
+ },
2153
2189
  };
2154
2190
 
2155
2191
  export const RedisFlushCacheHeaders: coreClient.CompositeMapper = {
@@ -2160,17 +2196,17 @@ export const RedisFlushCacheHeaders: coreClient.CompositeMapper = {
2160
2196
  location: {
2161
2197
  serializedName: "location",
2162
2198
  type: {
2163
- name: "String"
2164
- }
2199
+ name: "String",
2200
+ },
2165
2201
  },
2166
2202
  azureAsyncOperation: {
2167
2203
  serializedName: "azure-asyncoperation",
2168
2204
  type: {
2169
- name: "String"
2170
- }
2171
- }
2172
- }
2173
- }
2205
+ name: "String",
2206
+ },
2207
+ },
2208
+ },
2209
+ },
2174
2210
  };
2175
2211
 
2176
2212
  export const LinkedServerDeleteHeaders: coreClient.CompositeMapper = {
@@ -2181,11 +2217,11 @@ export const LinkedServerDeleteHeaders: coreClient.CompositeMapper = {
2181
2217
  location: {
2182
2218
  serializedName: "location",
2183
2219
  type: {
2184
- name: "String"
2185
- }
2186
- }
2187
- }
2188
- }
2220
+ name: "String",
2221
+ },
2222
+ },
2223
+ },
2224
+ },
2189
2225
  };
2190
2226
 
2191
2227
  export const AccessPolicyDeleteHeaders: coreClient.CompositeMapper = {
@@ -2196,11 +2232,11 @@ export const AccessPolicyDeleteHeaders: coreClient.CompositeMapper = {
2196
2232
  location: {
2197
2233
  serializedName: "location",
2198
2234
  type: {
2199
- name: "String"
2200
- }
2201
- }
2202
- }
2203
- }
2235
+ name: "String",
2236
+ },
2237
+ },
2238
+ },
2239
+ },
2204
2240
  };
2205
2241
 
2206
2242
  export const AccessPolicyAssignmentDeleteHeaders: coreClient.CompositeMapper = {
@@ -2211,9 +2247,9 @@ export const AccessPolicyAssignmentDeleteHeaders: coreClient.CompositeMapper = {
2211
2247
  location: {
2212
2248
  serializedName: "location",
2213
2249
  type: {
2214
- name: "String"
2215
- }
2216
- }
2217
- }
2218
- }
2250
+ name: "String",
2251
+ },
2252
+ },
2253
+ },
2254
+ },
2219
2255
  };