@azure/arm-sqlvirtualmachine 5.0.0-beta.6 → 5.0.0-beta.8

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 (187) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/dist/index.js +1065 -306
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.js +98 -0
  11. package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.js +40 -0
  15. package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/availabilityGroupListenersGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/availabilityGroupListenersGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/availabilityGroupListenersGetSample.js +40 -0
  19. package/dist-esm/samples-dev/availabilityGroupListenersGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js +60 -0
  23. package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js.map +1 -0
  24. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/operationsListSample.js +58 -0
  27. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  28. package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.js +55 -0
  31. package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.js.map +1 -0
  32. package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.js +39 -0
  35. package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.js.map +1 -0
  36. package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.js +39 -0
  39. package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.js.map +1 -0
  40. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js +59 -0
  43. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js.map +1 -0
  44. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js +58 -0
  47. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js.map +1 -0
  48. package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.js +40 -0
  51. package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.js.map +1 -0
  52. package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.js +45 -0
  55. package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.js.map +1 -0
  56. package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.js +290 -0
  59. package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.js.map +1 -0
  60. package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.d.ts +2 -0
  61. package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.js +39 -0
  63. package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.js.map +1 -0
  64. package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.js +39 -0
  67. package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.js.map +1 -0
  68. package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.d.ts +2 -0
  69. package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js +59 -0
  71. package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js.map +1 -0
  72. package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.d.ts +2 -0
  73. package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js +60 -0
  75. package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js.map +1 -0
  76. package/dist-esm/samples-dev/sqlVirtualMachinesListSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/sqlVirtualMachinesListSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js +58 -0
  79. package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js.map +1 -0
  80. package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.d.ts +2 -0
  81. package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.js +39 -0
  83. package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.js.map +1 -0
  84. package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.d.ts +2 -0
  85. package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js +39 -0
  87. package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js.map +1 -0
  88. package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.d.ts +2 -0
  89. package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.js +40 -0
  91. package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.js.map +1 -0
  92. package/dist-esm/src/index.d.ts +1 -0
  93. package/dist-esm/src/index.d.ts.map +1 -1
  94. package/dist-esm/src/index.js +1 -0
  95. package/dist-esm/src/index.js.map +1 -1
  96. package/dist-esm/src/lroImpl.d.ts +6 -11
  97. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  98. package/dist-esm/src/lroImpl.js +12 -20
  99. package/dist-esm/src/lroImpl.js.map +1 -1
  100. package/dist-esm/src/models/index.d.ts +234 -68
  101. package/dist-esm/src/models/index.d.ts.map +1 -1
  102. package/dist-esm/src/models/index.js +8 -0
  103. package/dist-esm/src/models/index.js.map +1 -1
  104. package/dist-esm/src/models/mappers.d.ts +14 -0
  105. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  106. package/dist-esm/src/models/mappers.js +325 -0
  107. package/dist-esm/src/models/mappers.js.map +1 -1
  108. package/dist-esm/src/models/parameters.d.ts +1 -0
  109. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  110. package/dist-esm/src/models/parameters.js +11 -2
  111. package/dist-esm/src/models/parameters.js.map +1 -1
  112. package/dist-esm/src/operations/availabilityGroupListeners.d.ts +3 -3
  113. package/dist-esm/src/operations/availabilityGroupListeners.d.ts.map +1 -1
  114. package/dist-esm/src/operations/availabilityGroupListeners.js +86 -41
  115. package/dist-esm/src/operations/availabilityGroupListeners.js.map +1 -1
  116. package/dist-esm/src/operations/index.d.ts +1 -0
  117. package/dist-esm/src/operations/index.d.ts.map +1 -1
  118. package/dist-esm/src/operations/index.js +1 -0
  119. package/dist-esm/src/operations/index.js.map +1 -1
  120. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  121. package/dist-esm/src/operations/operations.js +37 -15
  122. package/dist-esm/src/operations/operations.js.map +1 -1
  123. package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts +4 -4
  124. package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts.map +1 -1
  125. package/dist-esm/src/operations/sqlVirtualMachineGroups.js +134 -51
  126. package/dist-esm/src/operations/sqlVirtualMachineGroups.js.map +1 -1
  127. package/dist-esm/src/operations/sqlVirtualMachineTroubleshoot.d.ts +32 -0
  128. package/dist-esm/src/operations/sqlVirtualMachineTroubleshoot.d.ts.map +1 -0
  129. package/dist-esm/src/operations/sqlVirtualMachineTroubleshoot.js +118 -0
  130. package/dist-esm/src/operations/sqlVirtualMachineTroubleshoot.js.map +1 -0
  131. package/dist-esm/src/operations/sqlVirtualMachines.d.ts +29 -29
  132. package/dist-esm/src/operations/sqlVirtualMachines.d.ts.map +1 -1
  133. package/dist-esm/src/operations/sqlVirtualMachines.js +270 -148
  134. package/dist-esm/src/operations/sqlVirtualMachines.js.map +1 -1
  135. package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.d.ts +3 -3
  136. package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.d.ts.map +1 -1
  137. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  138. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  139. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  140. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  141. package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.d.ts +4 -4
  142. package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.d.ts.map +1 -1
  143. package/dist-esm/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts +24 -0
  144. package/dist-esm/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts.map +1 -0
  145. package/dist-esm/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.js +9 -0
  146. package/dist-esm/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.js.map +1 -0
  147. package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts +26 -26
  148. package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts.map +1 -1
  149. package/dist-esm/src/pagingHelper.d.ts +13 -0
  150. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  151. package/dist-esm/src/pagingHelper.js +32 -0
  152. package/dist-esm/src/pagingHelper.js.map +1 -0
  153. package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts +2 -1
  154. package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts.map +1 -1
  155. package/dist-esm/src/sqlVirtualMachineManagementClient.js +7 -9
  156. package/dist-esm/src/sqlVirtualMachineManagementClient.js.map +1 -1
  157. package/dist-esm/test/sqlvirtualmachine_operations_test.spec.d.ts +4 -0
  158. package/dist-esm/test/sqlvirtualmachine_operations_test.spec.d.ts.map +1 -0
  159. package/dist-esm/test/sqlvirtualmachine_operations_test.spec.js +78 -0
  160. package/dist-esm/test/sqlvirtualmachine_operations_test.spec.js.map +1 -0
  161. package/package.json +22 -12
  162. package/review/arm-sqlvirtualmachine.api.md +134 -13
  163. package/src/index.ts +1 -0
  164. package/src/lroImpl.ts +31 -23
  165. package/src/models/index.ts +210 -25
  166. package/src/models/mappers.ts +340 -0
  167. package/src/models/parameters.ts +15 -2
  168. package/src/operations/availabilityGroupListeners.ts +81 -42
  169. package/src/operations/index.ts +1 -0
  170. package/src/operations/operations.ts +27 -11
  171. package/src/operations/sqlVirtualMachineGroups.ts +134 -61
  172. package/src/operations/sqlVirtualMachineTroubleshoot.ts +172 -0
  173. package/src/operations/sqlVirtualMachines.ts +312 -213
  174. package/src/operationsInterfaces/availabilityGroupListeners.ts +4 -4
  175. package/src/operationsInterfaces/index.ts +1 -0
  176. package/src/operationsInterfaces/sqlVirtualMachineGroups.ts +6 -6
  177. package/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.ts +51 -0
  178. package/src/operationsInterfaces/sqlVirtualMachines.ts +57 -57
  179. package/src/pagingHelper.ts +39 -0
  180. package/src/sqlVirtualMachineManagementClient.ts +14 -9
  181. package/tsconfig.json +8 -2
  182. package/types/arm-sqlvirtualmachine.d.ts +254 -38
  183. package/types/tsdoc-metadata.json +1 -1
  184. package/dist-esm/test/sampleTest.d.ts +0 -2
  185. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  186. package/dist-esm/test/sampleTest.js +0 -38
  187. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -77,6 +77,52 @@ export interface Resource {
77
77
  */
78
78
  readonly type?: string;
79
79
  }
80
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
81
+ export interface ErrorResponse {
82
+ /** The error object. */
83
+ error?: ErrorDetail;
84
+ }
85
+ /** The error detail. */
86
+ export interface ErrorDetail {
87
+ /**
88
+ * The error code.
89
+ * NOTE: This property will not be serialized. It can only be populated by the server.
90
+ */
91
+ readonly code?: string;
92
+ /**
93
+ * The error message.
94
+ * NOTE: This property will not be serialized. It can only be populated by the server.
95
+ */
96
+ readonly message?: string;
97
+ /**
98
+ * The error target.
99
+ * NOTE: This property will not be serialized. It can only be populated by the server.
100
+ */
101
+ readonly target?: string;
102
+ /**
103
+ * The error details.
104
+ * NOTE: This property will not be serialized. It can only be populated by the server.
105
+ */
106
+ readonly details?: ErrorDetail[];
107
+ /**
108
+ * The error additional info.
109
+ * NOTE: This property will not be serialized. It can only be populated by the server.
110
+ */
111
+ readonly additionalInfo?: ErrorAdditionalInfo[];
112
+ }
113
+ /** The resource management error additional info. */
114
+ export interface ErrorAdditionalInfo {
115
+ /**
116
+ * The additional info type.
117
+ * NOTE: This property will not be serialized. It can only be populated by the server.
118
+ */
119
+ readonly type?: string;
120
+ /**
121
+ * The additional info.
122
+ * NOTE: This property will not be serialized. It can only be populated by the server.
123
+ */
124
+ readonly info?: Record<string, unknown>;
125
+ }
80
126
  /** A list of availability group listeners. */
81
127
  export interface AvailabilityGroupListenerListResult {
82
128
  /**
@@ -296,6 +342,8 @@ export interface ServerConfigurationsManagementSettings {
296
342
  additionalFeaturesServerConfigurations?: AdditionalFeaturesServerConfigurations;
297
343
  /** SQL Instance settings. */
298
344
  sqlInstanceSettings?: SQLInstanceSettings;
345
+ /** Azure AD authentication Settings. */
346
+ azureAdAuthenticationSettings?: AADAuthenticationSettings;
299
347
  }
300
348
  /** Set the access level and network port settings for SQL Server. */
301
349
  export interface SqlConnectivityUpdateSettings {
@@ -344,6 +392,11 @@ export interface SQLInstanceSettings {
344
392
  /** SQL Server IFI. */
345
393
  isIfiEnabled?: boolean;
346
394
  }
395
+ /** Enable AAD authentication for SQL VM. */
396
+ export interface AADAuthenticationSettings {
397
+ /** The client Id of the Managed Identity to query Microsoft Graph API. An empty string must be used for the system assigned Managed Identity */
398
+ clientId?: string;
399
+ }
347
400
  /** Storage Configurations for SQL Data, Log and TempDb. */
348
401
  export interface StorageConfigurationSettings {
349
402
  /** SQL Server Data Storage Settings. */
@@ -387,13 +440,56 @@ export interface SQLTempDbSettings {
387
440
  /** SQL Server default file path */
388
441
  defaultFilePath?: string;
389
442
  }
390
- /** Configure assessment for databases in your SQL virtual machine. */
443
+ /** Status of last troubleshooting operation on this SQL VM */
444
+ export interface TroubleshootingStatus {
445
+ /**
446
+ * Root cause of the issue
447
+ * NOTE: This property will not be serialized. It can only be populated by the server.
448
+ */
449
+ readonly rootCause?: string;
450
+ /**
451
+ * Last troubleshooting trigger time in UTC timezone
452
+ * NOTE: This property will not be serialized. It can only be populated by the server.
453
+ */
454
+ readonly lastTriggerTimeUtc?: Date;
455
+ /**
456
+ * Start time in UTC timezone.
457
+ * NOTE: This property will not be serialized. It can only be populated by the server.
458
+ */
459
+ readonly startTimeUtc?: Date;
460
+ /**
461
+ * End time in UTC timezone.
462
+ * NOTE: This property will not be serialized. It can only be populated by the server.
463
+ */
464
+ readonly endTimeUtc?: Date;
465
+ /**
466
+ * SQL VM troubleshooting scenario.
467
+ * NOTE: This property will not be serialized. It can only be populated by the server.
468
+ */
469
+ readonly troubleshootingScenario?: TroubleshootingScenario;
470
+ /**
471
+ * Troubleshooting properties
472
+ * NOTE: This property will not be serialized. It can only be populated by the server.
473
+ */
474
+ readonly properties?: TroubleshootingAdditionalProperties;
475
+ }
476
+ /** SQL VM Troubleshooting additional properties. */
477
+ export interface TroubleshootingAdditionalProperties {
478
+ /** The unhealthy replica information */
479
+ unhealthyReplicaInfo?: UnhealthyReplicaInfo;
480
+ }
481
+ /** SQL VM Troubleshoot UnhealthyReplica scenario information. */
482
+ export interface UnhealthyReplicaInfo {
483
+ /** The name of the availability group */
484
+ availabilityGroupName?: string;
485
+ }
486
+ /** Configure SQL best practices Assessment for databases in your SQL virtual machine. */
391
487
  export interface AssessmentSettings {
392
- /** Enable or disable assessment feature on SQL virtual machine. */
488
+ /** Enable or disable SQL best practices Assessment feature on SQL virtual machine. */
393
489
  enable?: boolean;
394
- /** Run assessment immediately on SQL virtual machine. */
490
+ /** Run SQL best practices Assessment immediately on SQL virtual machine. */
395
491
  runImmediately?: boolean;
396
- /** Schedule for Assessment. */
492
+ /** Schedule for SQL best practices Assessment. */
397
493
  schedule?: Schedule;
398
494
  }
399
495
  /** Set assessment schedule for SQL Server. */
@@ -416,6 +512,22 @@ export interface SqlVirtualMachineUpdate {
416
512
  [propertyName: string]: string;
417
513
  };
418
514
  }
515
+ /** Details required for SQL VM troubleshooting */
516
+ export interface SqlVmTroubleshooting {
517
+ /** Start time in UTC timezone. */
518
+ startTimeUtc?: Date;
519
+ /** End time in UTC timezone. */
520
+ endTimeUtc?: Date;
521
+ /** SQL VM troubleshooting scenario. */
522
+ troubleshootingScenario?: TroubleshootingScenario;
523
+ /** Troubleshooting properties */
524
+ properties?: TroubleshootingAdditionalProperties;
525
+ /**
526
+ * Virtual machine resource id for response.
527
+ * NOTE: This property will not be serialized. It can only be populated by the server.
528
+ */
529
+ readonly virtualMachineResourceId?: string;
530
+ }
419
531
  /** ARM proxy resource. */
420
532
  export interface ProxyResource extends Resource {
421
533
  }
@@ -529,11 +641,40 @@ export interface SqlVirtualMachine extends TrackedResource {
529
641
  serverConfigurationsManagementSettings?: ServerConfigurationsManagementSettings;
530
642
  /** Storage Configuration Settings. */
531
643
  storageConfigurationSettings?: StorageConfigurationSettings;
532
- /** Assessment Settings. */
644
+ /**
645
+ * Troubleshooting status
646
+ * NOTE: This property will not be serialized. It can only be populated by the server.
647
+ */
648
+ readonly troubleshootingStatus?: TroubleshootingStatus;
649
+ /** SQL best practices Assessment Settings. */
533
650
  assessmentSettings?: AssessmentSettings;
534
651
  /** Enable automatic upgrade of Sql IaaS extension Agent. */
535
652
  enableAutomaticUpgrade?: boolean;
536
653
  }
654
+ /** Defines headers for AvailabilityGroupListeners_delete operation. */
655
+ export interface AvailabilityGroupListenersDeleteHeaders {
656
+ location?: string;
657
+ }
658
+ /** Defines headers for SqlVirtualMachineGroups_delete operation. */
659
+ export interface SqlVirtualMachineGroupsDeleteHeaders {
660
+ location?: string;
661
+ }
662
+ /** Defines headers for SqlVirtualMachines_delete operation. */
663
+ export interface SqlVirtualMachinesDeleteHeaders {
664
+ location?: string;
665
+ }
666
+ /** Defines headers for SqlVirtualMachines_startAssessment operation. */
667
+ export interface SqlVirtualMachinesStartAssessmentHeaders {
668
+ location?: string;
669
+ }
670
+ /** Defines headers for SqlVirtualMachines_redeploy operation. */
671
+ export interface SqlVirtualMachinesRedeployHeaders {
672
+ location?: string;
673
+ }
674
+ /** Defines headers for SqlVirtualMachineTroubleshoot_troubleshoot operation. */
675
+ export interface SqlVirtualMachineTroubleshootTroubleshootHeaders {
676
+ location?: string;
677
+ }
537
678
  /** Known values of {@link Role} that the service accepts. */
538
679
  export declare enum KnownRole {
539
680
  /** Primary */
@@ -549,7 +690,7 @@ export declare enum KnownRole {
549
690
  * **PRIMARY** \
550
691
  * **SECONDARY**
551
692
  */
552
- export declare type Role = string;
693
+ export type Role = string;
553
694
  /** Known values of {@link Commit} that the service accepts. */
554
695
  export declare enum KnownCommit {
555
696
  /** SynchronousCommit */
@@ -565,7 +706,7 @@ export declare enum KnownCommit {
565
706
  * **SYNCHRONOUS_COMMIT** \
566
707
  * **ASYNCHRONOUS_COMMIT**
567
708
  */
568
- export declare type Commit = string;
709
+ export type Commit = string;
569
710
  /** Known values of {@link Failover} that the service accepts. */
570
711
  export declare enum KnownFailover {
571
712
  /** Automatic */
@@ -581,7 +722,7 @@ export declare enum KnownFailover {
581
722
  * **AUTOMATIC** \
582
723
  * **MANUAL**
583
724
  */
584
- export declare type Failover = string;
725
+ export type Failover = string;
585
726
  /** Known values of {@link ReadableSecondary} that the service accepts. */
586
727
  export declare enum KnownReadableSecondary {
587
728
  /** NO */
@@ -600,7 +741,7 @@ export declare enum KnownReadableSecondary {
600
741
  * **ALL** \
601
742
  * **READ_ONLY**
602
743
  */
603
- export declare type ReadableSecondary = string;
744
+ export type ReadableSecondary = string;
604
745
  /** Known values of {@link CreatedByType} that the service accepts. */
605
746
  export declare enum KnownCreatedByType {
606
747
  /** User */
@@ -622,7 +763,7 @@ export declare enum KnownCreatedByType {
622
763
  * **ManagedIdentity** \
623
764
  * **Key**
624
765
  */
625
- export declare type CreatedByType = string;
766
+ export type CreatedByType = string;
626
767
  /** Known values of {@link OperationOrigin} that the service accepts. */
627
768
  export declare enum KnownOperationOrigin {
628
769
  /** User */
@@ -638,7 +779,7 @@ export declare enum KnownOperationOrigin {
638
779
  * **user** \
639
780
  * **system**
640
781
  */
641
- export declare type OperationOrigin = string;
782
+ export type OperationOrigin = string;
642
783
  /** Known values of {@link SqlVmGroupImageSku} that the service accepts. */
643
784
  export declare enum KnownSqlVmGroupImageSku {
644
785
  /** Developer */
@@ -654,7 +795,7 @@ export declare enum KnownSqlVmGroupImageSku {
654
795
  * **Developer** \
655
796
  * **Enterprise**
656
797
  */
657
- export declare type SqlVmGroupImageSku = string;
798
+ export type SqlVmGroupImageSku = string;
658
799
  /** Known values of {@link ScaleType} that the service accepts. */
659
800
  export declare enum KnownScaleType {
660
801
  /** HA */
@@ -667,7 +808,7 @@ export declare enum KnownScaleType {
667
808
  * ### Known values supported by the service
668
809
  * **HA**
669
810
  */
670
- export declare type ScaleType = string;
811
+ export type ScaleType = string;
671
812
  /** Known values of {@link ClusterManagerType} that the service accepts. */
672
813
  export declare enum KnownClusterManagerType {
673
814
  /** Wsfc */
@@ -680,7 +821,7 @@ export declare enum KnownClusterManagerType {
680
821
  * ### Known values supported by the service
681
822
  * **WSFC**
682
823
  */
683
- export declare type ClusterManagerType = string;
824
+ export type ClusterManagerType = string;
684
825
  /** Known values of {@link ClusterConfiguration} that the service accepts. */
685
826
  export declare enum KnownClusterConfiguration {
686
827
  /** Domainful */
@@ -693,7 +834,7 @@ export declare enum KnownClusterConfiguration {
693
834
  * ### Known values supported by the service
694
835
  * **Domainful**
695
836
  */
696
- export declare type ClusterConfiguration = string;
837
+ export type ClusterConfiguration = string;
697
838
  /** Known values of {@link ClusterSubnetType} that the service accepts. */
698
839
  export declare enum KnownClusterSubnetType {
699
840
  /** SingleSubnet */
@@ -709,7 +850,7 @@ export declare enum KnownClusterSubnetType {
709
850
  * **SingleSubnet** \
710
851
  * **MultiSubnet**
711
852
  */
712
- export declare type ClusterSubnetType = string;
853
+ export type ClusterSubnetType = string;
713
854
  /** Known values of {@link IdentityType} that the service accepts. */
714
855
  export declare enum KnownIdentityType {
715
856
  /** None */
@@ -725,7 +866,7 @@ export declare enum KnownIdentityType {
725
866
  * **None** \
726
867
  * **SystemAssigned**
727
868
  */
728
- export declare type IdentityType = string;
869
+ export type IdentityType = string;
729
870
  /** Known values of {@link SqlServerLicenseType} that the service accepts. */
730
871
  export declare enum KnownSqlServerLicenseType {
731
872
  /** Payg */
@@ -744,7 +885,7 @@ export declare enum KnownSqlServerLicenseType {
744
885
  * **AHUB** \
745
886
  * **DR**
746
887
  */
747
- export declare type SqlServerLicenseType = string;
888
+ export type SqlServerLicenseType = string;
748
889
  /** Known values of {@link SqlManagementMode} that the service accepts. */
749
890
  export declare enum KnownSqlManagementMode {
750
891
  /** Full */
@@ -763,20 +904,23 @@ export declare enum KnownSqlManagementMode {
763
904
  * **LightWeight** \
764
905
  * **NoAgent**
765
906
  */
766
- export declare type SqlManagementMode = string;
907
+ export type SqlManagementMode = string;
767
908
  /** Known values of {@link LeastPrivilegeMode} that the service accepts. */
768
909
  export declare enum KnownLeastPrivilegeMode {
769
910
  /** Enabled */
770
- Enabled = "Enabled"
911
+ Enabled = "Enabled",
912
+ /** NotSet */
913
+ NotSet = "NotSet"
771
914
  }
772
915
  /**
773
916
  * Defines values for LeastPrivilegeMode. \
774
917
  * {@link KnownLeastPrivilegeMode} can be used interchangeably with LeastPrivilegeMode,
775
918
  * this enum contains the known values that the service supports.
776
919
  * ### Known values supported by the service
777
- * **Enabled**
920
+ * **Enabled** \
921
+ * **NotSet**
778
922
  */
779
- export declare type LeastPrivilegeMode = string;
923
+ export type LeastPrivilegeMode = string;
780
924
  /** Known values of {@link SqlImageSku} that the service accepts. */
781
925
  export declare enum KnownSqlImageSku {
782
926
  /** Developer */
@@ -801,7 +945,7 @@ export declare enum KnownSqlImageSku {
801
945
  * **Enterprise** \
802
946
  * **Web**
803
947
  */
804
- export declare type SqlImageSku = string;
948
+ export type SqlImageSku = string;
805
949
  /** Known values of {@link BackupScheduleType} that the service accepts. */
806
950
  export declare enum KnownBackupScheduleType {
807
951
  /** Manual */
@@ -817,7 +961,7 @@ export declare enum KnownBackupScheduleType {
817
961
  * **Manual** \
818
962
  * **Automated**
819
963
  */
820
- export declare type BackupScheduleType = string;
964
+ export type BackupScheduleType = string;
821
965
  /** Known values of {@link FullBackupFrequencyType} that the service accepts. */
822
966
  export declare enum KnownFullBackupFrequencyType {
823
967
  /** Daily */
@@ -833,7 +977,7 @@ export declare enum KnownFullBackupFrequencyType {
833
977
  * **Daily** \
834
978
  * **Weekly**
835
979
  */
836
- export declare type FullBackupFrequencyType = string;
980
+ export type FullBackupFrequencyType = string;
837
981
  /** Known values of {@link AutoBackupDaysOfWeek} that the service accepts. */
838
982
  export declare enum KnownAutoBackupDaysOfWeek {
839
983
  /** Monday */
@@ -864,7 +1008,7 @@ export declare enum KnownAutoBackupDaysOfWeek {
864
1008
  * **Saturday** \
865
1009
  * **Sunday**
866
1010
  */
867
- export declare type AutoBackupDaysOfWeek = string;
1011
+ export type AutoBackupDaysOfWeek = string;
868
1012
  /** Known values of {@link ConnectivityType} that the service accepts. */
869
1013
  export declare enum KnownConnectivityType {
870
1014
  /** Local */
@@ -883,7 +1027,7 @@ export declare enum KnownConnectivityType {
883
1027
  * **PRIVATE** \
884
1028
  * **PUBLIC**
885
1029
  */
886
- export declare type ConnectivityType = string;
1030
+ export type ConnectivityType = string;
887
1031
  /** Known values of {@link SqlWorkloadType} that the service accepts. */
888
1032
  export declare enum KnownSqlWorkloadType {
889
1033
  /** General */
@@ -902,7 +1046,7 @@ export declare enum KnownSqlWorkloadType {
902
1046
  * **OLTP** \
903
1047
  * **DW**
904
1048
  */
905
- export declare type SqlWorkloadType = string;
1049
+ export type SqlWorkloadType = string;
906
1050
  /** Known values of {@link DiskConfigurationType} that the service accepts. */
907
1051
  export declare enum KnownDiskConfigurationType {
908
1052
  /** NEW */
@@ -921,7 +1065,7 @@ export declare enum KnownDiskConfigurationType {
921
1065
  * **EXTEND** \
922
1066
  * **ADD**
923
1067
  */
924
- export declare type DiskConfigurationType = string;
1068
+ export type DiskConfigurationType = string;
925
1069
  /** Known values of {@link StorageWorkloadType} that the service accepts. */
926
1070
  export declare enum KnownStorageWorkloadType {
927
1071
  /** General */
@@ -940,18 +1084,31 @@ export declare enum KnownStorageWorkloadType {
940
1084
  * **OLTP** \
941
1085
  * **DW**
942
1086
  */
943
- export declare type StorageWorkloadType = string;
1087
+ export type StorageWorkloadType = string;
1088
+ /** Known values of {@link TroubleshootingScenario} that the service accepts. */
1089
+ export declare enum KnownTroubleshootingScenario {
1090
+ /** UnhealthyReplica */
1091
+ UnhealthyReplica = "UnhealthyReplica"
1092
+ }
1093
+ /**
1094
+ * Defines values for TroubleshootingScenario. \
1095
+ * {@link KnownTroubleshootingScenario} can be used interchangeably with TroubleshootingScenario,
1096
+ * this enum contains the known values that the service supports.
1097
+ * ### Known values supported by the service
1098
+ * **UnhealthyReplica**
1099
+ */
1100
+ export type TroubleshootingScenario = string;
944
1101
  /** Defines values for DayOfWeek. */
945
- export declare type DayOfWeek = "Everyday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday";
1102
+ export type DayOfWeek = "Everyday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday";
946
1103
  /** Defines values for AssessmentDayOfWeek. */
947
- export declare type AssessmentDayOfWeek = "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday";
1104
+ export type AssessmentDayOfWeek = "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday";
948
1105
  /** Optional parameters. */
949
1106
  export interface AvailabilityGroupListenersGetOptionalParams extends coreClient.OperationOptions {
950
1107
  /** The child resources to include in the response. */
951
1108
  expand?: string;
952
1109
  }
953
1110
  /** Contains response data for the get operation. */
954
- export declare type AvailabilityGroupListenersGetResponse = AvailabilityGroupListener;
1111
+ export type AvailabilityGroupListenersGetResponse = AvailabilityGroupListener;
955
1112
  /** Optional parameters. */
956
1113
  export interface AvailabilityGroupListenersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
957
1114
  /** Delay to wait until next poll, in milliseconds. */
@@ -960,7 +1117,7 @@ export interface AvailabilityGroupListenersCreateOrUpdateOptionalParams extends
960
1117
  resumeFrom?: string;
961
1118
  }
962
1119
  /** Contains response data for the createOrUpdate operation. */
963
- export declare type AvailabilityGroupListenersCreateOrUpdateResponse = AvailabilityGroupListener;
1120
+ export type AvailabilityGroupListenersCreateOrUpdateResponse = AvailabilityGroupListener;
964
1121
  /** Optional parameters. */
965
1122
  export interface AvailabilityGroupListenersDeleteOptionalParams extends coreClient.OperationOptions {
966
1123
  /** Delay to wait until next poll, in milliseconds. */
@@ -972,27 +1129,27 @@ export interface AvailabilityGroupListenersDeleteOptionalParams extends coreClie
972
1129
  export interface AvailabilityGroupListenersListByGroupOptionalParams extends coreClient.OperationOptions {
973
1130
  }
974
1131
  /** Contains response data for the listByGroup operation. */
975
- export declare type AvailabilityGroupListenersListByGroupResponse = AvailabilityGroupListenerListResult;
1132
+ export type AvailabilityGroupListenersListByGroupResponse = AvailabilityGroupListenerListResult;
976
1133
  /** Optional parameters. */
977
1134
  export interface AvailabilityGroupListenersListByGroupNextOptionalParams extends coreClient.OperationOptions {
978
1135
  }
979
1136
  /** Contains response data for the listByGroupNext operation. */
980
- export declare type AvailabilityGroupListenersListByGroupNextResponse = AvailabilityGroupListenerListResult;
1137
+ export type AvailabilityGroupListenersListByGroupNextResponse = AvailabilityGroupListenerListResult;
981
1138
  /** Optional parameters. */
982
1139
  export interface OperationsListOptionalParams extends coreClient.OperationOptions {
983
1140
  }
984
1141
  /** Contains response data for the list operation. */
985
- export declare type OperationsListResponse = OperationListResult;
1142
+ export type OperationsListResponse = OperationListResult;
986
1143
  /** Optional parameters. */
987
1144
  export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
988
1145
  }
989
1146
  /** Contains response data for the listNext operation. */
990
- export declare type OperationsListNextResponse = OperationListResult;
1147
+ export type OperationsListNextResponse = OperationListResult;
991
1148
  /** Optional parameters. */
992
1149
  export interface SqlVirtualMachineGroupsGetOptionalParams extends coreClient.OperationOptions {
993
1150
  }
994
1151
  /** Contains response data for the get operation. */
995
- export declare type SqlVirtualMachineGroupsGetResponse = SqlVirtualMachineGroup;
1152
+ export type SqlVirtualMachineGroupsGetResponse = SqlVirtualMachineGroup;
996
1153
  /** Optional parameters. */
997
1154
  export interface SqlVirtualMachineGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
998
1155
  /** Delay to wait until next poll, in milliseconds. */
@@ -1001,7 +1158,7 @@ export interface SqlVirtualMachineGroupsCreateOrUpdateOptionalParams extends cor
1001
1158
  resumeFrom?: string;
1002
1159
  }
1003
1160
  /** Contains response data for the createOrUpdate operation. */
1004
- export declare type SqlVirtualMachineGroupsCreateOrUpdateResponse = SqlVirtualMachineGroup;
1161
+ export type SqlVirtualMachineGroupsCreateOrUpdateResponse = SqlVirtualMachineGroup;
1005
1162
  /** Optional parameters. */
1006
1163
  export interface SqlVirtualMachineGroupsDeleteOptionalParams extends coreClient.OperationOptions {
1007
1164
  /** Delay to wait until next poll, in milliseconds. */
@@ -1017,58 +1174,44 @@ export interface SqlVirtualMachineGroupsUpdateOptionalParams extends coreClient.
1017
1174
  resumeFrom?: string;
1018
1175
  }
1019
1176
  /** Contains response data for the update operation. */
1020
- export declare type SqlVirtualMachineGroupsUpdateResponse = SqlVirtualMachineGroup;
1177
+ export type SqlVirtualMachineGroupsUpdateResponse = SqlVirtualMachineGroup;
1021
1178
  /** Optional parameters. */
1022
1179
  export interface SqlVirtualMachineGroupsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1023
1180
  }
1024
1181
  /** Contains response data for the listByResourceGroup operation. */
1025
- export declare type SqlVirtualMachineGroupsListByResourceGroupResponse = SqlVirtualMachineGroupListResult;
1182
+ export type SqlVirtualMachineGroupsListByResourceGroupResponse = SqlVirtualMachineGroupListResult;
1026
1183
  /** Optional parameters. */
1027
1184
  export interface SqlVirtualMachineGroupsListOptionalParams extends coreClient.OperationOptions {
1028
1185
  }
1029
1186
  /** Contains response data for the list operation. */
1030
- export declare type SqlVirtualMachineGroupsListResponse = SqlVirtualMachineGroupListResult;
1187
+ export type SqlVirtualMachineGroupsListResponse = SqlVirtualMachineGroupListResult;
1031
1188
  /** Optional parameters. */
1032
1189
  export interface SqlVirtualMachineGroupsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1033
1190
  }
1034
1191
  /** Contains response data for the listByResourceGroupNext operation. */
1035
- export declare type SqlVirtualMachineGroupsListByResourceGroupNextResponse = SqlVirtualMachineGroupListResult;
1192
+ export type SqlVirtualMachineGroupsListByResourceGroupNextResponse = SqlVirtualMachineGroupListResult;
1036
1193
  /** Optional parameters. */
1037
1194
  export interface SqlVirtualMachineGroupsListNextOptionalParams extends coreClient.OperationOptions {
1038
1195
  }
1039
1196
  /** Contains response data for the listNext operation. */
1040
- export declare type SqlVirtualMachineGroupsListNextResponse = SqlVirtualMachineGroupListResult;
1197
+ export type SqlVirtualMachineGroupsListNextResponse = SqlVirtualMachineGroupListResult;
1041
1198
  /** Optional parameters. */
1042
1199
  export interface SqlVirtualMachinesListBySqlVmGroupOptionalParams extends coreClient.OperationOptions {
1043
1200
  }
1044
1201
  /** Contains response data for the listBySqlVmGroup operation. */
1045
- export declare type SqlVirtualMachinesListBySqlVmGroupResponse = SqlVirtualMachineListResult;
1202
+ export type SqlVirtualMachinesListBySqlVmGroupResponse = SqlVirtualMachineListResult;
1046
1203
  /** Optional parameters. */
1047
1204
  export interface SqlVirtualMachinesListOptionalParams extends coreClient.OperationOptions {
1048
1205
  }
1049
1206
  /** Contains response data for the list operation. */
1050
- export declare type SqlVirtualMachinesListResponse = SqlVirtualMachineListResult;
1051
- /** Optional parameters. */
1052
- export interface SqlVirtualMachinesStartAssessmentOptionalParams extends coreClient.OperationOptions {
1053
- /** Delay to wait until next poll, in milliseconds. */
1054
- updateIntervalInMs?: number;
1055
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1056
- resumeFrom?: string;
1057
- }
1058
- /** Optional parameters. */
1059
- export interface SqlVirtualMachinesRedeployOptionalParams extends coreClient.OperationOptions {
1060
- /** Delay to wait until next poll, in milliseconds. */
1061
- updateIntervalInMs?: number;
1062
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1063
- resumeFrom?: string;
1064
- }
1207
+ export type SqlVirtualMachinesListResponse = SqlVirtualMachineListResult;
1065
1208
  /** Optional parameters. */
1066
1209
  export interface SqlVirtualMachinesGetOptionalParams extends coreClient.OperationOptions {
1067
1210
  /** The child resources to include in the response. */
1068
1211
  expand?: string;
1069
1212
  }
1070
1213
  /** Contains response data for the get operation. */
1071
- export declare type SqlVirtualMachinesGetResponse = SqlVirtualMachine;
1214
+ export type SqlVirtualMachinesGetResponse = SqlVirtualMachine;
1072
1215
  /** Optional parameters. */
1073
1216
  export interface SqlVirtualMachinesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1074
1217
  /** Delay to wait until next poll, in milliseconds. */
@@ -1077,7 +1220,7 @@ export interface SqlVirtualMachinesCreateOrUpdateOptionalParams extends coreClie
1077
1220
  resumeFrom?: string;
1078
1221
  }
1079
1222
  /** Contains response data for the createOrUpdate operation. */
1080
- export declare type SqlVirtualMachinesCreateOrUpdateResponse = SqlVirtualMachine;
1223
+ export type SqlVirtualMachinesCreateOrUpdateResponse = SqlVirtualMachine;
1081
1224
  /** Optional parameters. */
1082
1225
  export interface SqlVirtualMachinesDeleteOptionalParams extends coreClient.OperationOptions {
1083
1226
  /** Delay to wait until next poll, in milliseconds. */
@@ -1093,27 +1236,50 @@ export interface SqlVirtualMachinesUpdateOptionalParams extends coreClient.Opera
1093
1236
  resumeFrom?: string;
1094
1237
  }
1095
1238
  /** Contains response data for the update operation. */
1096
- export declare type SqlVirtualMachinesUpdateResponse = SqlVirtualMachine;
1239
+ export type SqlVirtualMachinesUpdateResponse = SqlVirtualMachine;
1097
1240
  /** Optional parameters. */
1098
1241
  export interface SqlVirtualMachinesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1099
1242
  }
1100
1243
  /** Contains response data for the listByResourceGroup operation. */
1101
- export declare type SqlVirtualMachinesListByResourceGroupResponse = SqlVirtualMachineListResult;
1244
+ export type SqlVirtualMachinesListByResourceGroupResponse = SqlVirtualMachineListResult;
1245
+ /** Optional parameters. */
1246
+ export interface SqlVirtualMachinesStartAssessmentOptionalParams extends coreClient.OperationOptions {
1247
+ /** Delay to wait until next poll, in milliseconds. */
1248
+ updateIntervalInMs?: number;
1249
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1250
+ resumeFrom?: string;
1251
+ }
1252
+ /** Optional parameters. */
1253
+ export interface SqlVirtualMachinesRedeployOptionalParams extends coreClient.OperationOptions {
1254
+ /** Delay to wait until next poll, in milliseconds. */
1255
+ updateIntervalInMs?: number;
1256
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1257
+ resumeFrom?: string;
1258
+ }
1102
1259
  /** Optional parameters. */
1103
1260
  export interface SqlVirtualMachinesListBySqlVmGroupNextOptionalParams extends coreClient.OperationOptions {
1104
1261
  }
1105
1262
  /** Contains response data for the listBySqlVmGroupNext operation. */
1106
- export declare type SqlVirtualMachinesListBySqlVmGroupNextResponse = SqlVirtualMachineListResult;
1263
+ export type SqlVirtualMachinesListBySqlVmGroupNextResponse = SqlVirtualMachineListResult;
1107
1264
  /** Optional parameters. */
1108
1265
  export interface SqlVirtualMachinesListNextOptionalParams extends coreClient.OperationOptions {
1109
1266
  }
1110
1267
  /** Contains response data for the listNext operation. */
1111
- export declare type SqlVirtualMachinesListNextResponse = SqlVirtualMachineListResult;
1268
+ export type SqlVirtualMachinesListNextResponse = SqlVirtualMachineListResult;
1112
1269
  /** Optional parameters. */
1113
1270
  export interface SqlVirtualMachinesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1114
1271
  }
1115
1272
  /** Contains response data for the listByResourceGroupNext operation. */
1116
- export declare type SqlVirtualMachinesListByResourceGroupNextResponse = SqlVirtualMachineListResult;
1273
+ export type SqlVirtualMachinesListByResourceGroupNextResponse = SqlVirtualMachineListResult;
1274
+ /** Optional parameters. */
1275
+ export interface SqlVirtualMachineTroubleshootTroubleshootOptionalParams extends coreClient.OperationOptions {
1276
+ /** Delay to wait until next poll, in milliseconds. */
1277
+ updateIntervalInMs?: number;
1278
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1279
+ resumeFrom?: string;
1280
+ }
1281
+ /** Contains response data for the troubleshoot operation. */
1282
+ export type SqlVirtualMachineTroubleshootTroubleshootResponse = SqlVmTroubleshooting;
1117
1283
  /** Optional parameters. */
1118
1284
  export interface SqlVirtualMachineManagementClientOptionalParams extends coreClient.ServiceClientOptions {
1119
1285
  /** server parameter */