@azure/arm-sqlvirtualmachine 5.0.0-beta.7 → 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.
- package/CHANGELOG.md +2 -2
- package/dist/index.js +903 -244
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/availabilityGroupListenersGetSample.js +1 -1
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js +13 -6
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +13 -6
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.js +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js +13 -6
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js +13 -6
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.js +45 -0
- package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.js +9 -6
- package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.js +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js +13 -6
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js +13 -6
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js +13 -6
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.js +5 -5
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js +5 -5
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.js +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +234 -68
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +8 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +14 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +325 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +1 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +11 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/availabilityGroupListeners.d.ts +3 -3
- package/dist-esm/src/operations/availabilityGroupListeners.d.ts.map +1 -1
- package/dist-esm/src/operations/availabilityGroupListeners.js +67 -33
- package/dist-esm/src/operations/availabilityGroupListeners.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.js +18 -7
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts +4 -4
- package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/sqlVirtualMachineGroups.js +97 -35
- package/dist-esm/src/operations/sqlVirtualMachineGroups.js.map +1 -1
- package/dist-esm/src/operations/sqlVirtualMachineTroubleshoot.d.ts +32 -0
- package/dist-esm/src/operations/sqlVirtualMachineTroubleshoot.d.ts.map +1 -0
- package/dist-esm/src/operations/sqlVirtualMachineTroubleshoot.js +118 -0
- package/dist-esm/src/operations/sqlVirtualMachineTroubleshoot.js.map +1 -0
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts +29 -29
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts.map +1 -1
- package/dist-esm/src/operations/sqlVirtualMachines.js +215 -124
- package/dist-esm/src/operations/sqlVirtualMachines.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts +24 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.js +9 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts +26 -26
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts.map +1 -1
- package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts +2 -1
- package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts.map +1 -1
- package/dist-esm/src/sqlVirtualMachineManagementClient.js +4 -3
- package/dist-esm/src/sqlVirtualMachineManagementClient.js.map +1 -1
- package/dist-esm/test/sqlvirtualmachine_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/sqlvirtualmachine_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/sqlvirtualmachine_operations_test.spec.js +78 -0
- package/dist-esm/test/sqlvirtualmachine_operations_test.spec.js.map +1 -0
- package/package.json +10 -10
- package/review/arm-sqlvirtualmachine.api.md +131 -13
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +210 -25
- package/src/models/mappers.ts +340 -0
- package/src/models/parameters.ts +15 -2
- package/src/operations/availabilityGroupListeners.ts +54 -28
- package/src/operations/index.ts +1 -0
- package/src/operations/operations.ts +6 -2
- package/src/operations/sqlVirtualMachineGroups.ts +88 -42
- package/src/operations/sqlVirtualMachineTroubleshoot.ts +172 -0
- package/src/operations/sqlVirtualMachines.ts +241 -181
- package/src/operationsInterfaces/availabilityGroupListeners.ts +4 -4
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/sqlVirtualMachineGroups.ts +6 -6
- package/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.ts +51 -0
- package/src/operationsInterfaces/sqlVirtualMachines.ts +57 -57
- package/src/sqlVirtualMachineManagementClient.ts +10 -4
- package/types/arm-sqlvirtualmachine.d.ts +245 -38
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
package/src/models/index.ts
CHANGED
|
@@ -93,6 +93,55 @@ export interface Resource {
|
|
|
93
93
|
readonly type?: string;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
97
|
+
export interface ErrorResponse {
|
|
98
|
+
/** The error object. */
|
|
99
|
+
error?: ErrorDetail;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/** The error detail. */
|
|
103
|
+
export interface ErrorDetail {
|
|
104
|
+
/**
|
|
105
|
+
* The error code.
|
|
106
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
107
|
+
*/
|
|
108
|
+
readonly code?: string;
|
|
109
|
+
/**
|
|
110
|
+
* The error message.
|
|
111
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
112
|
+
*/
|
|
113
|
+
readonly message?: string;
|
|
114
|
+
/**
|
|
115
|
+
* The error target.
|
|
116
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
117
|
+
*/
|
|
118
|
+
readonly target?: string;
|
|
119
|
+
/**
|
|
120
|
+
* The error details.
|
|
121
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
122
|
+
*/
|
|
123
|
+
readonly details?: ErrorDetail[];
|
|
124
|
+
/**
|
|
125
|
+
* The error additional info.
|
|
126
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
127
|
+
*/
|
|
128
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/** The resource management error additional info. */
|
|
132
|
+
export interface ErrorAdditionalInfo {
|
|
133
|
+
/**
|
|
134
|
+
* The additional info type.
|
|
135
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
136
|
+
*/
|
|
137
|
+
readonly type?: string;
|
|
138
|
+
/**
|
|
139
|
+
* The additional info.
|
|
140
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
141
|
+
*/
|
|
142
|
+
readonly info?: Record<string, unknown>;
|
|
143
|
+
}
|
|
144
|
+
|
|
96
145
|
/** A list of availability group listeners. */
|
|
97
146
|
export interface AvailabilityGroupListenerListResult {
|
|
98
147
|
/**
|
|
@@ -321,6 +370,8 @@ export interface ServerConfigurationsManagementSettings {
|
|
|
321
370
|
additionalFeaturesServerConfigurations?: AdditionalFeaturesServerConfigurations;
|
|
322
371
|
/** SQL Instance settings. */
|
|
323
372
|
sqlInstanceSettings?: SQLInstanceSettings;
|
|
373
|
+
/** Azure AD authentication Settings. */
|
|
374
|
+
azureAdAuthenticationSettings?: AADAuthenticationSettings;
|
|
324
375
|
}
|
|
325
376
|
|
|
326
377
|
/** Set the access level and network port settings for SQL Server. */
|
|
@@ -375,6 +426,12 @@ export interface SQLInstanceSettings {
|
|
|
375
426
|
isIfiEnabled?: boolean;
|
|
376
427
|
}
|
|
377
428
|
|
|
429
|
+
/** Enable AAD authentication for SQL VM. */
|
|
430
|
+
export interface AADAuthenticationSettings {
|
|
431
|
+
/** The client Id of the Managed Identity to query Microsoft Graph API. An empty string must be used for the system assigned Managed Identity */
|
|
432
|
+
clientId?: string;
|
|
433
|
+
}
|
|
434
|
+
|
|
378
435
|
/** Storage Configurations for SQL Data, Log and TempDb. */
|
|
379
436
|
export interface StorageConfigurationSettings {
|
|
380
437
|
/** SQL Server Data Storage Settings. */
|
|
@@ -421,13 +478,59 @@ export interface SQLTempDbSettings {
|
|
|
421
478
|
defaultFilePath?: string;
|
|
422
479
|
}
|
|
423
480
|
|
|
424
|
-
/**
|
|
481
|
+
/** Status of last troubleshooting operation on this SQL VM */
|
|
482
|
+
export interface TroubleshootingStatus {
|
|
483
|
+
/**
|
|
484
|
+
* Root cause of the issue
|
|
485
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
486
|
+
*/
|
|
487
|
+
readonly rootCause?: string;
|
|
488
|
+
/**
|
|
489
|
+
* Last troubleshooting trigger time in UTC timezone
|
|
490
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
491
|
+
*/
|
|
492
|
+
readonly lastTriggerTimeUtc?: Date;
|
|
493
|
+
/**
|
|
494
|
+
* Start time in UTC timezone.
|
|
495
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
496
|
+
*/
|
|
497
|
+
readonly startTimeUtc?: Date;
|
|
498
|
+
/**
|
|
499
|
+
* End time in UTC timezone.
|
|
500
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
501
|
+
*/
|
|
502
|
+
readonly endTimeUtc?: Date;
|
|
503
|
+
/**
|
|
504
|
+
* SQL VM troubleshooting scenario.
|
|
505
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
506
|
+
*/
|
|
507
|
+
readonly troubleshootingScenario?: TroubleshootingScenario;
|
|
508
|
+
/**
|
|
509
|
+
* Troubleshooting properties
|
|
510
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
511
|
+
*/
|
|
512
|
+
readonly properties?: TroubleshootingAdditionalProperties;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
/** SQL VM Troubleshooting additional properties. */
|
|
516
|
+
export interface TroubleshootingAdditionalProperties {
|
|
517
|
+
/** The unhealthy replica information */
|
|
518
|
+
unhealthyReplicaInfo?: UnhealthyReplicaInfo;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
/** SQL VM Troubleshoot UnhealthyReplica scenario information. */
|
|
522
|
+
export interface UnhealthyReplicaInfo {
|
|
523
|
+
/** The name of the availability group */
|
|
524
|
+
availabilityGroupName?: string;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
/** Configure SQL best practices Assessment for databases in your SQL virtual machine. */
|
|
425
528
|
export interface AssessmentSettings {
|
|
426
|
-
/** Enable or disable
|
|
529
|
+
/** Enable or disable SQL best practices Assessment feature on SQL virtual machine. */
|
|
427
530
|
enable?: boolean;
|
|
428
|
-
/** Run
|
|
531
|
+
/** Run SQL best practices Assessment immediately on SQL virtual machine. */
|
|
429
532
|
runImmediately?: boolean;
|
|
430
|
-
/** Schedule for Assessment. */
|
|
533
|
+
/** Schedule for SQL best practices Assessment. */
|
|
431
534
|
schedule?: Schedule;
|
|
432
535
|
}
|
|
433
536
|
|
|
@@ -451,6 +554,23 @@ export interface SqlVirtualMachineUpdate {
|
|
|
451
554
|
tags?: { [propertyName: string]: string };
|
|
452
555
|
}
|
|
453
556
|
|
|
557
|
+
/** Details required for SQL VM troubleshooting */
|
|
558
|
+
export interface SqlVmTroubleshooting {
|
|
559
|
+
/** Start time in UTC timezone. */
|
|
560
|
+
startTimeUtc?: Date;
|
|
561
|
+
/** End time in UTC timezone. */
|
|
562
|
+
endTimeUtc?: Date;
|
|
563
|
+
/** SQL VM troubleshooting scenario. */
|
|
564
|
+
troubleshootingScenario?: TroubleshootingScenario;
|
|
565
|
+
/** Troubleshooting properties */
|
|
566
|
+
properties?: TroubleshootingAdditionalProperties;
|
|
567
|
+
/**
|
|
568
|
+
* Virtual machine resource id for response.
|
|
569
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
570
|
+
*/
|
|
571
|
+
readonly virtualMachineResourceId?: string;
|
|
572
|
+
}
|
|
573
|
+
|
|
454
574
|
/** ARM proxy resource. */
|
|
455
575
|
export interface ProxyResource extends Resource {}
|
|
456
576
|
|
|
@@ -565,12 +685,47 @@ export interface SqlVirtualMachine extends TrackedResource {
|
|
|
565
685
|
serverConfigurationsManagementSettings?: ServerConfigurationsManagementSettings;
|
|
566
686
|
/** Storage Configuration Settings. */
|
|
567
687
|
storageConfigurationSettings?: StorageConfigurationSettings;
|
|
568
|
-
/**
|
|
688
|
+
/**
|
|
689
|
+
* Troubleshooting status
|
|
690
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
691
|
+
*/
|
|
692
|
+
readonly troubleshootingStatus?: TroubleshootingStatus;
|
|
693
|
+
/** SQL best practices Assessment Settings. */
|
|
569
694
|
assessmentSettings?: AssessmentSettings;
|
|
570
695
|
/** Enable automatic upgrade of Sql IaaS extension Agent. */
|
|
571
696
|
enableAutomaticUpgrade?: boolean;
|
|
572
697
|
}
|
|
573
698
|
|
|
699
|
+
/** Defines headers for AvailabilityGroupListeners_delete operation. */
|
|
700
|
+
export interface AvailabilityGroupListenersDeleteHeaders {
|
|
701
|
+
location?: string;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
/** Defines headers for SqlVirtualMachineGroups_delete operation. */
|
|
705
|
+
export interface SqlVirtualMachineGroupsDeleteHeaders {
|
|
706
|
+
location?: string;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
/** Defines headers for SqlVirtualMachines_delete operation. */
|
|
710
|
+
export interface SqlVirtualMachinesDeleteHeaders {
|
|
711
|
+
location?: string;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
/** Defines headers for SqlVirtualMachines_startAssessment operation. */
|
|
715
|
+
export interface SqlVirtualMachinesStartAssessmentHeaders {
|
|
716
|
+
location?: string;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
/** Defines headers for SqlVirtualMachines_redeploy operation. */
|
|
720
|
+
export interface SqlVirtualMachinesRedeployHeaders {
|
|
721
|
+
location?: string;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
/** Defines headers for SqlVirtualMachineTroubleshoot_troubleshoot operation. */
|
|
725
|
+
export interface SqlVirtualMachineTroubleshootTroubleshootHeaders {
|
|
726
|
+
location?: string;
|
|
727
|
+
}
|
|
728
|
+
|
|
574
729
|
/** Known values of {@link Role} that the service accepts. */
|
|
575
730
|
export enum KnownRole {
|
|
576
731
|
/** Primary */
|
|
@@ -832,7 +987,9 @@ export type SqlManagementMode = string;
|
|
|
832
987
|
/** Known values of {@link LeastPrivilegeMode} that the service accepts. */
|
|
833
988
|
export enum KnownLeastPrivilegeMode {
|
|
834
989
|
/** Enabled */
|
|
835
|
-
Enabled = "Enabled"
|
|
990
|
+
Enabled = "Enabled",
|
|
991
|
+
/** NotSet */
|
|
992
|
+
NotSet = "NotSet"
|
|
836
993
|
}
|
|
837
994
|
|
|
838
995
|
/**
|
|
@@ -840,7 +997,8 @@ export enum KnownLeastPrivilegeMode {
|
|
|
840
997
|
* {@link KnownLeastPrivilegeMode} can be used interchangeably with LeastPrivilegeMode,
|
|
841
998
|
* this enum contains the known values that the service supports.
|
|
842
999
|
* ### Known values supported by the service
|
|
843
|
-
* **Enabled**
|
|
1000
|
+
* **Enabled** \
|
|
1001
|
+
* **NotSet**
|
|
844
1002
|
*/
|
|
845
1003
|
export type LeastPrivilegeMode = string;
|
|
846
1004
|
|
|
@@ -1023,6 +1181,21 @@ export enum KnownStorageWorkloadType {
|
|
|
1023
1181
|
* **DW**
|
|
1024
1182
|
*/
|
|
1025
1183
|
export type StorageWorkloadType = string;
|
|
1184
|
+
|
|
1185
|
+
/** Known values of {@link TroubleshootingScenario} that the service accepts. */
|
|
1186
|
+
export enum KnownTroubleshootingScenario {
|
|
1187
|
+
/** UnhealthyReplica */
|
|
1188
|
+
UnhealthyReplica = "UnhealthyReplica"
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* Defines values for TroubleshootingScenario. \
|
|
1193
|
+
* {@link KnownTroubleshootingScenario} can be used interchangeably with TroubleshootingScenario,
|
|
1194
|
+
* this enum contains the known values that the service supports.
|
|
1195
|
+
* ### Known values supported by the service
|
|
1196
|
+
* **UnhealthyReplica**
|
|
1197
|
+
*/
|
|
1198
|
+
export type TroubleshootingScenario = string;
|
|
1026
1199
|
/** Defines values for DayOfWeek. */
|
|
1027
1200
|
export type DayOfWeek =
|
|
1028
1201
|
| "Everyday"
|
|
@@ -1184,24 +1357,6 @@ export interface SqlVirtualMachinesListOptionalParams
|
|
|
1184
1357
|
/** Contains response data for the list operation. */
|
|
1185
1358
|
export type SqlVirtualMachinesListResponse = SqlVirtualMachineListResult;
|
|
1186
1359
|
|
|
1187
|
-
/** Optional parameters. */
|
|
1188
|
-
export interface SqlVirtualMachinesStartAssessmentOptionalParams
|
|
1189
|
-
extends coreClient.OperationOptions {
|
|
1190
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
1191
|
-
updateIntervalInMs?: number;
|
|
1192
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1193
|
-
resumeFrom?: string;
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
/** Optional parameters. */
|
|
1197
|
-
export interface SqlVirtualMachinesRedeployOptionalParams
|
|
1198
|
-
extends coreClient.OperationOptions {
|
|
1199
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
1200
|
-
updateIntervalInMs?: number;
|
|
1201
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1202
|
-
resumeFrom?: string;
|
|
1203
|
-
}
|
|
1204
|
-
|
|
1205
1360
|
/** Optional parameters. */
|
|
1206
1361
|
export interface SqlVirtualMachinesGetOptionalParams
|
|
1207
1362
|
extends coreClient.OperationOptions {
|
|
@@ -1252,6 +1407,24 @@ export interface SqlVirtualMachinesListByResourceGroupOptionalParams
|
|
|
1252
1407
|
/** Contains response data for the listByResourceGroup operation. */
|
|
1253
1408
|
export type SqlVirtualMachinesListByResourceGroupResponse = SqlVirtualMachineListResult;
|
|
1254
1409
|
|
|
1410
|
+
/** Optional parameters. */
|
|
1411
|
+
export interface SqlVirtualMachinesStartAssessmentOptionalParams
|
|
1412
|
+
extends coreClient.OperationOptions {
|
|
1413
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1414
|
+
updateIntervalInMs?: number;
|
|
1415
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1416
|
+
resumeFrom?: string;
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
/** Optional parameters. */
|
|
1420
|
+
export interface SqlVirtualMachinesRedeployOptionalParams
|
|
1421
|
+
extends coreClient.OperationOptions {
|
|
1422
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1423
|
+
updateIntervalInMs?: number;
|
|
1424
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1425
|
+
resumeFrom?: string;
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1255
1428
|
/** Optional parameters. */
|
|
1256
1429
|
export interface SqlVirtualMachinesListBySqlVmGroupNextOptionalParams
|
|
1257
1430
|
extends coreClient.OperationOptions {}
|
|
@@ -1273,6 +1446,18 @@ export interface SqlVirtualMachinesListByResourceGroupNextOptionalParams
|
|
|
1273
1446
|
/** Contains response data for the listByResourceGroupNext operation. */
|
|
1274
1447
|
export type SqlVirtualMachinesListByResourceGroupNextResponse = SqlVirtualMachineListResult;
|
|
1275
1448
|
|
|
1449
|
+
/** Optional parameters. */
|
|
1450
|
+
export interface SqlVirtualMachineTroubleshootTroubleshootOptionalParams
|
|
1451
|
+
extends coreClient.OperationOptions {
|
|
1452
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1453
|
+
updateIntervalInMs?: number;
|
|
1454
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1455
|
+
resumeFrom?: string;
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
/** Contains response data for the troubleshoot operation. */
|
|
1459
|
+
export type SqlVirtualMachineTroubleshootTroubleshootResponse = SqlVmTroubleshooting;
|
|
1460
|
+
|
|
1276
1461
|
/** Optional parameters. */
|
|
1277
1462
|
export interface SqlVirtualMachineManagementClientOptionalParams
|
|
1278
1463
|
extends coreClient.ServiceClientOptions {
|
package/src/models/mappers.ts
CHANGED
|
@@ -232,6 +232,102 @@ export const Resource: coreClient.CompositeMapper = {
|
|
|
232
232
|
}
|
|
233
233
|
};
|
|
234
234
|
|
|
235
|
+
export const ErrorResponse: coreClient.CompositeMapper = {
|
|
236
|
+
type: {
|
|
237
|
+
name: "Composite",
|
|
238
|
+
className: "ErrorResponse",
|
|
239
|
+
modelProperties: {
|
|
240
|
+
error: {
|
|
241
|
+
serializedName: "error",
|
|
242
|
+
type: {
|
|
243
|
+
name: "Composite",
|
|
244
|
+
className: "ErrorDetail"
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
};
|
|
250
|
+
|
|
251
|
+
export const ErrorDetail: coreClient.CompositeMapper = {
|
|
252
|
+
type: {
|
|
253
|
+
name: "Composite",
|
|
254
|
+
className: "ErrorDetail",
|
|
255
|
+
modelProperties: {
|
|
256
|
+
code: {
|
|
257
|
+
serializedName: "code",
|
|
258
|
+
readOnly: true,
|
|
259
|
+
type: {
|
|
260
|
+
name: "String"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
message: {
|
|
264
|
+
serializedName: "message",
|
|
265
|
+
readOnly: true,
|
|
266
|
+
type: {
|
|
267
|
+
name: "String"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
target: {
|
|
271
|
+
serializedName: "target",
|
|
272
|
+
readOnly: true,
|
|
273
|
+
type: {
|
|
274
|
+
name: "String"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
details: {
|
|
278
|
+
serializedName: "details",
|
|
279
|
+
readOnly: true,
|
|
280
|
+
type: {
|
|
281
|
+
name: "Sequence",
|
|
282
|
+
element: {
|
|
283
|
+
type: {
|
|
284
|
+
name: "Composite",
|
|
285
|
+
className: "ErrorDetail"
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
additionalInfo: {
|
|
291
|
+
serializedName: "additionalInfo",
|
|
292
|
+
readOnly: true,
|
|
293
|
+
type: {
|
|
294
|
+
name: "Sequence",
|
|
295
|
+
element: {
|
|
296
|
+
type: {
|
|
297
|
+
name: "Composite",
|
|
298
|
+
className: "ErrorAdditionalInfo"
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
export const ErrorAdditionalInfo: coreClient.CompositeMapper = {
|
|
308
|
+
type: {
|
|
309
|
+
name: "Composite",
|
|
310
|
+
className: "ErrorAdditionalInfo",
|
|
311
|
+
modelProperties: {
|
|
312
|
+
type: {
|
|
313
|
+
serializedName: "type",
|
|
314
|
+
readOnly: true,
|
|
315
|
+
type: {
|
|
316
|
+
name: "String"
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
info: {
|
|
320
|
+
serializedName: "info",
|
|
321
|
+
readOnly: true,
|
|
322
|
+
type: {
|
|
323
|
+
name: "Dictionary",
|
|
324
|
+
value: { type: { name: "any" } }
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
};
|
|
330
|
+
|
|
235
331
|
export const AvailabilityGroupListenerListResult: coreClient.CompositeMapper = {
|
|
236
332
|
type: {
|
|
237
333
|
name: "Composite",
|
|
@@ -779,6 +875,13 @@ export const ServerConfigurationsManagementSettings: coreClient.CompositeMapper
|
|
|
779
875
|
name: "Composite",
|
|
780
876
|
className: "SQLInstanceSettings"
|
|
781
877
|
}
|
|
878
|
+
},
|
|
879
|
+
azureAdAuthenticationSettings: {
|
|
880
|
+
serializedName: "azureAdAuthenticationSettings",
|
|
881
|
+
type: {
|
|
882
|
+
name: "Composite",
|
|
883
|
+
className: "AADAuthenticationSettings"
|
|
884
|
+
}
|
|
782
885
|
}
|
|
783
886
|
}
|
|
784
887
|
}
|
|
@@ -925,6 +1028,21 @@ export const SQLInstanceSettings: coreClient.CompositeMapper = {
|
|
|
925
1028
|
}
|
|
926
1029
|
};
|
|
927
1030
|
|
|
1031
|
+
export const AADAuthenticationSettings: coreClient.CompositeMapper = {
|
|
1032
|
+
type: {
|
|
1033
|
+
name: "Composite",
|
|
1034
|
+
className: "AADAuthenticationSettings",
|
|
1035
|
+
modelProperties: {
|
|
1036
|
+
clientId: {
|
|
1037
|
+
serializedName: "clientId",
|
|
1038
|
+
type: {
|
|
1039
|
+
name: "String"
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
};
|
|
1045
|
+
|
|
928
1046
|
export const StorageConfigurationSettings: coreClient.CompositeMapper = {
|
|
929
1047
|
type: {
|
|
930
1048
|
name: "Composite",
|
|
@@ -1067,6 +1185,88 @@ export const SQLTempDbSettings: coreClient.CompositeMapper = {
|
|
|
1067
1185
|
}
|
|
1068
1186
|
};
|
|
1069
1187
|
|
|
1188
|
+
export const TroubleshootingStatus: coreClient.CompositeMapper = {
|
|
1189
|
+
type: {
|
|
1190
|
+
name: "Composite",
|
|
1191
|
+
className: "TroubleshootingStatus",
|
|
1192
|
+
modelProperties: {
|
|
1193
|
+
rootCause: {
|
|
1194
|
+
serializedName: "rootCause",
|
|
1195
|
+
readOnly: true,
|
|
1196
|
+
type: {
|
|
1197
|
+
name: "String"
|
|
1198
|
+
}
|
|
1199
|
+
},
|
|
1200
|
+
lastTriggerTimeUtc: {
|
|
1201
|
+
serializedName: "lastTriggerTimeUtc",
|
|
1202
|
+
readOnly: true,
|
|
1203
|
+
type: {
|
|
1204
|
+
name: "DateTime"
|
|
1205
|
+
}
|
|
1206
|
+
},
|
|
1207
|
+
startTimeUtc: {
|
|
1208
|
+
serializedName: "startTimeUtc",
|
|
1209
|
+
readOnly: true,
|
|
1210
|
+
type: {
|
|
1211
|
+
name: "DateTime"
|
|
1212
|
+
}
|
|
1213
|
+
},
|
|
1214
|
+
endTimeUtc: {
|
|
1215
|
+
serializedName: "endTimeUtc",
|
|
1216
|
+
readOnly: true,
|
|
1217
|
+
type: {
|
|
1218
|
+
name: "DateTime"
|
|
1219
|
+
}
|
|
1220
|
+
},
|
|
1221
|
+
troubleshootingScenario: {
|
|
1222
|
+
serializedName: "troubleshootingScenario",
|
|
1223
|
+
readOnly: true,
|
|
1224
|
+
type: {
|
|
1225
|
+
name: "String"
|
|
1226
|
+
}
|
|
1227
|
+
},
|
|
1228
|
+
properties: {
|
|
1229
|
+
serializedName: "properties",
|
|
1230
|
+
type: {
|
|
1231
|
+
name: "Composite",
|
|
1232
|
+
className: "TroubleshootingAdditionalProperties"
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
};
|
|
1238
|
+
|
|
1239
|
+
export const TroubleshootingAdditionalProperties: coreClient.CompositeMapper = {
|
|
1240
|
+
type: {
|
|
1241
|
+
name: "Composite",
|
|
1242
|
+
className: "TroubleshootingAdditionalProperties",
|
|
1243
|
+
modelProperties: {
|
|
1244
|
+
unhealthyReplicaInfo: {
|
|
1245
|
+
serializedName: "unhealthyReplicaInfo",
|
|
1246
|
+
type: {
|
|
1247
|
+
name: "Composite",
|
|
1248
|
+
className: "UnhealthyReplicaInfo"
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1253
|
+
};
|
|
1254
|
+
|
|
1255
|
+
export const UnhealthyReplicaInfo: coreClient.CompositeMapper = {
|
|
1256
|
+
type: {
|
|
1257
|
+
name: "Composite",
|
|
1258
|
+
className: "UnhealthyReplicaInfo",
|
|
1259
|
+
modelProperties: {
|
|
1260
|
+
availabilityGroupName: {
|
|
1261
|
+
serializedName: "availabilityGroupName",
|
|
1262
|
+
type: {
|
|
1263
|
+
name: "String"
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
};
|
|
1269
|
+
|
|
1070
1270
|
export const AssessmentSettings: coreClient.CompositeMapper = {
|
|
1071
1271
|
type: {
|
|
1072
1272
|
name: "Composite",
|
|
@@ -1159,6 +1359,47 @@ export const SqlVirtualMachineUpdate: coreClient.CompositeMapper = {
|
|
|
1159
1359
|
}
|
|
1160
1360
|
};
|
|
1161
1361
|
|
|
1362
|
+
export const SqlVmTroubleshooting: coreClient.CompositeMapper = {
|
|
1363
|
+
type: {
|
|
1364
|
+
name: "Composite",
|
|
1365
|
+
className: "SqlVmTroubleshooting",
|
|
1366
|
+
modelProperties: {
|
|
1367
|
+
startTimeUtc: {
|
|
1368
|
+
serializedName: "startTimeUtc",
|
|
1369
|
+
type: {
|
|
1370
|
+
name: "DateTime"
|
|
1371
|
+
}
|
|
1372
|
+
},
|
|
1373
|
+
endTimeUtc: {
|
|
1374
|
+
serializedName: "endTimeUtc",
|
|
1375
|
+
type: {
|
|
1376
|
+
name: "DateTime"
|
|
1377
|
+
}
|
|
1378
|
+
},
|
|
1379
|
+
troubleshootingScenario: {
|
|
1380
|
+
serializedName: "troubleshootingScenario",
|
|
1381
|
+
type: {
|
|
1382
|
+
name: "String"
|
|
1383
|
+
}
|
|
1384
|
+
},
|
|
1385
|
+
properties: {
|
|
1386
|
+
serializedName: "properties",
|
|
1387
|
+
type: {
|
|
1388
|
+
name: "Composite",
|
|
1389
|
+
className: "TroubleshootingAdditionalProperties"
|
|
1390
|
+
}
|
|
1391
|
+
},
|
|
1392
|
+
virtualMachineResourceId: {
|
|
1393
|
+
serializedName: "virtualMachineResourceId",
|
|
1394
|
+
readOnly: true,
|
|
1395
|
+
type: {
|
|
1396
|
+
name: "String"
|
|
1397
|
+
}
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
};
|
|
1402
|
+
|
|
1162
1403
|
export const ProxyResource: coreClient.CompositeMapper = {
|
|
1163
1404
|
type: {
|
|
1164
1405
|
name: "Composite",
|
|
@@ -1382,6 +1623,7 @@ export const SqlVirtualMachine: coreClient.CompositeMapper = {
|
|
|
1382
1623
|
}
|
|
1383
1624
|
},
|
|
1384
1625
|
leastPrivilegeMode: {
|
|
1626
|
+
defaultValue: "NotSet",
|
|
1385
1627
|
serializedName: "properties.leastPrivilegeMode",
|
|
1386
1628
|
type: {
|
|
1387
1629
|
name: "String"
|
|
@@ -1447,6 +1689,13 @@ export const SqlVirtualMachine: coreClient.CompositeMapper = {
|
|
|
1447
1689
|
className: "StorageConfigurationSettings"
|
|
1448
1690
|
}
|
|
1449
1691
|
},
|
|
1692
|
+
troubleshootingStatus: {
|
|
1693
|
+
serializedName: "properties.troubleshootingStatus",
|
|
1694
|
+
type: {
|
|
1695
|
+
name: "Composite",
|
|
1696
|
+
className: "TroubleshootingStatus"
|
|
1697
|
+
}
|
|
1698
|
+
},
|
|
1450
1699
|
assessmentSettings: {
|
|
1451
1700
|
serializedName: "properties.assessmentSettings",
|
|
1452
1701
|
type: {
|
|
@@ -1455,6 +1704,7 @@ export const SqlVirtualMachine: coreClient.CompositeMapper = {
|
|
|
1455
1704
|
}
|
|
1456
1705
|
},
|
|
1457
1706
|
enableAutomaticUpgrade: {
|
|
1707
|
+
defaultValue: false,
|
|
1458
1708
|
serializedName: "properties.enableAutomaticUpgrade",
|
|
1459
1709
|
type: {
|
|
1460
1710
|
name: "Boolean"
|
|
@@ -1463,3 +1713,93 @@ export const SqlVirtualMachine: coreClient.CompositeMapper = {
|
|
|
1463
1713
|
}
|
|
1464
1714
|
}
|
|
1465
1715
|
};
|
|
1716
|
+
|
|
1717
|
+
export const AvailabilityGroupListenersDeleteHeaders: coreClient.CompositeMapper = {
|
|
1718
|
+
type: {
|
|
1719
|
+
name: "Composite",
|
|
1720
|
+
className: "AvailabilityGroupListenersDeleteHeaders",
|
|
1721
|
+
modelProperties: {
|
|
1722
|
+
location: {
|
|
1723
|
+
serializedName: "location",
|
|
1724
|
+
type: {
|
|
1725
|
+
name: "String"
|
|
1726
|
+
}
|
|
1727
|
+
}
|
|
1728
|
+
}
|
|
1729
|
+
}
|
|
1730
|
+
};
|
|
1731
|
+
|
|
1732
|
+
export const SqlVirtualMachineGroupsDeleteHeaders: coreClient.CompositeMapper = {
|
|
1733
|
+
type: {
|
|
1734
|
+
name: "Composite",
|
|
1735
|
+
className: "SqlVirtualMachineGroupsDeleteHeaders",
|
|
1736
|
+
modelProperties: {
|
|
1737
|
+
location: {
|
|
1738
|
+
serializedName: "location",
|
|
1739
|
+
type: {
|
|
1740
|
+
name: "String"
|
|
1741
|
+
}
|
|
1742
|
+
}
|
|
1743
|
+
}
|
|
1744
|
+
}
|
|
1745
|
+
};
|
|
1746
|
+
|
|
1747
|
+
export const SqlVirtualMachinesDeleteHeaders: coreClient.CompositeMapper = {
|
|
1748
|
+
type: {
|
|
1749
|
+
name: "Composite",
|
|
1750
|
+
className: "SqlVirtualMachinesDeleteHeaders",
|
|
1751
|
+
modelProperties: {
|
|
1752
|
+
location: {
|
|
1753
|
+
serializedName: "location",
|
|
1754
|
+
type: {
|
|
1755
|
+
name: "String"
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
};
|
|
1761
|
+
|
|
1762
|
+
export const SqlVirtualMachinesStartAssessmentHeaders: coreClient.CompositeMapper = {
|
|
1763
|
+
type: {
|
|
1764
|
+
name: "Composite",
|
|
1765
|
+
className: "SqlVirtualMachinesStartAssessmentHeaders",
|
|
1766
|
+
modelProperties: {
|
|
1767
|
+
location: {
|
|
1768
|
+
serializedName: "location",
|
|
1769
|
+
type: {
|
|
1770
|
+
name: "String"
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1775
|
+
};
|
|
1776
|
+
|
|
1777
|
+
export const SqlVirtualMachinesRedeployHeaders: coreClient.CompositeMapper = {
|
|
1778
|
+
type: {
|
|
1779
|
+
name: "Composite",
|
|
1780
|
+
className: "SqlVirtualMachinesRedeployHeaders",
|
|
1781
|
+
modelProperties: {
|
|
1782
|
+
location: {
|
|
1783
|
+
serializedName: "location",
|
|
1784
|
+
type: {
|
|
1785
|
+
name: "String"
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
}
|
|
1790
|
+
};
|
|
1791
|
+
|
|
1792
|
+
export const SqlVirtualMachineTroubleshootTroubleshootHeaders: coreClient.CompositeMapper = {
|
|
1793
|
+
type: {
|
|
1794
|
+
name: "Composite",
|
|
1795
|
+
className: "SqlVirtualMachineTroubleshootTroubleshootHeaders",
|
|
1796
|
+
modelProperties: {
|
|
1797
|
+
location: {
|
|
1798
|
+
serializedName: "location",
|
|
1799
|
+
type: {
|
|
1800
|
+
name: "String"
|
|
1801
|
+
}
|
|
1802
|
+
}
|
|
1803
|
+
}
|
|
1804
|
+
}
|
|
1805
|
+
};
|