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

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 (36) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/dist/index.js +276 -94
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/src/models/index.d.ts +146 -34
  7. package/dist-esm/src/models/index.d.ts.map +1 -1
  8. package/dist-esm/src/models/index.js +81 -11
  9. package/dist-esm/src/models/index.js.map +1 -1
  10. package/dist-esm/src/models/mappers.d.ts +1 -0
  11. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  12. package/dist-esm/src/models/mappers.js +79 -1
  13. package/dist-esm/src/models/mappers.js.map +1 -1
  14. package/dist-esm/src/models/parameters.js +1 -1
  15. package/dist-esm/src/operations/sqlVirtualMachines.d.ts +17 -17
  16. package/dist-esm/src/operations/sqlVirtualMachines.d.ts.map +1 -1
  17. package/dist-esm/src/operations/sqlVirtualMachines.js +66 -66
  18. package/dist-esm/src/operations/sqlVirtualMachines.js.map +1 -1
  19. package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts +17 -17
  20. package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts.map +1 -1
  21. package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts +2 -0
  22. package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts.map +1 -1
  23. package/dist-esm/src/sqlVirtualMachineManagementClient.js +48 -14
  24. package/dist-esm/src/sqlVirtualMachineManagementClient.js.map +1 -1
  25. package/dist-esm/test/sampleTest.js +11 -13
  26. package/dist-esm/test/sampleTest.js.map +1 -1
  27. package/package.json +12 -9
  28. package/review/arm-sqlvirtualmachine.api.md +83 -103
  29. package/src/models/index.ts +159 -35
  30. package/src/models/mappers.ts +84 -1
  31. package/src/models/parameters.ts +1 -1
  32. package/src/operations/sqlVirtualMachines.ts +99 -99
  33. package/src/operationsInterfaces/sqlVirtualMachines.ts +26 -26
  34. package/src/sqlVirtualMachineManagementClient.ts +58 -17
  35. package/types/arm-sqlvirtualmachine.d.ts +184 -64
  36. package/types/tsdoc-metadata.json +1 -1
@@ -12,11 +12,8 @@ export declare interface AdditionalFeaturesServerConfigurations {
12
12
 
13
13
  /** Availability group configuration. */
14
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[];
15
+ /** Replica configurations. */
16
+ replicas?: AgReplica[];
20
17
  }
21
18
 
22
19
  /** Availability group replica configuration. */
@@ -33,6 +30,9 @@ export declare interface AgReplica {
33
30
  readableSecondary?: ReadableSecondary;
34
31
  }
35
32
 
33
+ /** Defines values for AssessmentDayOfWeek. */
34
+ export declare type AssessmentDayOfWeek = "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday";
35
+
36
36
  /** Configure assessment for databases in your SQL virtual machine. */
37
37
  export declare interface AssessmentSettings {
38
38
  /** Enable or disable assessment feature on SQL virtual machine. */
@@ -43,6 +43,21 @@ export declare interface AssessmentSettings {
43
43
  schedule?: Schedule;
44
44
  }
45
45
 
46
+ /**
47
+ * Defines values for AutoBackupDaysOfWeek. \
48
+ * {@link KnownAutoBackupDaysOfWeek} can be used interchangeably with AutoBackupDaysOfWeek,
49
+ * this enum contains the known values that the service supports.
50
+ * ### Known values supported by the service
51
+ * **Monday** \
52
+ * **Tuesday** \
53
+ * **Wednesday** \
54
+ * **Thursday** \
55
+ * **Friday** \
56
+ * **Saturday** \
57
+ * **Sunday**
58
+ */
59
+ export declare type AutoBackupDaysOfWeek = string;
60
+
46
61
  /** Configure backups for databases in your SQL virtual machine. */
47
62
  export declare interface AutoBackupSettings {
48
63
  /** Enable or disable autobackup on SQL virtual machine. */
@@ -66,7 +81,7 @@ export declare interface AutoBackupSettings {
66
81
  /** Frequency of full backups. In both cases, full backups begin during the next scheduled time window. */
67
82
  fullBackupFrequency?: FullBackupFrequencyType;
68
83
  /** Days of the week for the backups when FullBackupFrequency is set to Weekly. */
69
- daysOfWeek?: DaysOfWeek[];
84
+ daysOfWeek?: AutoBackupDaysOfWeek[];
70
85
  /** Start time of a given day during which full backups can take place. 0-23 hours. */
71
86
  fullBackupStartTime?: number;
72
87
  /** Duration of the time window of a given day during which full backups can take place. 1-23 hours. */
@@ -88,7 +103,7 @@ export declare interface AutoPatchingSettings {
88
103
  }
89
104
 
90
105
  /** A SQL Server availability group listener. */
91
- export declare type AvailabilityGroupListener = ProxyResource & {
106
+ export declare interface AvailabilityGroupListener extends ProxyResource {
92
107
  /**
93
108
  * Metadata pertaining to creation and last modification of the resource.
94
109
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -103,13 +118,15 @@ export declare type AvailabilityGroupListener = ProxyResource & {
103
118
  availabilityGroupName?: string;
104
119
  /** List of load balancer configurations for an availability group listener. */
105
120
  loadBalancerConfigurations?: LoadBalancerConfiguration[];
121
+ /** List of multi subnet IP configurations for an AG listener. */
122
+ multiSubnetIpConfigurations?: MultiSubnetIpConfiguration[];
106
123
  /** Create a default availability group if it does not exist. */
107
124
  createDefaultAvailabilityGroupIfNotExist?: boolean;
108
125
  /** Listener port. */
109
126
  port?: number;
110
127
  /** Availability Group configuration. */
111
128
  availabilityGroupConfiguration?: AgConfiguration;
112
- };
129
+ }
113
130
 
114
131
  /** A list of availability group listeners. */
115
132
  export declare interface AvailabilityGroupListenerListResult {
@@ -254,6 +271,16 @@ export declare type ClusterConfiguration = string;
254
271
  */
255
272
  export declare type ClusterManagerType = string;
256
273
 
274
+ /**
275
+ * Defines values for ClusterSubnetType. \
276
+ * {@link KnownClusterSubnetType} can be used interchangeably with ClusterSubnetType,
277
+ * this enum contains the known values that the service supports.
278
+ * ### Known values supported by the service
279
+ * **SingleSubnet** \
280
+ * **MultiSubnet**
281
+ */
282
+ export declare type ClusterSubnetType = string;
283
+
257
284
  /**
258
285
  * Defines values for Commit. \
259
286
  * {@link KnownCommit} can be used interchangeably with Commit,
@@ -288,22 +315,7 @@ export declare type ConnectivityType = string;
288
315
  export declare type CreatedByType = string;
289
316
 
290
317
  /** Defines values for DayOfWeek. */
291
- export declare type DayOfWeek = "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday";
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;
318
+ export declare type DayOfWeek = "Everyday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday";
307
319
 
308
320
  /**
309
321
  * Defines values for DiskConfigurationType. \
@@ -360,146 +372,225 @@ export declare interface KeyVaultCredentialSettings {
360
372
  servicePrincipalSecret?: string;
361
373
  }
362
374
 
375
+ /** Known values of {@link AutoBackupDaysOfWeek} that the service accepts. */
376
+ export declare enum KnownAutoBackupDaysOfWeek {
377
+ /** Monday */
378
+ Monday = "Monday",
379
+ /** Tuesday */
380
+ Tuesday = "Tuesday",
381
+ /** Wednesday */
382
+ Wednesday = "Wednesday",
383
+ /** Thursday */
384
+ Thursday = "Thursday",
385
+ /** Friday */
386
+ Friday = "Friday",
387
+ /** Saturday */
388
+ Saturday = "Saturday",
389
+ /** Sunday */
390
+ Sunday = "Sunday"
391
+ }
392
+
363
393
  /** Known values of {@link BackupScheduleType} that the service accepts. */
364
394
  export declare enum KnownBackupScheduleType {
395
+ /** Manual */
365
396
  Manual = "Manual",
397
+ /** Automated */
366
398
  Automated = "Automated"
367
399
  }
368
400
 
369
401
  /** Known values of {@link ClusterConfiguration} that the service accepts. */
370
402
  export declare enum KnownClusterConfiguration {
403
+ /** Domainful */
371
404
  Domainful = "Domainful"
372
405
  }
373
406
 
374
407
  /** Known values of {@link ClusterManagerType} that the service accepts. */
375
408
  export declare enum KnownClusterManagerType {
409
+ /** Wsfc */
376
410
  Wsfc = "WSFC"
377
411
  }
378
412
 
413
+ /** Known values of {@link ClusterSubnetType} that the service accepts. */
414
+ export declare enum KnownClusterSubnetType {
415
+ /** SingleSubnet */
416
+ SingleSubnet = "SingleSubnet",
417
+ /** MultiSubnet */
418
+ MultiSubnet = "MultiSubnet"
419
+ }
420
+
379
421
  /** Known values of {@link Commit} that the service accepts. */
380
422
  export declare enum KnownCommit {
423
+ /** SynchronousCommit */
381
424
  SynchronousCommit = "SYNCHRONOUS_COMMIT",
425
+ /** AsynchronousCommit */
382
426
  AsynchronousCommit = "ASYNCHRONOUS_COMMIT"
383
427
  }
384
428
 
385
429
  /** Known values of {@link ConnectivityType} that the service accepts. */
386
430
  export declare enum KnownConnectivityType {
431
+ /** Local */
387
432
  Local = "LOCAL",
433
+ /** Private */
388
434
  Private = "PRIVATE",
435
+ /** Public */
389
436
  Public = "PUBLIC"
390
437
  }
391
438
 
392
439
  /** Known values of {@link CreatedByType} that the service accepts. */
393
440
  export declare enum KnownCreatedByType {
441
+ /** User */
394
442
  User = "User",
443
+ /** Application */
395
444
  Application = "Application",
445
+ /** ManagedIdentity */
396
446
  ManagedIdentity = "ManagedIdentity",
447
+ /** Key */
397
448
  Key = "Key"
398
449
  }
399
450
 
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
-
411
451
  /** Known values of {@link DiskConfigurationType} that the service accepts. */
412
452
  export declare enum KnownDiskConfigurationType {
453
+ /** NEW */
413
454
  NEW = "NEW",
455
+ /** Extend */
414
456
  Extend = "EXTEND",
457
+ /** ADD */
415
458
  ADD = "ADD"
416
459
  }
417
460
 
418
461
  /** Known values of {@link Failover} that the service accepts. */
419
462
  export declare enum KnownFailover {
463
+ /** Automatic */
420
464
  Automatic = "AUTOMATIC",
465
+ /** Manual */
421
466
  Manual = "MANUAL"
422
467
  }
423
468
 
424
469
  /** Known values of {@link FullBackupFrequencyType} that the service accepts. */
425
470
  export declare enum KnownFullBackupFrequencyType {
471
+ /** Daily */
426
472
  Daily = "Daily",
473
+ /** Weekly */
427
474
  Weekly = "Weekly"
428
475
  }
429
476
 
430
477
  /** Known values of {@link IdentityType} that the service accepts. */
431
478
  export declare enum KnownIdentityType {
479
+ /** None */
432
480
  None = "None",
481
+ /** SystemAssigned */
433
482
  SystemAssigned = "SystemAssigned"
434
483
  }
435
484
 
485
+ /** Known values of {@link LeastPrivilegeMode} that the service accepts. */
486
+ export declare enum KnownLeastPrivilegeMode {
487
+ /** Enabled */
488
+ Enabled = "Enabled"
489
+ }
490
+
436
491
  /** Known values of {@link OperationOrigin} that the service accepts. */
437
492
  export declare enum KnownOperationOrigin {
493
+ /** User */
438
494
  User = "user",
495
+ /** System */
439
496
  System = "system"
440
497
  }
441
498
 
442
499
  /** Known values of {@link ReadableSecondary} that the service accepts. */
443
500
  export declare enum KnownReadableSecondary {
501
+ /** NO */
444
502
  NO = "NO",
503
+ /** ALL */
445
504
  ALL = "ALL",
505
+ /** ReadOnly */
446
506
  ReadOnly = "READ_ONLY"
447
507
  }
448
508
 
449
509
  /** Known values of {@link Role} that the service accepts. */
450
510
  export declare enum KnownRole {
511
+ /** Primary */
451
512
  Primary = "PRIMARY",
513
+ /** Secondary */
452
514
  Secondary = "SECONDARY"
453
515
  }
454
516
 
455
517
  /** Known values of {@link ScaleType} that the service accepts. */
456
518
  export declare enum KnownScaleType {
519
+ /** HA */
457
520
  HA = "HA"
458
521
  }
459
522
 
460
523
  /** Known values of {@link SqlImageSku} that the service accepts. */
461
524
  export declare enum KnownSqlImageSku {
525
+ /** Developer */
462
526
  Developer = "Developer",
527
+ /** Express */
463
528
  Express = "Express",
529
+ /** Standard */
464
530
  Standard = "Standard",
531
+ /** Enterprise */
465
532
  Enterprise = "Enterprise",
533
+ /** Web */
466
534
  Web = "Web"
467
535
  }
468
536
 
469
537
  /** Known values of {@link SqlManagementMode} that the service accepts. */
470
538
  export declare enum KnownSqlManagementMode {
539
+ /** Full */
471
540
  Full = "Full",
541
+ /** LightWeight */
472
542
  LightWeight = "LightWeight",
543
+ /** NoAgent */
473
544
  NoAgent = "NoAgent"
474
545
  }
475
546
 
476
547
  /** Known values of {@link SqlServerLicenseType} that the service accepts. */
477
548
  export declare enum KnownSqlServerLicenseType {
549
+ /** Payg */
478
550
  Payg = "PAYG",
551
+ /** Ahub */
479
552
  Ahub = "AHUB",
553
+ /** DR */
480
554
  DR = "DR"
481
555
  }
482
556
 
483
557
  /** Known values of {@link SqlVmGroupImageSku} that the service accepts. */
484
558
  export declare enum KnownSqlVmGroupImageSku {
559
+ /** Developer */
485
560
  Developer = "Developer",
561
+ /** Enterprise */
486
562
  Enterprise = "Enterprise"
487
563
  }
488
564
 
489
565
  /** Known values of {@link SqlWorkloadType} that the service accepts. */
490
566
  export declare enum KnownSqlWorkloadType {
567
+ /** General */
491
568
  General = "GENERAL",
569
+ /** Oltp */
492
570
  Oltp = "OLTP",
571
+ /** DW */
493
572
  DW = "DW"
494
573
  }
495
574
 
496
575
  /** Known values of {@link StorageWorkloadType} that the service accepts. */
497
576
  export declare enum KnownStorageWorkloadType {
577
+ /** General */
498
578
  General = "GENERAL",
579
+ /** Oltp */
499
580
  Oltp = "OLTP",
581
+ /** DW */
500
582
  DW = "DW"
501
583
  }
502
584
 
585
+ /**
586
+ * Defines values for LeastPrivilegeMode. \
587
+ * {@link KnownLeastPrivilegeMode} can be used interchangeably with LeastPrivilegeMode,
588
+ * this enum contains the known values that the service supports.
589
+ * ### Known values supported by the service
590
+ * **Enabled**
591
+ */
592
+ export declare type LeastPrivilegeMode = string;
593
+
503
594
  /** A load balancer configuration for an availability group listener. */
504
595
  export declare interface LoadBalancerConfiguration {
505
596
  /** Private IP address. */
@@ -514,6 +605,14 @@ export declare interface LoadBalancerConfiguration {
514
605
  sqlVirtualMachineInstances?: string[];
515
606
  }
516
607
 
608
+ /** Multi subnet ip configuration for an availability group listener. */
609
+ export declare interface MultiSubnetIpConfiguration {
610
+ /** Private IP address. */
611
+ privateIpAddress: PrivateIPAddress;
612
+ /** SQL virtual machine instance resource id that are enrolled into the availability group listener. */
613
+ sqlVirtualMachineInstance: string;
614
+ }
615
+
517
616
  /** SQL REST API operation definition. */
518
617
  export declare interface Operation {
519
618
  /**
@@ -620,7 +719,8 @@ export declare interface PrivateIPAddress {
620
719
  }
621
720
 
622
721
  /** ARM proxy resource. */
623
- export declare type ProxyResource = Resource & {};
722
+ export declare interface ProxyResource extends Resource {
723
+ }
624
724
 
625
725
  /**
626
726
  * Defines values for ReadableSecondary. \
@@ -687,6 +787,7 @@ export declare type Role = string;
687
787
  */
688
788
  export declare type ScaleType = string;
689
789
 
790
+ /** Set assessment schedule for SQL Server. */
690
791
  export declare interface Schedule {
691
792
  /** Enable or disable assessment schedule on SQL virtual machine. */
692
793
  enable?: boolean;
@@ -695,7 +796,7 @@ export declare interface Schedule {
695
796
  /** 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
797
  monthlyOccurrence?: number;
697
798
  /** Day of the week to run assessment. */
698
- dayOfWeek?: DayOfWeek;
799
+ dayOfWeek?: AssessmentDayOfWeek;
699
800
  /** Time of the day in HH:mm format. Eg. 17:30 */
700
801
  startTime?: string;
701
802
  }
@@ -751,6 +852,10 @@ export declare interface SQLInstanceSettings {
751
852
  minServerMemoryMB?: number;
752
853
  /** SQL Server maximum memory. */
753
854
  maxServerMemoryMB?: number;
855
+ /** SQL Server LPIM. */
856
+ isLpimEnabled?: boolean;
857
+ /** SQL Server IFI. */
858
+ isIfiEnabled?: boolean;
754
859
  }
755
860
 
756
861
  /**
@@ -793,17 +898,22 @@ export declare interface SqlStorageUpdateSettings {
793
898
  diskConfigurationType?: DiskConfigurationType;
794
899
  }
795
900
 
901
+ /** Set tempDb storage settings for SQL Server. */
796
902
  export declare interface SQLTempDbSettings {
797
- /** SQL Server default file size */
903
+ /** SQL Server tempdb data file size */
798
904
  dataFileSize?: number;
799
- /** SQL Server default file autoGrowth size */
905
+ /** SQL Server tempdb data file autoGrowth size */
800
906
  dataGrowth?: number;
801
- /** SQL Server default file size */
907
+ /** SQL Server tempdb log file size */
802
908
  logFileSize?: number;
803
- /** SQL Server default file autoGrowth size */
909
+ /** SQL Server tempdb log file autoGrowth size */
804
910
  logGrowth?: number;
805
- /** SQL Server default file count */
911
+ /** SQL Server tempdb data file count */
806
912
  dataFileCount?: number;
913
+ /** SQL Server tempdb persist folder choice */
914
+ persistFolder?: boolean;
915
+ /** SQL Server tempdb persist folder location */
916
+ persistFolderPath?: string;
807
917
  /** Logical Unit Numbers for the disks. */
808
918
  luns?: number[];
809
919
  /** SQL Server default file path */
@@ -811,7 +921,7 @@ export declare interface SQLTempDbSettings {
811
921
  }
812
922
 
813
923
  /** A SQL virtual machine. */
814
- export declare type SqlVirtualMachine = TrackedResource & {
924
+ export declare interface SqlVirtualMachine extends TrackedResource {
815
925
  /** Azure Active Directory identity of the server. */
816
926
  identity?: ResourceIdentity;
817
927
  /**
@@ -832,12 +942,16 @@ export declare type SqlVirtualMachine = TrackedResource & {
832
942
  sqlServerLicenseType?: SqlServerLicenseType;
833
943
  /** SQL Server Management type. */
834
944
  sqlManagement?: SqlManagementMode;
945
+ /** SQL IaaS Agent least privilege mode. */
946
+ leastPrivilegeMode?: LeastPrivilegeMode;
835
947
  /** SQL Server edition type. */
836
948
  sqlImageSku?: SqlImageSku;
837
949
  /** ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part of. */
838
950
  sqlVirtualMachineGroupResourceId?: string;
839
951
  /** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
840
952
  wsfcDomainCredentials?: WsfcDomainCredentials;
953
+ /** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
954
+ wsfcStaticIp?: string;
841
955
  /** Auto patching settings for applying critical security updates to SQL virtual machine. */
842
956
  autoPatchingSettings?: AutoPatchingSettings;
843
957
  /** Auto backup settings for SQL Server. */
@@ -850,10 +964,12 @@ export declare type SqlVirtualMachine = TrackedResource & {
850
964
  storageConfigurationSettings?: StorageConfigurationSettings;
851
965
  /** Assessment Settings. */
852
966
  assessmentSettings?: AssessmentSettings;
853
- };
967
+ /** Enable automatic upgrade of Sql IaaS extension Agent. */
968
+ enableAutomaticUpgrade?: boolean;
969
+ }
854
970
 
855
971
  /** A SQL virtual machine group. */
856
- export declare type SqlVirtualMachineGroup = TrackedResource & {
972
+ export declare interface SqlVirtualMachineGroup extends TrackedResource {
857
973
  /**
858
974
  * Metadata pertaining to creation and last modification of the resource.
859
975
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -885,7 +1001,7 @@ export declare type SqlVirtualMachineGroup = TrackedResource & {
885
1001
  readonly clusterConfiguration?: ClusterConfiguration;
886
1002
  /** Cluster Active Directory domain profile. */
887
1003
  wsfcDomainProfile?: WsfcDomainProfile;
888
- };
1004
+ }
889
1005
 
890
1006
  /** A list of SQL virtual machine groups. */
891
1007
  export declare interface SqlVirtualMachineGroupListResult {
@@ -1075,6 +1191,8 @@ export declare class SqlVirtualMachineManagementClient extends coreClient.Servic
1075
1191
  * @param options The parameter options
1076
1192
  */
1077
1193
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: SqlVirtualMachineManagementClientOptionalParams);
1194
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
1195
+ private addCustomApiVersionPolicy;
1078
1196
  availabilityGroupListeners: AvailabilityGroupListeners;
1079
1197
  operations: Operations;
1080
1198
  sqlVirtualMachineGroups: SqlVirtualMachineGroups;
@@ -1113,6 +1231,22 @@ export declare interface SqlVirtualMachines {
1113
1231
  * @param options The options parameters.
1114
1232
  */
1115
1233
  listByResourceGroup(resourceGroupName: string, options?: SqlVirtualMachinesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachine>;
1234
+ /**
1235
+ * Starts Assessment on SQL virtual machine.
1236
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
1237
+ * value from the Azure Resource Manager API or the portal.
1238
+ * @param sqlVirtualMachineName Name of the SQL virtual machine.
1239
+ * @param options The options parameters.
1240
+ */
1241
+ beginStartAssessment(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesStartAssessmentOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1242
+ /**
1243
+ * Starts Assessment on SQL virtual machine.
1244
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
1245
+ * value from the Azure Resource Manager API or the portal.
1246
+ * @param sqlVirtualMachineName Name of the SQL virtual machine.
1247
+ * @param options The options parameters.
1248
+ */
1249
+ beginStartAssessmentAndWait(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesStartAssessmentOptionalParams): Promise<void>;
1116
1250
  /**
1117
1251
  * Uninstalls and reinstalls the SQL Iaas Extension.
1118
1252
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
@@ -1189,22 +1323,6 @@ export declare interface SqlVirtualMachines {
1189
1323
  * @param options The options parameters.
1190
1324
  */
1191
1325
  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>;
1208
1326
  }
1209
1327
 
1210
1328
  /** Optional parameters. */
@@ -1383,14 +1501,14 @@ export declare interface SystemData {
1383
1501
  }
1384
1502
 
1385
1503
  /** ARM tracked top level resource. */
1386
- export declare type TrackedResource = Resource & {
1504
+ export declare interface TrackedResource extends Resource {
1387
1505
  /** Resource location. */
1388
1506
  location: string;
1389
1507
  /** Resource tags. */
1390
1508
  tags?: {
1391
1509
  [propertyName: string]: string;
1392
1510
  };
1393
- };
1511
+ }
1394
1512
 
1395
1513
  /** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
1396
1514
  export declare interface WsfcDomainCredentials {
@@ -1420,6 +1538,8 @@ export declare interface WsfcDomainProfile {
1420
1538
  storageAccountUrl?: string;
1421
1539
  /** Primary key of the witness storage account. */
1422
1540
  storageAccountPrimaryKey?: string;
1541
+ /** Cluster subnet type. */
1542
+ clusterSubnetType?: ClusterSubnetType;
1423
1543
  }
1424
1544
 
1425
1545
  export { }
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.18.11"
8
+ "packageVersion": "7.31.1"
9
9
  }
10
10
  ]
11
11
  }