@azure/arm-sqlvirtualmachine 5.0.0-beta.2 → 5.0.0-beta.5
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/LICENSE +1 -1
- package/README.md +11 -0
- package/dist/index.js +719 -91
- 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.d.ts +2 -0
- package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.js +50 -0
- package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.js +32 -0
- package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/availabilityGroupListenersGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/availabilityGroupListenersGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/availabilityGroupListenersGetSample.js +32 -0
- package/dist-esm/samples-dev/availabilityGroupListenersGetSample.js.map +1 -0
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js +45 -0
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +43 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.js +46 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.js +31 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js +43 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.js +32 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.js +269 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.js +31 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.js +31 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js +45 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js +43 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.js +31 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js +31 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.js +32 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +237 -4
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +45 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +7 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +334 -3
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +1 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +10 -10
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/availabilityGroupListeners.d.ts.map +1 -1
- package/dist-esm/src/operations/availabilityGroupListeners.js +7 -3
- package/dist-esm/src/operations/availabilityGroupListeners.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts +2 -2
- package/dist-esm/src/operations/operations.js +2 -2
- package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/sqlVirtualMachineGroups.js +9 -3
- package/dist-esm/src/operations/sqlVirtualMachineGroups.js.map +1 -1
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts +33 -1
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts.map +1 -1
- package/dist-esm/src/operations/sqlVirtualMachines.js +142 -4
- package/dist-esm/src/operations/sqlVirtualMachines.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts +33 -1
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts.map +1 -1
- package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts +2 -0
- package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts.map +1 -1
- package/dist-esm/src/sqlVirtualMachineManagementClient.js +50 -3
- package/dist-esm/src/sqlVirtualMachineManagementClient.js.map +1 -1
- package/dist-esm/test/sampleTest.js +11 -13
- package/dist-esm/test/sampleTest.js.map +1 -1
- package/package.json +48 -18
- package/review/arm-sqlvirtualmachine.api.md +176 -3
- package/rollup.config.js +6 -72
- package/src/models/index.ts +269 -4
- package/src/models/mappers.ts +344 -1
- package/src/models/parameters.ts +11 -11
- package/src/operations/availabilityGroupListeners.ts +7 -3
- package/src/operations/operations.ts +2 -2
- package/src/operations/sqlVirtualMachineGroups.ts +9 -3
- package/src/operations/sqlVirtualMachines.ts +208 -4
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/sqlVirtualMachines.ts +51 -1
- package/src/sqlVirtualMachineManagementClient.ts +62 -3
- package/tsconfig.json +19 -5
- package/types/arm-sqlvirtualmachine.d.ts +294 -5
- package/types/tsdoc-metadata.json +1 -1
package/src/models/mappers.ts
CHANGED
|
@@ -74,6 +74,112 @@ export const PrivateIPAddress: coreClient.CompositeMapper = {
|
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
+
export const AgConfiguration: coreClient.CompositeMapper = {
|
|
78
|
+
type: {
|
|
79
|
+
name: "Composite",
|
|
80
|
+
className: "AgConfiguration",
|
|
81
|
+
modelProperties: {
|
|
82
|
+
replicas: {
|
|
83
|
+
serializedName: "replicas",
|
|
84
|
+
readOnly: true,
|
|
85
|
+
type: {
|
|
86
|
+
name: "Sequence",
|
|
87
|
+
element: {
|
|
88
|
+
type: {
|
|
89
|
+
name: "Composite",
|
|
90
|
+
className: "AgReplica"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
export const AgReplica: coreClient.CompositeMapper = {
|
|
100
|
+
type: {
|
|
101
|
+
name: "Composite",
|
|
102
|
+
className: "AgReplica",
|
|
103
|
+
modelProperties: {
|
|
104
|
+
sqlVirtualMachineInstanceId: {
|
|
105
|
+
serializedName: "sqlVirtualMachineInstanceId",
|
|
106
|
+
type: {
|
|
107
|
+
name: "String"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
role: {
|
|
111
|
+
serializedName: "role",
|
|
112
|
+
type: {
|
|
113
|
+
name: "String"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
commit: {
|
|
117
|
+
serializedName: "commit",
|
|
118
|
+
type: {
|
|
119
|
+
name: "String"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
failover: {
|
|
123
|
+
serializedName: "failover",
|
|
124
|
+
type: {
|
|
125
|
+
name: "String"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
readableSecondary: {
|
|
129
|
+
serializedName: "readableSecondary",
|
|
130
|
+
type: {
|
|
131
|
+
name: "String"
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
export const SystemData: coreClient.CompositeMapper = {
|
|
139
|
+
type: {
|
|
140
|
+
name: "Composite",
|
|
141
|
+
className: "SystemData",
|
|
142
|
+
modelProperties: {
|
|
143
|
+
createdBy: {
|
|
144
|
+
serializedName: "createdBy",
|
|
145
|
+
type: {
|
|
146
|
+
name: "String"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
createdByType: {
|
|
150
|
+
serializedName: "createdByType",
|
|
151
|
+
type: {
|
|
152
|
+
name: "String"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
createdAt: {
|
|
156
|
+
serializedName: "createdAt",
|
|
157
|
+
type: {
|
|
158
|
+
name: "DateTime"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
lastModifiedBy: {
|
|
162
|
+
serializedName: "lastModifiedBy",
|
|
163
|
+
type: {
|
|
164
|
+
name: "String"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
lastModifiedByType: {
|
|
168
|
+
serializedName: "lastModifiedByType",
|
|
169
|
+
type: {
|
|
170
|
+
name: "String"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
lastModifiedAt: {
|
|
174
|
+
serializedName: "lastModifiedAt",
|
|
175
|
+
type: {
|
|
176
|
+
name: "DateTime"
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
|
|
77
183
|
export const Resource: coreClient.CompositeMapper = {
|
|
78
184
|
type: {
|
|
79
185
|
name: "Composite",
|
|
@@ -442,6 +548,7 @@ export const AutoPatchingSettings: coreClient.CompositeMapper = {
|
|
|
442
548
|
type: {
|
|
443
549
|
name: "Enum",
|
|
444
550
|
allowedValues: [
|
|
551
|
+
"Everyday",
|
|
445
552
|
"Monday",
|
|
446
553
|
"Tuesday",
|
|
447
554
|
"Wednesday",
|
|
@@ -497,6 +604,12 @@ export const AutoBackupSettings: coreClient.CompositeMapper = {
|
|
|
497
604
|
name: "String"
|
|
498
605
|
}
|
|
499
606
|
},
|
|
607
|
+
storageContainerName: {
|
|
608
|
+
serializedName: "storageContainerName",
|
|
609
|
+
type: {
|
|
610
|
+
name: "String"
|
|
611
|
+
}
|
|
612
|
+
},
|
|
500
613
|
storageAccessKey: {
|
|
501
614
|
serializedName: "storageAccessKey",
|
|
502
615
|
type: {
|
|
@@ -527,6 +640,17 @@ export const AutoBackupSettings: coreClient.CompositeMapper = {
|
|
|
527
640
|
name: "String"
|
|
528
641
|
}
|
|
529
642
|
},
|
|
643
|
+
daysOfWeek: {
|
|
644
|
+
serializedName: "daysOfWeek",
|
|
645
|
+
type: {
|
|
646
|
+
name: "Sequence",
|
|
647
|
+
element: {
|
|
648
|
+
type: {
|
|
649
|
+
name: "String"
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
},
|
|
530
654
|
fullBackupStartTime: {
|
|
531
655
|
serializedName: "fullBackupStartTime",
|
|
532
656
|
type: {
|
|
@@ -620,6 +744,13 @@ export const ServerConfigurationsManagementSettings: coreClient.CompositeMapper
|
|
|
620
744
|
name: "Composite",
|
|
621
745
|
className: "AdditionalFeaturesServerConfigurations"
|
|
622
746
|
}
|
|
747
|
+
},
|
|
748
|
+
sqlInstanceSettings: {
|
|
749
|
+
serializedName: "sqlInstanceSettings",
|
|
750
|
+
type: {
|
|
751
|
+
name: "Composite",
|
|
752
|
+
className: "SQLInstanceSettings"
|
|
753
|
+
}
|
|
623
754
|
}
|
|
624
755
|
}
|
|
625
756
|
}
|
|
@@ -715,6 +846,45 @@ export const AdditionalFeaturesServerConfigurations: coreClient.CompositeMapper
|
|
|
715
846
|
}
|
|
716
847
|
};
|
|
717
848
|
|
|
849
|
+
export const SQLInstanceSettings: coreClient.CompositeMapper = {
|
|
850
|
+
type: {
|
|
851
|
+
name: "Composite",
|
|
852
|
+
className: "SQLInstanceSettings",
|
|
853
|
+
modelProperties: {
|
|
854
|
+
collation: {
|
|
855
|
+
serializedName: "collation",
|
|
856
|
+
type: {
|
|
857
|
+
name: "String"
|
|
858
|
+
}
|
|
859
|
+
},
|
|
860
|
+
maxDop: {
|
|
861
|
+
serializedName: "maxDop",
|
|
862
|
+
type: {
|
|
863
|
+
name: "Number"
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
isOptimizeForAdHocWorkloadsEnabled: {
|
|
867
|
+
serializedName: "isOptimizeForAdHocWorkloadsEnabled",
|
|
868
|
+
type: {
|
|
869
|
+
name: "Boolean"
|
|
870
|
+
}
|
|
871
|
+
},
|
|
872
|
+
minServerMemoryMB: {
|
|
873
|
+
serializedName: "minServerMemoryMB",
|
|
874
|
+
type: {
|
|
875
|
+
name: "Number"
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
maxServerMemoryMB: {
|
|
879
|
+
serializedName: "maxServerMemoryMB",
|
|
880
|
+
type: {
|
|
881
|
+
name: "Number"
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
};
|
|
887
|
+
|
|
718
888
|
export const StorageConfigurationSettings: coreClient.CompositeMapper = {
|
|
719
889
|
type: {
|
|
720
890
|
name: "Composite",
|
|
@@ -738,7 +908,13 @@ export const StorageConfigurationSettings: coreClient.CompositeMapper = {
|
|
|
738
908
|
serializedName: "sqlTempDbSettings",
|
|
739
909
|
type: {
|
|
740
910
|
name: "Composite",
|
|
741
|
-
className: "
|
|
911
|
+
className: "SQLTempDbSettings"
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
sqlSystemDbOnDataDisk: {
|
|
915
|
+
serializedName: "sqlSystemDbOnDataDisk",
|
|
916
|
+
type: {
|
|
917
|
+
name: "Boolean"
|
|
742
918
|
}
|
|
743
919
|
},
|
|
744
920
|
diskConfigurationType: {
|
|
@@ -783,6 +959,138 @@ export const SQLStorageSettings: coreClient.CompositeMapper = {
|
|
|
783
959
|
}
|
|
784
960
|
};
|
|
785
961
|
|
|
962
|
+
export const SQLTempDbSettings: coreClient.CompositeMapper = {
|
|
963
|
+
type: {
|
|
964
|
+
name: "Composite",
|
|
965
|
+
className: "SQLTempDbSettings",
|
|
966
|
+
modelProperties: {
|
|
967
|
+
dataFileSize: {
|
|
968
|
+
serializedName: "dataFileSize",
|
|
969
|
+
type: {
|
|
970
|
+
name: "Number"
|
|
971
|
+
}
|
|
972
|
+
},
|
|
973
|
+
dataGrowth: {
|
|
974
|
+
serializedName: "dataGrowth",
|
|
975
|
+
type: {
|
|
976
|
+
name: "Number"
|
|
977
|
+
}
|
|
978
|
+
},
|
|
979
|
+
logFileSize: {
|
|
980
|
+
serializedName: "logFileSize",
|
|
981
|
+
type: {
|
|
982
|
+
name: "Number"
|
|
983
|
+
}
|
|
984
|
+
},
|
|
985
|
+
logGrowth: {
|
|
986
|
+
serializedName: "logGrowth",
|
|
987
|
+
type: {
|
|
988
|
+
name: "Number"
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
dataFileCount: {
|
|
992
|
+
serializedName: "dataFileCount",
|
|
993
|
+
type: {
|
|
994
|
+
name: "Number"
|
|
995
|
+
}
|
|
996
|
+
},
|
|
997
|
+
luns: {
|
|
998
|
+
serializedName: "luns",
|
|
999
|
+
type: {
|
|
1000
|
+
name: "Sequence",
|
|
1001
|
+
element: {
|
|
1002
|
+
type: {
|
|
1003
|
+
name: "Number"
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
},
|
|
1008
|
+
defaultFilePath: {
|
|
1009
|
+
serializedName: "defaultFilePath",
|
|
1010
|
+
type: {
|
|
1011
|
+
name: "String"
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
};
|
|
1017
|
+
|
|
1018
|
+
export const AssessmentSettings: coreClient.CompositeMapper = {
|
|
1019
|
+
type: {
|
|
1020
|
+
name: "Composite",
|
|
1021
|
+
className: "AssessmentSettings",
|
|
1022
|
+
modelProperties: {
|
|
1023
|
+
enable: {
|
|
1024
|
+
serializedName: "enable",
|
|
1025
|
+
type: {
|
|
1026
|
+
name: "Boolean"
|
|
1027
|
+
}
|
|
1028
|
+
},
|
|
1029
|
+
runImmediately: {
|
|
1030
|
+
serializedName: "runImmediately",
|
|
1031
|
+
type: {
|
|
1032
|
+
name: "Boolean"
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1035
|
+
schedule: {
|
|
1036
|
+
serializedName: "schedule",
|
|
1037
|
+
type: {
|
|
1038
|
+
name: "Composite",
|
|
1039
|
+
className: "Schedule"
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
};
|
|
1045
|
+
|
|
1046
|
+
export const Schedule: coreClient.CompositeMapper = {
|
|
1047
|
+
type: {
|
|
1048
|
+
name: "Composite",
|
|
1049
|
+
className: "Schedule",
|
|
1050
|
+
modelProperties: {
|
|
1051
|
+
enable: {
|
|
1052
|
+
serializedName: "enable",
|
|
1053
|
+
type: {
|
|
1054
|
+
name: "Boolean"
|
|
1055
|
+
}
|
|
1056
|
+
},
|
|
1057
|
+
weeklyInterval: {
|
|
1058
|
+
serializedName: "weeklyInterval",
|
|
1059
|
+
type: {
|
|
1060
|
+
name: "Number"
|
|
1061
|
+
}
|
|
1062
|
+
},
|
|
1063
|
+
monthlyOccurrence: {
|
|
1064
|
+
serializedName: "monthlyOccurrence",
|
|
1065
|
+
type: {
|
|
1066
|
+
name: "Number"
|
|
1067
|
+
}
|
|
1068
|
+
},
|
|
1069
|
+
dayOfWeek: {
|
|
1070
|
+
serializedName: "dayOfWeek",
|
|
1071
|
+
type: {
|
|
1072
|
+
name: "Enum",
|
|
1073
|
+
allowedValues: [
|
|
1074
|
+
"Monday",
|
|
1075
|
+
"Tuesday",
|
|
1076
|
+
"Wednesday",
|
|
1077
|
+
"Thursday",
|
|
1078
|
+
"Friday",
|
|
1079
|
+
"Saturday",
|
|
1080
|
+
"Sunday"
|
|
1081
|
+
]
|
|
1082
|
+
}
|
|
1083
|
+
},
|
|
1084
|
+
startTime: {
|
|
1085
|
+
serializedName: "startTime",
|
|
1086
|
+
type: {
|
|
1087
|
+
name: "String"
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
};
|
|
1093
|
+
|
|
786
1094
|
export const SqlVirtualMachineUpdate: coreClient.CompositeMapper = {
|
|
787
1095
|
type: {
|
|
788
1096
|
name: "Composite",
|
|
@@ -839,6 +1147,13 @@ export const AvailabilityGroupListener: coreClient.CompositeMapper = {
|
|
|
839
1147
|
className: "AvailabilityGroupListener",
|
|
840
1148
|
modelProperties: {
|
|
841
1149
|
...ProxyResource.type.modelProperties,
|
|
1150
|
+
systemData: {
|
|
1151
|
+
serializedName: "systemData",
|
|
1152
|
+
type: {
|
|
1153
|
+
name: "Composite",
|
|
1154
|
+
className: "SystemData"
|
|
1155
|
+
}
|
|
1156
|
+
},
|
|
842
1157
|
provisioningState: {
|
|
843
1158
|
serializedName: "properties.provisioningState",
|
|
844
1159
|
readOnly: true,
|
|
@@ -875,6 +1190,13 @@ export const AvailabilityGroupListener: coreClient.CompositeMapper = {
|
|
|
875
1190
|
type: {
|
|
876
1191
|
name: "Number"
|
|
877
1192
|
}
|
|
1193
|
+
},
|
|
1194
|
+
availabilityGroupConfiguration: {
|
|
1195
|
+
serializedName: "properties.availabilityGroupConfiguration",
|
|
1196
|
+
type: {
|
|
1197
|
+
name: "Composite",
|
|
1198
|
+
className: "AgConfiguration"
|
|
1199
|
+
}
|
|
878
1200
|
}
|
|
879
1201
|
}
|
|
880
1202
|
}
|
|
@@ -886,6 +1208,13 @@ export const SqlVirtualMachineGroup: coreClient.CompositeMapper = {
|
|
|
886
1208
|
className: "SqlVirtualMachineGroup",
|
|
887
1209
|
modelProperties: {
|
|
888
1210
|
...TrackedResource.type.modelProperties,
|
|
1211
|
+
systemData: {
|
|
1212
|
+
serializedName: "systemData",
|
|
1213
|
+
type: {
|
|
1214
|
+
name: "Composite",
|
|
1215
|
+
className: "SystemData"
|
|
1216
|
+
}
|
|
1217
|
+
},
|
|
889
1218
|
provisioningState: {
|
|
890
1219
|
serializedName: "properties.provisioningState",
|
|
891
1220
|
readOnly: true,
|
|
@@ -950,6 +1279,13 @@ export const SqlVirtualMachine: coreClient.CompositeMapper = {
|
|
|
950
1279
|
className: "ResourceIdentity"
|
|
951
1280
|
}
|
|
952
1281
|
},
|
|
1282
|
+
systemData: {
|
|
1283
|
+
serializedName: "systemData",
|
|
1284
|
+
type: {
|
|
1285
|
+
name: "Composite",
|
|
1286
|
+
className: "SystemData"
|
|
1287
|
+
}
|
|
1288
|
+
},
|
|
953
1289
|
virtualMachineResourceId: {
|
|
954
1290
|
serializedName: "properties.virtualMachineResourceId",
|
|
955
1291
|
type: {
|
|
@@ -1034,6 +1370,13 @@ export const SqlVirtualMachine: coreClient.CompositeMapper = {
|
|
|
1034
1370
|
name: "Composite",
|
|
1035
1371
|
className: "StorageConfigurationSettings"
|
|
1036
1372
|
}
|
|
1373
|
+
},
|
|
1374
|
+
assessmentSettings: {
|
|
1375
|
+
serializedName: "properties.assessmentSettings",
|
|
1376
|
+
type: {
|
|
1377
|
+
name: "Composite",
|
|
1378
|
+
className: "AssessmentSettings"
|
|
1379
|
+
}
|
|
1037
1380
|
}
|
|
1038
1381
|
}
|
|
1039
1382
|
}
|
package/src/models/parameters.ts
CHANGED
|
@@ -76,6 +76,16 @@ export const availabilityGroupListenerName: OperationURLParameter = {
|
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
|
|
79
|
+
export const expand: OperationQueryParameter = {
|
|
80
|
+
parameterPath: ["options", "expand"],
|
|
81
|
+
mapper: {
|
|
82
|
+
serializedName: "$expand",
|
|
83
|
+
type: {
|
|
84
|
+
name: "String"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
|
|
79
89
|
export const subscriptionId: OperationURLParameter = {
|
|
80
90
|
parameterPath: "subscriptionId",
|
|
81
91
|
mapper: {
|
|
@@ -90,7 +100,7 @@ export const subscriptionId: OperationURLParameter = {
|
|
|
90
100
|
export const apiVersion: OperationQueryParameter = {
|
|
91
101
|
parameterPath: "apiVersion",
|
|
92
102
|
mapper: {
|
|
93
|
-
defaultValue: "
|
|
103
|
+
defaultValue: "2021-11-01-preview",
|
|
94
104
|
isConstant: true,
|
|
95
105
|
serializedName: "api-version",
|
|
96
106
|
type: {
|
|
@@ -149,16 +159,6 @@ export const sqlVirtualMachineName: OperationURLParameter = {
|
|
|
149
159
|
}
|
|
150
160
|
};
|
|
151
161
|
|
|
152
|
-
export const expand: OperationQueryParameter = {
|
|
153
|
-
parameterPath: ["options", "expand"],
|
|
154
|
-
mapper: {
|
|
155
|
-
serializedName: "$expand",
|
|
156
|
-
type: {
|
|
157
|
-
name: "String"
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
|
|
162
162
|
export const parameters3: OperationParameter = {
|
|
163
163
|
parameterPath: "parameters",
|
|
164
164
|
mapper: SqlVirtualMachineMapper
|
|
@@ -209,10 +209,12 @@ export class AvailabilityGroupListenersImpl
|
|
|
209
209
|
},
|
|
210
210
|
createOrUpdateOperationSpec
|
|
211
211
|
);
|
|
212
|
-
|
|
212
|
+
const poller = new LroEngine(lro, {
|
|
213
213
|
resumeFrom: options?.resumeFrom,
|
|
214
214
|
intervalInMs: options?.updateIntervalInMs
|
|
215
215
|
});
|
|
216
|
+
await poller.poll();
|
|
217
|
+
return poller;
|
|
216
218
|
}
|
|
217
219
|
|
|
218
220
|
/**
|
|
@@ -304,10 +306,12 @@ export class AvailabilityGroupListenersImpl
|
|
|
304
306
|
},
|
|
305
307
|
deleteOperationSpec
|
|
306
308
|
);
|
|
307
|
-
|
|
309
|
+
const poller = new LroEngine(lro, {
|
|
308
310
|
resumeFrom: options?.resumeFrom,
|
|
309
311
|
intervalInMs: options?.updateIntervalInMs
|
|
310
312
|
});
|
|
313
|
+
await poller.poll();
|
|
314
|
+
return poller;
|
|
311
315
|
}
|
|
312
316
|
|
|
313
317
|
/**
|
|
@@ -384,7 +388,7 @@ const getOperationSpec: coreClient.OperationSpec = {
|
|
|
384
388
|
},
|
|
385
389
|
default: {}
|
|
386
390
|
},
|
|
387
|
-
queryParameters: [Parameters.apiVersion],
|
|
391
|
+
queryParameters: [Parameters.expand, Parameters.apiVersion],
|
|
388
392
|
urlParameters: [
|
|
389
393
|
Parameters.$host,
|
|
390
394
|
Parameters.resourceGroupName,
|
|
@@ -34,7 +34,7 @@ export class OperationsImpl implements Operations {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* Lists all of the available SQL Rest API operations.
|
|
37
|
+
* Lists all of the available SQL Virtual Machine Rest API operations.
|
|
38
38
|
* @param options The options parameters.
|
|
39
39
|
*/
|
|
40
40
|
public list(
|
|
@@ -76,7 +76,7 @@ export class OperationsImpl implements Operations {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
|
-
* Lists all of the available SQL Rest API operations.
|
|
79
|
+
* Lists all of the available SQL Virtual Machine Rest API operations.
|
|
80
80
|
* @param options The options parameters.
|
|
81
81
|
*/
|
|
82
82
|
private _list(
|
|
@@ -224,10 +224,12 @@ export class SqlVirtualMachineGroupsImpl implements SqlVirtualMachineGroups {
|
|
|
224
224
|
{ resourceGroupName, sqlVirtualMachineGroupName, parameters, options },
|
|
225
225
|
createOrUpdateOperationSpec
|
|
226
226
|
);
|
|
227
|
-
|
|
227
|
+
const poller = new LroEngine(lro, {
|
|
228
228
|
resumeFrom: options?.resumeFrom,
|
|
229
229
|
intervalInMs: options?.updateIntervalInMs
|
|
230
230
|
});
|
|
231
|
+
await poller.poll();
|
|
232
|
+
return poller;
|
|
231
233
|
}
|
|
232
234
|
|
|
233
235
|
/**
|
|
@@ -309,10 +311,12 @@ export class SqlVirtualMachineGroupsImpl implements SqlVirtualMachineGroups {
|
|
|
309
311
|
{ resourceGroupName, sqlVirtualMachineGroupName, options },
|
|
310
312
|
deleteOperationSpec
|
|
311
313
|
);
|
|
312
|
-
|
|
314
|
+
const poller = new LroEngine(lro, {
|
|
313
315
|
resumeFrom: options?.resumeFrom,
|
|
314
316
|
intervalInMs: options?.updateIntervalInMs
|
|
315
317
|
});
|
|
318
|
+
await poller.poll();
|
|
319
|
+
return poller;
|
|
316
320
|
}
|
|
317
321
|
|
|
318
322
|
/**
|
|
@@ -398,10 +402,12 @@ export class SqlVirtualMachineGroupsImpl implements SqlVirtualMachineGroups {
|
|
|
398
402
|
{ resourceGroupName, sqlVirtualMachineGroupName, parameters, options },
|
|
399
403
|
updateOperationSpec
|
|
400
404
|
);
|
|
401
|
-
|
|
405
|
+
const poller = new LroEngine(lro, {
|
|
402
406
|
resumeFrom: options?.resumeFrom,
|
|
403
407
|
intervalInMs: options?.updateIntervalInMs
|
|
404
408
|
});
|
|
409
|
+
await poller.poll();
|
|
410
|
+
return poller;
|
|
405
411
|
}
|
|
406
412
|
|
|
407
413
|
/**
|