@azure/arm-postgresql-flexible 7.1.1-alpha.20230512.1 → 8.0.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 (183) hide show
  1. package/CHANGELOG.md +141 -8
  2. package/README.md +1 -1
  3. package/dist/index.js +4729 -2620
  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/administratorsCreateSample.js +1 -1
  8. package/dist-esm/samples-dev/administratorsDeleteSample.js +1 -1
  9. package/dist-esm/samples-dev/administratorsGetSample.js +1 -1
  10. package/dist-esm/samples-dev/administratorsListByServerSample.js +1 -1
  11. package/dist-esm/samples-dev/backupsGetSample.js +1 -1
  12. package/dist-esm/samples-dev/backupsListByServerSample.js +1 -1
  13. package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.d.ts +2 -0
  14. package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.d.ts.map +1 -0
  15. package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.js +43 -0
  16. package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.js.map +1 -0
  17. package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js +1 -1
  18. package/dist-esm/samples-dev/checkNameAvailabilityWithLocationExecuteSample.js +1 -1
  19. package/dist-esm/samples-dev/configurationsGetSample.js +1 -1
  20. package/dist-esm/samples-dev/configurationsListByServerSample.js +1 -1
  21. package/dist-esm/samples-dev/configurationsPutSample.js +1 -1
  22. package/dist-esm/samples-dev/configurationsUpdateSample.js +1 -1
  23. package/dist-esm/samples-dev/databasesCreateSample.js +1 -1
  24. package/dist-esm/samples-dev/databasesDeleteSample.js +1 -1
  25. package/dist-esm/samples-dev/databasesGetSample.js +1 -1
  26. package/dist-esm/samples-dev/databasesListByServerSample.js +1 -1
  27. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js +1 -1
  28. package/dist-esm/samples-dev/firewallRulesDeleteSample.js +1 -1
  29. package/dist-esm/samples-dev/firewallRulesGetSample.js +1 -1
  30. package/dist-esm/samples-dev/firewallRulesListByServerSample.js +1 -1
  31. package/dist-esm/samples-dev/flexibleServerStartLtrBackupSample.d.ts +2 -0
  32. package/dist-esm/samples-dev/flexibleServerStartLtrBackupSample.d.ts.map +1 -0
  33. package/dist-esm/samples-dev/flexibleServerStartLtrBackupSample.js +43 -0
  34. package/dist-esm/samples-dev/flexibleServerStartLtrBackupSample.js.map +1 -0
  35. package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.d.ts +2 -0
  36. package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.d.ts.map +1 -0
  37. package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.js +42 -0
  38. package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.js.map +1 -0
  39. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js +1 -1
  40. package/dist-esm/samples-dev/locationBasedCapabilitiesExecuteSample.js +1 -1
  41. package/dist-esm/samples-dev/logFilesListByServerSample.d.ts +2 -0
  42. package/dist-esm/samples-dev/logFilesListByServerSample.d.ts.map +1 -0
  43. package/dist-esm/samples-dev/logFilesListByServerSample.js +60 -0
  44. package/dist-esm/samples-dev/logFilesListByServerSample.js.map +1 -0
  45. package/dist-esm/samples-dev/ltrBackupOperationsGetSample.d.ts +2 -0
  46. package/dist-esm/samples-dev/ltrBackupOperationsGetSample.d.ts.map +1 -0
  47. package/dist-esm/samples-dev/ltrBackupOperationsGetSample.js +40 -0
  48. package/dist-esm/samples-dev/ltrBackupOperationsGetSample.js.map +1 -0
  49. package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.d.ts +2 -0
  50. package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.d.ts.map +1 -0
  51. package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.js +60 -0
  52. package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.js.map +1 -0
  53. package/dist-esm/samples-dev/migrationsCreateSample.d.ts +2 -0
  54. package/dist-esm/samples-dev/migrationsCreateSample.d.ts.map +1 -0
  55. package/dist-esm/samples-dev/migrationsCreateSample.js +45 -0
  56. package/dist-esm/samples-dev/migrationsCreateSample.js.map +1 -0
  57. package/dist-esm/samples-dev/migrationsDeleteSample.d.ts +2 -0
  58. package/dist-esm/samples-dev/migrationsDeleteSample.d.ts.map +1 -0
  59. package/dist-esm/samples-dev/migrationsDeleteSample.js +40 -0
  60. package/dist-esm/samples-dev/migrationsDeleteSample.js.map +1 -0
  61. package/dist-esm/samples-dev/migrationsGetSample.d.ts +2 -0
  62. package/dist-esm/samples-dev/migrationsGetSample.d.ts.map +1 -0
  63. package/dist-esm/samples-dev/migrationsGetSample.js +40 -0
  64. package/dist-esm/samples-dev/migrationsGetSample.js.map +1 -0
  65. package/dist-esm/samples-dev/migrationsListByTargetServerSample.d.ts +2 -0
  66. package/dist-esm/samples-dev/migrationsListByTargetServerSample.d.ts.map +1 -0
  67. package/dist-esm/samples-dev/migrationsListByTargetServerSample.js +64 -0
  68. package/dist-esm/samples-dev/migrationsListByTargetServerSample.js.map +1 -0
  69. package/dist-esm/samples-dev/migrationsUpdateSample.d.ts +2 -0
  70. package/dist-esm/samples-dev/migrationsUpdateSample.d.ts.map +1 -0
  71. package/dist-esm/samples-dev/migrationsUpdateSample.js +43 -0
  72. package/dist-esm/samples-dev/migrationsUpdateSample.js.map +1 -0
  73. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  74. package/dist-esm/samples-dev/replicasListByServerSample.js +1 -1
  75. package/dist-esm/samples-dev/serverCapabilitiesListSample.d.ts +2 -0
  76. package/dist-esm/samples-dev/serverCapabilitiesListSample.d.ts.map +1 -0
  77. package/dist-esm/samples-dev/serverCapabilitiesListSample.js +60 -0
  78. package/dist-esm/samples-dev/serverCapabilitiesListSample.js.map +1 -0
  79. package/dist-esm/samples-dev/serversCreateSample.js +63 -9
  80. package/dist-esm/samples-dev/serversCreateSample.js.map +1 -1
  81. package/dist-esm/samples-dev/serversDeleteSample.js +1 -1
  82. package/dist-esm/samples-dev/serversGetSample.js +2 -2
  83. package/dist-esm/samples-dev/serversListByResourceGroupSample.js +1 -1
  84. package/dist-esm/samples-dev/serversListSample.js +1 -1
  85. package/dist-esm/samples-dev/serversRestartSample.js +2 -2
  86. package/dist-esm/samples-dev/serversStartSample.js +1 -1
  87. package/dist-esm/samples-dev/serversStopSample.js +1 -1
  88. package/dist-esm/samples-dev/serversUpdateSample.js +11 -9
  89. package/dist-esm/samples-dev/serversUpdateSample.js.map +1 -1
  90. package/dist-esm/samples-dev/virtualNetworkSubnetUsageExecuteSample.js +1 -1
  91. package/dist-esm/src/models/index.d.ts +1105 -252
  92. package/dist-esm/src/models/index.d.ts.map +1 -1
  93. package/dist-esm/src/models/index.js +240 -2
  94. package/dist-esm/src/models/index.js.map +1 -1
  95. package/dist-esm/src/models/mappers.d.ts +34 -10
  96. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  97. package/dist-esm/src/models/mappers.js +1388 -641
  98. package/dist-esm/src/models/mappers.js.map +1 -1
  99. package/dist-esm/src/models/parameters.d.ts +11 -0
  100. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  101. package/dist-esm/src/models/parameters.js +96 -2
  102. package/dist-esm/src/models/parameters.js.map +1 -1
  103. package/dist-esm/src/operations/flexibleServer.d.ts +39 -0
  104. package/dist-esm/src/operations/flexibleServer.d.ts.map +1 -0
  105. package/dist-esm/src/operations/flexibleServer.js +157 -0
  106. package/dist-esm/src/operations/flexibleServer.js.map +1 -0
  107. package/dist-esm/src/operations/index.d.ts +5 -0
  108. package/dist-esm/src/operations/index.d.ts.map +1 -1
  109. package/dist-esm/src/operations/index.js +5 -0
  110. package/dist-esm/src/operations/index.js.map +1 -1
  111. package/dist-esm/src/operations/locationBasedCapabilities.d.ts +2 -2
  112. package/dist-esm/src/operations/locationBasedCapabilities.d.ts.map +1 -1
  113. package/dist-esm/src/operations/logFiles.d.ts +38 -0
  114. package/dist-esm/src/operations/logFiles.d.ts.map +1 -0
  115. package/dist-esm/src/operations/logFiles.js +155 -0
  116. package/dist-esm/src/operations/logFiles.js.map +1 -0
  117. package/dist-esm/src/operations/ltrBackupOperations.d.ts +46 -0
  118. package/dist-esm/src/operations/ltrBackupOperations.d.ts.map +1 -0
  119. package/dist-esm/src/operations/ltrBackupOperations.js +187 -0
  120. package/dist-esm/src/operations/ltrBackupOperations.js.map +1 -0
  121. package/dist-esm/src/operations/migrations.d.ts +80 -0
  122. package/dist-esm/src/operations/migrations.d.ts.map +1 -0
  123. package/dist-esm/src/operations/migrations.js +331 -0
  124. package/dist-esm/src/operations/migrations.js.map +1 -0
  125. package/dist-esm/src/operations/serverCapabilities.d.ts +38 -0
  126. package/dist-esm/src/operations/serverCapabilities.d.ts.map +1 -0
  127. package/dist-esm/src/operations/serverCapabilities.js +155 -0
  128. package/dist-esm/src/operations/serverCapabilities.js.map +1 -0
  129. package/dist-esm/src/operations/virtualNetworkSubnetUsage.js +1 -1
  130. package/dist-esm/src/operations/virtualNetworkSubnetUsage.js.map +1 -1
  131. package/dist-esm/src/operationsInterfaces/flexibleServer.d.ts +31 -0
  132. package/dist-esm/src/operationsInterfaces/flexibleServer.d.ts.map +1 -0
  133. package/dist-esm/src/operationsInterfaces/flexibleServer.js +9 -0
  134. package/dist-esm/src/operationsInterfaces/flexibleServer.js.map +1 -0
  135. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
  136. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  137. package/dist-esm/src/operationsInterfaces/index.js +5 -0
  138. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  139. package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.d.ts +2 -2
  140. package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.d.ts.map +1 -1
  141. package/dist-esm/src/operationsInterfaces/logFiles.d.ts +13 -0
  142. package/dist-esm/src/operationsInterfaces/logFiles.d.ts.map +1 -0
  143. package/dist-esm/src/operationsInterfaces/logFiles.js +9 -0
  144. package/dist-esm/src/operationsInterfaces/logFiles.js.map +1 -0
  145. package/dist-esm/src/operationsInterfaces/ltrBackupOperations.d.ts +21 -0
  146. package/dist-esm/src/operationsInterfaces/ltrBackupOperations.d.ts.map +1 -0
  147. package/dist-esm/src/operationsInterfaces/ltrBackupOperations.js +9 -0
  148. package/dist-esm/src/operationsInterfaces/ltrBackupOperations.js.map +1 -0
  149. package/dist-esm/src/operationsInterfaces/migrations.d.ts +53 -0
  150. package/dist-esm/src/operationsInterfaces/migrations.d.ts.map +1 -0
  151. package/dist-esm/src/operationsInterfaces/migrations.js +9 -0
  152. package/dist-esm/src/operationsInterfaces/migrations.js.map +1 -0
  153. package/dist-esm/src/operationsInterfaces/serverCapabilities.d.ts +13 -0
  154. package/dist-esm/src/operationsInterfaces/serverCapabilities.d.ts.map +1 -0
  155. package/dist-esm/src/operationsInterfaces/serverCapabilities.js +9 -0
  156. package/dist-esm/src/operationsInterfaces/serverCapabilities.js.map +1 -0
  157. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts +16 -2
  158. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
  159. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js +52 -3
  160. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js.map +1 -1
  161. package/package.json +4 -4
  162. package/review/arm-postgresql-flexible.api.md +642 -58
  163. package/src/models/index.ts +1244 -289
  164. package/src/models/mappers.ts +1588 -718
  165. package/src/models/parameters.ts +114 -2
  166. package/src/operations/flexibleServer.ts +223 -0
  167. package/src/operations/index.ts +5 -0
  168. package/src/operations/locationBasedCapabilities.ts +4 -4
  169. package/src/operations/logFiles.ts +198 -0
  170. package/src/operations/ltrBackupOperations.ts +242 -0
  171. package/src/operations/migrations.ts +442 -0
  172. package/src/operations/serverCapabilities.ts +194 -0
  173. package/src/operations/virtualNetworkSubnetUsage.ts +1 -1
  174. package/src/operationsInterfaces/flexibleServer.ts +66 -0
  175. package/src/operationsInterfaces/index.ts +5 -0
  176. package/src/operationsInterfaces/locationBasedCapabilities.ts +2 -2
  177. package/src/operationsInterfaces/logFiles.ts +26 -0
  178. package/src/operationsInterfaces/ltrBackupOperations.ts +44 -0
  179. package/src/operationsInterfaces/migrations.ts +104 -0
  180. package/src/operationsInterfaces/serverCapabilities.ts +29 -0
  181. package/src/postgreSQLManagementFlexibleServerClient.ts +86 -5
  182. package/types/arm-postgresql-flexible.d.ts +1273 -183
  183. package/types/tsdoc-metadata.json +1 -1
@@ -280,7 +280,7 @@ export const CapabilitiesListResult: coreClient.CompositeMapper = {
280
280
  element: {
281
281
  type: {
282
282
  name: "Composite",
283
- className: "CapabilityProperties"
283
+ className: "FlexibleServerCapability"
284
284
  }
285
285
  }
286
286
  }
@@ -296,99 +296,21 @@ export const CapabilitiesListResult: coreClient.CompositeMapper = {
296
296
  }
297
297
  };
298
298
 
299
- export const CapabilityProperties: coreClient.CompositeMapper = {
299
+ export const CapabilityBase: coreClient.CompositeMapper = {
300
300
  type: {
301
301
  name: "Composite",
302
- className: "CapabilityProperties",
302
+ className: "CapabilityBase",
303
303
  modelProperties: {
304
- zone: {
305
- serializedName: "zone",
306
- readOnly: true,
307
- type: {
308
- name: "String"
309
- }
310
- },
311
- supportedHAMode: {
312
- serializedName: "supportedHAMode",
313
- readOnly: true,
314
- type: {
315
- name: "Sequence",
316
- element: {
317
- type: {
318
- name: "String"
319
- }
320
- }
321
- }
322
- },
323
- geoBackupSupported: {
324
- serializedName: "geoBackupSupported",
325
- readOnly: true,
326
- type: {
327
- name: "Boolean"
328
- }
329
- },
330
- zoneRedundantHaSupported: {
331
- serializedName: "zoneRedundantHaSupported",
332
- readOnly: true,
333
- type: {
334
- name: "Boolean"
335
- }
336
- },
337
- zoneRedundantHaAndGeoBackupSupported: {
338
- serializedName: "zoneRedundantHaAndGeoBackupSupported",
339
- readOnly: true,
340
- type: {
341
- name: "Boolean"
342
- }
343
- },
344
- supportedFlexibleServerEditions: {
345
- serializedName: "supportedFlexibleServerEditions",
346
- readOnly: true,
347
- type: {
348
- name: "Sequence",
349
- element: {
350
- type: {
351
- name: "Composite",
352
- className: "FlexibleServerEditionCapability"
353
- }
354
- }
355
- }
356
- },
357
- supportedHyperscaleNodeEditions: {
358
- serializedName: "supportedHyperscaleNodeEditions",
359
- readOnly: true,
360
- type: {
361
- name: "Sequence",
362
- element: {
363
- type: {
364
- name: "Composite",
365
- className: "HyperscaleNodeEditionCapability"
366
- }
367
- }
368
- }
369
- },
370
- fastProvisioningSupported: {
371
- serializedName: "fastProvisioningSupported",
372
- readOnly: true,
373
- type: {
374
- name: "Boolean"
375
- }
376
- },
377
- supportedFastProvisioningEditions: {
378
- serializedName: "supportedFastProvisioningEditions",
304
+ status: {
305
+ serializedName: "status",
379
306
  readOnly: true,
380
307
  type: {
381
- name: "Sequence",
382
- element: {
383
- type: {
384
- name: "Composite",
385
- className: "FastProvisioningEditionCapability"
386
- }
387
- }
308
+ name: "Enum",
309
+ allowedValues: ["Visible", "Available", "Default", "Disabled"]
388
310
  }
389
311
  },
390
- status: {
391
- serializedName: "status",
312
+ reason: {
313
+ serializedName: "reason",
392
314
  readOnly: true,
393
315
  type: {
394
316
  name: "String"
@@ -398,47 +320,46 @@ export const CapabilityProperties: coreClient.CompositeMapper = {
398
320
  }
399
321
  };
400
322
 
401
- export const FlexibleServerEditionCapability: coreClient.CompositeMapper = {
323
+ export const CheckNameAvailabilityRequest: coreClient.CompositeMapper = {
402
324
  type: {
403
325
  name: "Composite",
404
- className: "FlexibleServerEditionCapability",
326
+ className: "CheckNameAvailabilityRequest",
405
327
  modelProperties: {
406
328
  name: {
407
329
  serializedName: "name",
408
- readOnly: true,
409
330
  type: {
410
331
  name: "String"
411
332
  }
412
333
  },
413
- supportedStorageEditions: {
414
- serializedName: "supportedStorageEditions",
415
- readOnly: true,
334
+ type: {
335
+ serializedName: "type",
416
336
  type: {
417
- name: "Sequence",
418
- element: {
419
- type: {
420
- name: "Composite",
421
- className: "StorageEditionCapability"
422
- }
423
- }
337
+ name: "String"
338
+ }
339
+ }
340
+ }
341
+ }
342
+ };
343
+
344
+ export const CheckNameAvailabilityResponse: coreClient.CompositeMapper = {
345
+ type: {
346
+ name: "Composite",
347
+ className: "CheckNameAvailabilityResponse",
348
+ modelProperties: {
349
+ nameAvailable: {
350
+ serializedName: "nameAvailable",
351
+ type: {
352
+ name: "Boolean"
424
353
  }
425
354
  },
426
- supportedServerVersions: {
427
- serializedName: "supportedServerVersions",
428
- readOnly: true,
355
+ reason: {
356
+ serializedName: "reason",
429
357
  type: {
430
- name: "Sequence",
431
- element: {
432
- type: {
433
- name: "Composite",
434
- className: "ServerVersionCapability"
435
- }
436
- }
358
+ name: "String"
437
359
  }
438
360
  },
439
- status: {
440
- serializedName: "status",
441
- readOnly: true,
361
+ message: {
362
+ serializedName: "message",
442
363
  type: {
443
364
  name: "String"
444
365
  }
@@ -447,34 +368,25 @@ export const FlexibleServerEditionCapability: coreClient.CompositeMapper = {
447
368
  }
448
369
  };
449
370
 
450
- export const StorageEditionCapability: coreClient.CompositeMapper = {
371
+ export const ConfigurationListResult: coreClient.CompositeMapper = {
451
372
  type: {
452
373
  name: "Composite",
453
- className: "StorageEditionCapability",
374
+ className: "ConfigurationListResult",
454
375
  modelProperties: {
455
- name: {
456
- serializedName: "name",
457
- readOnly: true,
458
- type: {
459
- name: "String"
460
- }
461
- },
462
- supportedStorageMB: {
463
- serializedName: "supportedStorageMB",
464
- readOnly: true,
376
+ value: {
377
+ serializedName: "value",
465
378
  type: {
466
379
  name: "Sequence",
467
380
  element: {
468
381
  type: {
469
382
  name: "Composite",
470
- className: "StorageMBCapability"
383
+ className: "Configuration"
471
384
  }
472
385
  }
473
386
  }
474
387
  },
475
- status: {
476
- serializedName: "status",
477
- readOnly: true,
388
+ nextLink: {
389
+ serializedName: "nextLink",
478
390
  type: {
479
391
  name: "String"
480
392
  }
@@ -483,91 +395,81 @@ export const StorageEditionCapability: coreClient.CompositeMapper = {
483
395
  }
484
396
  };
485
397
 
486
- export const StorageMBCapability: coreClient.CompositeMapper = {
398
+ export const ConfigurationForUpdate: coreClient.CompositeMapper = {
487
399
  type: {
488
400
  name: "Composite",
489
- className: "StorageMBCapability",
401
+ className: "ConfigurationForUpdate",
490
402
  modelProperties: {
491
- name: {
492
- serializedName: "name",
493
- readOnly: true,
403
+ value: {
404
+ serializedName: "properties.value",
494
405
  type: {
495
406
  name: "String"
496
407
  }
497
408
  },
498
- supportedIops: {
499
- serializedName: "supportedIops",
409
+ description: {
410
+ serializedName: "properties.description",
500
411
  readOnly: true,
501
412
  type: {
502
- name: "Number"
413
+ name: "String"
503
414
  }
504
415
  },
505
- storageSizeMB: {
506
- serializedName: "storageSizeMB",
416
+ defaultValue: {
417
+ serializedName: "properties.defaultValue",
507
418
  readOnly: true,
508
419
  type: {
509
- name: "Number"
420
+ name: "String"
510
421
  }
511
422
  },
512
- supportedUpgradableTierList: {
513
- serializedName: "supportedUpgradableTierList",
423
+ dataType: {
424
+ serializedName: "properties.dataType",
514
425
  readOnly: true,
515
426
  type: {
516
- name: "Sequence",
517
- element: {
518
- type: {
519
- name: "Composite",
520
- className: "StorageTierCapability"
521
- }
522
- }
427
+ name: "String"
523
428
  }
524
429
  },
525
- status: {
526
- serializedName: "status",
430
+ allowedValues: {
431
+ serializedName: "properties.allowedValues",
527
432
  readOnly: true,
528
433
  type: {
529
434
  name: "String"
530
435
  }
531
- }
532
- }
533
- }
534
- };
535
-
536
- export const StorageTierCapability: coreClient.CompositeMapper = {
537
- type: {
538
- name: "Composite",
539
- className: "StorageTierCapability",
540
- modelProperties: {
541
- name: {
542
- serializedName: "name",
543
- readOnly: true,
436
+ },
437
+ source: {
438
+ serializedName: "properties.source",
544
439
  type: {
545
440
  name: "String"
546
441
  }
547
442
  },
548
- tierName: {
549
- serializedName: "tierName",
443
+ isDynamicConfig: {
444
+ serializedName: "properties.isDynamicConfig",
550
445
  readOnly: true,
551
446
  type: {
552
- name: "String"
447
+ name: "Boolean"
553
448
  }
554
449
  },
555
- iops: {
556
- serializedName: "iops",
450
+ isReadOnly: {
451
+ serializedName: "properties.isReadOnly",
557
452
  readOnly: true,
558
453
  type: {
559
- name: "Number"
454
+ name: "Boolean"
560
455
  }
561
456
  },
562
- isBaseline: {
563
- serializedName: "isBaseline",
457
+ isConfigPendingRestart: {
458
+ serializedName: "properties.isConfigPendingRestart",
564
459
  readOnly: true,
565
460
  type: {
566
461
  name: "Boolean"
567
462
  }
568
463
  },
569
- status: {
570
- serializedName: "status",
464
+ unit: {
465
+ serializedName: "properties.unit",
466
+ readOnly: true,
467
+ type: {
468
+ name: "String"
469
+ }
470
+ },
471
+ documentationLink: {
472
+ serializedName: "properties.documentationLink",
571
473
  readOnly: true,
572
474
  type: {
573
475
  name: "String"
@@ -577,46 +479,25 @@ export const StorageTierCapability: coreClient.CompositeMapper = {
577
479
  }
578
480
  };
579
481
 
580
- export const ServerVersionCapability: coreClient.CompositeMapper = {
482
+ export const DatabaseListResult: coreClient.CompositeMapper = {
581
483
  type: {
582
484
  name: "Composite",
583
- className: "ServerVersionCapability",
485
+ className: "DatabaseListResult",
584
486
  modelProperties: {
585
- name: {
586
- serializedName: "name",
587
- readOnly: true,
588
- type: {
589
- name: "String"
590
- }
591
- },
592
- supportedVersionsToUpgrade: {
593
- serializedName: "supportedVersionsToUpgrade",
594
- readOnly: true,
595
- type: {
596
- name: "Sequence",
597
- element: {
598
- type: {
599
- name: "String"
600
- }
601
- }
602
- }
603
- },
604
- supportedVcores: {
605
- serializedName: "supportedVcores",
606
- readOnly: true,
487
+ value: {
488
+ serializedName: "value",
607
489
  type: {
608
490
  name: "Sequence",
609
491
  element: {
610
492
  type: {
611
493
  name: "Composite",
612
- className: "VcoreCapability"
494
+ className: "Database"
613
495
  }
614
496
  }
615
497
  }
616
498
  },
617
- status: {
618
- serializedName: "status",
619
- readOnly: true,
499
+ nextLink: {
500
+ serializedName: "nextLink",
620
501
  type: {
621
502
  name: "String"
622
503
  }
@@ -625,104 +506,25 @@ export const ServerVersionCapability: coreClient.CompositeMapper = {
625
506
  }
626
507
  };
627
508
 
628
- export const VcoreCapability: coreClient.CompositeMapper = {
509
+ export const FirewallRuleListResult: coreClient.CompositeMapper = {
629
510
  type: {
630
511
  name: "Composite",
631
- className: "VcoreCapability",
512
+ className: "FirewallRuleListResult",
632
513
  modelProperties: {
633
- name: {
634
- serializedName: "name",
635
- readOnly: true,
636
- type: {
637
- name: "String"
638
- }
639
- },
640
- vCores: {
641
- serializedName: "vCores",
642
- readOnly: true,
643
- type: {
644
- name: "Number"
645
- }
646
- },
647
- supportedIops: {
648
- serializedName: "supportedIops",
649
- readOnly: true,
650
- type: {
651
- name: "Number"
652
- }
653
- },
654
- supportedMemoryPerVcoreMB: {
655
- serializedName: "supportedMemoryPerVcoreMB",
656
- readOnly: true,
657
- type: {
658
- name: "Number"
659
- }
660
- },
661
- status: {
662
- serializedName: "status",
663
- readOnly: true,
664
- type: {
665
- name: "String"
666
- }
667
- }
668
- }
669
- }
670
- };
671
-
672
- export const HyperscaleNodeEditionCapability: coreClient.CompositeMapper = {
673
- type: {
674
- name: "Composite",
675
- className: "HyperscaleNodeEditionCapability",
676
- modelProperties: {
677
- name: {
678
- serializedName: "name",
679
- readOnly: true,
680
- type: {
681
- name: "String"
682
- }
683
- },
684
- supportedStorageEditions: {
685
- serializedName: "supportedStorageEditions",
686
- readOnly: true,
687
- type: {
688
- name: "Sequence",
689
- element: {
690
- type: {
691
- name: "Composite",
692
- className: "StorageEditionCapability"
693
- }
694
- }
695
- }
696
- },
697
- supportedServerVersions: {
698
- serializedName: "supportedServerVersions",
699
- readOnly: true,
700
- type: {
701
- name: "Sequence",
702
- element: {
703
- type: {
704
- name: "Composite",
705
- className: "ServerVersionCapability"
706
- }
707
- }
708
- }
709
- },
710
- supportedNodeTypes: {
711
- serializedName: "supportedNodeTypes",
712
- readOnly: true,
514
+ value: {
515
+ serializedName: "value",
713
516
  type: {
714
517
  name: "Sequence",
715
518
  element: {
716
519
  type: {
717
520
  name: "Composite",
718
- className: "NodeTypeCapability"
521
+ className: "FirewallRule"
719
522
  }
720
523
  }
721
524
  }
722
525
  },
723
- status: {
724
- serializedName: "status",
725
- readOnly: true,
526
+ nextLink: {
527
+ serializedName: "nextLink",
726
528
  type: {
727
529
  name: "String"
728
530
  }
@@ -731,28 +533,21 @@ export const HyperscaleNodeEditionCapability: coreClient.CompositeMapper = {
731
533
  }
732
534
  };
733
535
 
734
- export const NodeTypeCapability: coreClient.CompositeMapper = {
536
+ export const Sku: coreClient.CompositeMapper = {
735
537
  type: {
736
538
  name: "Composite",
737
- className: "NodeTypeCapability",
539
+ className: "Sku",
738
540
  modelProperties: {
739
541
  name: {
740
542
  serializedName: "name",
741
- readOnly: true,
742
- type: {
743
- name: "String"
744
- }
745
- },
746
- nodeType: {
747
- serializedName: "nodeType",
748
- readOnly: true,
543
+ required: true,
749
544
  type: {
750
545
  name: "String"
751
546
  }
752
547
  },
753
- status: {
754
- serializedName: "status",
755
- readOnly: true,
548
+ tier: {
549
+ serializedName: "tier",
550
+ required: true,
756
551
  type: {
757
552
  name: "String"
758
553
  }
@@ -761,28 +556,21 @@ export const NodeTypeCapability: coreClient.CompositeMapper = {
761
556
  }
762
557
  };
763
558
 
764
- export const FastProvisioningEditionCapability: coreClient.CompositeMapper = {
559
+ export const UserAssignedIdentity: coreClient.CompositeMapper = {
765
560
  type: {
766
561
  name: "Composite",
767
- className: "FastProvisioningEditionCapability",
562
+ className: "UserAssignedIdentity",
768
563
  modelProperties: {
769
- supportedSku: {
770
- serializedName: "supportedSku",
771
- readOnly: true,
772
- type: {
773
- name: "String"
774
- }
775
- },
776
- supportedStorageGb: {
777
- serializedName: "supportedStorageGb",
778
- readOnly: true,
564
+ userAssignedIdentities: {
565
+ serializedName: "userAssignedIdentities",
779
566
  type: {
780
- name: "Number"
567
+ name: "Dictionary",
568
+ value: { type: { name: "Composite", className: "UserIdentity" } }
781
569
  }
782
570
  },
783
- supportedServerVersions: {
784
- serializedName: "supportedServerVersions",
785
- readOnly: true,
571
+ type: {
572
+ serializedName: "type",
573
+ required: true,
786
574
  type: {
787
575
  name: "String"
788
576
  }
@@ -791,19 +579,19 @@ export const FastProvisioningEditionCapability: coreClient.CompositeMapper = {
791
579
  }
792
580
  };
793
581
 
794
- export const CheckNameAvailabilityRequest: coreClient.CompositeMapper = {
582
+ export const UserIdentity: coreClient.CompositeMapper = {
795
583
  type: {
796
584
  name: "Composite",
797
- className: "CheckNameAvailabilityRequest",
585
+ className: "UserIdentity",
798
586
  modelProperties: {
799
- name: {
800
- serializedName: "name",
587
+ principalId: {
588
+ serializedName: "principalId",
801
589
  type: {
802
590
  name: "String"
803
591
  }
804
592
  },
805
- type: {
806
- serializedName: "type",
593
+ clientId: {
594
+ serializedName: "clientId",
807
595
  type: {
808
596
  name: "String"
809
597
  }
@@ -812,52 +600,61 @@ export const CheckNameAvailabilityRequest: coreClient.CompositeMapper = {
812
600
  }
813
601
  };
814
602
 
815
- export const CheckNameAvailabilityResponse: coreClient.CompositeMapper = {
603
+ export const Storage: coreClient.CompositeMapper = {
816
604
  type: {
817
605
  name: "Composite",
818
- className: "CheckNameAvailabilityResponse",
606
+ className: "Storage",
819
607
  modelProperties: {
820
- nameAvailable: {
821
- serializedName: "nameAvailable",
608
+ storageSizeGB: {
609
+ serializedName: "storageSizeGB",
822
610
  type: {
823
- name: "Boolean"
611
+ name: "Number"
824
612
  }
825
613
  },
826
- reason: {
827
- serializedName: "reason",
614
+ autoGrow: {
615
+ serializedName: "autoGrow",
828
616
  type: {
829
617
  name: "String"
830
618
  }
831
619
  },
832
- message: {
833
- serializedName: "message",
620
+ iopsTier: {
621
+ serializedName: "iopsTier",
834
622
  type: {
835
623
  name: "String"
836
624
  }
625
+ },
626
+ iops: {
627
+ serializedName: "iops",
628
+ readOnly: true,
629
+ type: {
630
+ name: "Number"
631
+ }
837
632
  }
838
633
  }
839
634
  }
840
635
  };
841
636
 
842
- export const ConfigurationListResult: coreClient.CompositeMapper = {
637
+ export const AuthConfig: coreClient.CompositeMapper = {
843
638
  type: {
844
639
  name: "Composite",
845
- className: "ConfigurationListResult",
640
+ className: "AuthConfig",
846
641
  modelProperties: {
847
- value: {
848
- serializedName: "value",
642
+ activeDirectoryAuth: {
643
+ serializedName: "activeDirectoryAuth",
849
644
  type: {
850
- name: "Sequence",
851
- element: {
852
- type: {
853
- name: "Composite",
854
- className: "Configuration"
855
- }
856
- }
645
+ name: "String"
857
646
  }
858
647
  },
859
- nextLink: {
860
- serializedName: "nextLink",
648
+ passwordAuth: {
649
+ defaultValue: "Enabled",
650
+ serializedName: "passwordAuth",
651
+ type: {
652
+ name: "String"
653
+ }
654
+ },
655
+ tenantId: {
656
+ defaultValue: "",
657
+ serializedName: "tenantId",
861
658
  type: {
862
659
  name: "String"
863
660
  }
@@ -866,316 +663,91 @@ export const ConfigurationListResult: coreClient.CompositeMapper = {
866
663
  }
867
664
  };
868
665
 
869
- export const ConfigurationForUpdate: coreClient.CompositeMapper = {
666
+ export const DataEncryption: coreClient.CompositeMapper = {
870
667
  type: {
871
668
  name: "Composite",
872
- className: "ConfigurationForUpdate",
669
+ className: "DataEncryption",
873
670
  modelProperties: {
874
- value: {
875
- serializedName: "properties.value",
671
+ primaryKeyURI: {
672
+ serializedName: "primaryKeyURI",
876
673
  type: {
877
674
  name: "String"
878
675
  }
879
676
  },
880
- description: {
881
- serializedName: "properties.description",
882
- readOnly: true,
677
+ primaryUserAssignedIdentityId: {
678
+ serializedName: "primaryUserAssignedIdentityId",
883
679
  type: {
884
680
  name: "String"
885
681
  }
886
682
  },
887
- defaultValue: {
888
- serializedName: "properties.defaultValue",
889
- readOnly: true,
683
+ geoBackupKeyURI: {
684
+ serializedName: "geoBackupKeyURI",
890
685
  type: {
891
686
  name: "String"
892
687
  }
893
688
  },
894
- dataType: {
895
- serializedName: "properties.dataType",
896
- readOnly: true,
689
+ geoBackupUserAssignedIdentityId: {
690
+ serializedName: "geoBackupUserAssignedIdentityId",
897
691
  type: {
898
692
  name: "String"
899
693
  }
900
694
  },
901
- allowedValues: {
902
- serializedName: "properties.allowedValues",
903
- readOnly: true,
695
+ type: {
696
+ serializedName: "type",
904
697
  type: {
905
698
  name: "String"
906
699
  }
907
700
  },
908
- source: {
909
- serializedName: "properties.source",
701
+ primaryEncryptionKeyStatus: {
702
+ serializedName: "primaryEncryptionKeyStatus",
910
703
  type: {
911
704
  name: "String"
912
705
  }
913
706
  },
914
- isDynamicConfig: {
915
- serializedName: "properties.isDynamicConfig",
916
- readOnly: true,
917
- type: {
918
- name: "Boolean"
919
- }
920
- },
921
- isReadOnly: {
922
- serializedName: "properties.isReadOnly",
923
- readOnly: true,
707
+ geoBackupEncryptionKeyStatus: {
708
+ serializedName: "geoBackupEncryptionKeyStatus",
924
709
  type: {
925
- name: "Boolean"
710
+ name: "String"
926
711
  }
927
- },
928
- isConfigPendingRestart: {
929
- serializedName: "properties.isConfigPendingRestart",
930
- readOnly: true,
712
+ }
713
+ }
714
+ }
715
+ };
716
+
717
+ export const Backup: coreClient.CompositeMapper = {
718
+ type: {
719
+ name: "Composite",
720
+ className: "Backup",
721
+ modelProperties: {
722
+ backupRetentionDays: {
723
+ defaultValue: 7,
724
+ serializedName: "backupRetentionDays",
931
725
  type: {
932
- name: "Boolean"
726
+ name: "Number"
933
727
  }
934
728
  },
935
- unit: {
936
- serializedName: "properties.unit",
937
- readOnly: true,
729
+ geoRedundantBackup: {
730
+ defaultValue: "Disabled",
731
+ serializedName: "geoRedundantBackup",
938
732
  type: {
939
733
  name: "String"
940
734
  }
941
735
  },
942
- documentationLink: {
943
- serializedName: "properties.documentationLink",
736
+ earliestRestoreDate: {
737
+ serializedName: "earliestRestoreDate",
944
738
  readOnly: true,
945
739
  type: {
946
- name: "String"
740
+ name: "DateTime"
947
741
  }
948
742
  }
949
743
  }
950
744
  }
951
745
  };
952
746
 
953
- export const DatabaseListResult: coreClient.CompositeMapper = {
747
+ export const Network: coreClient.CompositeMapper = {
954
748
  type: {
955
749
  name: "Composite",
956
- className: "DatabaseListResult",
957
- modelProperties: {
958
- value: {
959
- serializedName: "value",
960
- type: {
961
- name: "Sequence",
962
- element: {
963
- type: {
964
- name: "Composite",
965
- className: "Database"
966
- }
967
- }
968
- }
969
- },
970
- nextLink: {
971
- serializedName: "nextLink",
972
- type: {
973
- name: "String"
974
- }
975
- }
976
- }
977
- }
978
- };
979
-
980
- export const FirewallRuleListResult: coreClient.CompositeMapper = {
981
- type: {
982
- name: "Composite",
983
- className: "FirewallRuleListResult",
984
- modelProperties: {
985
- value: {
986
- serializedName: "value",
987
- type: {
988
- name: "Sequence",
989
- element: {
990
- type: {
991
- name: "Composite",
992
- className: "FirewallRule"
993
- }
994
- }
995
- }
996
- },
997
- nextLink: {
998
- serializedName: "nextLink",
999
- type: {
1000
- name: "String"
1001
- }
1002
- }
1003
- }
1004
- }
1005
- };
1006
-
1007
- export const Sku: coreClient.CompositeMapper = {
1008
- type: {
1009
- name: "Composite",
1010
- className: "Sku",
1011
- modelProperties: {
1012
- name: {
1013
- serializedName: "name",
1014
- required: true,
1015
- type: {
1016
- name: "String"
1017
- }
1018
- },
1019
- tier: {
1020
- serializedName: "tier",
1021
- required: true,
1022
- type: {
1023
- name: "String"
1024
- }
1025
- }
1026
- }
1027
- }
1028
- };
1029
-
1030
- export const UserAssignedIdentity: coreClient.CompositeMapper = {
1031
- type: {
1032
- name: "Composite",
1033
- className: "UserAssignedIdentity",
1034
- modelProperties: {
1035
- userAssignedIdentities: {
1036
- serializedName: "userAssignedIdentities",
1037
- type: {
1038
- name: "Dictionary",
1039
- value: { type: { name: "Composite", className: "UserIdentity" } }
1040
- }
1041
- },
1042
- type: {
1043
- serializedName: "type",
1044
- required: true,
1045
- type: {
1046
- name: "String"
1047
- }
1048
- }
1049
- }
1050
- }
1051
- };
1052
-
1053
- export const UserIdentity: coreClient.CompositeMapper = {
1054
- type: {
1055
- name: "Composite",
1056
- className: "UserIdentity",
1057
- modelProperties: {
1058
- principalId: {
1059
- serializedName: "principalId",
1060
- type: {
1061
- name: "String"
1062
- }
1063
- },
1064
- clientId: {
1065
- serializedName: "clientId",
1066
- type: {
1067
- name: "String"
1068
- }
1069
- }
1070
- }
1071
- }
1072
- };
1073
-
1074
- export const Storage: coreClient.CompositeMapper = {
1075
- type: {
1076
- name: "Composite",
1077
- className: "Storage",
1078
- modelProperties: {
1079
- storageSizeGB: {
1080
- serializedName: "storageSizeGB",
1081
- type: {
1082
- name: "Number"
1083
- }
1084
- }
1085
- }
1086
- }
1087
- };
1088
-
1089
- export const AuthConfig: coreClient.CompositeMapper = {
1090
- type: {
1091
- name: "Composite",
1092
- className: "AuthConfig",
1093
- modelProperties: {
1094
- activeDirectoryAuth: {
1095
- serializedName: "activeDirectoryAuth",
1096
- type: {
1097
- name: "String"
1098
- }
1099
- },
1100
- passwordAuth: {
1101
- defaultValue: "Enabled",
1102
- serializedName: "passwordAuth",
1103
- type: {
1104
- name: "String"
1105
- }
1106
- },
1107
- tenantId: {
1108
- defaultValue: "",
1109
- serializedName: "tenantId",
1110
- type: {
1111
- name: "String"
1112
- }
1113
- }
1114
- }
1115
- }
1116
- };
1117
-
1118
- export const DataEncryption: coreClient.CompositeMapper = {
1119
- type: {
1120
- name: "Composite",
1121
- className: "DataEncryption",
1122
- modelProperties: {
1123
- primaryKeyURI: {
1124
- serializedName: "primaryKeyURI",
1125
- type: {
1126
- name: "String"
1127
- }
1128
- },
1129
- primaryUserAssignedIdentityId: {
1130
- serializedName: "primaryUserAssignedIdentityId",
1131
- type: {
1132
- name: "String"
1133
- }
1134
- },
1135
- type: {
1136
- serializedName: "type",
1137
- type: {
1138
- name: "String"
1139
- }
1140
- }
1141
- }
1142
- }
1143
- };
1144
-
1145
- export const Backup: coreClient.CompositeMapper = {
1146
- type: {
1147
- name: "Composite",
1148
- className: "Backup",
1149
- modelProperties: {
1150
- backupRetentionDays: {
1151
- defaultValue: 7,
1152
- serializedName: "backupRetentionDays",
1153
- type: {
1154
- name: "Number"
1155
- }
1156
- },
1157
- geoRedundantBackup: {
1158
- defaultValue: "Disabled",
1159
- serializedName: "geoRedundantBackup",
1160
- type: {
1161
- name: "String"
1162
- }
1163
- },
1164
- earliestRestoreDate: {
1165
- serializedName: "earliestRestoreDate",
1166
- readOnly: true,
1167
- type: {
1168
- name: "DateTime"
1169
- }
1170
- }
1171
- }
1172
- }
1173
- };
1174
-
1175
- export const Network: coreClient.CompositeMapper = {
1176
- type: {
1177
- name: "Composite",
1178
- className: "Network",
750
+ className: "Network",
1179
751
  modelProperties: {
1180
752
  publicNetworkAccess: {
1181
753
  serializedName: "publicNetworkAccess",
@@ -1392,38 +964,889 @@ export const ServerListResult: coreClient.CompositeMapper = {
1392
964
  }
1393
965
  };
1394
966
 
1395
- export const OperationListResult: coreClient.CompositeMapper = {
967
+ export const MigrationStatus: coreClient.CompositeMapper = {
1396
968
  type: {
1397
969
  name: "Composite",
1398
- className: "OperationListResult",
970
+ className: "MigrationStatus",
1399
971
  modelProperties: {
1400
- value: {
1401
- serializedName: "value",
972
+ state: {
973
+ serializedName: "state",
974
+ readOnly: true,
975
+ type: {
976
+ name: "String"
977
+ }
978
+ },
979
+ error: {
980
+ serializedName: "error",
981
+ readOnly: true,
982
+ type: {
983
+ name: "String"
984
+ }
985
+ },
986
+ currentSubStateDetails: {
987
+ serializedName: "currentSubStateDetails",
988
+ type: {
989
+ name: "Composite",
990
+ className: "MigrationSubStateDetails"
991
+ }
992
+ }
993
+ }
994
+ }
995
+ };
996
+
997
+ export const MigrationSubStateDetails: coreClient.CompositeMapper = {
998
+ type: {
999
+ name: "Composite",
1000
+ className: "MigrationSubStateDetails",
1001
+ modelProperties: {
1002
+ currentSubState: {
1003
+ serializedName: "currentSubState",
1004
+ readOnly: true,
1005
+ type: {
1006
+ name: "String"
1007
+ }
1008
+ }
1009
+ }
1010
+ }
1011
+ };
1012
+
1013
+ export const DbServerMetadata: coreClient.CompositeMapper = {
1014
+ type: {
1015
+ name: "Composite",
1016
+ className: "DbServerMetadata",
1017
+ modelProperties: {
1018
+ location: {
1019
+ serializedName: "location",
1020
+ readOnly: true,
1021
+ type: {
1022
+ name: "String"
1023
+ }
1024
+ },
1025
+ version: {
1026
+ serializedName: "version",
1027
+ type: {
1028
+ name: "String"
1029
+ }
1030
+ },
1031
+ storageMb: {
1032
+ serializedName: "storageMb",
1033
+ type: {
1034
+ name: "Number"
1035
+ }
1036
+ },
1037
+ sku: {
1038
+ serializedName: "sku",
1039
+ type: {
1040
+ name: "Composite",
1041
+ className: "ServerSkuAutoGenerated"
1042
+ }
1043
+ }
1044
+ }
1045
+ }
1046
+ };
1047
+
1048
+ export const ServerSkuAutoGenerated: coreClient.CompositeMapper = {
1049
+ type: {
1050
+ name: "Composite",
1051
+ className: "ServerSkuAutoGenerated",
1052
+ modelProperties: {
1053
+ name: {
1054
+ serializedName: "name",
1055
+ required: true,
1056
+ type: {
1057
+ name: "String"
1058
+ }
1059
+ },
1060
+ tier: {
1061
+ serializedName: "tier",
1062
+ required: true,
1063
+ type: {
1064
+ name: "String"
1065
+ }
1066
+ }
1067
+ }
1068
+ }
1069
+ };
1070
+
1071
+ export const MigrationSecretParameters: coreClient.CompositeMapper = {
1072
+ type: {
1073
+ name: "Composite",
1074
+ className: "MigrationSecretParameters",
1075
+ modelProperties: {
1076
+ adminCredentials: {
1077
+ serializedName: "adminCredentials",
1078
+ type: {
1079
+ name: "Composite",
1080
+ className: "AdminCredentials"
1081
+ }
1082
+ }
1083
+ }
1084
+ }
1085
+ };
1086
+
1087
+ export const AdminCredentials: coreClient.CompositeMapper = {
1088
+ type: {
1089
+ name: "Composite",
1090
+ className: "AdminCredentials",
1091
+ modelProperties: {
1092
+ sourceServerPassword: {
1093
+ serializedName: "sourceServerPassword",
1094
+ required: true,
1095
+ type: {
1096
+ name: "String"
1097
+ }
1098
+ },
1099
+ targetServerPassword: {
1100
+ serializedName: "targetServerPassword",
1101
+ required: true,
1102
+ type: {
1103
+ name: "String"
1104
+ }
1105
+ }
1106
+ }
1107
+ }
1108
+ };
1109
+
1110
+ export const MigrationResourceForPatch: coreClient.CompositeMapper = {
1111
+ type: {
1112
+ name: "Composite",
1113
+ className: "MigrationResourceForPatch",
1114
+ modelProperties: {
1115
+ tags: {
1116
+ serializedName: "tags",
1117
+ type: {
1118
+ name: "Dictionary",
1119
+ value: { type: { name: "String" } }
1120
+ }
1121
+ },
1122
+ sourceDbServerResourceId: {
1123
+ serializedName: "properties.sourceDbServerResourceId",
1124
+ type: {
1125
+ name: "String"
1126
+ }
1127
+ },
1128
+ sourceDbServerFullyQualifiedDomainName: {
1129
+ serializedName: "properties.sourceDbServerFullyQualifiedDomainName",
1130
+ type: {
1131
+ name: "String"
1132
+ }
1133
+ },
1134
+ targetDbServerFullyQualifiedDomainName: {
1135
+ serializedName: "properties.targetDbServerFullyQualifiedDomainName",
1136
+ type: {
1137
+ name: "String"
1138
+ }
1139
+ },
1140
+ secretParameters: {
1141
+ serializedName: "properties.secretParameters",
1142
+ type: {
1143
+ name: "Composite",
1144
+ className: "MigrationSecretParameters"
1145
+ }
1146
+ },
1147
+ dbsToMigrate: {
1148
+ constraints: {
1149
+ MaxItems: 50
1150
+ },
1151
+ serializedName: "properties.dbsToMigrate",
1152
+ type: {
1153
+ name: "Sequence",
1154
+ element: {
1155
+ type: {
1156
+ name: "String"
1157
+ }
1158
+ }
1159
+ }
1160
+ },
1161
+ setupLogicalReplicationOnSourceDbIfNeeded: {
1162
+ serializedName: "properties.setupLogicalReplicationOnSourceDbIfNeeded",
1163
+ type: {
1164
+ name: "String"
1165
+ }
1166
+ },
1167
+ overwriteDbsInTarget: {
1168
+ serializedName: "properties.overwriteDbsInTarget",
1169
+ type: {
1170
+ name: "String"
1171
+ }
1172
+ },
1173
+ migrationWindowStartTimeInUtc: {
1174
+ serializedName: "properties.migrationWindowStartTimeInUtc",
1175
+ type: {
1176
+ name: "DateTime"
1177
+ }
1178
+ },
1179
+ startDataMigration: {
1180
+ serializedName: "properties.startDataMigration",
1181
+ type: {
1182
+ name: "String"
1183
+ }
1184
+ },
1185
+ triggerCutover: {
1186
+ serializedName: "properties.triggerCutover",
1187
+ type: {
1188
+ name: "String"
1189
+ }
1190
+ },
1191
+ dbsToTriggerCutoverOn: {
1192
+ serializedName: "properties.dbsToTriggerCutoverOn",
1193
+ type: {
1194
+ name: "Sequence",
1195
+ element: {
1196
+ type: {
1197
+ name: "String"
1198
+ }
1199
+ }
1200
+ }
1201
+ },
1202
+ cancel: {
1203
+ serializedName: "properties.cancel",
1204
+ type: {
1205
+ name: "String"
1206
+ }
1207
+ },
1208
+ dbsToCancelMigrationOn: {
1209
+ serializedName: "properties.dbsToCancelMigrationOn",
1210
+ type: {
1211
+ name: "Sequence",
1212
+ element: {
1213
+ type: {
1214
+ name: "String"
1215
+ }
1216
+ }
1217
+ }
1218
+ },
1219
+ migrationMode: {
1220
+ serializedName: "properties.migrationMode",
1221
+ type: {
1222
+ name: "String"
1223
+ }
1224
+ }
1225
+ }
1226
+ }
1227
+ };
1228
+
1229
+ export const MigrationResourceListResult: coreClient.CompositeMapper = {
1230
+ type: {
1231
+ name: "Composite",
1232
+ className: "MigrationResourceListResult",
1233
+ modelProperties: {
1234
+ value: {
1235
+ serializedName: "value",
1236
+ readOnly: true,
1237
+ type: {
1238
+ name: "Sequence",
1239
+ element: {
1240
+ type: {
1241
+ name: "Composite",
1242
+ className: "MigrationResource"
1243
+ }
1244
+ }
1245
+ }
1246
+ },
1247
+ nextLink: {
1248
+ serializedName: "nextLink",
1249
+ readOnly: true,
1250
+ type: {
1251
+ name: "String"
1252
+ }
1253
+ }
1254
+ }
1255
+ }
1256
+ };
1257
+
1258
+ export const MigrationNameAvailabilityResource: coreClient.CompositeMapper = {
1259
+ type: {
1260
+ name: "Composite",
1261
+ className: "MigrationNameAvailabilityResource",
1262
+ modelProperties: {
1263
+ name: {
1264
+ serializedName: "name",
1265
+ required: true,
1266
+ type: {
1267
+ name: "String"
1268
+ }
1269
+ },
1270
+ type: {
1271
+ serializedName: "type",
1272
+ required: true,
1273
+ type: {
1274
+ name: "String"
1275
+ }
1276
+ },
1277
+ nameAvailable: {
1278
+ serializedName: "nameAvailable",
1279
+ readOnly: true,
1280
+ type: {
1281
+ name: "Boolean"
1282
+ }
1283
+ },
1284
+ reason: {
1285
+ serializedName: "reason",
1286
+ readOnly: true,
1287
+ type: {
1288
+ name: "String"
1289
+ }
1290
+ },
1291
+ message: {
1292
+ serializedName: "message",
1293
+ readOnly: true,
1294
+ type: {
1295
+ name: "String"
1296
+ }
1297
+ }
1298
+ }
1299
+ }
1300
+ };
1301
+
1302
+ export const OperationListResult: coreClient.CompositeMapper = {
1303
+ type: {
1304
+ name: "Composite",
1305
+ className: "OperationListResult",
1306
+ modelProperties: {
1307
+ value: {
1308
+ serializedName: "value",
1309
+ type: {
1310
+ name: "Sequence",
1311
+ element: {
1312
+ type: {
1313
+ name: "Composite",
1314
+ className: "Operation"
1315
+ }
1316
+ }
1317
+ }
1318
+ },
1319
+ nextLink: {
1320
+ serializedName: "nextLink",
1321
+ type: {
1322
+ name: "String"
1323
+ }
1324
+ }
1325
+ }
1326
+ }
1327
+ };
1328
+
1329
+ export const Operation: coreClient.CompositeMapper = {
1330
+ type: {
1331
+ name: "Composite",
1332
+ className: "Operation",
1333
+ modelProperties: {
1334
+ name: {
1335
+ serializedName: "name",
1336
+ readOnly: true,
1337
+ type: {
1338
+ name: "String"
1339
+ }
1340
+ },
1341
+ display: {
1342
+ serializedName: "display",
1343
+ type: {
1344
+ name: "Composite",
1345
+ className: "OperationDisplay"
1346
+ }
1347
+ },
1348
+ isDataAction: {
1349
+ serializedName: "isDataAction",
1350
+ type: {
1351
+ name: "Boolean"
1352
+ }
1353
+ },
1354
+ origin: {
1355
+ serializedName: "origin",
1356
+ readOnly: true,
1357
+ type: {
1358
+ name: "String"
1359
+ }
1360
+ },
1361
+ properties: {
1362
+ serializedName: "properties",
1363
+ readOnly: true,
1364
+ type: {
1365
+ name: "Dictionary",
1366
+ value: {
1367
+ type: { name: "Dictionary", value: { type: { name: "any" } } }
1368
+ }
1369
+ }
1370
+ }
1371
+ }
1372
+ }
1373
+ };
1374
+
1375
+ export const OperationDisplay: coreClient.CompositeMapper = {
1376
+ type: {
1377
+ name: "Composite",
1378
+ className: "OperationDisplay",
1379
+ modelProperties: {
1380
+ provider: {
1381
+ serializedName: "provider",
1382
+ readOnly: true,
1383
+ type: {
1384
+ name: "String"
1385
+ }
1386
+ },
1387
+ resource: {
1388
+ serializedName: "resource",
1389
+ readOnly: true,
1390
+ type: {
1391
+ name: "String"
1392
+ }
1393
+ },
1394
+ operation: {
1395
+ serializedName: "operation",
1396
+ readOnly: true,
1397
+ type: {
1398
+ name: "String"
1399
+ }
1400
+ },
1401
+ description: {
1402
+ serializedName: "description",
1403
+ readOnly: true,
1404
+ type: {
1405
+ name: "String"
1406
+ }
1407
+ }
1408
+ }
1409
+ }
1410
+ };
1411
+
1412
+ export const LogFileListResult: coreClient.CompositeMapper = {
1413
+ type: {
1414
+ name: "Composite",
1415
+ className: "LogFileListResult",
1416
+ modelProperties: {
1417
+ value: {
1418
+ serializedName: "value",
1419
+ type: {
1420
+ name: "Sequence",
1421
+ element: {
1422
+ type: {
1423
+ name: "Composite",
1424
+ className: "LogFile"
1425
+ }
1426
+ }
1427
+ }
1428
+ },
1429
+ nextLink: {
1430
+ serializedName: "nextLink",
1431
+ type: {
1432
+ name: "String"
1433
+ }
1434
+ }
1435
+ }
1436
+ }
1437
+ };
1438
+
1439
+ export const RestartParameter: coreClient.CompositeMapper = {
1440
+ type: {
1441
+ name: "Composite",
1442
+ className: "RestartParameter",
1443
+ modelProperties: {
1444
+ restartWithFailover: {
1445
+ serializedName: "restartWithFailover",
1446
+ type: {
1447
+ name: "Boolean"
1448
+ }
1449
+ },
1450
+ failoverMode: {
1451
+ serializedName: "failoverMode",
1452
+ type: {
1453
+ name: "String"
1454
+ }
1455
+ }
1456
+ }
1457
+ }
1458
+ };
1459
+
1460
+ export const VirtualNetworkSubnetUsageParameter: coreClient.CompositeMapper = {
1461
+ type: {
1462
+ name: "Composite",
1463
+ className: "VirtualNetworkSubnetUsageParameter",
1464
+ modelProperties: {
1465
+ virtualNetworkArmResourceId: {
1466
+ serializedName: "virtualNetworkArmResourceId",
1467
+ type: {
1468
+ name: "String"
1469
+ }
1470
+ }
1471
+ }
1472
+ }
1473
+ };
1474
+
1475
+ export const VirtualNetworkSubnetUsageResult: coreClient.CompositeMapper = {
1476
+ type: {
1477
+ name: "Composite",
1478
+ className: "VirtualNetworkSubnetUsageResult",
1479
+ modelProperties: {
1480
+ delegatedSubnetsUsage: {
1481
+ serializedName: "delegatedSubnetsUsage",
1482
+ readOnly: true,
1483
+ type: {
1484
+ name: "Sequence",
1485
+ element: {
1486
+ type: {
1487
+ name: "Composite",
1488
+ className: "DelegatedSubnetUsage"
1489
+ }
1490
+ }
1491
+ }
1492
+ },
1493
+ location: {
1494
+ serializedName: "location",
1495
+ readOnly: true,
1496
+ type: {
1497
+ name: "String"
1498
+ }
1499
+ },
1500
+ subscriptionId: {
1501
+ serializedName: "subscriptionId",
1502
+ readOnly: true,
1503
+ type: {
1504
+ name: "String"
1505
+ }
1506
+ }
1507
+ }
1508
+ }
1509
+ };
1510
+
1511
+ export const DelegatedSubnetUsage: coreClient.CompositeMapper = {
1512
+ type: {
1513
+ name: "Composite",
1514
+ className: "DelegatedSubnetUsage",
1515
+ modelProperties: {
1516
+ subnetName: {
1517
+ serializedName: "subnetName",
1518
+ readOnly: true,
1519
+ type: {
1520
+ name: "String"
1521
+ }
1522
+ },
1523
+ usage: {
1524
+ serializedName: "usage",
1525
+ readOnly: true,
1526
+ type: {
1527
+ name: "Number"
1528
+ }
1529
+ }
1530
+ }
1531
+ }
1532
+ };
1533
+
1534
+ export const BackupRequestBase: coreClient.CompositeMapper = {
1535
+ type: {
1536
+ name: "Composite",
1537
+ className: "BackupRequestBase",
1538
+ modelProperties: {
1539
+ backupSettings: {
1540
+ serializedName: "backupSettings",
1541
+ type: {
1542
+ name: "Composite",
1543
+ className: "BackupSettings"
1544
+ }
1545
+ }
1546
+ }
1547
+ }
1548
+ };
1549
+
1550
+ export const BackupSettings: coreClient.CompositeMapper = {
1551
+ type: {
1552
+ name: "Composite",
1553
+ className: "BackupSettings",
1554
+ modelProperties: {
1555
+ backupName: {
1556
+ serializedName: "backupName",
1557
+ required: true,
1558
+ type: {
1559
+ name: "String"
1560
+ }
1561
+ }
1562
+ }
1563
+ }
1564
+ };
1565
+
1566
+ export const LtrPreBackupResponse: coreClient.CompositeMapper = {
1567
+ type: {
1568
+ name: "Composite",
1569
+ className: "LtrPreBackupResponse",
1570
+ modelProperties: {
1571
+ numberOfContainers: {
1572
+ serializedName: "properties.numberOfContainers",
1573
+ required: true,
1574
+ type: {
1575
+ name: "Number"
1576
+ }
1577
+ }
1578
+ }
1579
+ }
1580
+ };
1581
+
1582
+ export const BackupStoreDetails: coreClient.CompositeMapper = {
1583
+ type: {
1584
+ name: "Composite",
1585
+ className: "BackupStoreDetails",
1586
+ modelProperties: {
1587
+ sasUriList: {
1588
+ serializedName: "sasUriList",
1589
+ required: true,
1590
+ type: {
1591
+ name: "Sequence",
1592
+ element: {
1593
+ type: {
1594
+ name: "String"
1595
+ }
1596
+ }
1597
+ }
1598
+ }
1599
+ }
1600
+ }
1601
+ };
1602
+
1603
+ export const LtrBackupResponse: coreClient.CompositeMapper = {
1604
+ type: {
1605
+ name: "Composite",
1606
+ className: "LtrBackupResponse",
1607
+ modelProperties: {
1608
+ datasourceSizeInBytes: {
1609
+ serializedName: "properties.datasourceSizeInBytes",
1610
+ type: {
1611
+ name: "Number"
1612
+ }
1613
+ },
1614
+ dataTransferredInBytes: {
1615
+ serializedName: "properties.dataTransferredInBytes",
1616
+ type: {
1617
+ name: "Number"
1618
+ }
1619
+ },
1620
+ backupName: {
1621
+ serializedName: "properties.backupName",
1622
+ type: {
1623
+ name: "String"
1624
+ }
1625
+ },
1626
+ backupMetadata: {
1627
+ serializedName: "properties.backupMetadata",
1628
+ type: {
1629
+ name: "String"
1630
+ }
1631
+ },
1632
+ status: {
1633
+ serializedName: "properties.status",
1634
+ type: {
1635
+ name: "String"
1636
+ }
1637
+ },
1638
+ startTime: {
1639
+ serializedName: "properties.startTime",
1640
+ type: {
1641
+ name: "DateTime"
1642
+ }
1643
+ },
1644
+ endTime: {
1645
+ serializedName: "properties.endTime",
1646
+ type: {
1647
+ name: "DateTime"
1648
+ }
1649
+ },
1650
+ percentComplete: {
1651
+ constraints: {
1652
+ InclusiveMaximum: 100,
1653
+ InclusiveMinimum: 0
1654
+ },
1655
+ serializedName: "properties.percentComplete",
1656
+ type: {
1657
+ name: "Number"
1658
+ }
1659
+ },
1660
+ errorCode: {
1661
+ serializedName: "properties.errorCode",
1662
+ readOnly: true,
1663
+ type: {
1664
+ name: "String"
1665
+ }
1666
+ },
1667
+ errorMessage: {
1668
+ serializedName: "properties.errorMessage",
1669
+ readOnly: true,
1670
+ type: {
1671
+ name: "String"
1672
+ }
1673
+ }
1674
+ }
1675
+ }
1676
+ };
1677
+
1678
+ export const LtrServerBackupOperationList: coreClient.CompositeMapper = {
1679
+ type: {
1680
+ name: "Composite",
1681
+ className: "LtrServerBackupOperationList",
1682
+ modelProperties: {
1683
+ value: {
1684
+ serializedName: "value",
1685
+ type: {
1686
+ name: "Sequence",
1687
+ element: {
1688
+ type: {
1689
+ name: "Composite",
1690
+ className: "LtrServerBackupOperation"
1691
+ }
1692
+ }
1693
+ }
1694
+ },
1695
+ nextLink: {
1696
+ serializedName: "nextLink",
1697
+ type: {
1698
+ name: "String"
1699
+ }
1700
+ }
1701
+ }
1702
+ }
1703
+ };
1704
+
1705
+ export const ProxyResource: coreClient.CompositeMapper = {
1706
+ type: {
1707
+ name: "Composite",
1708
+ className: "ProxyResource",
1709
+ modelProperties: {
1710
+ ...Resource.type.modelProperties
1711
+ }
1712
+ }
1713
+ };
1714
+
1715
+ export const TrackedResource: coreClient.CompositeMapper = {
1716
+ type: {
1717
+ name: "Composite",
1718
+ className: "TrackedResource",
1719
+ modelProperties: {
1720
+ ...Resource.type.modelProperties,
1721
+ tags: {
1722
+ serializedName: "tags",
1723
+ type: {
1724
+ name: "Dictionary",
1725
+ value: { type: { name: "String" } }
1726
+ }
1727
+ },
1728
+ location: {
1729
+ serializedName: "location",
1730
+ required: true,
1731
+ type: {
1732
+ name: "String"
1733
+ }
1734
+ }
1735
+ }
1736
+ }
1737
+ };
1738
+
1739
+ export const StorageTierCapability: coreClient.CompositeMapper = {
1740
+ type: {
1741
+ name: "Composite",
1742
+ className: "StorageTierCapability",
1743
+ modelProperties: {
1744
+ ...CapabilityBase.type.modelProperties,
1745
+ name: {
1746
+ serializedName: "name",
1747
+ readOnly: true,
1748
+ type: {
1749
+ name: "String"
1750
+ }
1751
+ },
1752
+ iops: {
1753
+ serializedName: "iops",
1754
+ readOnly: true,
1755
+ type: {
1756
+ name: "Number"
1757
+ }
1758
+ }
1759
+ }
1760
+ }
1761
+ };
1762
+
1763
+ export const StorageMbCapability: coreClient.CompositeMapper = {
1764
+ type: {
1765
+ name: "Composite",
1766
+ className: "StorageMbCapability",
1767
+ modelProperties: {
1768
+ ...CapabilityBase.type.modelProperties,
1769
+ supportedIops: {
1770
+ serializedName: "supportedIops",
1771
+ readOnly: true,
1772
+ type: {
1773
+ name: "Number"
1774
+ }
1775
+ },
1776
+ storageSizeMb: {
1777
+ serializedName: "storageSizeMb",
1778
+ readOnly: true,
1779
+ type: {
1780
+ name: "Number"
1781
+ }
1782
+ },
1783
+ defaultIopsTier: {
1784
+ serializedName: "defaultIopsTier",
1785
+ readOnly: true,
1786
+ type: {
1787
+ name: "String"
1788
+ }
1789
+ },
1790
+ supportedIopsTiers: {
1791
+ serializedName: "supportedIopsTiers",
1792
+ readOnly: true,
1793
+ type: {
1794
+ name: "Sequence",
1795
+ element: {
1796
+ type: {
1797
+ name: "Composite",
1798
+ className: "StorageTierCapability"
1799
+ }
1800
+ }
1801
+ }
1802
+ }
1803
+ }
1804
+ }
1805
+ };
1806
+
1807
+ export const StorageEditionCapability: coreClient.CompositeMapper = {
1808
+ type: {
1809
+ name: "Composite",
1810
+ className: "StorageEditionCapability",
1811
+ modelProperties: {
1812
+ ...CapabilityBase.type.modelProperties,
1813
+ name: {
1814
+ serializedName: "name",
1815
+ readOnly: true,
1816
+ type: {
1817
+ name: "String"
1818
+ }
1819
+ },
1820
+ defaultStorageSizeMb: {
1821
+ serializedName: "defaultStorageSizeMb",
1822
+ readOnly: true,
1823
+ type: {
1824
+ name: "Number"
1825
+ }
1826
+ },
1827
+ supportedStorageMb: {
1828
+ serializedName: "supportedStorageMb",
1829
+ readOnly: true,
1402
1830
  type: {
1403
1831
  name: "Sequence",
1404
1832
  element: {
1405
1833
  type: {
1406
1834
  name: "Composite",
1407
- className: "Operation"
1835
+ className: "StorageMbCapability"
1408
1836
  }
1409
1837
  }
1410
1838
  }
1411
- },
1412
- nextLink: {
1413
- serializedName: "nextLink",
1414
- type: {
1415
- name: "String"
1416
- }
1417
1839
  }
1418
1840
  }
1419
1841
  }
1420
1842
  };
1421
1843
 
1422
- export const Operation: coreClient.CompositeMapper = {
1844
+ export const ServerSku: coreClient.CompositeMapper = {
1423
1845
  type: {
1424
1846
  name: "Composite",
1425
- className: "Operation",
1847
+ className: "ServerSku",
1426
1848
  modelProperties: {
1849
+ ...CapabilityBase.type.modelProperties,
1427
1850
  name: {
1428
1851
  serializedName: "name",
1429
1852
  readOnly: true,
@@ -1431,33 +1854,48 @@ export const Operation: coreClient.CompositeMapper = {
1431
1854
  name: "String"
1432
1855
  }
1433
1856
  },
1434
- display: {
1435
- serializedName: "display",
1857
+ vCores: {
1858
+ serializedName: "vCores",
1859
+ readOnly: true,
1436
1860
  type: {
1437
- name: "Composite",
1438
- className: "OperationDisplay"
1861
+ name: "Number"
1439
1862
  }
1440
1863
  },
1441
- isDataAction: {
1442
- serializedName: "isDataAction",
1864
+ supportedIops: {
1865
+ serializedName: "supportedIops",
1866
+ readOnly: true,
1443
1867
  type: {
1444
- name: "Boolean"
1868
+ name: "Number"
1445
1869
  }
1446
1870
  },
1447
- origin: {
1448
- serializedName: "origin",
1871
+ supportedMemoryPerVcoreMb: {
1872
+ serializedName: "supportedMemoryPerVcoreMb",
1449
1873
  readOnly: true,
1450
1874
  type: {
1451
- name: "String"
1875
+ name: "Number"
1452
1876
  }
1453
1877
  },
1454
- properties: {
1455
- serializedName: "properties",
1878
+ supportedZones: {
1879
+ serializedName: "supportedZones",
1456
1880
  readOnly: true,
1457
1881
  type: {
1458
- name: "Dictionary",
1459
- value: {
1460
- type: { name: "Dictionary", value: { type: { name: "any" } } }
1882
+ name: "Sequence",
1883
+ element: {
1884
+ type: {
1885
+ name: "String"
1886
+ }
1887
+ }
1888
+ }
1889
+ },
1890
+ supportedHaMode: {
1891
+ serializedName: "supportedHaMode",
1892
+ readOnly: true,
1893
+ type: {
1894
+ name: "Sequence",
1895
+ element: {
1896
+ type: {
1897
+ name: "String"
1898
+ }
1461
1899
  }
1462
1900
  }
1463
1901
  }
@@ -1465,106 +1903,225 @@ export const Operation: coreClient.CompositeMapper = {
1465
1903
  }
1466
1904
  };
1467
1905
 
1468
- export const OperationDisplay: coreClient.CompositeMapper = {
1906
+ export const FlexibleServerEditionCapability: coreClient.CompositeMapper = {
1469
1907
  type: {
1470
1908
  name: "Composite",
1471
- className: "OperationDisplay",
1909
+ className: "FlexibleServerEditionCapability",
1472
1910
  modelProperties: {
1473
- provider: {
1474
- serializedName: "provider",
1911
+ ...CapabilityBase.type.modelProperties,
1912
+ name: {
1913
+ serializedName: "name",
1475
1914
  readOnly: true,
1476
1915
  type: {
1477
1916
  name: "String"
1478
1917
  }
1479
1918
  },
1480
- resource: {
1481
- serializedName: "resource",
1919
+ defaultSkuName: {
1920
+ serializedName: "defaultSkuName",
1482
1921
  readOnly: true,
1483
1922
  type: {
1484
1923
  name: "String"
1485
1924
  }
1486
1925
  },
1487
- operation: {
1488
- serializedName: "operation",
1926
+ supportedStorageEditions: {
1927
+ serializedName: "supportedStorageEditions",
1489
1928
  readOnly: true,
1490
1929
  type: {
1491
- name: "String"
1930
+ name: "Sequence",
1931
+ element: {
1932
+ type: {
1933
+ name: "Composite",
1934
+ className: "StorageEditionCapability"
1935
+ }
1936
+ }
1492
1937
  }
1493
1938
  },
1494
- description: {
1495
- serializedName: "description",
1939
+ supportedServerSkus: {
1940
+ serializedName: "supportedServerSkus",
1496
1941
  readOnly: true,
1497
1942
  type: {
1498
- name: "String"
1943
+ name: "Sequence",
1944
+ element: {
1945
+ type: {
1946
+ name: "Composite",
1947
+ className: "ServerSku"
1948
+ }
1949
+ }
1499
1950
  }
1500
1951
  }
1501
1952
  }
1502
1953
  }
1503
1954
  };
1504
1955
 
1505
- export const RestartParameter: coreClient.CompositeMapper = {
1956
+ export const ServerVersionCapability: coreClient.CompositeMapper = {
1506
1957
  type: {
1507
1958
  name: "Composite",
1508
- className: "RestartParameter",
1959
+ className: "ServerVersionCapability",
1509
1960
  modelProperties: {
1510
- restartWithFailover: {
1511
- serializedName: "restartWithFailover",
1961
+ ...CapabilityBase.type.modelProperties,
1962
+ name: {
1963
+ serializedName: "name",
1964
+ readOnly: true,
1512
1965
  type: {
1513
- name: "Boolean"
1966
+ name: "String"
1514
1967
  }
1515
1968
  },
1516
- failoverMode: {
1517
- serializedName: "failoverMode",
1969
+ supportedVersionsToUpgrade: {
1970
+ serializedName: "supportedVersionsToUpgrade",
1971
+ readOnly: true,
1518
1972
  type: {
1519
- name: "String"
1973
+ name: "Sequence",
1974
+ element: {
1975
+ type: {
1976
+ name: "String"
1977
+ }
1978
+ }
1520
1979
  }
1521
1980
  }
1522
1981
  }
1523
1982
  }
1524
1983
  };
1525
1984
 
1526
- export const VirtualNetworkSubnetUsageParameter: coreClient.CompositeMapper = {
1985
+ export const FastProvisioningEditionCapability: coreClient.CompositeMapper = {
1527
1986
  type: {
1528
1987
  name: "Composite",
1529
- className: "VirtualNetworkSubnetUsageParameter",
1988
+ className: "FastProvisioningEditionCapability",
1530
1989
  modelProperties: {
1531
- virtualNetworkArmResourceId: {
1532
- serializedName: "virtualNetworkArmResourceId",
1990
+ ...CapabilityBase.type.modelProperties,
1991
+ supportedTier: {
1992
+ serializedName: "supportedTier",
1993
+ readOnly: true,
1994
+ type: {
1995
+ name: "String"
1996
+ }
1997
+ },
1998
+ supportedSku: {
1999
+ serializedName: "supportedSku",
2000
+ readOnly: true,
2001
+ type: {
2002
+ name: "String"
2003
+ }
2004
+ },
2005
+ supportedStorageGb: {
2006
+ serializedName: "supportedStorageGb",
2007
+ readOnly: true,
2008
+ type: {
2009
+ name: "Number"
2010
+ }
2011
+ },
2012
+ supportedServerVersions: {
2013
+ serializedName: "supportedServerVersions",
2014
+ readOnly: true,
1533
2015
  type: {
1534
2016
  name: "String"
1535
2017
  }
2018
+ },
2019
+ serverCount: {
2020
+ serializedName: "serverCount",
2021
+ readOnly: true,
2022
+ type: {
2023
+ name: "Number"
2024
+ }
1536
2025
  }
1537
2026
  }
1538
2027
  }
1539
2028
  };
1540
2029
 
1541
- export const VirtualNetworkSubnetUsageResult: coreClient.CompositeMapper = {
2030
+ export const FlexibleServerCapability: coreClient.CompositeMapper = {
1542
2031
  type: {
1543
2032
  name: "Composite",
1544
- className: "VirtualNetworkSubnetUsageResult",
2033
+ className: "FlexibleServerCapability",
1545
2034
  modelProperties: {
1546
- delegatedSubnetsUsage: {
1547
- serializedName: "delegatedSubnetsUsage",
2035
+ ...CapabilityBase.type.modelProperties,
2036
+ name: {
2037
+ serializedName: "name",
2038
+ type: {
2039
+ name: "String"
2040
+ }
2041
+ },
2042
+ supportedServerEditions: {
2043
+ serializedName: "supportedServerEditions",
1548
2044
  readOnly: true,
1549
2045
  type: {
1550
2046
  name: "Sequence",
1551
2047
  element: {
1552
2048
  type: {
1553
2049
  name: "Composite",
1554
- className: "DelegatedSubnetUsage"
2050
+ className: "FlexibleServerEditionCapability"
1555
2051
  }
1556
2052
  }
1557
2053
  }
1558
2054
  },
1559
- location: {
1560
- serializedName: "location",
2055
+ supportedServerVersions: {
2056
+ serializedName: "supportedServerVersions",
2057
+ readOnly: true,
2058
+ type: {
2059
+ name: "Sequence",
2060
+ element: {
2061
+ type: {
2062
+ name: "Composite",
2063
+ className: "ServerVersionCapability"
2064
+ }
2065
+ }
2066
+ }
2067
+ },
2068
+ fastProvisioningSupported: {
2069
+ serializedName: "fastProvisioningSupported",
1561
2070
  readOnly: true,
1562
2071
  type: {
1563
2072
  name: "String"
1564
2073
  }
1565
2074
  },
1566
- subscriptionId: {
1567
- serializedName: "subscriptionId",
2075
+ supportedFastProvisioningEditions: {
2076
+ serializedName: "supportedFastProvisioningEditions",
2077
+ readOnly: true,
2078
+ type: {
2079
+ name: "Sequence",
2080
+ element: {
2081
+ type: {
2082
+ name: "Composite",
2083
+ className: "FastProvisioningEditionCapability"
2084
+ }
2085
+ }
2086
+ }
2087
+ },
2088
+ geoBackupSupported: {
2089
+ serializedName: "geoBackupSupported",
2090
+ readOnly: true,
2091
+ type: {
2092
+ name: "String"
2093
+ }
2094
+ },
2095
+ zoneRedundantHaSupported: {
2096
+ serializedName: "zoneRedundantHaSupported",
2097
+ readOnly: true,
2098
+ type: {
2099
+ name: "String"
2100
+ }
2101
+ },
2102
+ zoneRedundantHaAndGeoBackupSupported: {
2103
+ serializedName: "zoneRedundantHaAndGeoBackupSupported",
2104
+ readOnly: true,
2105
+ type: {
2106
+ name: "String"
2107
+ }
2108
+ },
2109
+ storageAutoGrowthSupported: {
2110
+ serializedName: "storageAutoGrowthSupported",
2111
+ readOnly: true,
2112
+ type: {
2113
+ name: "String"
2114
+ }
2115
+ },
2116
+ onlineResizeSupported: {
2117
+ serializedName: "onlineResizeSupported",
2118
+ readOnly: true,
2119
+ type: {
2120
+ name: "String"
2121
+ }
2122
+ },
2123
+ restricted: {
2124
+ serializedName: "restricted",
1568
2125
  readOnly: true,
1569
2126
  type: {
1570
2127
  name: "String"
@@ -1574,81 +2131,51 @@ export const VirtualNetworkSubnetUsageResult: coreClient.CompositeMapper = {
1574
2131
  }
1575
2132
  };
1576
2133
 
1577
- export const DelegatedSubnetUsage: coreClient.CompositeMapper = {
2134
+ export const NameAvailability: coreClient.CompositeMapper = {
1578
2135
  type: {
1579
2136
  name: "Composite",
1580
- className: "DelegatedSubnetUsage",
2137
+ className: "NameAvailability",
1581
2138
  modelProperties: {
1582
- subnetName: {
1583
- serializedName: "subnetName",
2139
+ ...CheckNameAvailabilityResponse.type.modelProperties,
2140
+ name: {
2141
+ serializedName: "name",
1584
2142
  readOnly: true,
1585
2143
  type: {
1586
2144
  name: "String"
1587
2145
  }
1588
2146
  },
1589
- usage: {
1590
- serializedName: "usage",
2147
+ type: {
2148
+ serializedName: "type",
1591
2149
  readOnly: true,
1592
2150
  type: {
1593
- name: "Number"
2151
+ name: "String"
1594
2152
  }
1595
2153
  }
1596
2154
  }
1597
2155
  }
1598
2156
  };
1599
2157
 
1600
- export const ProxyResource: coreClient.CompositeMapper = {
1601
- type: {
1602
- name: "Composite",
1603
- className: "ProxyResource",
1604
- modelProperties: {
1605
- ...Resource.type.modelProperties
1606
- }
1607
- }
1608
- };
1609
-
1610
- export const TrackedResource: coreClient.CompositeMapper = {
2158
+ export const LtrPreBackupRequest: coreClient.CompositeMapper = {
1611
2159
  type: {
1612
2160
  name: "Composite",
1613
- className: "TrackedResource",
2161
+ className: "LtrPreBackupRequest",
1614
2162
  modelProperties: {
1615
- ...Resource.type.modelProperties,
1616
- tags: {
1617
- serializedName: "tags",
1618
- type: {
1619
- name: "Dictionary",
1620
- value: { type: { name: "String" } }
1621
- }
1622
- },
1623
- location: {
1624
- serializedName: "location",
1625
- required: true,
1626
- type: {
1627
- name: "String"
1628
- }
1629
- }
2163
+ ...BackupRequestBase.type.modelProperties
1630
2164
  }
1631
2165
  }
1632
2166
  };
1633
2167
 
1634
- export const NameAvailability: coreClient.CompositeMapper = {
2168
+ export const LtrBackupRequest: coreClient.CompositeMapper = {
1635
2169
  type: {
1636
2170
  name: "Composite",
1637
- className: "NameAvailability",
2171
+ className: "LtrBackupRequest",
1638
2172
  modelProperties: {
1639
- ...CheckNameAvailabilityResponse.type.modelProperties,
1640
- name: {
1641
- serializedName: "name",
1642
- readOnly: true,
1643
- type: {
1644
- name: "String"
1645
- }
1646
- },
1647
- type: {
1648
- serializedName: "type",
1649
- readOnly: true,
2173
+ ...BackupRequestBase.type.modelProperties,
2174
+ targetDetails: {
2175
+ serializedName: "targetDetails",
1650
2176
  type: {
1651
- name: "String"
2177
+ name: "Composite",
2178
+ className: "BackupStoreDetails"
1652
2179
  }
1653
2180
  }
1654
2181
  }
@@ -1864,6 +2391,122 @@ export const FirewallRule: coreClient.CompositeMapper = {
1864
2391
  }
1865
2392
  };
1866
2393
 
2394
+ export const LogFile: coreClient.CompositeMapper = {
2395
+ type: {
2396
+ name: "Composite",
2397
+ className: "LogFile",
2398
+ modelProperties: {
2399
+ ...ProxyResource.type.modelProperties,
2400
+ createdTime: {
2401
+ serializedName: "properties.createdTime",
2402
+ type: {
2403
+ name: "DateTime"
2404
+ }
2405
+ },
2406
+ lastModifiedTime: {
2407
+ serializedName: "properties.lastModifiedTime",
2408
+ type: {
2409
+ name: "DateTime"
2410
+ }
2411
+ },
2412
+ sizeInKb: {
2413
+ serializedName: "properties.sizeInKb",
2414
+ type: {
2415
+ name: "Number"
2416
+ }
2417
+ },
2418
+ typePropertiesType: {
2419
+ serializedName: "properties.type",
2420
+ type: {
2421
+ name: "String"
2422
+ }
2423
+ },
2424
+ url: {
2425
+ serializedName: "properties.url",
2426
+ type: {
2427
+ name: "String"
2428
+ }
2429
+ }
2430
+ }
2431
+ }
2432
+ };
2433
+
2434
+ export const LtrServerBackupOperation: coreClient.CompositeMapper = {
2435
+ type: {
2436
+ name: "Composite",
2437
+ className: "LtrServerBackupOperation",
2438
+ modelProperties: {
2439
+ ...ProxyResource.type.modelProperties,
2440
+ datasourceSizeInBytes: {
2441
+ serializedName: "properties.datasourceSizeInBytes",
2442
+ type: {
2443
+ name: "Number"
2444
+ }
2445
+ },
2446
+ dataTransferredInBytes: {
2447
+ serializedName: "properties.dataTransferredInBytes",
2448
+ type: {
2449
+ name: "Number"
2450
+ }
2451
+ },
2452
+ backupName: {
2453
+ serializedName: "properties.backupName",
2454
+ type: {
2455
+ name: "String"
2456
+ }
2457
+ },
2458
+ backupMetadata: {
2459
+ serializedName: "properties.backupMetadata",
2460
+ type: {
2461
+ name: "String"
2462
+ }
2463
+ },
2464
+ status: {
2465
+ serializedName: "properties.status",
2466
+ type: {
2467
+ name: "String"
2468
+ }
2469
+ },
2470
+ startTime: {
2471
+ serializedName: "properties.startTime",
2472
+ type: {
2473
+ name: "DateTime"
2474
+ }
2475
+ },
2476
+ endTime: {
2477
+ serializedName: "properties.endTime",
2478
+ type: {
2479
+ name: "DateTime"
2480
+ }
2481
+ },
2482
+ percentComplete: {
2483
+ constraints: {
2484
+ InclusiveMaximum: 100,
2485
+ InclusiveMinimum: 0
2486
+ },
2487
+ serializedName: "properties.percentComplete",
2488
+ type: {
2489
+ name: "Number"
2490
+ }
2491
+ },
2492
+ errorCode: {
2493
+ serializedName: "properties.errorCode",
2494
+ readOnly: true,
2495
+ type: {
2496
+ name: "String"
2497
+ }
2498
+ },
2499
+ errorMessage: {
2500
+ serializedName: "properties.errorMessage",
2501
+ readOnly: true,
2502
+ type: {
2503
+ name: "String"
2504
+ }
2505
+ }
2506
+ }
2507
+ }
2508
+ };
2509
+
1867
2510
  export const Server: coreClient.CompositeMapper = {
1868
2511
  type: {
1869
2512
  name: "Composite",
@@ -1999,6 +2642,7 @@ export const Server: coreClient.CompositeMapper = {
1999
2642
  },
2000
2643
  replicaCapacity: {
2001
2644
  serializedName: "properties.replicaCapacity",
2645
+ readOnly: true,
2002
2646
  type: {
2003
2647
  name: "Number"
2004
2648
  }
@@ -2013,6 +2657,160 @@ export const Server: coreClient.CompositeMapper = {
2013
2657
  }
2014
2658
  };
2015
2659
 
2660
+ export const MigrationResource: coreClient.CompositeMapper = {
2661
+ type: {
2662
+ name: "Composite",
2663
+ className: "MigrationResource",
2664
+ modelProperties: {
2665
+ ...TrackedResource.type.modelProperties,
2666
+ migrationId: {
2667
+ serializedName: "properties.migrationId",
2668
+ readOnly: true,
2669
+ type: {
2670
+ name: "String"
2671
+ }
2672
+ },
2673
+ currentStatus: {
2674
+ serializedName: "properties.currentStatus",
2675
+ type: {
2676
+ name: "Composite",
2677
+ className: "MigrationStatus"
2678
+ }
2679
+ },
2680
+ migrationMode: {
2681
+ serializedName: "properties.migrationMode",
2682
+ type: {
2683
+ name: "String"
2684
+ }
2685
+ },
2686
+ sourceDbServerMetadata: {
2687
+ serializedName: "properties.sourceDbServerMetadata",
2688
+ type: {
2689
+ name: "Composite",
2690
+ className: "DbServerMetadata"
2691
+ }
2692
+ },
2693
+ targetDbServerMetadata: {
2694
+ serializedName: "properties.targetDbServerMetadata",
2695
+ type: {
2696
+ name: "Composite",
2697
+ className: "DbServerMetadata"
2698
+ }
2699
+ },
2700
+ sourceDbServerResourceId: {
2701
+ serializedName: "properties.sourceDbServerResourceId",
2702
+ type: {
2703
+ name: "String"
2704
+ }
2705
+ },
2706
+ sourceDbServerFullyQualifiedDomainName: {
2707
+ serializedName: "properties.sourceDbServerFullyQualifiedDomainName",
2708
+ type: {
2709
+ name: "String"
2710
+ }
2711
+ },
2712
+ targetDbServerResourceId: {
2713
+ serializedName: "properties.targetDbServerResourceId",
2714
+ readOnly: true,
2715
+ type: {
2716
+ name: "String"
2717
+ }
2718
+ },
2719
+ targetDbServerFullyQualifiedDomainName: {
2720
+ serializedName: "properties.targetDbServerFullyQualifiedDomainName",
2721
+ type: {
2722
+ name: "String"
2723
+ }
2724
+ },
2725
+ secretParameters: {
2726
+ serializedName: "properties.secretParameters",
2727
+ type: {
2728
+ name: "Composite",
2729
+ className: "MigrationSecretParameters"
2730
+ }
2731
+ },
2732
+ dbsToMigrate: {
2733
+ constraints: {
2734
+ MaxItems: 50
2735
+ },
2736
+ serializedName: "properties.dbsToMigrate",
2737
+ type: {
2738
+ name: "Sequence",
2739
+ element: {
2740
+ type: {
2741
+ name: "String"
2742
+ }
2743
+ }
2744
+ }
2745
+ },
2746
+ setupLogicalReplicationOnSourceDbIfNeeded: {
2747
+ serializedName: "properties.setupLogicalReplicationOnSourceDbIfNeeded",
2748
+ type: {
2749
+ name: "String"
2750
+ }
2751
+ },
2752
+ overwriteDbsInTarget: {
2753
+ serializedName: "properties.overwriteDbsInTarget",
2754
+ type: {
2755
+ name: "String"
2756
+ }
2757
+ },
2758
+ migrationWindowStartTimeInUtc: {
2759
+ serializedName: "properties.migrationWindowStartTimeInUtc",
2760
+ type: {
2761
+ name: "DateTime"
2762
+ }
2763
+ },
2764
+ migrationWindowEndTimeInUtc: {
2765
+ serializedName: "properties.migrationWindowEndTimeInUtc",
2766
+ type: {
2767
+ name: "DateTime"
2768
+ }
2769
+ },
2770
+ startDataMigration: {
2771
+ serializedName: "properties.startDataMigration",
2772
+ type: {
2773
+ name: "String"
2774
+ }
2775
+ },
2776
+ triggerCutover: {
2777
+ serializedName: "properties.triggerCutover",
2778
+ type: {
2779
+ name: "String"
2780
+ }
2781
+ },
2782
+ dbsToTriggerCutoverOn: {
2783
+ serializedName: "properties.dbsToTriggerCutoverOn",
2784
+ type: {
2785
+ name: "Sequence",
2786
+ element: {
2787
+ type: {
2788
+ name: "String"
2789
+ }
2790
+ }
2791
+ }
2792
+ },
2793
+ cancel: {
2794
+ serializedName: "properties.cancel",
2795
+ type: {
2796
+ name: "String"
2797
+ }
2798
+ },
2799
+ dbsToCancelMigrationOn: {
2800
+ serializedName: "properties.dbsToCancelMigrationOn",
2801
+ type: {
2802
+ name: "Sequence",
2803
+ element: {
2804
+ type: {
2805
+ name: "String"
2806
+ }
2807
+ }
2808
+ }
2809
+ }
2810
+ }
2811
+ }
2812
+ };
2813
+
2016
2814
  export const AdministratorsCreateHeaders: coreClient.CompositeMapper = {
2017
2815
  type: {
2018
2816
  name: "Composite",
@@ -2222,3 +3020,75 @@ export const ServersStopHeaders: coreClient.CompositeMapper = {
2222
3020
  }
2223
3021
  }
2224
3022
  };
3023
+
3024
+ export const FlexibleServerTriggerLtrPreBackupHeaders: coreClient.CompositeMapper = {
3025
+ type: {
3026
+ name: "Composite",
3027
+ className: "FlexibleServerTriggerLtrPreBackupHeaders",
3028
+ modelProperties: {
3029
+ xMsRequestId: {
3030
+ serializedName: "x-ms-request-id",
3031
+ type: {
3032
+ name: "String"
3033
+ }
3034
+ }
3035
+ }
3036
+ }
3037
+ };
3038
+
3039
+ export const FlexibleServerTriggerLtrPreBackupExceptionHeaders: coreClient.CompositeMapper = {
3040
+ type: {
3041
+ name: "Composite",
3042
+ className: "FlexibleServerTriggerLtrPreBackupExceptionHeaders",
3043
+ modelProperties: {
3044
+ xMsErrorCode: {
3045
+ serializedName: "x-ms-error-code",
3046
+ type: {
3047
+ name: "String"
3048
+ }
3049
+ },
3050
+ xMsRequestId: {
3051
+ serializedName: "x-ms-request-id",
3052
+ type: {
3053
+ name: "String"
3054
+ }
3055
+ }
3056
+ }
3057
+ }
3058
+ };
3059
+
3060
+ export const FlexibleServerStartLtrBackupHeaders: coreClient.CompositeMapper = {
3061
+ type: {
3062
+ name: "Composite",
3063
+ className: "FlexibleServerStartLtrBackupHeaders",
3064
+ modelProperties: {
3065
+ xMsRequestId: {
3066
+ serializedName: "x-ms-request-id",
3067
+ type: {
3068
+ name: "String"
3069
+ }
3070
+ }
3071
+ }
3072
+ }
3073
+ };
3074
+
3075
+ export const FlexibleServerStartLtrBackupExceptionHeaders: coreClient.CompositeMapper = {
3076
+ type: {
3077
+ name: "Composite",
3078
+ className: "FlexibleServerStartLtrBackupExceptionHeaders",
3079
+ modelProperties: {
3080
+ xMsErrorCode: {
3081
+ serializedName: "x-ms-error-code",
3082
+ type: {
3083
+ name: "String"
3084
+ }
3085
+ },
3086
+ xMsRequestId: {
3087
+ serializedName: "x-ms-request-id",
3088
+ type: {
3089
+ name: "String"
3090
+ }
3091
+ }
3092
+ }
3093
+ }
3094
+ };