@azure/arm-sqlvirtualmachine 5.0.0-beta.5 → 5.0.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +397 -144
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.js +53 -5
- package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.js +12 -4
- package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/availabilityGroupListenersGetSample.js +12 -4
- package/dist-esm/samples-dev/availabilityGroupListenersGetSample.js.map +1 -1
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js +12 -4
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +11 -3
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.js +13 -4
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js +11 -3
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.js +43 -25
- package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js +11 -3
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +136 -26
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +70 -0
- 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 +78 -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/availabilityGroupListeners.d.ts.map +1 -1
- package/dist-esm/src/operations/availabilityGroupListeners.js +19 -8
- package/dist-esm/src/operations/availabilityGroupListeners.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +19 -8
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/sqlVirtualMachineGroups.js +37 -16
- package/dist-esm/src/operations/sqlVirtualMachineGroups.js.map +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 +121 -90
- 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/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts.map +1 -1
- package/dist-esm/src/sqlVirtualMachineManagementClient.js +22 -20
- package/dist-esm/src/sqlVirtualMachineManagementClient.js.map +1 -1
- package/package.json +9 -8
- package/review/arm-sqlvirtualmachine.api.md +66 -86
- package/src/index.ts +1 -0
- package/src/models/index.ts +142 -28
- package/src/models/mappers.ts +83 -1
- package/src/models/parameters.ts +1 -1
- package/src/operations/availabilityGroupListeners.ts +27 -14
- package/src/operations/operations.ts +21 -9
- package/src/operations/sqlVirtualMachineGroups.ts +46 -19
- package/src/operations/sqlVirtualMachines.ts +170 -131
- package/src/operationsInterfaces/sqlVirtualMachines.ts +26 -26
- package/src/pagingHelper.ts +39 -0
- package/src/sqlVirtualMachineManagementClient.ts +28 -22
- package/types/arm-sqlvirtualmachine.d.ts +159 -35
- 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
|
-
|
|
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
|
|
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,
|
|
@@ -339,6 +348,15 @@ export declare type Failover = string;
|
|
|
339
348
|
*/
|
|
340
349
|
export declare type FullBackupFrequencyType = string;
|
|
341
350
|
|
|
351
|
+
/**
|
|
352
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
353
|
+
* returns a continuation token that can be used to begin paging from
|
|
354
|
+
* that point later.
|
|
355
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
356
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
357
|
+
*/
|
|
358
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
359
|
+
|
|
342
360
|
/**
|
|
343
361
|
* Defines values for IdentityType. \
|
|
344
362
|
* {@link KnownIdentityType} can be used interchangeably with IdentityType,
|
|
@@ -365,144 +383,223 @@ export declare interface KeyVaultCredentialSettings {
|
|
|
365
383
|
|
|
366
384
|
/** Known values of {@link AutoBackupDaysOfWeek} that the service accepts. */
|
|
367
385
|
export declare enum KnownAutoBackupDaysOfWeek {
|
|
386
|
+
/** Monday */
|
|
368
387
|
Monday = "Monday",
|
|
388
|
+
/** Tuesday */
|
|
369
389
|
Tuesday = "Tuesday",
|
|
390
|
+
/** Wednesday */
|
|
370
391
|
Wednesday = "Wednesday",
|
|
392
|
+
/** Thursday */
|
|
371
393
|
Thursday = "Thursday",
|
|
394
|
+
/** Friday */
|
|
372
395
|
Friday = "Friday",
|
|
396
|
+
/** Saturday */
|
|
373
397
|
Saturday = "Saturday",
|
|
398
|
+
/** Sunday */
|
|
374
399
|
Sunday = "Sunday"
|
|
375
400
|
}
|
|
376
401
|
|
|
377
402
|
/** Known values of {@link BackupScheduleType} that the service accepts. */
|
|
378
403
|
export declare enum KnownBackupScheduleType {
|
|
404
|
+
/** Manual */
|
|
379
405
|
Manual = "Manual",
|
|
406
|
+
/** Automated */
|
|
380
407
|
Automated = "Automated"
|
|
381
408
|
}
|
|
382
409
|
|
|
383
410
|
/** Known values of {@link ClusterConfiguration} that the service accepts. */
|
|
384
411
|
export declare enum KnownClusterConfiguration {
|
|
412
|
+
/** Domainful */
|
|
385
413
|
Domainful = "Domainful"
|
|
386
414
|
}
|
|
387
415
|
|
|
388
416
|
/** Known values of {@link ClusterManagerType} that the service accepts. */
|
|
389
417
|
export declare enum KnownClusterManagerType {
|
|
418
|
+
/** Wsfc */
|
|
390
419
|
Wsfc = "WSFC"
|
|
391
420
|
}
|
|
392
421
|
|
|
422
|
+
/** Known values of {@link ClusterSubnetType} that the service accepts. */
|
|
423
|
+
export declare enum KnownClusterSubnetType {
|
|
424
|
+
/** SingleSubnet */
|
|
425
|
+
SingleSubnet = "SingleSubnet",
|
|
426
|
+
/** MultiSubnet */
|
|
427
|
+
MultiSubnet = "MultiSubnet"
|
|
428
|
+
}
|
|
429
|
+
|
|
393
430
|
/** Known values of {@link Commit} that the service accepts. */
|
|
394
431
|
export declare enum KnownCommit {
|
|
432
|
+
/** SynchronousCommit */
|
|
395
433
|
SynchronousCommit = "SYNCHRONOUS_COMMIT",
|
|
434
|
+
/** AsynchronousCommit */
|
|
396
435
|
AsynchronousCommit = "ASYNCHRONOUS_COMMIT"
|
|
397
436
|
}
|
|
398
437
|
|
|
399
438
|
/** Known values of {@link ConnectivityType} that the service accepts. */
|
|
400
439
|
export declare enum KnownConnectivityType {
|
|
440
|
+
/** Local */
|
|
401
441
|
Local = "LOCAL",
|
|
442
|
+
/** Private */
|
|
402
443
|
Private = "PRIVATE",
|
|
444
|
+
/** Public */
|
|
403
445
|
Public = "PUBLIC"
|
|
404
446
|
}
|
|
405
447
|
|
|
406
448
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
407
449
|
export declare enum KnownCreatedByType {
|
|
450
|
+
/** User */
|
|
408
451
|
User = "User",
|
|
452
|
+
/** Application */
|
|
409
453
|
Application = "Application",
|
|
454
|
+
/** ManagedIdentity */
|
|
410
455
|
ManagedIdentity = "ManagedIdentity",
|
|
456
|
+
/** Key */
|
|
411
457
|
Key = "Key"
|
|
412
458
|
}
|
|
413
459
|
|
|
414
460
|
/** Known values of {@link DiskConfigurationType} that the service accepts. */
|
|
415
461
|
export declare enum KnownDiskConfigurationType {
|
|
462
|
+
/** NEW */
|
|
416
463
|
NEW = "NEW",
|
|
464
|
+
/** Extend */
|
|
417
465
|
Extend = "EXTEND",
|
|
466
|
+
/** ADD */
|
|
418
467
|
ADD = "ADD"
|
|
419
468
|
}
|
|
420
469
|
|
|
421
470
|
/** Known values of {@link Failover} that the service accepts. */
|
|
422
471
|
export declare enum KnownFailover {
|
|
472
|
+
/** Automatic */
|
|
423
473
|
Automatic = "AUTOMATIC",
|
|
474
|
+
/** Manual */
|
|
424
475
|
Manual = "MANUAL"
|
|
425
476
|
}
|
|
426
477
|
|
|
427
478
|
/** Known values of {@link FullBackupFrequencyType} that the service accepts. */
|
|
428
479
|
export declare enum KnownFullBackupFrequencyType {
|
|
480
|
+
/** Daily */
|
|
429
481
|
Daily = "Daily",
|
|
482
|
+
/** Weekly */
|
|
430
483
|
Weekly = "Weekly"
|
|
431
484
|
}
|
|
432
485
|
|
|
433
486
|
/** Known values of {@link IdentityType} that the service accepts. */
|
|
434
487
|
export declare enum KnownIdentityType {
|
|
488
|
+
/** None */
|
|
435
489
|
None = "None",
|
|
490
|
+
/** SystemAssigned */
|
|
436
491
|
SystemAssigned = "SystemAssigned"
|
|
437
492
|
}
|
|
438
493
|
|
|
494
|
+
/** Known values of {@link LeastPrivilegeMode} that the service accepts. */
|
|
495
|
+
export declare enum KnownLeastPrivilegeMode {
|
|
496
|
+
/** Enabled */
|
|
497
|
+
Enabled = "Enabled"
|
|
498
|
+
}
|
|
499
|
+
|
|
439
500
|
/** Known values of {@link OperationOrigin} that the service accepts. */
|
|
440
501
|
export declare enum KnownOperationOrigin {
|
|
502
|
+
/** User */
|
|
441
503
|
User = "user",
|
|
504
|
+
/** System */
|
|
442
505
|
System = "system"
|
|
443
506
|
}
|
|
444
507
|
|
|
445
508
|
/** Known values of {@link ReadableSecondary} that the service accepts. */
|
|
446
509
|
export declare enum KnownReadableSecondary {
|
|
510
|
+
/** NO */
|
|
447
511
|
NO = "NO",
|
|
512
|
+
/** ALL */
|
|
448
513
|
ALL = "ALL",
|
|
514
|
+
/** ReadOnly */
|
|
449
515
|
ReadOnly = "READ_ONLY"
|
|
450
516
|
}
|
|
451
517
|
|
|
452
518
|
/** Known values of {@link Role} that the service accepts. */
|
|
453
519
|
export declare enum KnownRole {
|
|
520
|
+
/** Primary */
|
|
454
521
|
Primary = "PRIMARY",
|
|
522
|
+
/** Secondary */
|
|
455
523
|
Secondary = "SECONDARY"
|
|
456
524
|
}
|
|
457
525
|
|
|
458
526
|
/** Known values of {@link ScaleType} that the service accepts. */
|
|
459
527
|
export declare enum KnownScaleType {
|
|
528
|
+
/** HA */
|
|
460
529
|
HA = "HA"
|
|
461
530
|
}
|
|
462
531
|
|
|
463
532
|
/** Known values of {@link SqlImageSku} that the service accepts. */
|
|
464
533
|
export declare enum KnownSqlImageSku {
|
|
534
|
+
/** Developer */
|
|
465
535
|
Developer = "Developer",
|
|
536
|
+
/** Express */
|
|
466
537
|
Express = "Express",
|
|
538
|
+
/** Standard */
|
|
467
539
|
Standard = "Standard",
|
|
540
|
+
/** Enterprise */
|
|
468
541
|
Enterprise = "Enterprise",
|
|
542
|
+
/** Web */
|
|
469
543
|
Web = "Web"
|
|
470
544
|
}
|
|
471
545
|
|
|
472
546
|
/** Known values of {@link SqlManagementMode} that the service accepts. */
|
|
473
547
|
export declare enum KnownSqlManagementMode {
|
|
548
|
+
/** Full */
|
|
474
549
|
Full = "Full",
|
|
550
|
+
/** LightWeight */
|
|
475
551
|
LightWeight = "LightWeight",
|
|
552
|
+
/** NoAgent */
|
|
476
553
|
NoAgent = "NoAgent"
|
|
477
554
|
}
|
|
478
555
|
|
|
479
556
|
/** Known values of {@link SqlServerLicenseType} that the service accepts. */
|
|
480
557
|
export declare enum KnownSqlServerLicenseType {
|
|
558
|
+
/** Payg */
|
|
481
559
|
Payg = "PAYG",
|
|
560
|
+
/** Ahub */
|
|
482
561
|
Ahub = "AHUB",
|
|
562
|
+
/** DR */
|
|
483
563
|
DR = "DR"
|
|
484
564
|
}
|
|
485
565
|
|
|
486
566
|
/** Known values of {@link SqlVmGroupImageSku} that the service accepts. */
|
|
487
567
|
export declare enum KnownSqlVmGroupImageSku {
|
|
568
|
+
/** Developer */
|
|
488
569
|
Developer = "Developer",
|
|
570
|
+
/** Enterprise */
|
|
489
571
|
Enterprise = "Enterprise"
|
|
490
572
|
}
|
|
491
573
|
|
|
492
574
|
/** Known values of {@link SqlWorkloadType} that the service accepts. */
|
|
493
575
|
export declare enum KnownSqlWorkloadType {
|
|
576
|
+
/** General */
|
|
494
577
|
General = "GENERAL",
|
|
578
|
+
/** Oltp */
|
|
495
579
|
Oltp = "OLTP",
|
|
580
|
+
/** DW */
|
|
496
581
|
DW = "DW"
|
|
497
582
|
}
|
|
498
583
|
|
|
499
584
|
/** Known values of {@link StorageWorkloadType} that the service accepts. */
|
|
500
585
|
export declare enum KnownStorageWorkloadType {
|
|
586
|
+
/** General */
|
|
501
587
|
General = "GENERAL",
|
|
588
|
+
/** Oltp */
|
|
502
589
|
Oltp = "OLTP",
|
|
590
|
+
/** DW */
|
|
503
591
|
DW = "DW"
|
|
504
592
|
}
|
|
505
593
|
|
|
594
|
+
/**
|
|
595
|
+
* Defines values for LeastPrivilegeMode. \
|
|
596
|
+
* {@link KnownLeastPrivilegeMode} can be used interchangeably with LeastPrivilegeMode,
|
|
597
|
+
* this enum contains the known values that the service supports.
|
|
598
|
+
* ### Known values supported by the service
|
|
599
|
+
* **Enabled**
|
|
600
|
+
*/
|
|
601
|
+
export declare type LeastPrivilegeMode = string;
|
|
602
|
+
|
|
506
603
|
/** A load balancer configuration for an availability group listener. */
|
|
507
604
|
export declare interface LoadBalancerConfiguration {
|
|
508
605
|
/** Private IP address. */
|
|
@@ -517,6 +614,14 @@ export declare interface LoadBalancerConfiguration {
|
|
|
517
614
|
sqlVirtualMachineInstances?: string[];
|
|
518
615
|
}
|
|
519
616
|
|
|
617
|
+
/** Multi subnet ip configuration for an availability group listener. */
|
|
618
|
+
export declare interface MultiSubnetIpConfiguration {
|
|
619
|
+
/** Private IP address. */
|
|
620
|
+
privateIpAddress: PrivateIPAddress;
|
|
621
|
+
/** SQL virtual machine instance resource id that are enrolled into the availability group listener. */
|
|
622
|
+
sqlVirtualMachineInstance: string;
|
|
623
|
+
}
|
|
624
|
+
|
|
520
625
|
/** SQL REST API operation definition. */
|
|
521
626
|
export declare interface Operation {
|
|
522
627
|
/**
|
|
@@ -623,7 +728,8 @@ export declare interface PrivateIPAddress {
|
|
|
623
728
|
}
|
|
624
729
|
|
|
625
730
|
/** ARM proxy resource. */
|
|
626
|
-
export declare
|
|
731
|
+
export declare interface ProxyResource extends Resource {
|
|
732
|
+
}
|
|
627
733
|
|
|
628
734
|
/**
|
|
629
735
|
* Defines values for ReadableSecondary. \
|
|
@@ -690,6 +796,7 @@ export declare type Role = string;
|
|
|
690
796
|
*/
|
|
691
797
|
export declare type ScaleType = string;
|
|
692
798
|
|
|
799
|
+
/** Set assessment schedule for SQL Server. */
|
|
693
800
|
export declare interface Schedule {
|
|
694
801
|
/** Enable or disable assessment schedule on SQL virtual machine. */
|
|
695
802
|
enable?: boolean;
|
|
@@ -754,6 +861,10 @@ export declare interface SQLInstanceSettings {
|
|
|
754
861
|
minServerMemoryMB?: number;
|
|
755
862
|
/** SQL Server maximum memory. */
|
|
756
863
|
maxServerMemoryMB?: number;
|
|
864
|
+
/** SQL Server LPIM. */
|
|
865
|
+
isLpimEnabled?: boolean;
|
|
866
|
+
/** SQL Server IFI. */
|
|
867
|
+
isIfiEnabled?: boolean;
|
|
757
868
|
}
|
|
758
869
|
|
|
759
870
|
/**
|
|
@@ -796,17 +907,22 @@ export declare interface SqlStorageUpdateSettings {
|
|
|
796
907
|
diskConfigurationType?: DiskConfigurationType;
|
|
797
908
|
}
|
|
798
909
|
|
|
910
|
+
/** Set tempDb storage settings for SQL Server. */
|
|
799
911
|
export declare interface SQLTempDbSettings {
|
|
800
|
-
/** SQL Server
|
|
912
|
+
/** SQL Server tempdb data file size */
|
|
801
913
|
dataFileSize?: number;
|
|
802
|
-
/** SQL Server
|
|
914
|
+
/** SQL Server tempdb data file autoGrowth size */
|
|
803
915
|
dataGrowth?: number;
|
|
804
|
-
/** SQL Server
|
|
916
|
+
/** SQL Server tempdb log file size */
|
|
805
917
|
logFileSize?: number;
|
|
806
|
-
/** SQL Server
|
|
918
|
+
/** SQL Server tempdb log file autoGrowth size */
|
|
807
919
|
logGrowth?: number;
|
|
808
|
-
/** SQL Server
|
|
920
|
+
/** SQL Server tempdb data file count */
|
|
809
921
|
dataFileCount?: number;
|
|
922
|
+
/** SQL Server tempdb persist folder choice */
|
|
923
|
+
persistFolder?: boolean;
|
|
924
|
+
/** SQL Server tempdb persist folder location */
|
|
925
|
+
persistFolderPath?: string;
|
|
810
926
|
/** Logical Unit Numbers for the disks. */
|
|
811
927
|
luns?: number[];
|
|
812
928
|
/** SQL Server default file path */
|
|
@@ -814,7 +930,7 @@ export declare interface SQLTempDbSettings {
|
|
|
814
930
|
}
|
|
815
931
|
|
|
816
932
|
/** A SQL virtual machine. */
|
|
817
|
-
export declare
|
|
933
|
+
export declare interface SqlVirtualMachine extends TrackedResource {
|
|
818
934
|
/** Azure Active Directory identity of the server. */
|
|
819
935
|
identity?: ResourceIdentity;
|
|
820
936
|
/**
|
|
@@ -835,12 +951,16 @@ export declare type SqlVirtualMachine = TrackedResource & {
|
|
|
835
951
|
sqlServerLicenseType?: SqlServerLicenseType;
|
|
836
952
|
/** SQL Server Management type. */
|
|
837
953
|
sqlManagement?: SqlManagementMode;
|
|
954
|
+
/** SQL IaaS Agent least privilege mode. */
|
|
955
|
+
leastPrivilegeMode?: LeastPrivilegeMode;
|
|
838
956
|
/** SQL Server edition type. */
|
|
839
957
|
sqlImageSku?: SqlImageSku;
|
|
840
958
|
/** ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part of. */
|
|
841
959
|
sqlVirtualMachineGroupResourceId?: string;
|
|
842
960
|
/** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
|
|
843
961
|
wsfcDomainCredentials?: WsfcDomainCredentials;
|
|
962
|
+
/** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
|
|
963
|
+
wsfcStaticIp?: string;
|
|
844
964
|
/** Auto patching settings for applying critical security updates to SQL virtual machine. */
|
|
845
965
|
autoPatchingSettings?: AutoPatchingSettings;
|
|
846
966
|
/** Auto backup settings for SQL Server. */
|
|
@@ -853,10 +973,12 @@ export declare type SqlVirtualMachine = TrackedResource & {
|
|
|
853
973
|
storageConfigurationSettings?: StorageConfigurationSettings;
|
|
854
974
|
/** Assessment Settings. */
|
|
855
975
|
assessmentSettings?: AssessmentSettings;
|
|
856
|
-
|
|
976
|
+
/** Enable automatic upgrade of Sql IaaS extension Agent. */
|
|
977
|
+
enableAutomaticUpgrade?: boolean;
|
|
978
|
+
}
|
|
857
979
|
|
|
858
980
|
/** A SQL virtual machine group. */
|
|
859
|
-
export declare
|
|
981
|
+
export declare interface SqlVirtualMachineGroup extends TrackedResource {
|
|
860
982
|
/**
|
|
861
983
|
* Metadata pertaining to creation and last modification of the resource.
|
|
862
984
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -888,7 +1010,7 @@ export declare type SqlVirtualMachineGroup = TrackedResource & {
|
|
|
888
1010
|
readonly clusterConfiguration?: ClusterConfiguration;
|
|
889
1011
|
/** Cluster Active Directory domain profile. */
|
|
890
1012
|
wsfcDomainProfile?: WsfcDomainProfile;
|
|
891
|
-
}
|
|
1013
|
+
}
|
|
892
1014
|
|
|
893
1015
|
/** A list of SQL virtual machine groups. */
|
|
894
1016
|
export declare interface SqlVirtualMachineGroupListResult {
|
|
@@ -1118,6 +1240,22 @@ export declare interface SqlVirtualMachines {
|
|
|
1118
1240
|
* @param options The options parameters.
|
|
1119
1241
|
*/
|
|
1120
1242
|
listByResourceGroup(resourceGroupName: string, options?: SqlVirtualMachinesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachine>;
|
|
1243
|
+
/**
|
|
1244
|
+
* Starts Assessment on SQL virtual machine.
|
|
1245
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1246
|
+
* value from the Azure Resource Manager API or the portal.
|
|
1247
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1248
|
+
* @param options The options parameters.
|
|
1249
|
+
*/
|
|
1250
|
+
beginStartAssessment(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesStartAssessmentOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
1251
|
+
/**
|
|
1252
|
+
* Starts Assessment on SQL virtual machine.
|
|
1253
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1254
|
+
* value from the Azure Resource Manager API or the portal.
|
|
1255
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1256
|
+
* @param options The options parameters.
|
|
1257
|
+
*/
|
|
1258
|
+
beginStartAssessmentAndWait(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesStartAssessmentOptionalParams): Promise<void>;
|
|
1121
1259
|
/**
|
|
1122
1260
|
* Uninstalls and reinstalls the SQL Iaas Extension.
|
|
1123
1261
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
@@ -1194,22 +1332,6 @@ export declare interface SqlVirtualMachines {
|
|
|
1194
1332
|
* @param options The options parameters.
|
|
1195
1333
|
*/
|
|
1196
1334
|
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
1335
|
}
|
|
1214
1336
|
|
|
1215
1337
|
/** Optional parameters. */
|
|
@@ -1388,14 +1510,14 @@ export declare interface SystemData {
|
|
|
1388
1510
|
}
|
|
1389
1511
|
|
|
1390
1512
|
/** ARM tracked top level resource. */
|
|
1391
|
-
export declare
|
|
1513
|
+
export declare interface TrackedResource extends Resource {
|
|
1392
1514
|
/** Resource location. */
|
|
1393
1515
|
location: string;
|
|
1394
1516
|
/** Resource tags. */
|
|
1395
1517
|
tags?: {
|
|
1396
1518
|
[propertyName: string]: string;
|
|
1397
1519
|
};
|
|
1398
|
-
}
|
|
1520
|
+
}
|
|
1399
1521
|
|
|
1400
1522
|
/** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
|
|
1401
1523
|
export declare interface WsfcDomainCredentials {
|
|
@@ -1425,6 +1547,8 @@ export declare interface WsfcDomainProfile {
|
|
|
1425
1547
|
storageAccountUrl?: string;
|
|
1426
1548
|
/** Primary key of the witness storage account. */
|
|
1427
1549
|
storageAccountPrimaryKey?: string;
|
|
1550
|
+
/** Cluster subnet type. */
|
|
1551
|
+
clusterSubnetType?: ClusterSubnetType;
|
|
1428
1552
|
}
|
|
1429
1553
|
|
|
1430
1554
|
export { }
|