@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.
- package/CHANGELOG.md +2 -2
- package/dist/index.js +276 -94
- 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 +146 -34
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +81 -11
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +1 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +79 -1
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts +17 -17
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts.map +1 -1
- package/dist-esm/src/operations/sqlVirtualMachines.js +66 -66
- package/dist-esm/src/operations/sqlVirtualMachines.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts +17 -17
- 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 +48 -14
- 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 +12 -9
- package/review/arm-sqlvirtualmachine.api.md +83 -103
- package/src/models/index.ts +159 -35
- package/src/models/mappers.ts +84 -1
- package/src/models/parameters.ts +1 -1
- package/src/operations/sqlVirtualMachines.ts +99 -99
- package/src/operationsInterfaces/sqlVirtualMachines.ts +26 -26
- package/src/sqlVirtualMachineManagementClient.ts +58 -17
- package/types/arm-sqlvirtualmachine.d.ts +184 -64
- package/types/tsdoc-metadata.json +1 -1
package/src/models/index.ts
CHANGED
|
@@ -30,13 +30,18 @@ export interface PrivateIPAddress {
|
|
|
30
30
|
subnetResourceId?: string;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
/** Multi subnet ip configuration for an availability group listener. */
|
|
34
|
+
export interface MultiSubnetIpConfiguration {
|
|
35
|
+
/** Private IP address. */
|
|
36
|
+
privateIpAddress: PrivateIPAddress;
|
|
37
|
+
/** SQL virtual machine instance resource id that are enrolled into the availability group listener. */
|
|
38
|
+
sqlVirtualMachineInstance: string;
|
|
39
|
+
}
|
|
40
|
+
|
|
33
41
|
/** Availability group configuration. */
|
|
34
42
|
export interface AgConfiguration {
|
|
35
|
-
/**
|
|
36
|
-
|
|
37
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
38
|
-
*/
|
|
39
|
-
readonly replicas?: AgReplica[];
|
|
43
|
+
/** Replica configurations. */
|
|
44
|
+
replicas?: AgReplica[];
|
|
40
45
|
}
|
|
41
46
|
|
|
42
47
|
/** Availability group replica configuration. */
|
|
@@ -182,6 +187,8 @@ export interface WsfcDomainProfile {
|
|
|
182
187
|
storageAccountUrl?: string;
|
|
183
188
|
/** Primary key of the witness storage account. */
|
|
184
189
|
storageAccountPrimaryKey?: string;
|
|
190
|
+
/** Cluster subnet type. */
|
|
191
|
+
clusterSubnetType?: ClusterSubnetType;
|
|
185
192
|
}
|
|
186
193
|
|
|
187
194
|
/** An update to a SQL virtual machine group. */
|
|
@@ -279,7 +286,7 @@ export interface AutoBackupSettings {
|
|
|
279
286
|
/** Frequency of full backups. In both cases, full backups begin during the next scheduled time window. */
|
|
280
287
|
fullBackupFrequency?: FullBackupFrequencyType;
|
|
281
288
|
/** Days of the week for the backups when FullBackupFrequency is set to Weekly. */
|
|
282
|
-
daysOfWeek?:
|
|
289
|
+
daysOfWeek?: AutoBackupDaysOfWeek[];
|
|
283
290
|
/** Start time of a given day during which full backups can take place. 0-23 hours. */
|
|
284
291
|
fullBackupStartTime?: number;
|
|
285
292
|
/** Duration of the time window of a given day during which full backups can take place. 1-23 hours. */
|
|
@@ -362,6 +369,10 @@ export interface SQLInstanceSettings {
|
|
|
362
369
|
minServerMemoryMB?: number;
|
|
363
370
|
/** SQL Server maximum memory. */
|
|
364
371
|
maxServerMemoryMB?: number;
|
|
372
|
+
/** SQL Server LPIM. */
|
|
373
|
+
isLpimEnabled?: boolean;
|
|
374
|
+
/** SQL Server IFI. */
|
|
375
|
+
isIfiEnabled?: boolean;
|
|
365
376
|
}
|
|
366
377
|
|
|
367
378
|
/** Storage Configurations for SQL Data, Log and TempDb. */
|
|
@@ -388,17 +399,22 @@ export interface SQLStorageSettings {
|
|
|
388
399
|
defaultFilePath?: string;
|
|
389
400
|
}
|
|
390
401
|
|
|
402
|
+
/** Set tempDb storage settings for SQL Server. */
|
|
391
403
|
export interface SQLTempDbSettings {
|
|
392
|
-
/** SQL Server
|
|
404
|
+
/** SQL Server tempdb data file size */
|
|
393
405
|
dataFileSize?: number;
|
|
394
|
-
/** SQL Server
|
|
406
|
+
/** SQL Server tempdb data file autoGrowth size */
|
|
395
407
|
dataGrowth?: number;
|
|
396
|
-
/** SQL Server
|
|
408
|
+
/** SQL Server tempdb log file size */
|
|
397
409
|
logFileSize?: number;
|
|
398
|
-
/** SQL Server
|
|
410
|
+
/** SQL Server tempdb log file autoGrowth size */
|
|
399
411
|
logGrowth?: number;
|
|
400
|
-
/** SQL Server
|
|
412
|
+
/** SQL Server tempdb data file count */
|
|
401
413
|
dataFileCount?: number;
|
|
414
|
+
/** SQL Server tempdb persist folder choice */
|
|
415
|
+
persistFolder?: boolean;
|
|
416
|
+
/** SQL Server tempdb persist folder location */
|
|
417
|
+
persistFolderPath?: string;
|
|
402
418
|
/** Logical Unit Numbers for the disks. */
|
|
403
419
|
luns?: number[];
|
|
404
420
|
/** SQL Server default file path */
|
|
@@ -415,6 +431,7 @@ export interface AssessmentSettings {
|
|
|
415
431
|
schedule?: Schedule;
|
|
416
432
|
}
|
|
417
433
|
|
|
434
|
+
/** Set assessment schedule for SQL Server. */
|
|
418
435
|
export interface Schedule {
|
|
419
436
|
/** Enable or disable assessment schedule on SQL virtual machine. */
|
|
420
437
|
enable?: boolean;
|
|
@@ -423,7 +440,7 @@ export interface Schedule {
|
|
|
423
440
|
/** 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 */
|
|
424
441
|
monthlyOccurrence?: number;
|
|
425
442
|
/** Day of the week to run assessment. */
|
|
426
|
-
dayOfWeek?:
|
|
443
|
+
dayOfWeek?: AssessmentDayOfWeek;
|
|
427
444
|
/** Time of the day in HH:mm format. Eg. 17:30 */
|
|
428
445
|
startTime?: string;
|
|
429
446
|
}
|
|
@@ -435,18 +452,18 @@ export interface SqlVirtualMachineUpdate {
|
|
|
435
452
|
}
|
|
436
453
|
|
|
437
454
|
/** ARM proxy resource. */
|
|
438
|
-
export
|
|
455
|
+
export interface ProxyResource extends Resource {}
|
|
439
456
|
|
|
440
457
|
/** ARM tracked top level resource. */
|
|
441
|
-
export
|
|
458
|
+
export interface TrackedResource extends Resource {
|
|
442
459
|
/** Resource location. */
|
|
443
460
|
location: string;
|
|
444
461
|
/** Resource tags. */
|
|
445
462
|
tags?: { [propertyName: string]: string };
|
|
446
|
-
}
|
|
463
|
+
}
|
|
447
464
|
|
|
448
465
|
/** A SQL Server availability group listener. */
|
|
449
|
-
export
|
|
466
|
+
export interface AvailabilityGroupListener extends ProxyResource {
|
|
450
467
|
/**
|
|
451
468
|
* Metadata pertaining to creation and last modification of the resource.
|
|
452
469
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -461,16 +478,18 @@ export type AvailabilityGroupListener = ProxyResource & {
|
|
|
461
478
|
availabilityGroupName?: string;
|
|
462
479
|
/** List of load balancer configurations for an availability group listener. */
|
|
463
480
|
loadBalancerConfigurations?: LoadBalancerConfiguration[];
|
|
481
|
+
/** List of multi subnet IP configurations for an AG listener. */
|
|
482
|
+
multiSubnetIpConfigurations?: MultiSubnetIpConfiguration[];
|
|
464
483
|
/** Create a default availability group if it does not exist. */
|
|
465
484
|
createDefaultAvailabilityGroupIfNotExist?: boolean;
|
|
466
485
|
/** Listener port. */
|
|
467
486
|
port?: number;
|
|
468
487
|
/** Availability Group configuration. */
|
|
469
488
|
availabilityGroupConfiguration?: AgConfiguration;
|
|
470
|
-
}
|
|
489
|
+
}
|
|
471
490
|
|
|
472
491
|
/** A SQL virtual machine group. */
|
|
473
|
-
export
|
|
492
|
+
export interface SqlVirtualMachineGroup extends TrackedResource {
|
|
474
493
|
/**
|
|
475
494
|
* Metadata pertaining to creation and last modification of the resource.
|
|
476
495
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -502,10 +521,10 @@ export type SqlVirtualMachineGroup = TrackedResource & {
|
|
|
502
521
|
readonly clusterConfiguration?: ClusterConfiguration;
|
|
503
522
|
/** Cluster Active Directory domain profile. */
|
|
504
523
|
wsfcDomainProfile?: WsfcDomainProfile;
|
|
505
|
-
}
|
|
524
|
+
}
|
|
506
525
|
|
|
507
526
|
/** A SQL virtual machine. */
|
|
508
|
-
export
|
|
527
|
+
export interface SqlVirtualMachine extends TrackedResource {
|
|
509
528
|
/** Azure Active Directory identity of the server. */
|
|
510
529
|
identity?: ResourceIdentity;
|
|
511
530
|
/**
|
|
@@ -526,12 +545,16 @@ export type SqlVirtualMachine = TrackedResource & {
|
|
|
526
545
|
sqlServerLicenseType?: SqlServerLicenseType;
|
|
527
546
|
/** SQL Server Management type. */
|
|
528
547
|
sqlManagement?: SqlManagementMode;
|
|
548
|
+
/** SQL IaaS Agent least privilege mode. */
|
|
549
|
+
leastPrivilegeMode?: LeastPrivilegeMode;
|
|
529
550
|
/** SQL Server edition type. */
|
|
530
551
|
sqlImageSku?: SqlImageSku;
|
|
531
552
|
/** ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part of. */
|
|
532
553
|
sqlVirtualMachineGroupResourceId?: string;
|
|
533
554
|
/** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
|
|
534
555
|
wsfcDomainCredentials?: WsfcDomainCredentials;
|
|
556
|
+
/** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
|
|
557
|
+
wsfcStaticIp?: string;
|
|
535
558
|
/** Auto patching settings for applying critical security updates to SQL virtual machine. */
|
|
536
559
|
autoPatchingSettings?: AutoPatchingSettings;
|
|
537
560
|
/** Auto backup settings for SQL Server. */
|
|
@@ -544,11 +567,15 @@ export type SqlVirtualMachine = TrackedResource & {
|
|
|
544
567
|
storageConfigurationSettings?: StorageConfigurationSettings;
|
|
545
568
|
/** Assessment Settings. */
|
|
546
569
|
assessmentSettings?: AssessmentSettings;
|
|
547
|
-
|
|
570
|
+
/** Enable automatic upgrade of Sql IaaS extension Agent. */
|
|
571
|
+
enableAutomaticUpgrade?: boolean;
|
|
572
|
+
}
|
|
548
573
|
|
|
549
574
|
/** Known values of {@link Role} that the service accepts. */
|
|
550
575
|
export enum KnownRole {
|
|
576
|
+
/** Primary */
|
|
551
577
|
Primary = "PRIMARY",
|
|
578
|
+
/** Secondary */
|
|
552
579
|
Secondary = "SECONDARY"
|
|
553
580
|
}
|
|
554
581
|
|
|
@@ -564,7 +591,9 @@ export type Role = string;
|
|
|
564
591
|
|
|
565
592
|
/** Known values of {@link Commit} that the service accepts. */
|
|
566
593
|
export enum KnownCommit {
|
|
594
|
+
/** SynchronousCommit */
|
|
567
595
|
SynchronousCommit = "SYNCHRONOUS_COMMIT",
|
|
596
|
+
/** AsynchronousCommit */
|
|
568
597
|
AsynchronousCommit = "ASYNCHRONOUS_COMMIT"
|
|
569
598
|
}
|
|
570
599
|
|
|
@@ -580,7 +609,9 @@ export type Commit = string;
|
|
|
580
609
|
|
|
581
610
|
/** Known values of {@link Failover} that the service accepts. */
|
|
582
611
|
export enum KnownFailover {
|
|
612
|
+
/** Automatic */
|
|
583
613
|
Automatic = "AUTOMATIC",
|
|
614
|
+
/** Manual */
|
|
584
615
|
Manual = "MANUAL"
|
|
585
616
|
}
|
|
586
617
|
|
|
@@ -596,8 +627,11 @@ export type Failover = string;
|
|
|
596
627
|
|
|
597
628
|
/** Known values of {@link ReadableSecondary} that the service accepts. */
|
|
598
629
|
export enum KnownReadableSecondary {
|
|
630
|
+
/** NO */
|
|
599
631
|
NO = "NO",
|
|
632
|
+
/** ALL */
|
|
600
633
|
ALL = "ALL",
|
|
634
|
+
/** ReadOnly */
|
|
601
635
|
ReadOnly = "READ_ONLY"
|
|
602
636
|
}
|
|
603
637
|
|
|
@@ -614,9 +648,13 @@ export type ReadableSecondary = string;
|
|
|
614
648
|
|
|
615
649
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
616
650
|
export enum KnownCreatedByType {
|
|
651
|
+
/** User */
|
|
617
652
|
User = "User",
|
|
653
|
+
/** Application */
|
|
618
654
|
Application = "Application",
|
|
655
|
+
/** ManagedIdentity */
|
|
619
656
|
ManagedIdentity = "ManagedIdentity",
|
|
657
|
+
/** Key */
|
|
620
658
|
Key = "Key"
|
|
621
659
|
}
|
|
622
660
|
|
|
@@ -634,7 +672,9 @@ export type CreatedByType = string;
|
|
|
634
672
|
|
|
635
673
|
/** Known values of {@link OperationOrigin} that the service accepts. */
|
|
636
674
|
export enum KnownOperationOrigin {
|
|
675
|
+
/** User */
|
|
637
676
|
User = "user",
|
|
677
|
+
/** System */
|
|
638
678
|
System = "system"
|
|
639
679
|
}
|
|
640
680
|
|
|
@@ -650,7 +690,9 @@ export type OperationOrigin = string;
|
|
|
650
690
|
|
|
651
691
|
/** Known values of {@link SqlVmGroupImageSku} that the service accepts. */
|
|
652
692
|
export enum KnownSqlVmGroupImageSku {
|
|
693
|
+
/** Developer */
|
|
653
694
|
Developer = "Developer",
|
|
695
|
+
/** Enterprise */
|
|
654
696
|
Enterprise = "Enterprise"
|
|
655
697
|
}
|
|
656
698
|
|
|
@@ -666,6 +708,7 @@ export type SqlVmGroupImageSku = string;
|
|
|
666
708
|
|
|
667
709
|
/** Known values of {@link ScaleType} that the service accepts. */
|
|
668
710
|
export enum KnownScaleType {
|
|
711
|
+
/** HA */
|
|
669
712
|
HA = "HA"
|
|
670
713
|
}
|
|
671
714
|
|
|
@@ -680,6 +723,7 @@ export type ScaleType = string;
|
|
|
680
723
|
|
|
681
724
|
/** Known values of {@link ClusterManagerType} that the service accepts. */
|
|
682
725
|
export enum KnownClusterManagerType {
|
|
726
|
+
/** Wsfc */
|
|
683
727
|
Wsfc = "WSFC"
|
|
684
728
|
}
|
|
685
729
|
|
|
@@ -694,6 +738,7 @@ export type ClusterManagerType = string;
|
|
|
694
738
|
|
|
695
739
|
/** Known values of {@link ClusterConfiguration} that the service accepts. */
|
|
696
740
|
export enum KnownClusterConfiguration {
|
|
741
|
+
/** Domainful */
|
|
697
742
|
Domainful = "Domainful"
|
|
698
743
|
}
|
|
699
744
|
|
|
@@ -706,9 +751,29 @@ export enum KnownClusterConfiguration {
|
|
|
706
751
|
*/
|
|
707
752
|
export type ClusterConfiguration = string;
|
|
708
753
|
|
|
754
|
+
/** Known values of {@link ClusterSubnetType} that the service accepts. */
|
|
755
|
+
export enum KnownClusterSubnetType {
|
|
756
|
+
/** SingleSubnet */
|
|
757
|
+
SingleSubnet = "SingleSubnet",
|
|
758
|
+
/** MultiSubnet */
|
|
759
|
+
MultiSubnet = "MultiSubnet"
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* Defines values for ClusterSubnetType. \
|
|
764
|
+
* {@link KnownClusterSubnetType} can be used interchangeably with ClusterSubnetType,
|
|
765
|
+
* this enum contains the known values that the service supports.
|
|
766
|
+
* ### Known values supported by the service
|
|
767
|
+
* **SingleSubnet** \
|
|
768
|
+
* **MultiSubnet**
|
|
769
|
+
*/
|
|
770
|
+
export type ClusterSubnetType = string;
|
|
771
|
+
|
|
709
772
|
/** Known values of {@link IdentityType} that the service accepts. */
|
|
710
773
|
export enum KnownIdentityType {
|
|
774
|
+
/** None */
|
|
711
775
|
None = "None",
|
|
776
|
+
/** SystemAssigned */
|
|
712
777
|
SystemAssigned = "SystemAssigned"
|
|
713
778
|
}
|
|
714
779
|
|
|
@@ -724,8 +789,11 @@ export type IdentityType = string;
|
|
|
724
789
|
|
|
725
790
|
/** Known values of {@link SqlServerLicenseType} that the service accepts. */
|
|
726
791
|
export enum KnownSqlServerLicenseType {
|
|
792
|
+
/** Payg */
|
|
727
793
|
Payg = "PAYG",
|
|
794
|
+
/** Ahub */
|
|
728
795
|
Ahub = "AHUB",
|
|
796
|
+
/** DR */
|
|
729
797
|
DR = "DR"
|
|
730
798
|
}
|
|
731
799
|
|
|
@@ -742,8 +810,11 @@ export type SqlServerLicenseType = string;
|
|
|
742
810
|
|
|
743
811
|
/** Known values of {@link SqlManagementMode} that the service accepts. */
|
|
744
812
|
export enum KnownSqlManagementMode {
|
|
813
|
+
/** Full */
|
|
745
814
|
Full = "Full",
|
|
815
|
+
/** LightWeight */
|
|
746
816
|
LightWeight = "LightWeight",
|
|
817
|
+
/** NoAgent */
|
|
747
818
|
NoAgent = "NoAgent"
|
|
748
819
|
}
|
|
749
820
|
|
|
@@ -758,12 +829,32 @@ export enum KnownSqlManagementMode {
|
|
|
758
829
|
*/
|
|
759
830
|
export type SqlManagementMode = string;
|
|
760
831
|
|
|
832
|
+
/** Known values of {@link LeastPrivilegeMode} that the service accepts. */
|
|
833
|
+
export enum KnownLeastPrivilegeMode {
|
|
834
|
+
/** Enabled */
|
|
835
|
+
Enabled = "Enabled"
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
/**
|
|
839
|
+
* Defines values for LeastPrivilegeMode. \
|
|
840
|
+
* {@link KnownLeastPrivilegeMode} can be used interchangeably with LeastPrivilegeMode,
|
|
841
|
+
* this enum contains the known values that the service supports.
|
|
842
|
+
* ### Known values supported by the service
|
|
843
|
+
* **Enabled**
|
|
844
|
+
*/
|
|
845
|
+
export type LeastPrivilegeMode = string;
|
|
846
|
+
|
|
761
847
|
/** Known values of {@link SqlImageSku} that the service accepts. */
|
|
762
848
|
export enum KnownSqlImageSku {
|
|
849
|
+
/** Developer */
|
|
763
850
|
Developer = "Developer",
|
|
851
|
+
/** Express */
|
|
764
852
|
Express = "Express",
|
|
853
|
+
/** Standard */
|
|
765
854
|
Standard = "Standard",
|
|
855
|
+
/** Enterprise */
|
|
766
856
|
Enterprise = "Enterprise",
|
|
857
|
+
/** Web */
|
|
767
858
|
Web = "Web"
|
|
768
859
|
}
|
|
769
860
|
|
|
@@ -782,7 +873,9 @@ export type SqlImageSku = string;
|
|
|
782
873
|
|
|
783
874
|
/** Known values of {@link BackupScheduleType} that the service accepts. */
|
|
784
875
|
export enum KnownBackupScheduleType {
|
|
876
|
+
/** Manual */
|
|
785
877
|
Manual = "Manual",
|
|
878
|
+
/** Automated */
|
|
786
879
|
Automated = "Automated"
|
|
787
880
|
}
|
|
788
881
|
|
|
@@ -798,7 +891,9 @@ export type BackupScheduleType = string;
|
|
|
798
891
|
|
|
799
892
|
/** Known values of {@link FullBackupFrequencyType} that the service accepts. */
|
|
800
893
|
export enum KnownFullBackupFrequencyType {
|
|
894
|
+
/** Daily */
|
|
801
895
|
Daily = "Daily",
|
|
896
|
+
/** Weekly */
|
|
802
897
|
Weekly = "Weekly"
|
|
803
898
|
}
|
|
804
899
|
|
|
@@ -812,20 +907,27 @@ export enum KnownFullBackupFrequencyType {
|
|
|
812
907
|
*/
|
|
813
908
|
export type FullBackupFrequencyType = string;
|
|
814
909
|
|
|
815
|
-
/** Known values of {@link
|
|
816
|
-
export enum
|
|
910
|
+
/** Known values of {@link AutoBackupDaysOfWeek} that the service accepts. */
|
|
911
|
+
export enum KnownAutoBackupDaysOfWeek {
|
|
912
|
+
/** Monday */
|
|
817
913
|
Monday = "Monday",
|
|
914
|
+
/** Tuesday */
|
|
818
915
|
Tuesday = "Tuesday",
|
|
916
|
+
/** Wednesday */
|
|
819
917
|
Wednesday = "Wednesday",
|
|
918
|
+
/** Thursday */
|
|
820
919
|
Thursday = "Thursday",
|
|
920
|
+
/** Friday */
|
|
821
921
|
Friday = "Friday",
|
|
922
|
+
/** Saturday */
|
|
822
923
|
Saturday = "Saturday",
|
|
924
|
+
/** Sunday */
|
|
823
925
|
Sunday = "Sunday"
|
|
824
926
|
}
|
|
825
927
|
|
|
826
928
|
/**
|
|
827
|
-
* Defines values for
|
|
828
|
-
* {@link
|
|
929
|
+
* Defines values for AutoBackupDaysOfWeek. \
|
|
930
|
+
* {@link KnownAutoBackupDaysOfWeek} can be used interchangeably with AutoBackupDaysOfWeek,
|
|
829
931
|
* this enum contains the known values that the service supports.
|
|
830
932
|
* ### Known values supported by the service
|
|
831
933
|
* **Monday** \
|
|
@@ -836,12 +938,15 @@ export enum KnownDaysOfWeek {
|
|
|
836
938
|
* **Saturday** \
|
|
837
939
|
* **Sunday**
|
|
838
940
|
*/
|
|
839
|
-
export type
|
|
941
|
+
export type AutoBackupDaysOfWeek = string;
|
|
840
942
|
|
|
841
943
|
/** Known values of {@link ConnectivityType} that the service accepts. */
|
|
842
944
|
export enum KnownConnectivityType {
|
|
945
|
+
/** Local */
|
|
843
946
|
Local = "LOCAL",
|
|
947
|
+
/** Private */
|
|
844
948
|
Private = "PRIVATE",
|
|
949
|
+
/** Public */
|
|
845
950
|
Public = "PUBLIC"
|
|
846
951
|
}
|
|
847
952
|
|
|
@@ -858,8 +963,11 @@ export type ConnectivityType = string;
|
|
|
858
963
|
|
|
859
964
|
/** Known values of {@link SqlWorkloadType} that the service accepts. */
|
|
860
965
|
export enum KnownSqlWorkloadType {
|
|
966
|
+
/** General */
|
|
861
967
|
General = "GENERAL",
|
|
968
|
+
/** Oltp */
|
|
862
969
|
Oltp = "OLTP",
|
|
970
|
+
/** DW */
|
|
863
971
|
DW = "DW"
|
|
864
972
|
}
|
|
865
973
|
|
|
@@ -876,8 +984,11 @@ export type SqlWorkloadType = string;
|
|
|
876
984
|
|
|
877
985
|
/** Known values of {@link DiskConfigurationType} that the service accepts. */
|
|
878
986
|
export enum KnownDiskConfigurationType {
|
|
987
|
+
/** NEW */
|
|
879
988
|
NEW = "NEW",
|
|
989
|
+
/** Extend */
|
|
880
990
|
Extend = "EXTEND",
|
|
991
|
+
/** ADD */
|
|
881
992
|
ADD = "ADD"
|
|
882
993
|
}
|
|
883
994
|
|
|
@@ -894,8 +1005,11 @@ export type DiskConfigurationType = string;
|
|
|
894
1005
|
|
|
895
1006
|
/** Known values of {@link StorageWorkloadType} that the service accepts. */
|
|
896
1007
|
export enum KnownStorageWorkloadType {
|
|
1008
|
+
/** General */
|
|
897
1009
|
General = "GENERAL",
|
|
1010
|
+
/** Oltp */
|
|
898
1011
|
Oltp = "OLTP",
|
|
1012
|
+
/** DW */
|
|
899
1013
|
DW = "DW"
|
|
900
1014
|
}
|
|
901
1015
|
|
|
@@ -911,6 +1025,16 @@ export enum KnownStorageWorkloadType {
|
|
|
911
1025
|
export type StorageWorkloadType = string;
|
|
912
1026
|
/** Defines values for DayOfWeek. */
|
|
913
1027
|
export type DayOfWeek =
|
|
1028
|
+
| "Everyday"
|
|
1029
|
+
| "Monday"
|
|
1030
|
+
| "Tuesday"
|
|
1031
|
+
| "Wednesday"
|
|
1032
|
+
| "Thursday"
|
|
1033
|
+
| "Friday"
|
|
1034
|
+
| "Saturday"
|
|
1035
|
+
| "Sunday";
|
|
1036
|
+
/** Defines values for AssessmentDayOfWeek. */
|
|
1037
|
+
export type AssessmentDayOfWeek =
|
|
914
1038
|
| "Monday"
|
|
915
1039
|
| "Tuesday"
|
|
916
1040
|
| "Wednesday"
|
|
@@ -1060,6 +1184,15 @@ export interface SqlVirtualMachinesListOptionalParams
|
|
|
1060
1184
|
/** Contains response data for the list operation. */
|
|
1061
1185
|
export type SqlVirtualMachinesListResponse = SqlVirtualMachineListResult;
|
|
1062
1186
|
|
|
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
|
+
|
|
1063
1196
|
/** Optional parameters. */
|
|
1064
1197
|
export interface SqlVirtualMachinesRedeployOptionalParams
|
|
1065
1198
|
extends coreClient.OperationOptions {
|
|
@@ -1119,15 +1252,6 @@ export interface SqlVirtualMachinesListByResourceGroupOptionalParams
|
|
|
1119
1252
|
/** Contains response data for the listByResourceGroup operation. */
|
|
1120
1253
|
export type SqlVirtualMachinesListByResourceGroupResponse = SqlVirtualMachineListResult;
|
|
1121
1254
|
|
|
1122
|
-
/** Optional parameters. */
|
|
1123
|
-
export interface SqlVirtualMachinesStartAssessmentOptionalParams
|
|
1124
|
-
extends coreClient.OperationOptions {
|
|
1125
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
1126
|
-
updateIntervalInMs?: number;
|
|
1127
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1128
|
-
resumeFrom?: string;
|
|
1129
|
-
}
|
|
1130
|
-
|
|
1131
1255
|
/** Optional parameters. */
|
|
1132
1256
|
export interface SqlVirtualMachinesListBySqlVmGroupNextOptionalParams
|
|
1133
1257
|
extends coreClient.OperationOptions {}
|
package/src/models/mappers.ts
CHANGED
|
@@ -74,6 +74,29 @@ export const PrivateIPAddress: coreClient.CompositeMapper = {
|
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
+
export const MultiSubnetIpConfiguration: coreClient.CompositeMapper = {
|
|
78
|
+
type: {
|
|
79
|
+
name: "Composite",
|
|
80
|
+
className: "MultiSubnetIpConfiguration",
|
|
81
|
+
modelProperties: {
|
|
82
|
+
privateIpAddress: {
|
|
83
|
+
serializedName: "privateIpAddress",
|
|
84
|
+
type: {
|
|
85
|
+
name: "Composite",
|
|
86
|
+
className: "PrivateIPAddress"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
sqlVirtualMachineInstance: {
|
|
90
|
+
serializedName: "sqlVirtualMachineInstance",
|
|
91
|
+
required: true,
|
|
92
|
+
type: {
|
|
93
|
+
name: "String"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
|
|
77
100
|
export const AgConfiguration: coreClient.CompositeMapper = {
|
|
78
101
|
type: {
|
|
79
102
|
name: "Composite",
|
|
@@ -81,7 +104,6 @@ export const AgConfiguration: coreClient.CompositeMapper = {
|
|
|
81
104
|
modelProperties: {
|
|
82
105
|
replicas: {
|
|
83
106
|
serializedName: "replicas",
|
|
84
|
-
readOnly: true,
|
|
85
107
|
type: {
|
|
86
108
|
name: "Sequence",
|
|
87
109
|
element: {
|
|
@@ -397,6 +419,12 @@ export const WsfcDomainProfile: coreClient.CompositeMapper = {
|
|
|
397
419
|
type: {
|
|
398
420
|
name: "String"
|
|
399
421
|
}
|
|
422
|
+
},
|
|
423
|
+
clusterSubnetType: {
|
|
424
|
+
serializedName: "clusterSubnetType",
|
|
425
|
+
type: {
|
|
426
|
+
name: "String"
|
|
427
|
+
}
|
|
400
428
|
}
|
|
401
429
|
}
|
|
402
430
|
}
|
|
@@ -548,6 +576,7 @@ export const AutoPatchingSettings: coreClient.CompositeMapper = {
|
|
|
548
576
|
type: {
|
|
549
577
|
name: "Enum",
|
|
550
578
|
allowedValues: [
|
|
579
|
+
"Everyday",
|
|
551
580
|
"Monday",
|
|
552
581
|
"Tuesday",
|
|
553
582
|
"Wednesday",
|
|
@@ -879,6 +908,18 @@ export const SQLInstanceSettings: coreClient.CompositeMapper = {
|
|
|
879
908
|
type: {
|
|
880
909
|
name: "Number"
|
|
881
910
|
}
|
|
911
|
+
},
|
|
912
|
+
isLpimEnabled: {
|
|
913
|
+
serializedName: "isLpimEnabled",
|
|
914
|
+
type: {
|
|
915
|
+
name: "Boolean"
|
|
916
|
+
}
|
|
917
|
+
},
|
|
918
|
+
isIfiEnabled: {
|
|
919
|
+
serializedName: "isIfiEnabled",
|
|
920
|
+
type: {
|
|
921
|
+
name: "Boolean"
|
|
922
|
+
}
|
|
882
923
|
}
|
|
883
924
|
}
|
|
884
925
|
}
|
|
@@ -993,6 +1034,18 @@ export const SQLTempDbSettings: coreClient.CompositeMapper = {
|
|
|
993
1034
|
name: "Number"
|
|
994
1035
|
}
|
|
995
1036
|
},
|
|
1037
|
+
persistFolder: {
|
|
1038
|
+
serializedName: "persistFolder",
|
|
1039
|
+
type: {
|
|
1040
|
+
name: "Boolean"
|
|
1041
|
+
}
|
|
1042
|
+
},
|
|
1043
|
+
persistFolderPath: {
|
|
1044
|
+
serializedName: "persistFolderPath",
|
|
1045
|
+
type: {
|
|
1046
|
+
name: "String"
|
|
1047
|
+
}
|
|
1048
|
+
},
|
|
996
1049
|
luns: {
|
|
997
1050
|
serializedName: "luns",
|
|
998
1051
|
type: {
|
|
@@ -1178,6 +1231,18 @@ export const AvailabilityGroupListener: coreClient.CompositeMapper = {
|
|
|
1178
1231
|
}
|
|
1179
1232
|
}
|
|
1180
1233
|
},
|
|
1234
|
+
multiSubnetIpConfigurations: {
|
|
1235
|
+
serializedName: "properties.multiSubnetIpConfigurations",
|
|
1236
|
+
type: {
|
|
1237
|
+
name: "Sequence",
|
|
1238
|
+
element: {
|
|
1239
|
+
type: {
|
|
1240
|
+
name: "Composite",
|
|
1241
|
+
className: "MultiSubnetIpConfiguration"
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1181
1246
|
createDefaultAvailabilityGroupIfNotExist: {
|
|
1182
1247
|
serializedName: "properties.createDefaultAvailabilityGroupIfNotExist",
|
|
1183
1248
|
type: {
|
|
@@ -1316,6 +1381,12 @@ export const SqlVirtualMachine: coreClient.CompositeMapper = {
|
|
|
1316
1381
|
name: "String"
|
|
1317
1382
|
}
|
|
1318
1383
|
},
|
|
1384
|
+
leastPrivilegeMode: {
|
|
1385
|
+
serializedName: "properties.leastPrivilegeMode",
|
|
1386
|
+
type: {
|
|
1387
|
+
name: "String"
|
|
1388
|
+
}
|
|
1389
|
+
},
|
|
1319
1390
|
sqlImageSku: {
|
|
1320
1391
|
serializedName: "properties.sqlImageSku",
|
|
1321
1392
|
type: {
|
|
@@ -1335,6 +1406,12 @@ export const SqlVirtualMachine: coreClient.CompositeMapper = {
|
|
|
1335
1406
|
className: "WsfcDomainCredentials"
|
|
1336
1407
|
}
|
|
1337
1408
|
},
|
|
1409
|
+
wsfcStaticIp: {
|
|
1410
|
+
serializedName: "properties.wsfcStaticIp",
|
|
1411
|
+
type: {
|
|
1412
|
+
name: "String"
|
|
1413
|
+
}
|
|
1414
|
+
},
|
|
1338
1415
|
autoPatchingSettings: {
|
|
1339
1416
|
serializedName: "properties.autoPatchingSettings",
|
|
1340
1417
|
type: {
|
|
@@ -1376,6 +1453,12 @@ export const SqlVirtualMachine: coreClient.CompositeMapper = {
|
|
|
1376
1453
|
name: "Composite",
|
|
1377
1454
|
className: "AssessmentSettings"
|
|
1378
1455
|
}
|
|
1456
|
+
},
|
|
1457
|
+
enableAutomaticUpgrade: {
|
|
1458
|
+
serializedName: "properties.enableAutomaticUpgrade",
|
|
1459
|
+
type: {
|
|
1460
|
+
name: "Boolean"
|
|
1461
|
+
}
|
|
1379
1462
|
}
|
|
1380
1463
|
}
|
|
1381
1464
|
}
|
package/src/models/parameters.ts
CHANGED
|
@@ -100,7 +100,7 @@ export const subscriptionId: OperationURLParameter = {
|
|
|
100
100
|
export const apiVersion: OperationQueryParameter = {
|
|
101
101
|
parameterPath: "apiVersion",
|
|
102
102
|
mapper: {
|
|
103
|
-
defaultValue: "
|
|
103
|
+
defaultValue: "2022-07-01-preview",
|
|
104
104
|
isConstant: true,
|
|
105
105
|
serializedName: "api-version",
|
|
106
106
|
type: {
|