@azure/arm-sqlvirtualmachine 5.0.0-beta.5 → 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 (114) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/dist/index.js +236 -83
  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 +136 -26
  7. package/dist-esm/src/models/index.d.ts.map +1 -1
  8. package/dist-esm/src/models/index.js +70 -0
  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 +78 -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.map +1 -1
  22. package/dist-esm/src/sqlVirtualMachineManagementClient.js +20 -15
  23. package/dist-esm/src/sqlVirtualMachineManagementClient.js.map +1 -1
  24. package/package.json +5 -14
  25. package/review/arm-sqlvirtualmachine.api.md +63 -86
  26. package/src/models/index.ts +142 -28
  27. package/src/models/mappers.ts +83 -1
  28. package/src/models/parameters.ts +1 -1
  29. package/src/operations/sqlVirtualMachines.ts +99 -99
  30. package/src/operationsInterfaces/sqlVirtualMachines.ts +26 -26
  31. package/src/sqlVirtualMachineManagementClient.ts +25 -18
  32. package/tsconfig.json +2 -8
  33. package/types/arm-sqlvirtualmachine.d.ts +150 -35
  34. package/types/tsdoc-metadata.json +1 -1
  35. package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.d.ts +0 -2
  36. package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.d.ts.map +0 -1
  37. package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.js +0 -50
  38. package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.js.map +0 -1
  39. package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.d.ts +0 -2
  40. package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.d.ts.map +0 -1
  41. package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.js +0 -32
  42. package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.js.map +0 -1
  43. package/dist-esm/samples-dev/availabilityGroupListenersGetSample.d.ts +0 -2
  44. package/dist-esm/samples-dev/availabilityGroupListenersGetSample.d.ts.map +0 -1
  45. package/dist-esm/samples-dev/availabilityGroupListenersGetSample.js +0 -32
  46. package/dist-esm/samples-dev/availabilityGroupListenersGetSample.js.map +0 -1
  47. package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.d.ts +0 -2
  48. package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.d.ts.map +0 -1
  49. package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js +0 -45
  50. package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js.map +0 -1
  51. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  52. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  53. package/dist-esm/samples-dev/operationsListSample.js +0 -43
  54. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  55. package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.d.ts +0 -2
  56. package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.d.ts.map +0 -1
  57. package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.js +0 -46
  58. package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.js.map +0 -1
  59. package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.d.ts +0 -2
  60. package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.d.ts.map +0 -1
  61. package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.js +0 -31
  62. package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.js.map +0 -1
  63. package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.d.ts +0 -2
  64. package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.d.ts.map +0 -1
  65. package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.js +0 -31
  66. package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.js.map +0 -1
  67. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.d.ts +0 -2
  68. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.d.ts.map +0 -1
  69. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js +0 -44
  70. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js.map +0 -1
  71. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.d.ts +0 -2
  72. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.d.ts.map +0 -1
  73. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js +0 -43
  74. package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js.map +0 -1
  75. package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.d.ts +0 -2
  76. package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.d.ts.map +0 -1
  77. package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.js +0 -32
  78. package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.js.map +0 -1
  79. package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.d.ts +0 -2
  80. package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.d.ts.map +0 -1
  81. package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.js +0 -269
  82. package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.js.map +0 -1
  83. package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.d.ts +0 -2
  84. package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.d.ts.map +0 -1
  85. package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.js +0 -31
  86. package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.js.map +0 -1
  87. package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.d.ts +0 -2
  88. package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.d.ts.map +0 -1
  89. package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.js +0 -31
  90. package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.js.map +0 -1
  91. package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.d.ts +0 -2
  92. package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.d.ts.map +0 -1
  93. package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js +0 -44
  94. package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js.map +0 -1
  95. package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.d.ts +0 -2
  96. package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.d.ts.map +0 -1
  97. package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js +0 -45
  98. package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js.map +0 -1
  99. package/dist-esm/samples-dev/sqlVirtualMachinesListSample.d.ts +0 -2
  100. package/dist-esm/samples-dev/sqlVirtualMachinesListSample.d.ts.map +0 -1
  101. package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js +0 -43
  102. package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js.map +0 -1
  103. package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.d.ts +0 -2
  104. package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.d.ts.map +0 -1
  105. package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.js +0 -31
  106. package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.js.map +0 -1
  107. package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.d.ts +0 -2
  108. package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.d.ts.map +0 -1
  109. package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js +0 -31
  110. package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js.map +0 -1
  111. package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.d.ts +0 -2
  112. package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.d.ts.map +0 -1
  113. package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.js +0 -32
  114. package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.js.map +0 -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. */
@@ -106,7 +103,7 @@ export declare interface AutoPatchingSettings {
106
103
  }
107
104
 
108
105
  /** A SQL Server availability group listener. */
109
- export declare type AvailabilityGroupListener = ProxyResource & {
106
+ export declare interface AvailabilityGroupListener extends ProxyResource {
110
107
  /**
111
108
  * Metadata pertaining to creation and last modification of the resource.
112
109
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -121,13 +118,15 @@ export declare type AvailabilityGroupListener = ProxyResource & {
121
118
  availabilityGroupName?: string;
122
119
  /** List of load balancer configurations for an availability group listener. */
123
120
  loadBalancerConfigurations?: LoadBalancerConfiguration[];
121
+ /** List of multi subnet IP configurations for an AG listener. */
122
+ multiSubnetIpConfigurations?: MultiSubnetIpConfiguration[];
124
123
  /** Create a default availability group if it does not exist. */
125
124
  createDefaultAvailabilityGroupIfNotExist?: boolean;
126
125
  /** Listener port. */
127
126
  port?: number;
128
127
  /** Availability Group configuration. */
129
128
  availabilityGroupConfiguration?: AgConfiguration;
130
- };
129
+ }
131
130
 
132
131
  /** A list of availability group listeners. */
133
132
  export declare interface AvailabilityGroupListenerListResult {
@@ -272,6 +271,16 @@ export declare type ClusterConfiguration = string;
272
271
  */
273
272
  export declare type ClusterManagerType = string;
274
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
+
275
284
  /**
276
285
  * Defines values for Commit. \
277
286
  * {@link KnownCommit} can be used interchangeably with Commit,
@@ -365,144 +374,223 @@ export declare interface KeyVaultCredentialSettings {
365
374
 
366
375
  /** Known values of {@link AutoBackupDaysOfWeek} that the service accepts. */
367
376
  export declare enum KnownAutoBackupDaysOfWeek {
377
+ /** Monday */
368
378
  Monday = "Monday",
379
+ /** Tuesday */
369
380
  Tuesday = "Tuesday",
381
+ /** Wednesday */
370
382
  Wednesday = "Wednesday",
383
+ /** Thursday */
371
384
  Thursday = "Thursday",
385
+ /** Friday */
372
386
  Friday = "Friday",
387
+ /** Saturday */
373
388
  Saturday = "Saturday",
389
+ /** Sunday */
374
390
  Sunday = "Sunday"
375
391
  }
376
392
 
377
393
  /** Known values of {@link BackupScheduleType} that the service accepts. */
378
394
  export declare enum KnownBackupScheduleType {
395
+ /** Manual */
379
396
  Manual = "Manual",
397
+ /** Automated */
380
398
  Automated = "Automated"
381
399
  }
382
400
 
383
401
  /** Known values of {@link ClusterConfiguration} that the service accepts. */
384
402
  export declare enum KnownClusterConfiguration {
403
+ /** Domainful */
385
404
  Domainful = "Domainful"
386
405
  }
387
406
 
388
407
  /** Known values of {@link ClusterManagerType} that the service accepts. */
389
408
  export declare enum KnownClusterManagerType {
409
+ /** Wsfc */
390
410
  Wsfc = "WSFC"
391
411
  }
392
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
+
393
421
  /** Known values of {@link Commit} that the service accepts. */
394
422
  export declare enum KnownCommit {
423
+ /** SynchronousCommit */
395
424
  SynchronousCommit = "SYNCHRONOUS_COMMIT",
425
+ /** AsynchronousCommit */
396
426
  AsynchronousCommit = "ASYNCHRONOUS_COMMIT"
397
427
  }
398
428
 
399
429
  /** Known values of {@link ConnectivityType} that the service accepts. */
400
430
  export declare enum KnownConnectivityType {
431
+ /** Local */
401
432
  Local = "LOCAL",
433
+ /** Private */
402
434
  Private = "PRIVATE",
435
+ /** Public */
403
436
  Public = "PUBLIC"
404
437
  }
405
438
 
406
439
  /** Known values of {@link CreatedByType} that the service accepts. */
407
440
  export declare enum KnownCreatedByType {
441
+ /** User */
408
442
  User = "User",
443
+ /** Application */
409
444
  Application = "Application",
445
+ /** ManagedIdentity */
410
446
  ManagedIdentity = "ManagedIdentity",
447
+ /** Key */
411
448
  Key = "Key"
412
449
  }
413
450
 
414
451
  /** Known values of {@link DiskConfigurationType} that the service accepts. */
415
452
  export declare enum KnownDiskConfigurationType {
453
+ /** NEW */
416
454
  NEW = "NEW",
455
+ /** Extend */
417
456
  Extend = "EXTEND",
457
+ /** ADD */
418
458
  ADD = "ADD"
419
459
  }
420
460
 
421
461
  /** Known values of {@link Failover} that the service accepts. */
422
462
  export declare enum KnownFailover {
463
+ /** Automatic */
423
464
  Automatic = "AUTOMATIC",
465
+ /** Manual */
424
466
  Manual = "MANUAL"
425
467
  }
426
468
 
427
469
  /** Known values of {@link FullBackupFrequencyType} that the service accepts. */
428
470
  export declare enum KnownFullBackupFrequencyType {
471
+ /** Daily */
429
472
  Daily = "Daily",
473
+ /** Weekly */
430
474
  Weekly = "Weekly"
431
475
  }
432
476
 
433
477
  /** Known values of {@link IdentityType} that the service accepts. */
434
478
  export declare enum KnownIdentityType {
479
+ /** None */
435
480
  None = "None",
481
+ /** SystemAssigned */
436
482
  SystemAssigned = "SystemAssigned"
437
483
  }
438
484
 
485
+ /** Known values of {@link LeastPrivilegeMode} that the service accepts. */
486
+ export declare enum KnownLeastPrivilegeMode {
487
+ /** Enabled */
488
+ Enabled = "Enabled"
489
+ }
490
+
439
491
  /** Known values of {@link OperationOrigin} that the service accepts. */
440
492
  export declare enum KnownOperationOrigin {
493
+ /** User */
441
494
  User = "user",
495
+ /** System */
442
496
  System = "system"
443
497
  }
444
498
 
445
499
  /** Known values of {@link ReadableSecondary} that the service accepts. */
446
500
  export declare enum KnownReadableSecondary {
501
+ /** NO */
447
502
  NO = "NO",
503
+ /** ALL */
448
504
  ALL = "ALL",
505
+ /** ReadOnly */
449
506
  ReadOnly = "READ_ONLY"
450
507
  }
451
508
 
452
509
  /** Known values of {@link Role} that the service accepts. */
453
510
  export declare enum KnownRole {
511
+ /** Primary */
454
512
  Primary = "PRIMARY",
513
+ /** Secondary */
455
514
  Secondary = "SECONDARY"
456
515
  }
457
516
 
458
517
  /** Known values of {@link ScaleType} that the service accepts. */
459
518
  export declare enum KnownScaleType {
519
+ /** HA */
460
520
  HA = "HA"
461
521
  }
462
522
 
463
523
  /** Known values of {@link SqlImageSku} that the service accepts. */
464
524
  export declare enum KnownSqlImageSku {
525
+ /** Developer */
465
526
  Developer = "Developer",
527
+ /** Express */
466
528
  Express = "Express",
529
+ /** Standard */
467
530
  Standard = "Standard",
531
+ /** Enterprise */
468
532
  Enterprise = "Enterprise",
533
+ /** Web */
469
534
  Web = "Web"
470
535
  }
471
536
 
472
537
  /** Known values of {@link SqlManagementMode} that the service accepts. */
473
538
  export declare enum KnownSqlManagementMode {
539
+ /** Full */
474
540
  Full = "Full",
541
+ /** LightWeight */
475
542
  LightWeight = "LightWeight",
543
+ /** NoAgent */
476
544
  NoAgent = "NoAgent"
477
545
  }
478
546
 
479
547
  /** Known values of {@link SqlServerLicenseType} that the service accepts. */
480
548
  export declare enum KnownSqlServerLicenseType {
549
+ /** Payg */
481
550
  Payg = "PAYG",
551
+ /** Ahub */
482
552
  Ahub = "AHUB",
553
+ /** DR */
483
554
  DR = "DR"
484
555
  }
485
556
 
486
557
  /** Known values of {@link SqlVmGroupImageSku} that the service accepts. */
487
558
  export declare enum KnownSqlVmGroupImageSku {
559
+ /** Developer */
488
560
  Developer = "Developer",
561
+ /** Enterprise */
489
562
  Enterprise = "Enterprise"
490
563
  }
491
564
 
492
565
  /** Known values of {@link SqlWorkloadType} that the service accepts. */
493
566
  export declare enum KnownSqlWorkloadType {
567
+ /** General */
494
568
  General = "GENERAL",
569
+ /** Oltp */
495
570
  Oltp = "OLTP",
571
+ /** DW */
496
572
  DW = "DW"
497
573
  }
498
574
 
499
575
  /** Known values of {@link StorageWorkloadType} that the service accepts. */
500
576
  export declare enum KnownStorageWorkloadType {
577
+ /** General */
501
578
  General = "GENERAL",
579
+ /** Oltp */
502
580
  Oltp = "OLTP",
581
+ /** DW */
503
582
  DW = "DW"
504
583
  }
505
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
+
506
594
  /** A load balancer configuration for an availability group listener. */
507
595
  export declare interface LoadBalancerConfiguration {
508
596
  /** Private IP address. */
@@ -517,6 +605,14 @@ export declare interface LoadBalancerConfiguration {
517
605
  sqlVirtualMachineInstances?: string[];
518
606
  }
519
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
+
520
616
  /** SQL REST API operation definition. */
521
617
  export declare interface Operation {
522
618
  /**
@@ -623,7 +719,8 @@ export declare interface PrivateIPAddress {
623
719
  }
624
720
 
625
721
  /** ARM proxy resource. */
626
- export declare type ProxyResource = Resource;
722
+ export declare interface ProxyResource extends Resource {
723
+ }
627
724
 
628
725
  /**
629
726
  * Defines values for ReadableSecondary. \
@@ -690,6 +787,7 @@ export declare type Role = string;
690
787
  */
691
788
  export declare type ScaleType = string;
692
789
 
790
+ /** Set assessment schedule for SQL Server. */
693
791
  export declare interface Schedule {
694
792
  /** Enable or disable assessment schedule on SQL virtual machine. */
695
793
  enable?: boolean;
@@ -754,6 +852,10 @@ export declare interface SQLInstanceSettings {
754
852
  minServerMemoryMB?: number;
755
853
  /** SQL Server maximum memory. */
756
854
  maxServerMemoryMB?: number;
855
+ /** SQL Server LPIM. */
856
+ isLpimEnabled?: boolean;
857
+ /** SQL Server IFI. */
858
+ isIfiEnabled?: boolean;
757
859
  }
758
860
 
759
861
  /**
@@ -796,17 +898,22 @@ export declare interface SqlStorageUpdateSettings {
796
898
  diskConfigurationType?: DiskConfigurationType;
797
899
  }
798
900
 
901
+ /** Set tempDb storage settings for SQL Server. */
799
902
  export declare interface SQLTempDbSettings {
800
- /** SQL Server default file size */
903
+ /** SQL Server tempdb data file size */
801
904
  dataFileSize?: number;
802
- /** SQL Server default file autoGrowth size */
905
+ /** SQL Server tempdb data file autoGrowth size */
803
906
  dataGrowth?: number;
804
- /** SQL Server default file size */
907
+ /** SQL Server tempdb log file size */
805
908
  logFileSize?: number;
806
- /** SQL Server default file autoGrowth size */
909
+ /** SQL Server tempdb log file autoGrowth size */
807
910
  logGrowth?: number;
808
- /** SQL Server default file count */
911
+ /** SQL Server tempdb data file count */
809
912
  dataFileCount?: number;
913
+ /** SQL Server tempdb persist folder choice */
914
+ persistFolder?: boolean;
915
+ /** SQL Server tempdb persist folder location */
916
+ persistFolderPath?: string;
810
917
  /** Logical Unit Numbers for the disks. */
811
918
  luns?: number[];
812
919
  /** SQL Server default file path */
@@ -814,7 +921,7 @@ export declare interface SQLTempDbSettings {
814
921
  }
815
922
 
816
923
  /** A SQL virtual machine. */
817
- export declare type SqlVirtualMachine = TrackedResource & {
924
+ export declare interface SqlVirtualMachine extends TrackedResource {
818
925
  /** Azure Active Directory identity of the server. */
819
926
  identity?: ResourceIdentity;
820
927
  /**
@@ -835,12 +942,16 @@ export declare type SqlVirtualMachine = TrackedResource & {
835
942
  sqlServerLicenseType?: SqlServerLicenseType;
836
943
  /** SQL Server Management type. */
837
944
  sqlManagement?: SqlManagementMode;
945
+ /** SQL IaaS Agent least privilege mode. */
946
+ leastPrivilegeMode?: LeastPrivilegeMode;
838
947
  /** SQL Server edition type. */
839
948
  sqlImageSku?: SqlImageSku;
840
949
  /** ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part of. */
841
950
  sqlVirtualMachineGroupResourceId?: string;
842
951
  /** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
843
952
  wsfcDomainCredentials?: WsfcDomainCredentials;
953
+ /** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
954
+ wsfcStaticIp?: string;
844
955
  /** Auto patching settings for applying critical security updates to SQL virtual machine. */
845
956
  autoPatchingSettings?: AutoPatchingSettings;
846
957
  /** Auto backup settings for SQL Server. */
@@ -853,10 +964,12 @@ export declare type SqlVirtualMachine = TrackedResource & {
853
964
  storageConfigurationSettings?: StorageConfigurationSettings;
854
965
  /** Assessment Settings. */
855
966
  assessmentSettings?: AssessmentSettings;
856
- };
967
+ /** Enable automatic upgrade of Sql IaaS extension Agent. */
968
+ enableAutomaticUpgrade?: boolean;
969
+ }
857
970
 
858
971
  /** A SQL virtual machine group. */
859
- export declare type SqlVirtualMachineGroup = TrackedResource & {
972
+ export declare interface SqlVirtualMachineGroup extends TrackedResource {
860
973
  /**
861
974
  * Metadata pertaining to creation and last modification of the resource.
862
975
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -888,7 +1001,7 @@ export declare type SqlVirtualMachineGroup = TrackedResource & {
888
1001
  readonly clusterConfiguration?: ClusterConfiguration;
889
1002
  /** Cluster Active Directory domain profile. */
890
1003
  wsfcDomainProfile?: WsfcDomainProfile;
891
- };
1004
+ }
892
1005
 
893
1006
  /** A list of SQL virtual machine groups. */
894
1007
  export declare interface SqlVirtualMachineGroupListResult {
@@ -1118,6 +1231,22 @@ export declare interface SqlVirtualMachines {
1118
1231
  * @param options The options parameters.
1119
1232
  */
1120
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>;
1121
1250
  /**
1122
1251
  * Uninstalls and reinstalls the SQL Iaas Extension.
1123
1252
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
@@ -1194,22 +1323,6 @@ export declare interface SqlVirtualMachines {
1194
1323
  * @param options The options parameters.
1195
1324
  */
1196
1325
  beginUpdateAndWait(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachineUpdate, options?: SqlVirtualMachinesUpdateOptionalParams): Promise<SqlVirtualMachinesUpdateResponse>;
1197
- /**
1198
- * Starts Assessment on SQL virtual machine.
1199
- * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
1200
- * value from the Azure Resource Manager API or the portal.
1201
- * @param sqlVirtualMachineName Name of the SQL virtual machine.
1202
- * @param options The options parameters.
1203
- */
1204
- beginStartAssessment(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesStartAssessmentOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1205
- /**
1206
- * Starts Assessment on SQL virtual machine.
1207
- * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
1208
- * value from the Azure Resource Manager API or the portal.
1209
- * @param sqlVirtualMachineName Name of the SQL virtual machine.
1210
- * @param options The options parameters.
1211
- */
1212
- beginStartAssessmentAndWait(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesStartAssessmentOptionalParams): Promise<void>;
1213
1326
  }
1214
1327
 
1215
1328
  /** Optional parameters. */
@@ -1388,14 +1501,14 @@ export declare interface SystemData {
1388
1501
  }
1389
1502
 
1390
1503
  /** ARM tracked top level resource. */
1391
- export declare type TrackedResource = Resource & {
1504
+ export declare interface TrackedResource extends Resource {
1392
1505
  /** Resource location. */
1393
1506
  location: string;
1394
1507
  /** Resource tags. */
1395
1508
  tags?: {
1396
1509
  [propertyName: string]: string;
1397
1510
  };
1398
- };
1511
+ }
1399
1512
 
1400
1513
  /** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
1401
1514
  export declare interface WsfcDomainCredentials {
@@ -1425,6 +1538,8 @@ export declare interface WsfcDomainProfile {
1425
1538
  storageAccountUrl?: string;
1426
1539
  /** Primary key of the witness storage account. */
1427
1540
  storageAccountPrimaryKey?: string;
1541
+ /** Cluster subnet type. */
1542
+ clusterSubnetType?: ClusterSubnetType;
1428
1543
  }
1429
1544
 
1430
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
  }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=availabilityGroupListenersCreateOrUpdateSample.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"availabilityGroupListenersCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/availabilityGroupListenersCreateOrUpdateSample.ts"],"names":[],"mappings":""}
@@ -1,50 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- import { SqlVirtualMachineManagementClient } from "@azure/arm-sqlvirtualmachine";
12
- import { DefaultAzureCredential } from "@azure/identity";
13
- /**
14
- * This sample demonstrates how to Creates or updates an availability group listener.
15
- *
16
- * @summary Creates or updates an availability group listener.
17
- * x-ms-original-file: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2021-11-01-preview/examples/CreateOrUpdateAvailabilityGroupListener.json
18
- */
19
- function createsOrUpdatesAnAvailabilityGroupListener() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-1111-2222-3333-444444444444";
22
- const resourceGroupName = "testrg";
23
- const sqlVirtualMachineGroupName = "testvmgroup";
24
- const availabilityGroupListenerName = "agl-test";
25
- const parameters = {
26
- availabilityGroupName: "ag-test",
27
- loadBalancerConfigurations: [
28
- {
29
- loadBalancerResourceId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb-test",
30
- privateIpAddress: {
31
- ipAddress: "10.1.0.112",
32
- subnetResourceId: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default"
33
- },
34
- probePort: 59983,
35
- sqlVirtualMachineInstances: [
36
- "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm2",
37
- "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/testvm3"
38
- ]
39
- }
40
- ],
41
- port: 1433
42
- };
43
- const credential = new DefaultAzureCredential();
44
- const client = new SqlVirtualMachineManagementClient(credential, subscriptionId);
45
- const result = yield client.availabilityGroupListeners.beginCreateOrUpdateAndWait(resourceGroupName, sqlVirtualMachineGroupName, availabilityGroupListenerName, parameters);
46
- console.log(result);
47
- });
48
- }
49
- createsOrUpdatesAnAvailabilityGroupListener().catch(console.error);
50
- //# sourceMappingURL=availabilityGroupListenersCreateOrUpdateSample.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"availabilityGroupListenersCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/availabilityGroupListenersCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,iCAAiC,EAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,2CAA2C;;QACxD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,0BAA0B,GAAG,aAAa,CAAC;QACjD,MAAM,6BAA6B,GAAG,UAAU,CAAC;QACjD,MAAM,UAAU,GAA8B;YAC5C,qBAAqB,EAAE,SAAS;YAChC,0BAA0B,EAAE;gBAC1B;oBACE,sBAAsB,EACpB,6HAA6H;oBAC/H,gBAAgB,EAAE;wBAChB,SAAS,EAAE,YAAY;wBACvB,gBAAgB,EACd,iJAAiJ;qBACpJ;oBACD,SAAS,EAAE,KAAK;oBAChB,0BAA0B,EAAE;wBAC1B,4IAA4I;wBAC5I,4IAA4I;qBAC7I;iBACF;aACF;YACD,IAAI,EAAE,IAAI;SACX,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,0BAA0B,CAC/E,iBAAiB,EACjB,0BAA0B,EAC1B,6BAA6B,EAC7B,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2CAA2C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=availabilityGroupListenersDeleteSample.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"availabilityGroupListenersDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/availabilityGroupListenersDeleteSample.ts"],"names":[],"mappings":""}
@@ -1,32 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- import { SqlVirtualMachineManagementClient } from "@azure/arm-sqlvirtualmachine";
12
- import { DefaultAzureCredential } from "@azure/identity";
13
- /**
14
- * This sample demonstrates how to Deletes an availability group listener.
15
- *
16
- * @summary Deletes an availability group listener.
17
- * x-ms-original-file: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2021-11-01-preview/examples/DeleteAvailabilityGroupListener.json
18
- */
19
- function deletesAnAvailabilityGroupListener() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-1111-2222-3333-444444444444";
22
- const resourceGroupName = "testrg";
23
- const sqlVirtualMachineGroupName = "testvmgroup";
24
- const availabilityGroupListenerName = "agl-test";
25
- const credential = new DefaultAzureCredential();
26
- const client = new SqlVirtualMachineManagementClient(credential, subscriptionId);
27
- const result = yield client.availabilityGroupListeners.beginDeleteAndWait(resourceGroupName, sqlVirtualMachineGroupName, availabilityGroupListenerName);
28
- console.log(result);
29
- });
30
- }
31
- deletesAnAvailabilityGroupListener().catch(console.error);
32
- //# sourceMappingURL=availabilityGroupListenersDeleteSample.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"availabilityGroupListenersDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/availabilityGroupListenersDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,kCAAkC;;QAC/C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,0BAA0B,GAAG,aAAa,CAAC;QACjD,MAAM,6BAA6B,GAAG,UAAU,CAAC;QACjD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,kBAAkB,CACvE,iBAAiB,EACjB,0BAA0B,EAC1B,6BAA6B,CAC9B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,kCAAkC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=availabilityGroupListenersGetSample.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"availabilityGroupListenersGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/availabilityGroupListenersGetSample.ts"],"names":[],"mappings":""}
@@ -1,32 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __awaiter } from "tslib";
9
- // Copyright (c) Microsoft Corporation.
10
- // Licensed under the MIT License.
11
- import { SqlVirtualMachineManagementClient } from "@azure/arm-sqlvirtualmachine";
12
- import { DefaultAzureCredential } from "@azure/identity";
13
- /**
14
- * This sample demonstrates how to Gets an availability group listener.
15
- *
16
- * @summary Gets an availability group listener.
17
- * x-ms-original-file: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/preview/2021-11-01-preview/examples/GetAvailabilityGroupListener.json
18
- */
19
- function getsAnAvailabilityGroupListener() {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- const subscriptionId = "00000000-1111-2222-3333-444444444444";
22
- const resourceGroupName = "testrg";
23
- const sqlVirtualMachineGroupName = "testvmgroup";
24
- const availabilityGroupListenerName = "agl-test";
25
- const credential = new DefaultAzureCredential();
26
- const client = new SqlVirtualMachineManagementClient(credential, subscriptionId);
27
- const result = yield client.availabilityGroupListeners.get(resourceGroupName, sqlVirtualMachineGroupName, availabilityGroupListenerName);
28
- console.log(result);
29
- });
30
- }
31
- getsAnAvailabilityGroupListener().catch(console.error);
32
- //# sourceMappingURL=availabilityGroupListenersGetSample.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"availabilityGroupListenersGetSample.js","sourceRoot":"","sources":["../../samples-dev/availabilityGroupListenersGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,+BAA+B;;QAC5C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,0BAA0B,GAAG,aAAa,CAAC;QACjD,MAAM,6BAA6B,GAAG,UAAU,CAAC;QACjD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,GAAG,CACxD,iBAAiB,EACjB,0BAA0B,EAC1B,6BAA6B,CAC9B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,+BAA+B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=availabilityGroupListenersListByGroupSample.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"availabilityGroupListenersListByGroupSample.d.ts","sourceRoot":"","sources":["../../samples-dev/availabilityGroupListenersListByGroupSample.ts"],"names":[],"mappings":""}