@azure/arm-sqlvirtualmachine 5.0.0-beta.2 → 5.0.0-beta.3
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 +641 -81
- 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/src/models/index.d.ts +233 -2
- 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 +333 -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.js +1 -1
- 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/sqlVirtualMachines.d.ts +33 -1
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts.map +1 -1
- package/dist-esm/src/operations/sqlVirtualMachines.js +129 -1
- 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.js +2 -2
- package/package.json +28 -10
- package/review/arm-sqlvirtualmachine.api.md +171 -1
- package/rollup.config.js +6 -72
- package/src/models/index.ts +258 -3
- package/src/models/mappers.ts +343 -1
- package/src/models/parameters.ts +11 -11
- package/src/operations/availabilityGroupListeners.ts +1 -1
- package/src/operations/operations.ts +2 -2
- package/src/operations/sqlVirtualMachines.ts +195 -1
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/sqlVirtualMachines.ts +51 -1
- package/src/sqlVirtualMachineManagementClient.ts +2 -2
- package/tsconfig.json +12 -4
- package/types/arm-sqlvirtualmachine.d.ts +287 -3
- package/types/tsdoc-metadata.json +1 -1
|
@@ -10,16 +10,51 @@ export declare interface AdditionalFeaturesServerConfigurations {
|
|
|
10
10
|
isRServicesEnabled?: boolean;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
/** Availability group configuration. */
|
|
14
|
+
export declare interface AgConfiguration {
|
|
15
|
+
/**
|
|
16
|
+
* Replica configurations.
|
|
17
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
18
|
+
*/
|
|
19
|
+
readonly replicas?: AgReplica[];
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** Availability group replica configuration. */
|
|
23
|
+
export declare interface AgReplica {
|
|
24
|
+
/** Sql VirtualMachine Instance Id. */
|
|
25
|
+
sqlVirtualMachineInstanceId?: string;
|
|
26
|
+
/** Replica Role in availability group. */
|
|
27
|
+
role?: Role;
|
|
28
|
+
/** Replica commit mode in availability group. */
|
|
29
|
+
commit?: Commit;
|
|
30
|
+
/** Replica failover mode in availability group. */
|
|
31
|
+
failover?: Failover;
|
|
32
|
+
/** Replica readable secondary mode in availability group. */
|
|
33
|
+
readableSecondary?: ReadableSecondary;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/** Configure assessment for databases in your SQL virtual machine. */
|
|
37
|
+
export declare interface AssessmentSettings {
|
|
38
|
+
/** Enable or disable assessment feature on SQL virtual machine. */
|
|
39
|
+
enable?: boolean;
|
|
40
|
+
/** Run assessment immediately on SQL virtual machine. */
|
|
41
|
+
runImmediately?: boolean;
|
|
42
|
+
/** Schedule for Assessment. */
|
|
43
|
+
schedule?: Schedule;
|
|
44
|
+
}
|
|
45
|
+
|
|
13
46
|
/** Configure backups for databases in your SQL virtual machine. */
|
|
14
47
|
export declare interface AutoBackupSettings {
|
|
15
48
|
/** Enable or disable autobackup on SQL virtual machine. */
|
|
16
49
|
enable?: boolean;
|
|
17
50
|
/** Enable or disable encryption for backup on SQL virtual machine. */
|
|
18
51
|
enableEncryption?: boolean;
|
|
19
|
-
/** Retention period of backup: 1-
|
|
52
|
+
/** Retention period of backup: 1-90 days. */
|
|
20
53
|
retentionPeriod?: number;
|
|
21
54
|
/** Storage account url where backup will be taken to. */
|
|
22
55
|
storageAccountUrl?: string;
|
|
56
|
+
/** Storage container name where backup will be taken to. */
|
|
57
|
+
storageContainerName?: string;
|
|
23
58
|
/** Storage account key where backup will be taken to. */
|
|
24
59
|
storageAccessKey?: string;
|
|
25
60
|
/** Password for encryption on backup. */
|
|
@@ -30,6 +65,8 @@ export declare interface AutoBackupSettings {
|
|
|
30
65
|
backupScheduleType?: BackupScheduleType;
|
|
31
66
|
/** Frequency of full backups. In both cases, full backups begin during the next scheduled time window. */
|
|
32
67
|
fullBackupFrequency?: FullBackupFrequencyType;
|
|
68
|
+
/** Days of the week for the backups when FullBackupFrequency is set to Weekly. */
|
|
69
|
+
daysOfWeek?: DaysOfWeek[];
|
|
33
70
|
/** Start time of a given day during which full backups can take place. 0-23 hours. */
|
|
34
71
|
fullBackupStartTime?: number;
|
|
35
72
|
/** Duration of the time window of a given day during which full backups can take place. 1-23 hours. */
|
|
@@ -52,6 +89,11 @@ export declare interface AutoPatchingSettings {
|
|
|
52
89
|
|
|
53
90
|
/** A SQL Server availability group listener. */
|
|
54
91
|
export declare type AvailabilityGroupListener = ProxyResource & {
|
|
92
|
+
/**
|
|
93
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
94
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
95
|
+
*/
|
|
96
|
+
readonly systemData?: SystemData;
|
|
55
97
|
/**
|
|
56
98
|
* Provisioning state to track the async operation status.
|
|
57
99
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -65,6 +107,8 @@ export declare type AvailabilityGroupListener = ProxyResource & {
|
|
|
65
107
|
createDefaultAvailabilityGroupIfNotExist?: boolean;
|
|
66
108
|
/** Listener port. */
|
|
67
109
|
port?: number;
|
|
110
|
+
/** Availability Group configuration. */
|
|
111
|
+
availabilityGroupConfiguration?: AgConfiguration;
|
|
68
112
|
};
|
|
69
113
|
|
|
70
114
|
/** A list of availability group listeners. */
|
|
@@ -161,6 +205,8 @@ export declare interface AvailabilityGroupListenersDeleteOptionalParams extends
|
|
|
161
205
|
|
|
162
206
|
/** Optional parameters. */
|
|
163
207
|
export declare interface AvailabilityGroupListenersGetOptionalParams extends coreClient.OperationOptions {
|
|
208
|
+
/** The child resources to include in the response. */
|
|
209
|
+
expand?: string;
|
|
164
210
|
}
|
|
165
211
|
|
|
166
212
|
/** Contains response data for the get operation. */
|
|
@@ -208,6 +254,16 @@ export declare type ClusterConfiguration = string;
|
|
|
208
254
|
*/
|
|
209
255
|
export declare type ClusterManagerType = string;
|
|
210
256
|
|
|
257
|
+
/**
|
|
258
|
+
* Defines values for Commit. \
|
|
259
|
+
* {@link KnownCommit} can be used interchangeably with Commit,
|
|
260
|
+
* this enum contains the known values that the service supports.
|
|
261
|
+
* ### Known values supported by the service
|
|
262
|
+
* **SYNCHRONOUS_COMMIT** \
|
|
263
|
+
* **ASYNCHRONOUS_COMMIT**
|
|
264
|
+
*/
|
|
265
|
+
export declare type Commit = string;
|
|
266
|
+
|
|
211
267
|
/**
|
|
212
268
|
* Defines values for ConnectivityType. \
|
|
213
269
|
* {@link KnownConnectivityType} can be used interchangeably with ConnectivityType,
|
|
@@ -219,9 +275,36 @@ export declare type ClusterManagerType = string;
|
|
|
219
275
|
*/
|
|
220
276
|
export declare type ConnectivityType = string;
|
|
221
277
|
|
|
278
|
+
/**
|
|
279
|
+
* Defines values for CreatedByType. \
|
|
280
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
281
|
+
* this enum contains the known values that the service supports.
|
|
282
|
+
* ### Known values supported by the service
|
|
283
|
+
* **User** \
|
|
284
|
+
* **Application** \
|
|
285
|
+
* **ManagedIdentity** \
|
|
286
|
+
* **Key**
|
|
287
|
+
*/
|
|
288
|
+
export declare type CreatedByType = string;
|
|
289
|
+
|
|
222
290
|
/** Defines values for DayOfWeek. */
|
|
223
291
|
export declare type DayOfWeek = "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday";
|
|
224
292
|
|
|
293
|
+
/**
|
|
294
|
+
* Defines values for DaysOfWeek. \
|
|
295
|
+
* {@link KnownDaysOfWeek} can be used interchangeably with DaysOfWeek,
|
|
296
|
+
* this enum contains the known values that the service supports.
|
|
297
|
+
* ### Known values supported by the service
|
|
298
|
+
* **Monday** \
|
|
299
|
+
* **Tuesday** \
|
|
300
|
+
* **Wednesday** \
|
|
301
|
+
* **Thursday** \
|
|
302
|
+
* **Friday** \
|
|
303
|
+
* **Saturday** \
|
|
304
|
+
* **Sunday**
|
|
305
|
+
*/
|
|
306
|
+
export declare type DaysOfWeek = string;
|
|
307
|
+
|
|
225
308
|
/**
|
|
226
309
|
* Defines values for DiskConfigurationType. \
|
|
227
310
|
* {@link KnownDiskConfigurationType} can be used interchangeably with DiskConfigurationType,
|
|
@@ -233,6 +316,16 @@ export declare type DayOfWeek = "Monday" | "Tuesday" | "Wednesday" | "Thursday"
|
|
|
233
316
|
*/
|
|
234
317
|
export declare type DiskConfigurationType = string;
|
|
235
318
|
|
|
319
|
+
/**
|
|
320
|
+
* Defines values for Failover. \
|
|
321
|
+
* {@link KnownFailover} can be used interchangeably with Failover,
|
|
322
|
+
* this enum contains the known values that the service supports.
|
|
323
|
+
* ### Known values supported by the service
|
|
324
|
+
* **AUTOMATIC** \
|
|
325
|
+
* **MANUAL**
|
|
326
|
+
*/
|
|
327
|
+
export declare type Failover = string;
|
|
328
|
+
|
|
236
329
|
/**
|
|
237
330
|
* Defines values for FullBackupFrequencyType. \
|
|
238
331
|
* {@link KnownFullBackupFrequencyType} can be used interchangeably with FullBackupFrequencyType,
|
|
@@ -248,6 +341,7 @@ export declare type FullBackupFrequencyType = string;
|
|
|
248
341
|
* {@link KnownIdentityType} can be used interchangeably with IdentityType,
|
|
249
342
|
* this enum contains the known values that the service supports.
|
|
250
343
|
* ### Known values supported by the service
|
|
344
|
+
* **None** \
|
|
251
345
|
* **SystemAssigned**
|
|
252
346
|
*/
|
|
253
347
|
export declare type IdentityType = string;
|
|
@@ -282,6 +376,12 @@ export declare enum KnownClusterManagerType {
|
|
|
282
376
|
Wsfc = "WSFC"
|
|
283
377
|
}
|
|
284
378
|
|
|
379
|
+
/** Known values of {@link Commit} that the service accepts. */
|
|
380
|
+
export declare enum KnownCommit {
|
|
381
|
+
SynchronousCommit = "SYNCHRONOUS_COMMIT",
|
|
382
|
+
AsynchronousCommit = "ASYNCHRONOUS_COMMIT"
|
|
383
|
+
}
|
|
384
|
+
|
|
285
385
|
/** Known values of {@link ConnectivityType} that the service accepts. */
|
|
286
386
|
export declare enum KnownConnectivityType {
|
|
287
387
|
Local = "LOCAL",
|
|
@@ -289,6 +389,25 @@ export declare enum KnownConnectivityType {
|
|
|
289
389
|
Public = "PUBLIC"
|
|
290
390
|
}
|
|
291
391
|
|
|
392
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
393
|
+
export declare enum KnownCreatedByType {
|
|
394
|
+
User = "User",
|
|
395
|
+
Application = "Application",
|
|
396
|
+
ManagedIdentity = "ManagedIdentity",
|
|
397
|
+
Key = "Key"
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/** Known values of {@link DaysOfWeek} that the service accepts. */
|
|
401
|
+
export declare enum KnownDaysOfWeek {
|
|
402
|
+
Monday = "Monday",
|
|
403
|
+
Tuesday = "Tuesday",
|
|
404
|
+
Wednesday = "Wednesday",
|
|
405
|
+
Thursday = "Thursday",
|
|
406
|
+
Friday = "Friday",
|
|
407
|
+
Saturday = "Saturday",
|
|
408
|
+
Sunday = "Sunday"
|
|
409
|
+
}
|
|
410
|
+
|
|
292
411
|
/** Known values of {@link DiskConfigurationType} that the service accepts. */
|
|
293
412
|
export declare enum KnownDiskConfigurationType {
|
|
294
413
|
NEW = "NEW",
|
|
@@ -296,6 +415,12 @@ export declare enum KnownDiskConfigurationType {
|
|
|
296
415
|
ADD = "ADD"
|
|
297
416
|
}
|
|
298
417
|
|
|
418
|
+
/** Known values of {@link Failover} that the service accepts. */
|
|
419
|
+
export declare enum KnownFailover {
|
|
420
|
+
Automatic = "AUTOMATIC",
|
|
421
|
+
Manual = "MANUAL"
|
|
422
|
+
}
|
|
423
|
+
|
|
299
424
|
/** Known values of {@link FullBackupFrequencyType} that the service accepts. */
|
|
300
425
|
export declare enum KnownFullBackupFrequencyType {
|
|
301
426
|
Daily = "Daily",
|
|
@@ -304,6 +429,7 @@ export declare enum KnownFullBackupFrequencyType {
|
|
|
304
429
|
|
|
305
430
|
/** Known values of {@link IdentityType} that the service accepts. */
|
|
306
431
|
export declare enum KnownIdentityType {
|
|
432
|
+
None = "None",
|
|
307
433
|
SystemAssigned = "SystemAssigned"
|
|
308
434
|
}
|
|
309
435
|
|
|
@@ -313,6 +439,19 @@ export declare enum KnownOperationOrigin {
|
|
|
313
439
|
System = "system"
|
|
314
440
|
}
|
|
315
441
|
|
|
442
|
+
/** Known values of {@link ReadableSecondary} that the service accepts. */
|
|
443
|
+
export declare enum KnownReadableSecondary {
|
|
444
|
+
NO = "NO",
|
|
445
|
+
ALL = "ALL",
|
|
446
|
+
ReadOnly = "READ_ONLY"
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/** Known values of {@link Role} that the service accepts. */
|
|
450
|
+
export declare enum KnownRole {
|
|
451
|
+
Primary = "PRIMARY",
|
|
452
|
+
Secondary = "SECONDARY"
|
|
453
|
+
}
|
|
454
|
+
|
|
316
455
|
/** Known values of {@link ScaleType} that the service accepts. */
|
|
317
456
|
export declare enum KnownScaleType {
|
|
318
457
|
HA = "HA"
|
|
@@ -452,7 +591,7 @@ export declare type OperationOrigin = string;
|
|
|
452
591
|
/** Interface representing a Operations. */
|
|
453
592
|
export declare interface Operations {
|
|
454
593
|
/**
|
|
455
|
-
* Lists all of the available SQL Rest API operations.
|
|
594
|
+
* Lists all of the available SQL Virtual Machine Rest API operations.
|
|
456
595
|
* @param options The options parameters.
|
|
457
596
|
*/
|
|
458
597
|
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
@@ -483,6 +622,17 @@ export declare interface PrivateIPAddress {
|
|
|
483
622
|
/** ARM proxy resource. */
|
|
484
623
|
export declare type ProxyResource = Resource & {};
|
|
485
624
|
|
|
625
|
+
/**
|
|
626
|
+
* Defines values for ReadableSecondary. \
|
|
627
|
+
* {@link KnownReadableSecondary} can be used interchangeably with ReadableSecondary,
|
|
628
|
+
* this enum contains the known values that the service supports.
|
|
629
|
+
* ### Known values supported by the service
|
|
630
|
+
* **NO** \
|
|
631
|
+
* **ALL** \
|
|
632
|
+
* **READ_ONLY**
|
|
633
|
+
*/
|
|
634
|
+
export declare type ReadableSecondary = string;
|
|
635
|
+
|
|
486
636
|
/** ARM resource. */
|
|
487
637
|
export declare interface Resource {
|
|
488
638
|
/**
|
|
@@ -518,6 +668,16 @@ export declare interface ResourceIdentity {
|
|
|
518
668
|
readonly tenantId?: string;
|
|
519
669
|
}
|
|
520
670
|
|
|
671
|
+
/**
|
|
672
|
+
* Defines values for Role. \
|
|
673
|
+
* {@link KnownRole} can be used interchangeably with Role,
|
|
674
|
+
* this enum contains the known values that the service supports.
|
|
675
|
+
* ### Known values supported by the service
|
|
676
|
+
* **PRIMARY** \
|
|
677
|
+
* **SECONDARY**
|
|
678
|
+
*/
|
|
679
|
+
export declare type Role = string;
|
|
680
|
+
|
|
521
681
|
/**
|
|
522
682
|
* Defines values for ScaleType. \
|
|
523
683
|
* {@link KnownScaleType} can be used interchangeably with ScaleType,
|
|
@@ -527,6 +687,19 @@ export declare interface ResourceIdentity {
|
|
|
527
687
|
*/
|
|
528
688
|
export declare type ScaleType = string;
|
|
529
689
|
|
|
690
|
+
export declare interface Schedule {
|
|
691
|
+
/** Enable or disable assessment schedule on SQL virtual machine. */
|
|
692
|
+
enable?: boolean;
|
|
693
|
+
/** Number of weeks to schedule between 2 assessment runs. Takes value from 1-6 */
|
|
694
|
+
weeklyInterval?: number;
|
|
695
|
+
/** Occurrence of the DayOfWeek day within a month to schedule assessment. Takes values: 1,2,3,4 and -1. Use -1 for last DayOfWeek day of the month */
|
|
696
|
+
monthlyOccurrence?: number;
|
|
697
|
+
/** Day of the week to run assessment. */
|
|
698
|
+
dayOfWeek?: DayOfWeek;
|
|
699
|
+
/** Time of the day in HH:mm format. Eg. 17:30 */
|
|
700
|
+
startTime?: string;
|
|
701
|
+
}
|
|
702
|
+
|
|
530
703
|
/** Set the connectivity, storage and workload settings. */
|
|
531
704
|
export declare interface ServerConfigurationsManagementSettings {
|
|
532
705
|
/** SQL connectivity type settings. */
|
|
@@ -537,6 +710,8 @@ export declare interface ServerConfigurationsManagementSettings {
|
|
|
537
710
|
sqlStorageUpdateSettings?: SqlStorageUpdateSettings;
|
|
538
711
|
/** Additional SQL feature settings. */
|
|
539
712
|
additionalFeaturesServerConfigurations?: AdditionalFeaturesServerConfigurations;
|
|
713
|
+
/** SQL Instance settings. */
|
|
714
|
+
sqlInstanceSettings?: SQLInstanceSettings;
|
|
540
715
|
}
|
|
541
716
|
|
|
542
717
|
/** Set the access level and network port settings for SQL Server. */
|
|
@@ -564,6 +739,20 @@ export declare interface SqlConnectivityUpdateSettings {
|
|
|
564
739
|
*/
|
|
565
740
|
export declare type SqlImageSku = string;
|
|
566
741
|
|
|
742
|
+
/** Set the server/instance-level settings for SQL Server. */
|
|
743
|
+
export declare interface SQLInstanceSettings {
|
|
744
|
+
/** SQL Server Collation. */
|
|
745
|
+
collation?: string;
|
|
746
|
+
/** SQL Server MAXDOP. */
|
|
747
|
+
maxDop?: number;
|
|
748
|
+
/** SQL Server Optimize for Adhoc workloads. */
|
|
749
|
+
isOptimizeForAdHocWorkloadsEnabled?: boolean;
|
|
750
|
+
/** SQL Server minimum memory. */
|
|
751
|
+
minServerMemoryMB?: number;
|
|
752
|
+
/** SQL Server maximum memory. */
|
|
753
|
+
maxServerMemoryMB?: number;
|
|
754
|
+
}
|
|
755
|
+
|
|
567
756
|
/**
|
|
568
757
|
* Defines values for SqlManagementMode. \
|
|
569
758
|
* {@link KnownSqlManagementMode} can be used interchangeably with SqlManagementMode,
|
|
@@ -604,10 +793,32 @@ export declare interface SqlStorageUpdateSettings {
|
|
|
604
793
|
diskConfigurationType?: DiskConfigurationType;
|
|
605
794
|
}
|
|
606
795
|
|
|
796
|
+
export declare interface SQLTempDbSettings {
|
|
797
|
+
/** SQL Server default file size */
|
|
798
|
+
dataFileSize?: number;
|
|
799
|
+
/** SQL Server default file autoGrowth size */
|
|
800
|
+
dataGrowth?: number;
|
|
801
|
+
/** SQL Server default file size */
|
|
802
|
+
logFileSize?: number;
|
|
803
|
+
/** SQL Server default file autoGrowth size */
|
|
804
|
+
logGrowth?: number;
|
|
805
|
+
/** SQL Server default file count */
|
|
806
|
+
dataFileCount?: number;
|
|
807
|
+
/** Logical Unit Numbers for the disks. */
|
|
808
|
+
luns?: number[];
|
|
809
|
+
/** SQL Server default file path */
|
|
810
|
+
defaultFilePath?: string;
|
|
811
|
+
}
|
|
812
|
+
|
|
607
813
|
/** A SQL virtual machine. */
|
|
608
814
|
export declare type SqlVirtualMachine = TrackedResource & {
|
|
609
815
|
/** Azure Active Directory identity of the server. */
|
|
610
816
|
identity?: ResourceIdentity;
|
|
817
|
+
/**
|
|
818
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
819
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
820
|
+
*/
|
|
821
|
+
readonly systemData?: SystemData;
|
|
611
822
|
/** ARM Resource id of underlying virtual machine created from SQL marketplace image. */
|
|
612
823
|
virtualMachineResourceId?: string;
|
|
613
824
|
/**
|
|
@@ -637,10 +848,17 @@ export declare type SqlVirtualMachine = TrackedResource & {
|
|
|
637
848
|
serverConfigurationsManagementSettings?: ServerConfigurationsManagementSettings;
|
|
638
849
|
/** Storage Configuration Settings. */
|
|
639
850
|
storageConfigurationSettings?: StorageConfigurationSettings;
|
|
851
|
+
/** Assessment Settings. */
|
|
852
|
+
assessmentSettings?: AssessmentSettings;
|
|
640
853
|
};
|
|
641
854
|
|
|
642
855
|
/** A SQL virtual machine group. */
|
|
643
856
|
export declare type SqlVirtualMachineGroup = TrackedResource & {
|
|
857
|
+
/**
|
|
858
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
859
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
860
|
+
*/
|
|
861
|
+
readonly systemData?: SystemData;
|
|
644
862
|
/**
|
|
645
863
|
* Provisioning state to track the async operation status.
|
|
646
864
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -895,6 +1113,22 @@ export declare interface SqlVirtualMachines {
|
|
|
895
1113
|
* @param options The options parameters.
|
|
896
1114
|
*/
|
|
897
1115
|
listByResourceGroup(resourceGroupName: string, options?: SqlVirtualMachinesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachine>;
|
|
1116
|
+
/**
|
|
1117
|
+
* Uninstalls and reinstalls the SQL Iaas Extension.
|
|
1118
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1119
|
+
* value from the Azure Resource Manager API or the portal.
|
|
1120
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1121
|
+
* @param options The options parameters.
|
|
1122
|
+
*/
|
|
1123
|
+
beginRedeploy(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesRedeployOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
1124
|
+
/**
|
|
1125
|
+
* Uninstalls and reinstalls the SQL Iaas Extension.
|
|
1126
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1127
|
+
* value from the Azure Resource Manager API or the portal.
|
|
1128
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1129
|
+
* @param options The options parameters.
|
|
1130
|
+
*/
|
|
1131
|
+
beginRedeployAndWait(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesRedeployOptionalParams): Promise<void>;
|
|
898
1132
|
/**
|
|
899
1133
|
* Gets a SQL virtual machine.
|
|
900
1134
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
@@ -955,6 +1189,22 @@ export declare interface SqlVirtualMachines {
|
|
|
955
1189
|
* @param options The options parameters.
|
|
956
1190
|
*/
|
|
957
1191
|
beginUpdateAndWait(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachineUpdate, options?: SqlVirtualMachinesUpdateOptionalParams): Promise<SqlVirtualMachinesUpdateResponse>;
|
|
1192
|
+
/**
|
|
1193
|
+
* Starts Assessment on SQL virtual machine.
|
|
1194
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1195
|
+
* value from the Azure Resource Manager API or the portal.
|
|
1196
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1197
|
+
* @param options The options parameters.
|
|
1198
|
+
*/
|
|
1199
|
+
beginStartAssessment(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesStartAssessmentOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
1200
|
+
/**
|
|
1201
|
+
* Starts Assessment on SQL virtual machine.
|
|
1202
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1203
|
+
* value from the Azure Resource Manager API or the portal.
|
|
1204
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1205
|
+
* @param options The options parameters.
|
|
1206
|
+
*/
|
|
1207
|
+
beginStartAssessmentAndWait(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesStartAssessmentOptionalParams): Promise<void>;
|
|
958
1208
|
}
|
|
959
1209
|
|
|
960
1210
|
/** Optional parameters. */
|
|
@@ -1027,6 +1277,22 @@ export declare interface SqlVirtualMachinesListOptionalParams extends coreClient
|
|
|
1027
1277
|
/** Contains response data for the list operation. */
|
|
1028
1278
|
export declare type SqlVirtualMachinesListResponse = SqlVirtualMachineListResult;
|
|
1029
1279
|
|
|
1280
|
+
/** Optional parameters. */
|
|
1281
|
+
export declare interface SqlVirtualMachinesRedeployOptionalParams extends coreClient.OperationOptions {
|
|
1282
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1283
|
+
updateIntervalInMs?: number;
|
|
1284
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1285
|
+
resumeFrom?: string;
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
/** Optional parameters. */
|
|
1289
|
+
export declare interface SqlVirtualMachinesStartAssessmentOptionalParams extends coreClient.OperationOptions {
|
|
1290
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1291
|
+
updateIntervalInMs?: number;
|
|
1292
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1293
|
+
resumeFrom?: string;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1030
1296
|
/** Optional parameters. */
|
|
1031
1297
|
export declare interface SqlVirtualMachinesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1032
1298
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -1080,7 +1346,9 @@ export declare interface StorageConfigurationSettings {
|
|
|
1080
1346
|
/** SQL Server Log Storage Settings. */
|
|
1081
1347
|
sqlLogSettings?: SQLStorageSettings;
|
|
1082
1348
|
/** SQL Server TempDb Storage Settings. */
|
|
1083
|
-
sqlTempDbSettings?:
|
|
1349
|
+
sqlTempDbSettings?: SQLTempDbSettings;
|
|
1350
|
+
/** SQL Server SystemDb Storage on DataPool if true. */
|
|
1351
|
+
sqlSystemDbOnDataDisk?: boolean;
|
|
1084
1352
|
/** Disk configuration to apply to SQL Server. */
|
|
1085
1353
|
diskConfigurationType?: DiskConfigurationType;
|
|
1086
1354
|
/** Storage workload type. */
|
|
@@ -1098,6 +1366,22 @@ export declare interface StorageConfigurationSettings {
|
|
|
1098
1366
|
*/
|
|
1099
1367
|
export declare type StorageWorkloadType = string;
|
|
1100
1368
|
|
|
1369
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
1370
|
+
export declare interface SystemData {
|
|
1371
|
+
/** The identity that created the resource. */
|
|
1372
|
+
createdBy?: string;
|
|
1373
|
+
/** The type of identity that created the resource. */
|
|
1374
|
+
createdByType?: CreatedByType;
|
|
1375
|
+
/** The timestamp of resource creation (UTC). */
|
|
1376
|
+
createdAt?: Date;
|
|
1377
|
+
/** The identity that last modified the resource. */
|
|
1378
|
+
lastModifiedBy?: string;
|
|
1379
|
+
/** The type of identity that last modified the resource. */
|
|
1380
|
+
lastModifiedByType?: CreatedByType;
|
|
1381
|
+
/** The timestamp of resource last modification (UTC) */
|
|
1382
|
+
lastModifiedAt?: Date;
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1101
1385
|
/** ARM tracked top level resource. */
|
|
1102
1386
|
export declare type TrackedResource = Resource & {
|
|
1103
1387
|
/** Resource location. */
|