@pulumi/spotinst 3.83.0 → 3.83.1
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/package.json +2 -2
- package/types/input.d.ts +527 -0
- package/types/output.d.ts +527 -0
package/types/input.d.ts
CHANGED
|
@@ -64,6 +64,9 @@ export interface HealthCheckCheck {
|
|
|
64
64
|
* The destination for the request.
|
|
65
65
|
*/
|
|
66
66
|
endpoint?: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* The number of consecutive successful health checks that must occur before declaring an instance healthy.
|
|
69
|
+
*/
|
|
67
70
|
healthy: pulumi.Input<number>;
|
|
68
71
|
/**
|
|
69
72
|
* The amount of time (in seconds) between each health check (minimum: 10).
|
|
@@ -82,6 +85,9 @@ export interface HealthCheckCheck {
|
|
|
82
85
|
* the amount of time (in seconds) to wait when receiving a response from the health check.
|
|
83
86
|
*/
|
|
84
87
|
timeout?: pulumi.Input<number>;
|
|
88
|
+
/**
|
|
89
|
+
* The number of consecutive failed health checks that must occur before declaring an instance unhealthy.
|
|
90
|
+
*/
|
|
85
91
|
unhealthy: pulumi.Input<number>;
|
|
86
92
|
}
|
|
87
93
|
export interface OceanRightSizingRuleAttachWorkload {
|
|
@@ -548,11 +554,20 @@ export declare namespace aws {
|
|
|
548
554
|
weight: pulumi.Input<number>;
|
|
549
555
|
}
|
|
550
556
|
interface ElastigroupIntegrationBeanstalk {
|
|
557
|
+
/**
|
|
558
|
+
* Preferences when performing a roll
|
|
559
|
+
*/
|
|
551
560
|
deploymentPreferences?: pulumi.Input<inputs.aws.ElastigroupIntegrationBeanstalkDeploymentPreferences>;
|
|
552
561
|
environmentId?: pulumi.Input<string>;
|
|
562
|
+
/**
|
|
563
|
+
* Managed Actions parameters
|
|
564
|
+
*/
|
|
553
565
|
managedActions?: pulumi.Input<inputs.aws.ElastigroupIntegrationBeanstalkManagedActions>;
|
|
554
566
|
}
|
|
555
567
|
interface ElastigroupIntegrationBeanstalkDeploymentPreferences {
|
|
568
|
+
/**
|
|
569
|
+
* Should roll perform automatically
|
|
570
|
+
*/
|
|
556
571
|
automaticRoll?: pulumi.Input<boolean>;
|
|
557
572
|
batchSizePercentage?: pulumi.Input<number>;
|
|
558
573
|
gracePeriod?: pulumi.Input<number>;
|
|
@@ -563,20 +578,48 @@ export declare namespace aws {
|
|
|
563
578
|
shouldDrainInstances?: pulumi.Input<boolean>;
|
|
564
579
|
}
|
|
565
580
|
interface ElastigroupIntegrationBeanstalkManagedActions {
|
|
581
|
+
/**
|
|
582
|
+
* Platform Update parameters
|
|
583
|
+
*/
|
|
566
584
|
platformUpdate?: pulumi.Input<inputs.aws.ElastigroupIntegrationBeanstalkManagedActionsPlatformUpdate>;
|
|
567
585
|
}
|
|
568
586
|
interface ElastigroupIntegrationBeanstalkManagedActionsPlatformUpdate {
|
|
569
587
|
performAt?: pulumi.Input<string>;
|
|
588
|
+
/**
|
|
589
|
+
* Time Window for when action occurs ex. Mon:23:50-Tue:00:20
|
|
590
|
+
*/
|
|
570
591
|
timeWindow?: pulumi.Input<string>;
|
|
592
|
+
/**
|
|
593
|
+
* Level to update
|
|
594
|
+
*
|
|
595
|
+
* Usage:
|
|
596
|
+
*/
|
|
571
597
|
updateLevel?: pulumi.Input<string>;
|
|
572
598
|
}
|
|
573
599
|
interface ElastigroupIntegrationCodedeploy {
|
|
600
|
+
/**
|
|
601
|
+
* Cleanup automatically after a failed deploy.
|
|
602
|
+
*/
|
|
574
603
|
cleanupOnFailure: pulumi.Input<boolean>;
|
|
604
|
+
/**
|
|
605
|
+
* Specify the deployment groups details.
|
|
606
|
+
*/
|
|
575
607
|
deploymentGroups: pulumi.Input<pulumi.Input<inputs.aws.ElastigroupIntegrationCodedeployDeploymentGroup>[]>;
|
|
608
|
+
/**
|
|
609
|
+
* Terminate the instance automatically after a failed deploy.
|
|
610
|
+
*/
|
|
576
611
|
terminateInstanceOnFailure: pulumi.Input<boolean>;
|
|
577
612
|
}
|
|
578
613
|
interface ElastigroupIntegrationCodedeployDeploymentGroup {
|
|
614
|
+
/**
|
|
615
|
+
* The application name.
|
|
616
|
+
*/
|
|
579
617
|
applicationName: pulumi.Input<string>;
|
|
618
|
+
/**
|
|
619
|
+
* The deployment group name.
|
|
620
|
+
*
|
|
621
|
+
* Usage:
|
|
622
|
+
*/
|
|
580
623
|
deploymentGroupName: pulumi.Input<string>;
|
|
581
624
|
}
|
|
582
625
|
interface ElastigroupIntegrationDockerSwarm {
|
|
@@ -597,14 +640,26 @@ export declare namespace aws {
|
|
|
597
640
|
numOfUnits?: pulumi.Input<number>;
|
|
598
641
|
}
|
|
599
642
|
interface ElastigroupIntegrationEcs {
|
|
643
|
+
/**
|
|
644
|
+
* A key/value mapping of tags to assign to the resource.
|
|
645
|
+
*/
|
|
600
646
|
autoscaleAttributes?: pulumi.Input<pulumi.Input<inputs.aws.ElastigroupIntegrationEcsAutoscaleAttribute>[]>;
|
|
601
647
|
autoscaleCooldown?: pulumi.Input<number>;
|
|
602
648
|
autoscaleDown?: pulumi.Input<inputs.aws.ElastigroupIntegrationEcsAutoscaleDown>;
|
|
603
649
|
autoscaleHeadroom?: pulumi.Input<inputs.aws.ElastigroupIntegrationEcsAutoscaleHeadroom>;
|
|
604
650
|
autoscaleIsAutoConfig?: pulumi.Input<boolean>;
|
|
605
651
|
autoscaleIsEnabled?: pulumi.Input<boolean>;
|
|
652
|
+
/**
|
|
653
|
+
* Determines whether to scale down non-service tasks.
|
|
654
|
+
*/
|
|
606
655
|
autoscaleScaleDownNonServiceTasks?: pulumi.Input<boolean>;
|
|
656
|
+
/**
|
|
657
|
+
* Batch configuration object:
|
|
658
|
+
*/
|
|
607
659
|
batch?: pulumi.Input<inputs.aws.ElastigroupIntegrationEcsBatch>;
|
|
660
|
+
/**
|
|
661
|
+
* The name of the EC2 Container Service cluster.
|
|
662
|
+
*/
|
|
608
663
|
clusterName: pulumi.Input<string>;
|
|
609
664
|
}
|
|
610
665
|
interface ElastigroupIntegrationEcsAutoscaleAttribute {
|
|
@@ -621,9 +676,17 @@ export declare namespace aws {
|
|
|
621
676
|
numOfUnits?: pulumi.Input<number>;
|
|
622
677
|
}
|
|
623
678
|
interface ElastigroupIntegrationEcsBatch {
|
|
679
|
+
/**
|
|
680
|
+
* Array of strings.
|
|
681
|
+
*
|
|
682
|
+
* Usage:
|
|
683
|
+
*/
|
|
624
684
|
jobQueueNames: pulumi.Input<pulumi.Input<string>[]>;
|
|
625
685
|
}
|
|
626
686
|
interface ElastigroupIntegrationGitlab {
|
|
687
|
+
/**
|
|
688
|
+
* Settings for Gitlab runner.
|
|
689
|
+
*/
|
|
627
690
|
runner?: pulumi.Input<inputs.aws.ElastigroupIntegrationGitlabRunner>;
|
|
628
691
|
}
|
|
629
692
|
interface ElastigroupIntegrationGitlabRunner {
|
|
@@ -636,9 +699,20 @@ export declare namespace aws {
|
|
|
636
699
|
autoscaleHeadroom?: pulumi.Input<inputs.aws.ElastigroupIntegrationKubernetesAutoscaleHeadroom>;
|
|
637
700
|
autoscaleIsAutoConfig?: pulumi.Input<boolean>;
|
|
638
701
|
autoscaleIsEnabled?: pulumi.Input<boolean>;
|
|
702
|
+
/**
|
|
703
|
+
* A key/value mapping of tags to assign to the resource.
|
|
704
|
+
*
|
|
705
|
+
* Usage:
|
|
706
|
+
*/
|
|
639
707
|
autoscaleLabels?: pulumi.Input<pulumi.Input<inputs.aws.ElastigroupIntegrationKubernetesAutoscaleLabel>[]>;
|
|
640
708
|
clusterIdentifier?: pulumi.Input<string>;
|
|
709
|
+
/**
|
|
710
|
+
* Valid values: `"saas"`, `"pod"`.
|
|
711
|
+
*/
|
|
641
712
|
integrationMode?: pulumi.Input<string>;
|
|
713
|
+
/**
|
|
714
|
+
* Kubernetes Token
|
|
715
|
+
*/
|
|
642
716
|
token?: pulumi.Input<string>;
|
|
643
717
|
}
|
|
644
718
|
interface ElastigroupIntegrationKubernetesAutoscaleDown {
|
|
@@ -658,7 +732,15 @@ export declare namespace aws {
|
|
|
658
732
|
apiServer: pulumi.Input<string>;
|
|
659
733
|
}
|
|
660
734
|
interface ElastigroupIntegrationNomad {
|
|
735
|
+
/**
|
|
736
|
+
* Nomad ACL Token
|
|
737
|
+
*/
|
|
661
738
|
aclToken?: pulumi.Input<string>;
|
|
739
|
+
/**
|
|
740
|
+
* A key/value mapping of tags to assign to the resource.
|
|
741
|
+
*
|
|
742
|
+
* Usage:
|
|
743
|
+
*/
|
|
662
744
|
autoscaleConstraints?: pulumi.Input<pulumi.Input<inputs.aws.ElastigroupIntegrationNomadAutoscaleConstraint>[]>;
|
|
663
745
|
autoscaleCooldown?: pulumi.Input<number>;
|
|
664
746
|
autoscaleDown?: pulumi.Input<inputs.aws.ElastigroupIntegrationNomadAutoscaleDown>;
|
|
@@ -680,18 +762,43 @@ export declare namespace aws {
|
|
|
680
762
|
numOfUnits?: pulumi.Input<number>;
|
|
681
763
|
}
|
|
682
764
|
interface ElastigroupIntegrationRancher {
|
|
765
|
+
/**
|
|
766
|
+
* The access key of the Rancher API.
|
|
767
|
+
*/
|
|
683
768
|
accessKey: pulumi.Input<string>;
|
|
684
769
|
masterHost: pulumi.Input<string>;
|
|
770
|
+
/**
|
|
771
|
+
* The secret key of the Rancher API.
|
|
772
|
+
*/
|
|
685
773
|
secretKey: pulumi.Input<string>;
|
|
774
|
+
/**
|
|
775
|
+
* The Rancher version. Must be `"1"` or `"2"`. If this field is omitted, it’s assumed that the Rancher cluster is version 1. Note that Kubernetes is required when using Rancher version 2^.
|
|
776
|
+
* Usage:
|
|
777
|
+
*/
|
|
686
778
|
version?: pulumi.Input<string>;
|
|
687
779
|
}
|
|
688
780
|
interface ElastigroupIntegrationRoute53 {
|
|
781
|
+
/**
|
|
782
|
+
* Collection of one or more domains to register.
|
|
783
|
+
*/
|
|
689
784
|
domains: pulumi.Input<pulumi.Input<inputs.aws.ElastigroupIntegrationRoute53Domain>[]>;
|
|
690
785
|
}
|
|
691
786
|
interface ElastigroupIntegrationRoute53Domain {
|
|
787
|
+
/**
|
|
788
|
+
* The id associated with a hosted zone.
|
|
789
|
+
*/
|
|
692
790
|
hostedZoneId: pulumi.Input<string>;
|
|
791
|
+
/**
|
|
792
|
+
* The type of the record set. Valid values: `"a"`, `"cname"`.
|
|
793
|
+
*/
|
|
693
794
|
recordSetType?: pulumi.Input<string>;
|
|
795
|
+
/**
|
|
796
|
+
* Collection of records containing authoritative DNS information for the specified domain name.
|
|
797
|
+
*/
|
|
694
798
|
recordSets: pulumi.Input<pulumi.Input<inputs.aws.ElastigroupIntegrationRoute53DomainRecordSet>[]>;
|
|
799
|
+
/**
|
|
800
|
+
* The Spotinst account ID that is linked to the AWS account that holds the Route 53 Hosted Zone ID. The default is the user Spotinst account provided as a URL parameter.
|
|
801
|
+
*/
|
|
695
802
|
spotinstAcctId?: pulumi.Input<string>;
|
|
696
803
|
}
|
|
697
804
|
interface ElastigroupIntegrationRoute53DomainRecordSet {
|
|
@@ -699,7 +806,15 @@ export declare namespace aws {
|
|
|
699
806
|
* The group name.
|
|
700
807
|
*/
|
|
701
808
|
name: pulumi.Input<string>;
|
|
809
|
+
/**
|
|
810
|
+
* Designates whether the DNS address should be exposed to connections outside the VPC.
|
|
811
|
+
*
|
|
812
|
+
* Usage:
|
|
813
|
+
*/
|
|
702
814
|
usePublicDns?: pulumi.Input<boolean>;
|
|
815
|
+
/**
|
|
816
|
+
* Designates whether the IP address should be exposed to connections outside the VPC.
|
|
817
|
+
*/
|
|
703
818
|
usePublicIp?: pulumi.Input<boolean>;
|
|
704
819
|
}
|
|
705
820
|
interface ElastigroupItf {
|
|
@@ -785,10 +900,19 @@ export declare namespace aws {
|
|
|
785
900
|
instanceMetadataTags?: pulumi.Input<string>;
|
|
786
901
|
}
|
|
787
902
|
interface ElastigroupMultipleMetrics {
|
|
903
|
+
/**
|
|
904
|
+
* Array of objects (Expression config)
|
|
905
|
+
*/
|
|
788
906
|
expressions?: pulumi.Input<pulumi.Input<inputs.aws.ElastigroupMultipleMetricsExpression>[]>;
|
|
907
|
+
/**
|
|
908
|
+
* Array of objects (Metric config)
|
|
909
|
+
*/
|
|
789
910
|
metrics?: pulumi.Input<pulumi.Input<inputs.aws.ElastigroupMultipleMetricsMetric>[]>;
|
|
790
911
|
}
|
|
791
912
|
interface ElastigroupMultipleMetricsExpression {
|
|
913
|
+
/**
|
|
914
|
+
* An expression consisting of the metric names listed in the 'metrics' array.
|
|
915
|
+
*/
|
|
792
916
|
expression: pulumi.Input<string>;
|
|
793
917
|
/**
|
|
794
918
|
* The group name.
|
|
@@ -797,6 +921,9 @@ export declare namespace aws {
|
|
|
797
921
|
}
|
|
798
922
|
interface ElastigroupMultipleMetricsMetric {
|
|
799
923
|
dimensions?: pulumi.Input<pulumi.Input<inputs.aws.ElastigroupMultipleMetricsMetricDimension>[]>;
|
|
924
|
+
/**
|
|
925
|
+
* Percentile statistic. Valid values: `"p0.1"` - `"p100"`.
|
|
926
|
+
*/
|
|
800
927
|
extendedStatistic?: pulumi.Input<string>;
|
|
801
928
|
metricName: pulumi.Input<string>;
|
|
802
929
|
/**
|
|
@@ -1463,11 +1590,17 @@ export declare namespace aws {
|
|
|
1463
1590
|
value?: pulumi.Input<string>;
|
|
1464
1591
|
}
|
|
1465
1592
|
interface MrScalarApplication {
|
|
1593
|
+
/**
|
|
1594
|
+
* Arguments for EMR to pass to the application.
|
|
1595
|
+
*/
|
|
1466
1596
|
args?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1467
1597
|
/**
|
|
1468
1598
|
* The MrScaler name.
|
|
1469
1599
|
*/
|
|
1470
1600
|
name: pulumi.Input<string>;
|
|
1601
|
+
/**
|
|
1602
|
+
* T he version of the application.
|
|
1603
|
+
*/
|
|
1471
1604
|
version?: pulumi.Input<string>;
|
|
1472
1605
|
}
|
|
1473
1606
|
interface MrScalarBootstrapActionsFile {
|
|
@@ -1485,51 +1618,117 @@ export declare namespace aws {
|
|
|
1485
1618
|
volumesPerInstance?: pulumi.Input<number>;
|
|
1486
1619
|
}
|
|
1487
1620
|
interface MrScalarCoreScalingDownPolicy {
|
|
1621
|
+
/**
|
|
1622
|
+
* The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'
|
|
1623
|
+
*/
|
|
1488
1624
|
actionType?: pulumi.Input<string>;
|
|
1625
|
+
/**
|
|
1626
|
+
* The number of instances to add/remove to/from the target capacity when scale is needed.
|
|
1627
|
+
*/
|
|
1489
1628
|
adjustment?: pulumi.Input<string>;
|
|
1629
|
+
/**
|
|
1630
|
+
* The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
|
|
1631
|
+
*/
|
|
1490
1632
|
cooldown?: pulumi.Input<number>;
|
|
1633
|
+
/**
|
|
1634
|
+
* A mapping of dimensions describing qualities of the metric.
|
|
1635
|
+
*/
|
|
1491
1636
|
dimensions?: pulumi.Input<{
|
|
1492
1637
|
[key: string]: any;
|
|
1493
1638
|
}>;
|
|
1494
1639
|
evaluationPeriods?: pulumi.Input<number>;
|
|
1640
|
+
/**
|
|
1641
|
+
* Max target capacity for scale down.
|
|
1642
|
+
*/
|
|
1495
1643
|
maxTargetCapacity?: pulumi.Input<string>;
|
|
1644
|
+
/**
|
|
1645
|
+
* The maximum to set when scale is needed.
|
|
1646
|
+
*/
|
|
1496
1647
|
maximum?: pulumi.Input<string>;
|
|
1497
1648
|
metricName: pulumi.Input<string>;
|
|
1649
|
+
/**
|
|
1650
|
+
* Min target capacity for scale up.
|
|
1651
|
+
*/
|
|
1498
1652
|
minTargetCapacity?: pulumi.Input<string>;
|
|
1653
|
+
/**
|
|
1654
|
+
* The minimum to set when scale is needed.
|
|
1655
|
+
*/
|
|
1499
1656
|
minimum?: pulumi.Input<string>;
|
|
1500
1657
|
namespace: pulumi.Input<string>;
|
|
1501
1658
|
operator?: pulumi.Input<string>;
|
|
1502
1659
|
period?: pulumi.Input<number>;
|
|
1660
|
+
/**
|
|
1661
|
+
* The name of the policy.
|
|
1662
|
+
*/
|
|
1503
1663
|
policyName: pulumi.Input<string>;
|
|
1504
1664
|
statistic?: pulumi.Input<string>;
|
|
1665
|
+
/**
|
|
1666
|
+
* The number of instances to set when scale is needed.
|
|
1667
|
+
*/
|
|
1505
1668
|
target?: pulumi.Input<string>;
|
|
1506
1669
|
threshold: pulumi.Input<number>;
|
|
1507
1670
|
unit: pulumi.Input<string>;
|
|
1508
1671
|
}
|
|
1509
1672
|
interface MrScalarCoreScalingUpPolicy {
|
|
1673
|
+
/**
|
|
1674
|
+
* The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'
|
|
1675
|
+
*/
|
|
1510
1676
|
actionType?: pulumi.Input<string>;
|
|
1677
|
+
/**
|
|
1678
|
+
* The number of instances to add/remove to/from the target capacity when scale is needed.
|
|
1679
|
+
*/
|
|
1511
1680
|
adjustment?: pulumi.Input<string>;
|
|
1681
|
+
/**
|
|
1682
|
+
* The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
|
|
1683
|
+
*/
|
|
1512
1684
|
cooldown?: pulumi.Input<number>;
|
|
1685
|
+
/**
|
|
1686
|
+
* A mapping of dimensions describing qualities of the metric.
|
|
1687
|
+
*/
|
|
1513
1688
|
dimensions?: pulumi.Input<{
|
|
1514
1689
|
[key: string]: any;
|
|
1515
1690
|
}>;
|
|
1516
1691
|
evaluationPeriods?: pulumi.Input<number>;
|
|
1692
|
+
/**
|
|
1693
|
+
* Max target capacity for scale down.
|
|
1694
|
+
*/
|
|
1517
1695
|
maxTargetCapacity?: pulumi.Input<string>;
|
|
1696
|
+
/**
|
|
1697
|
+
* The maximum to set when scale is needed.
|
|
1698
|
+
*/
|
|
1518
1699
|
maximum?: pulumi.Input<string>;
|
|
1519
1700
|
metricName: pulumi.Input<string>;
|
|
1701
|
+
/**
|
|
1702
|
+
* Min target capacity for scale up.
|
|
1703
|
+
*/
|
|
1520
1704
|
minTargetCapacity?: pulumi.Input<string>;
|
|
1705
|
+
/**
|
|
1706
|
+
* The minimum to set when scale is needed.
|
|
1707
|
+
*/
|
|
1521
1708
|
minimum?: pulumi.Input<string>;
|
|
1522
1709
|
namespace: pulumi.Input<string>;
|
|
1523
1710
|
operator?: pulumi.Input<string>;
|
|
1524
1711
|
period?: pulumi.Input<number>;
|
|
1712
|
+
/**
|
|
1713
|
+
* The name of the policy.
|
|
1714
|
+
*/
|
|
1525
1715
|
policyName: pulumi.Input<string>;
|
|
1526
1716
|
statistic?: pulumi.Input<string>;
|
|
1717
|
+
/**
|
|
1718
|
+
* The number of instances to set when scale is needed.
|
|
1719
|
+
*/
|
|
1527
1720
|
target?: pulumi.Input<string>;
|
|
1528
1721
|
threshold: pulumi.Input<number>;
|
|
1529
1722
|
unit: pulumi.Input<string>;
|
|
1530
1723
|
}
|
|
1531
1724
|
interface MrScalarInstanceWeight {
|
|
1725
|
+
/**
|
|
1726
|
+
* The type of the instance.
|
|
1727
|
+
*/
|
|
1532
1728
|
instanceType: pulumi.Input<string>;
|
|
1729
|
+
/**
|
|
1730
|
+
* The weight given to the associated instance type.
|
|
1731
|
+
*/
|
|
1533
1732
|
weightedCapacity: pulumi.Input<number>;
|
|
1534
1733
|
}
|
|
1535
1734
|
interface MrScalarMasterEbsBlockDevice {
|
|
@@ -1539,16 +1738,43 @@ export declare namespace aws {
|
|
|
1539
1738
|
volumesPerInstance?: pulumi.Input<number>;
|
|
1540
1739
|
}
|
|
1541
1740
|
interface MrScalarProvisioningTimeout {
|
|
1741
|
+
/**
|
|
1742
|
+
* The amount of time (minutes) after which the cluster is automatically terminated if it's still in provisioning status. Minimum: '15'.
|
|
1743
|
+
*/
|
|
1542
1744
|
timeout: pulumi.Input<number>;
|
|
1745
|
+
/**
|
|
1746
|
+
* The action to take if the timeout is exceeded. Valid values: `terminate`, `terminateAndRetry`.
|
|
1747
|
+
*/
|
|
1543
1748
|
timeoutAction: pulumi.Input<string>;
|
|
1544
1749
|
}
|
|
1545
1750
|
interface MrScalarScheduledTask {
|
|
1751
|
+
/**
|
|
1752
|
+
* A cron expression representing the schedule for the task.
|
|
1753
|
+
*/
|
|
1546
1754
|
cron: pulumi.Input<string>;
|
|
1755
|
+
/**
|
|
1756
|
+
* New desired capacity for the elastigroup.
|
|
1757
|
+
*/
|
|
1547
1758
|
desiredCapacity?: pulumi.Input<string>;
|
|
1759
|
+
/**
|
|
1760
|
+
* Select the EMR instance groups to execute the scheduled task on. Valid values: `task`.
|
|
1761
|
+
*/
|
|
1548
1762
|
instanceGroupType: pulumi.Input<string>;
|
|
1763
|
+
/**
|
|
1764
|
+
* Enable/Disable the specified scheduling task.
|
|
1765
|
+
*/
|
|
1549
1766
|
isEnabled?: pulumi.Input<boolean>;
|
|
1767
|
+
/**
|
|
1768
|
+
* New max capacity for the elastigroup.
|
|
1769
|
+
*/
|
|
1550
1770
|
maxCapacity?: pulumi.Input<string>;
|
|
1771
|
+
/**
|
|
1772
|
+
* New min capacity for the elastigroup.
|
|
1773
|
+
*/
|
|
1551
1774
|
minCapacity?: pulumi.Input<string>;
|
|
1775
|
+
/**
|
|
1776
|
+
* The type of task to be scheduled. Valid values: `setCapacity`.
|
|
1777
|
+
*/
|
|
1552
1778
|
taskType: pulumi.Input<string>;
|
|
1553
1779
|
}
|
|
1554
1780
|
interface MrScalarStepsFile {
|
|
@@ -1557,6 +1783,11 @@ export declare namespace aws {
|
|
|
1557
1783
|
}
|
|
1558
1784
|
interface MrScalarTag {
|
|
1559
1785
|
key: pulumi.Input<string>;
|
|
1786
|
+
/**
|
|
1787
|
+
* Tag value.
|
|
1788
|
+
*
|
|
1789
|
+
* <a id="Optional Compute Parameters"></a>
|
|
1790
|
+
*/
|
|
1560
1791
|
value: pulumi.Input<string>;
|
|
1561
1792
|
}
|
|
1562
1793
|
interface MrScalarTaskEbsBlockDevice {
|
|
@@ -1566,45 +1797,105 @@ export declare namespace aws {
|
|
|
1566
1797
|
volumesPerInstance?: pulumi.Input<number>;
|
|
1567
1798
|
}
|
|
1568
1799
|
interface MrScalarTaskScalingDownPolicy {
|
|
1800
|
+
/**
|
|
1801
|
+
* The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'
|
|
1802
|
+
*/
|
|
1569
1803
|
actionType?: pulumi.Input<string>;
|
|
1804
|
+
/**
|
|
1805
|
+
* The number of instances to add/remove to/from the target capacity when scale is needed.
|
|
1806
|
+
*/
|
|
1570
1807
|
adjustment?: pulumi.Input<string>;
|
|
1808
|
+
/**
|
|
1809
|
+
* The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
|
|
1810
|
+
*/
|
|
1571
1811
|
cooldown?: pulumi.Input<number>;
|
|
1812
|
+
/**
|
|
1813
|
+
* A mapping of dimensions describing qualities of the metric.
|
|
1814
|
+
*/
|
|
1572
1815
|
dimensions?: pulumi.Input<{
|
|
1573
1816
|
[key: string]: any;
|
|
1574
1817
|
}>;
|
|
1575
1818
|
evaluationPeriods?: pulumi.Input<number>;
|
|
1819
|
+
/**
|
|
1820
|
+
* Max target capacity for scale down.
|
|
1821
|
+
*/
|
|
1576
1822
|
maxTargetCapacity?: pulumi.Input<string>;
|
|
1823
|
+
/**
|
|
1824
|
+
* The maximum to set when scale is needed.
|
|
1825
|
+
*/
|
|
1577
1826
|
maximum?: pulumi.Input<string>;
|
|
1578
1827
|
metricName: pulumi.Input<string>;
|
|
1828
|
+
/**
|
|
1829
|
+
* Min target capacity for scale up.
|
|
1830
|
+
*/
|
|
1579
1831
|
minTargetCapacity?: pulumi.Input<string>;
|
|
1832
|
+
/**
|
|
1833
|
+
* The minimum to set when scale is needed.
|
|
1834
|
+
*/
|
|
1580
1835
|
minimum?: pulumi.Input<string>;
|
|
1581
1836
|
namespace: pulumi.Input<string>;
|
|
1582
1837
|
operator?: pulumi.Input<string>;
|
|
1583
1838
|
period?: pulumi.Input<number>;
|
|
1839
|
+
/**
|
|
1840
|
+
* The name of the policy.
|
|
1841
|
+
*/
|
|
1584
1842
|
policyName: pulumi.Input<string>;
|
|
1585
1843
|
statistic?: pulumi.Input<string>;
|
|
1844
|
+
/**
|
|
1845
|
+
* The number of instances to set when scale is needed.
|
|
1846
|
+
*/
|
|
1586
1847
|
target?: pulumi.Input<string>;
|
|
1587
1848
|
threshold: pulumi.Input<number>;
|
|
1588
1849
|
unit: pulumi.Input<string>;
|
|
1589
1850
|
}
|
|
1590
1851
|
interface MrScalarTaskScalingUpPolicy {
|
|
1852
|
+
/**
|
|
1853
|
+
* The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'
|
|
1854
|
+
*/
|
|
1591
1855
|
actionType?: pulumi.Input<string>;
|
|
1856
|
+
/**
|
|
1857
|
+
* The number of instances to add/remove to/from the target capacity when scale is needed.
|
|
1858
|
+
*/
|
|
1592
1859
|
adjustment?: pulumi.Input<string>;
|
|
1860
|
+
/**
|
|
1861
|
+
* The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
|
|
1862
|
+
*/
|
|
1593
1863
|
cooldown?: pulumi.Input<number>;
|
|
1864
|
+
/**
|
|
1865
|
+
* A mapping of dimensions describing qualities of the metric.
|
|
1866
|
+
*/
|
|
1594
1867
|
dimensions?: pulumi.Input<{
|
|
1595
1868
|
[key: string]: any;
|
|
1596
1869
|
}>;
|
|
1597
1870
|
evaluationPeriods?: pulumi.Input<number>;
|
|
1871
|
+
/**
|
|
1872
|
+
* Max target capacity for scale down.
|
|
1873
|
+
*/
|
|
1598
1874
|
maxTargetCapacity?: pulumi.Input<string>;
|
|
1875
|
+
/**
|
|
1876
|
+
* The maximum to set when scale is needed.
|
|
1877
|
+
*/
|
|
1599
1878
|
maximum?: pulumi.Input<string>;
|
|
1600
1879
|
metricName: pulumi.Input<string>;
|
|
1880
|
+
/**
|
|
1881
|
+
* Min target capacity for scale up.
|
|
1882
|
+
*/
|
|
1601
1883
|
minTargetCapacity?: pulumi.Input<string>;
|
|
1884
|
+
/**
|
|
1885
|
+
* The minimum to set when scale is needed.
|
|
1886
|
+
*/
|
|
1602
1887
|
minimum?: pulumi.Input<string>;
|
|
1603
1888
|
namespace: pulumi.Input<string>;
|
|
1604
1889
|
operator?: pulumi.Input<string>;
|
|
1605
1890
|
period?: pulumi.Input<number>;
|
|
1891
|
+
/**
|
|
1892
|
+
* The name of the policy.
|
|
1893
|
+
*/
|
|
1606
1894
|
policyName: pulumi.Input<string>;
|
|
1607
1895
|
statistic?: pulumi.Input<string>;
|
|
1896
|
+
/**
|
|
1897
|
+
* The number of instances to set when scale is needed.
|
|
1898
|
+
*/
|
|
1608
1899
|
target?: pulumi.Input<string>;
|
|
1609
1900
|
threshold: pulumi.Input<number>;
|
|
1610
1901
|
unit: pulumi.Input<string>;
|
|
@@ -1835,24 +2126,75 @@ export declare namespace aws {
|
|
|
1835
2126
|
type: pulumi.Input<string>;
|
|
1836
2127
|
}
|
|
1837
2128
|
interface OceanFilters {
|
|
2129
|
+
/**
|
|
2130
|
+
* The filtered instance types will support at least one of the architectures from this list.
|
|
2131
|
+
*/
|
|
1838
2132
|
architectures?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2133
|
+
/**
|
|
2134
|
+
* The filtered instance types will belong to one of the categories types from this list.
|
|
2135
|
+
*/
|
|
1839
2136
|
categories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2137
|
+
/**
|
|
2138
|
+
* The filtered instance types will have one of the disk type from this list.
|
|
2139
|
+
*/
|
|
1840
2140
|
diskTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2141
|
+
/**
|
|
2142
|
+
* Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
|
|
2143
|
+
*/
|
|
1841
2144
|
excludeFamilies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2145
|
+
/**
|
|
2146
|
+
* In case excludeMetal is set to true, metal types will not be available for scaling.
|
|
2147
|
+
*/
|
|
1842
2148
|
excludeMetal?: pulumi.Input<boolean>;
|
|
2149
|
+
/**
|
|
2150
|
+
* The filtered instance types will have a hypervisor type from this list.
|
|
2151
|
+
*/
|
|
1843
2152
|
hypervisors?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2153
|
+
/**
|
|
2154
|
+
* Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
|
|
2155
|
+
*/
|
|
1844
2156
|
includeFamilies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2157
|
+
/**
|
|
2158
|
+
* Ena is supported or not.
|
|
2159
|
+
*/
|
|
1845
2160
|
isEnaSupported?: pulumi.Input<string>;
|
|
2161
|
+
/**
|
|
2162
|
+
* Maximum total number of GPUs.
|
|
2163
|
+
*/
|
|
1846
2164
|
maxGpu?: pulumi.Input<number>;
|
|
1847
2165
|
maxMemoryGib?: pulumi.Input<number>;
|
|
2166
|
+
/**
|
|
2167
|
+
* Maximum Bandwidth in Gib/s of network performance.
|
|
2168
|
+
*/
|
|
1848
2169
|
maxNetworkPerformance?: pulumi.Input<number>;
|
|
1849
2170
|
maxVcpu?: pulumi.Input<number>;
|
|
2171
|
+
/**
|
|
2172
|
+
* Minimum number of network interfaces (ENIs).
|
|
2173
|
+
*/
|
|
1850
2174
|
minEnis?: pulumi.Input<number>;
|
|
2175
|
+
/**
|
|
2176
|
+
* Minimum total number of GPUs.
|
|
2177
|
+
*/
|
|
1851
2178
|
minGpu?: pulumi.Input<number>;
|
|
2179
|
+
/**
|
|
2180
|
+
* Minimum amount of Memory (GiB).
|
|
2181
|
+
*/
|
|
1852
2182
|
minMemoryGib?: pulumi.Input<number>;
|
|
2183
|
+
/**
|
|
2184
|
+
* Minimum Bandwidth in Gib/s of network performance.
|
|
2185
|
+
*/
|
|
1853
2186
|
minNetworkPerformance?: pulumi.Input<number>;
|
|
2187
|
+
/**
|
|
2188
|
+
* Minimum number of vcpus available.
|
|
2189
|
+
*/
|
|
1854
2190
|
minVcpu?: pulumi.Input<number>;
|
|
2191
|
+
/**
|
|
2192
|
+
* The filtered instance types will have a root device types from this list.
|
|
2193
|
+
*/
|
|
1855
2194
|
rootDeviceTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2195
|
+
/**
|
|
2196
|
+
* The filtered instance types will support at least one of the virtualization types from this list.
|
|
2197
|
+
*/
|
|
1856
2198
|
virtualizationTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1857
2199
|
}
|
|
1858
2200
|
interface OceanInstanceMetadataOptions {
|
|
@@ -1904,6 +2246,9 @@ export declare namespace aws {
|
|
|
1904
2246
|
* Object. Set Elastic Block Store properties .
|
|
1905
2247
|
*/
|
|
1906
2248
|
ebs?: pulumi.Input<inputs.aws.OceanLaunchSpecBlockDeviceMappingEbs>;
|
|
2249
|
+
/**
|
|
2250
|
+
* String. Suppresses the specified device included in the block device mapping of the AMI.
|
|
2251
|
+
*/
|
|
1907
2252
|
noDevice?: pulumi.Input<string>;
|
|
1908
2253
|
virtualName?: pulumi.Input<string>;
|
|
1909
2254
|
}
|
|
@@ -2544,11 +2889,17 @@ export declare namespace azure {
|
|
|
2544
2889
|
tasks?: pulumi.Input<pulumi.Input<inputs.azure.OceanNpSchedulingTask>[]>;
|
|
2545
2890
|
}
|
|
2546
2891
|
interface OceanNpSchedulingShutdownHours {
|
|
2892
|
+
/**
|
|
2893
|
+
* Enable automatic headroom. When set to True, Ocean configures and optimizes headroom automatically.
|
|
2894
|
+
*/
|
|
2547
2895
|
isEnabled?: pulumi.Input<boolean>;
|
|
2548
2896
|
timeWindows?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2549
2897
|
}
|
|
2550
2898
|
interface OceanNpSchedulingTask {
|
|
2551
2899
|
cronExpression: pulumi.Input<string>;
|
|
2900
|
+
/**
|
|
2901
|
+
* Enable automatic headroom. When set to True, Ocean configures and optimizes headroom automatically.
|
|
2902
|
+
*/
|
|
2552
2903
|
isEnabled: pulumi.Input<boolean>;
|
|
2553
2904
|
parameters?: pulumi.Input<inputs.azure.OceanNpSchedulingTaskParameters>;
|
|
2554
2905
|
taskType: pulumi.Input<string>;
|
|
@@ -2557,11 +2908,29 @@ export declare namespace azure {
|
|
|
2557
2908
|
parametersClusterRoll?: pulumi.Input<inputs.azure.OceanNpSchedulingTaskParametersParametersClusterRoll>;
|
|
2558
2909
|
}
|
|
2559
2910
|
interface OceanNpSchedulingTaskParametersParametersClusterRoll {
|
|
2911
|
+
/**
|
|
2912
|
+
* Indicates the threshold of minimum healthy nodes in single batch. If the amount of healthy nodes in single batch is under the threshold, the roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
2913
|
+
*/
|
|
2560
2914
|
batchMinHealthyPercentage?: pulumi.Input<number>;
|
|
2915
|
+
/**
|
|
2916
|
+
* Value as a percent to set the size of a batch in a roll. Valid values are 0-100. In case of null as value, the default value in the backend will be 20%.
|
|
2917
|
+
*/
|
|
2561
2918
|
batchSizePercentage?: pulumi.Input<number>;
|
|
2919
|
+
/**
|
|
2920
|
+
* Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
2921
|
+
*/
|
|
2562
2922
|
comment?: pulumi.Input<string>;
|
|
2923
|
+
/**
|
|
2924
|
+
* During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
2925
|
+
*/
|
|
2563
2926
|
respectPdb?: pulumi.Input<boolean>;
|
|
2927
|
+
/**
|
|
2928
|
+
* During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
|
|
2929
|
+
*/
|
|
2564
2930
|
respectRestrictScaleDown?: pulumi.Input<boolean>;
|
|
2931
|
+
/**
|
|
2932
|
+
* List of virtual node group identifiers to be rolled. Each identifier is a string. vngIds can be null, and cannot be used together with nodeNames and nodePoolNames.
|
|
2933
|
+
*/
|
|
2565
2934
|
vngIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2566
2935
|
}
|
|
2567
2936
|
interface OceanNpTaint {
|
|
@@ -2924,24 +3293,75 @@ export declare namespace ecs {
|
|
|
2924
3293
|
availabilityVsCost?: pulumi.Input<string>;
|
|
2925
3294
|
}
|
|
2926
3295
|
interface OceanFilters {
|
|
3296
|
+
/**
|
|
3297
|
+
* The filtered instance types will support at least one of the architectures from this list.
|
|
3298
|
+
*/
|
|
2927
3299
|
architectures?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3300
|
+
/**
|
|
3301
|
+
* The filtered instance types will belong to one of the categories types from this list.
|
|
3302
|
+
*/
|
|
2928
3303
|
categories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3304
|
+
/**
|
|
3305
|
+
* The filtered instance types will have one of the disk type from this list.
|
|
3306
|
+
*/
|
|
2929
3307
|
diskTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3308
|
+
/**
|
|
3309
|
+
* Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
|
|
3310
|
+
*/
|
|
2930
3311
|
excludeFamilies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3312
|
+
/**
|
|
3313
|
+
* In case excludeMetal is set to true, metal types will not be available for scaling.
|
|
3314
|
+
*/
|
|
2931
3315
|
excludeMetal?: pulumi.Input<boolean>;
|
|
3316
|
+
/**
|
|
3317
|
+
* The filtered instance types will have a hypervisor type from this list.
|
|
3318
|
+
*/
|
|
2932
3319
|
hypervisors?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3320
|
+
/**
|
|
3321
|
+
* Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
|
|
3322
|
+
*/
|
|
2933
3323
|
includeFamilies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3324
|
+
/**
|
|
3325
|
+
* Ena is supported or not.
|
|
3326
|
+
*/
|
|
2934
3327
|
isEnaSupported?: pulumi.Input<string>;
|
|
3328
|
+
/**
|
|
3329
|
+
* Maximum total number of GPUs.
|
|
3330
|
+
*/
|
|
2935
3331
|
maxGpu?: pulumi.Input<number>;
|
|
2936
3332
|
maxMemoryGib?: pulumi.Input<number>;
|
|
3333
|
+
/**
|
|
3334
|
+
* Maximum Bandwidth in Gib/s of network performance.
|
|
3335
|
+
*/
|
|
2937
3336
|
maxNetworkPerformance?: pulumi.Input<number>;
|
|
2938
3337
|
maxVcpu?: pulumi.Input<number>;
|
|
3338
|
+
/**
|
|
3339
|
+
* Minimum number of network interfaces (ENIs).
|
|
3340
|
+
*/
|
|
2939
3341
|
minEnis?: pulumi.Input<number>;
|
|
3342
|
+
/**
|
|
3343
|
+
* Minimum total number of GPUs.
|
|
3344
|
+
*/
|
|
2940
3345
|
minGpu?: pulumi.Input<number>;
|
|
3346
|
+
/**
|
|
3347
|
+
* Minimum amount of Memory (GiB).
|
|
3348
|
+
*/
|
|
2941
3349
|
minMemoryGib?: pulumi.Input<number>;
|
|
3350
|
+
/**
|
|
3351
|
+
* Minimum Bandwidth in Gib/s of network performance.
|
|
3352
|
+
*/
|
|
2942
3353
|
minNetworkPerformance?: pulumi.Input<number>;
|
|
3354
|
+
/**
|
|
3355
|
+
* Minimum number of vcpus available.
|
|
3356
|
+
*/
|
|
2943
3357
|
minVcpu?: pulumi.Input<number>;
|
|
3358
|
+
/**
|
|
3359
|
+
* The filtered instance types will have a root device types from this list.
|
|
3360
|
+
*/
|
|
2944
3361
|
rootDeviceTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3362
|
+
/**
|
|
3363
|
+
* The filtered instance types will support at least one of the virtualization types from this list.
|
|
3364
|
+
*/
|
|
2945
3365
|
virtualizationTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2946
3366
|
}
|
|
2947
3367
|
interface OceanInstanceMetadataOptions {
|
|
@@ -2987,6 +3407,9 @@ export declare namespace ecs {
|
|
|
2987
3407
|
* Object. Set Elastic Block Store properties .
|
|
2988
3408
|
*/
|
|
2989
3409
|
ebs?: pulumi.Input<inputs.ecs.OceanLaunchSpecBlockDeviceMappingEbs>;
|
|
3410
|
+
/**
|
|
3411
|
+
* String. suppresses the specified device included in the block device mapping of the AMI.
|
|
3412
|
+
*/
|
|
2990
3413
|
noDevice?: pulumi.Input<string>;
|
|
2991
3414
|
virtualName?: pulumi.Input<string>;
|
|
2992
3415
|
}
|
|
@@ -3097,7 +3520,13 @@ export declare namespace ecs {
|
|
|
3097
3520
|
spotPercentage?: pulumi.Input<number>;
|
|
3098
3521
|
}
|
|
3099
3522
|
interface OceanLaunchSpecTag {
|
|
3523
|
+
/**
|
|
3524
|
+
* The label key.
|
|
3525
|
+
*/
|
|
3100
3526
|
key: pulumi.Input<string>;
|
|
3527
|
+
/**
|
|
3528
|
+
* The label value.
|
|
3529
|
+
*/
|
|
3101
3530
|
value: pulumi.Input<string>;
|
|
3102
3531
|
}
|
|
3103
3532
|
interface OceanLogging {
|
|
@@ -3304,7 +3733,15 @@ export declare namespace gcp {
|
|
|
3304
3733
|
vcpu: pulumi.Input<number>;
|
|
3305
3734
|
}
|
|
3306
3735
|
interface ElastigroupIntegrationDockerSwarm {
|
|
3736
|
+
/**
|
|
3737
|
+
* IP or FQDN of one of your swarm managers.
|
|
3738
|
+
*/
|
|
3307
3739
|
masterHost: pulumi.Input<string>;
|
|
3740
|
+
/**
|
|
3741
|
+
* Network port used by your swarm.
|
|
3742
|
+
*
|
|
3743
|
+
* Usage:
|
|
3744
|
+
*/
|
|
3308
3745
|
masterPort: pulumi.Input<number>;
|
|
3309
3746
|
}
|
|
3310
3747
|
interface ElastigroupIntegrationGke {
|
|
@@ -3319,6 +3756,9 @@ export declare namespace gcp {
|
|
|
3319
3756
|
location?: pulumi.Input<string>;
|
|
3320
3757
|
}
|
|
3321
3758
|
interface ElastigroupIntegrationGkeAutoscaleDown {
|
|
3759
|
+
/**
|
|
3760
|
+
* Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
3761
|
+
*/
|
|
3322
3762
|
evaluationPeriods?: pulumi.Input<number>;
|
|
3323
3763
|
}
|
|
3324
3764
|
interface ElastigroupIntegrationGkeAutoscaleHeadroom {
|
|
@@ -3351,8 +3791,14 @@ export declare namespace gcp {
|
|
|
3351
3791
|
value: pulumi.Input<string>;
|
|
3352
3792
|
}
|
|
3353
3793
|
interface ElastigroupNetworkInterface {
|
|
3794
|
+
/**
|
|
3795
|
+
* Array of configurations.
|
|
3796
|
+
*/
|
|
3354
3797
|
accessConfigs?: pulumi.Input<pulumi.Input<inputs.gcp.ElastigroupNetworkInterfaceAccessConfig>[]>;
|
|
3355
3798
|
aliasIpRanges?: pulumi.Input<pulumi.Input<inputs.gcp.ElastigroupNetworkInterfaceAliasIpRange>[]>;
|
|
3799
|
+
/**
|
|
3800
|
+
* Network resource for this group.
|
|
3801
|
+
*/
|
|
3356
3802
|
network: pulumi.Input<string>;
|
|
3357
3803
|
}
|
|
3358
3804
|
interface ElastigroupNetworkInterfaceAccessConfig {
|
|
@@ -3367,18 +3813,54 @@ export declare namespace gcp {
|
|
|
3367
3813
|
subnetworkRangeName: pulumi.Input<string>;
|
|
3368
3814
|
}
|
|
3369
3815
|
interface ElastigroupScalingDownPolicy {
|
|
3816
|
+
/**
|
|
3817
|
+
* Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
|
|
3818
|
+
*/
|
|
3370
3819
|
actionType?: pulumi.Input<string>;
|
|
3820
|
+
/**
|
|
3821
|
+
* Value to which the action type will be adjusted. Required if using "numeric" or "percentageAdjustment" action types.
|
|
3822
|
+
*/
|
|
3371
3823
|
adjustment?: pulumi.Input<number>;
|
|
3824
|
+
/**
|
|
3825
|
+
* Time (seconds) to wait after a scaling action before resuming monitoring.
|
|
3826
|
+
*/
|
|
3372
3827
|
cooldown?: pulumi.Input<number>;
|
|
3828
|
+
/**
|
|
3829
|
+
* A list of dimensions describing qualities of the metric.
|
|
3830
|
+
*/
|
|
3373
3831
|
dimensions?: pulumi.Input<pulumi.Input<inputs.gcp.ElastigroupScalingDownPolicyDimension>[]>;
|
|
3832
|
+
/**
|
|
3833
|
+
* Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
3834
|
+
*/
|
|
3374
3835
|
evaluationPeriods?: pulumi.Input<number>;
|
|
3836
|
+
/**
|
|
3837
|
+
* Metric to monitor. Valid values: "Percentage CPU", "Network In", "Network Out", "Disk Read Bytes", "Disk Write Bytes", "Disk Write Operations/Sec", "Disk Read Operations/Sec".
|
|
3838
|
+
*/
|
|
3375
3839
|
metricName: pulumi.Input<string>;
|
|
3376
3840
|
namespace: pulumi.Input<string>;
|
|
3841
|
+
/**
|
|
3842
|
+
* The operator used to evaluate the threshold against the current metric value. Valid values: "gt" (greater than), "get" (greater-than or equal), "lt" (less than), "lte" (less than or equal).
|
|
3843
|
+
*/
|
|
3377
3844
|
operator?: pulumi.Input<string>;
|
|
3845
|
+
/**
|
|
3846
|
+
* Amount of time (seconds) for which the threshold must be met in order to trigger the scaling action.
|
|
3847
|
+
*/
|
|
3378
3848
|
period?: pulumi.Input<number>;
|
|
3849
|
+
/**
|
|
3850
|
+
* Name of scaling policy.
|
|
3851
|
+
*/
|
|
3379
3852
|
policyName: pulumi.Input<string>;
|
|
3853
|
+
/**
|
|
3854
|
+
* Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
3855
|
+
*/
|
|
3380
3856
|
source?: pulumi.Input<string>;
|
|
3857
|
+
/**
|
|
3858
|
+
* Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
|
|
3859
|
+
*/
|
|
3381
3860
|
statistic?: pulumi.Input<string>;
|
|
3861
|
+
/**
|
|
3862
|
+
* The value at which the scaling action is triggered.
|
|
3863
|
+
*/
|
|
3382
3864
|
threshold: pulumi.Input<number>;
|
|
3383
3865
|
unit: pulumi.Input<string>;
|
|
3384
3866
|
}
|
|
@@ -3427,6 +3909,9 @@ export declare namespace gcp {
|
|
|
3427
3909
|
* Name of scaling policy.
|
|
3428
3910
|
*/
|
|
3429
3911
|
policyName: pulumi.Input<string>;
|
|
3912
|
+
/**
|
|
3913
|
+
* Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
3914
|
+
*/
|
|
3430
3915
|
source?: pulumi.Input<string>;
|
|
3431
3916
|
/**
|
|
3432
3917
|
* Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
|
|
@@ -3529,21 +4014,51 @@ export declare namespace gke {
|
|
|
3529
4014
|
}
|
|
3530
4015
|
interface ElastigroupIntegrationGke {
|
|
3531
4016
|
autoUpdate?: pulumi.Input<boolean>;
|
|
4017
|
+
/**
|
|
4018
|
+
* The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
|
|
4019
|
+
*/
|
|
3532
4020
|
autoscaleCooldown?: pulumi.Input<number>;
|
|
4021
|
+
/**
|
|
4022
|
+
* Enabling scale down.
|
|
4023
|
+
*/
|
|
3533
4024
|
autoscaleDown?: pulumi.Input<inputs.gke.ElastigroupIntegrationGkeAutoscaleDown>;
|
|
4025
|
+
/**
|
|
4026
|
+
* Headroom for the cluster.
|
|
4027
|
+
*/
|
|
3534
4028
|
autoscaleHeadroom?: pulumi.Input<inputs.gke.ElastigroupIntegrationGkeAutoscaleHeadroom>;
|
|
3535
4029
|
autoscaleIsAutoConfig?: pulumi.Input<boolean>;
|
|
4030
|
+
/**
|
|
4031
|
+
* Specifies whether the auto scaling feature is enabled.
|
|
4032
|
+
*/
|
|
3536
4033
|
autoscaleIsEnabled?: pulumi.Input<boolean>;
|
|
4034
|
+
/**
|
|
4035
|
+
* Labels to assign to the resource.
|
|
4036
|
+
*/
|
|
3537
4037
|
autoscaleLabels?: pulumi.Input<pulumi.Input<inputs.gke.ElastigroupIntegrationGkeAutoscaleLabel>[]>;
|
|
3538
4038
|
clusterId?: pulumi.Input<string>;
|
|
4039
|
+
/**
|
|
4040
|
+
* The location of your GKE cluster.
|
|
4041
|
+
*/
|
|
3539
4042
|
location?: pulumi.Input<string>;
|
|
3540
4043
|
}
|
|
3541
4044
|
interface ElastigroupIntegrationGkeAutoscaleDown {
|
|
4045
|
+
/**
|
|
4046
|
+
* Amount of cooldown evaluation periods for scale down.
|
|
4047
|
+
*/
|
|
3542
4048
|
evaluationPeriods?: pulumi.Input<number>;
|
|
3543
4049
|
}
|
|
3544
4050
|
interface ElastigroupIntegrationGkeAutoscaleHeadroom {
|
|
4051
|
+
/**
|
|
4052
|
+
* Cpu units for compute.
|
|
4053
|
+
*/
|
|
3545
4054
|
cpuPerUnit?: pulumi.Input<number>;
|
|
4055
|
+
/**
|
|
4056
|
+
* RAM units for compute.
|
|
4057
|
+
*/
|
|
3546
4058
|
memoryPerUnit?: pulumi.Input<number>;
|
|
4059
|
+
/**
|
|
4060
|
+
* Amount of units for compute.
|
|
4061
|
+
*/
|
|
3547
4062
|
numOfUnits?: pulumi.Input<number>;
|
|
3548
4063
|
}
|
|
3549
4064
|
interface ElastigroupIntegrationGkeAutoscaleLabel {
|
|
@@ -3576,6 +4091,9 @@ export declare namespace gke {
|
|
|
3576
4091
|
adjustment?: pulumi.Input<number>;
|
|
3577
4092
|
cooldown?: pulumi.Input<number>;
|
|
3578
4093
|
dimensions?: pulumi.Input<pulumi.Input<inputs.gke.ElastigroupScalingDownPolicyDimension>[]>;
|
|
4094
|
+
/**
|
|
4095
|
+
* Amount of cooldown evaluation periods for scale down.
|
|
4096
|
+
*/
|
|
3579
4097
|
evaluationPeriods?: pulumi.Input<number>;
|
|
3580
4098
|
metricName: pulumi.Input<string>;
|
|
3581
4099
|
namespace: pulumi.Input<string>;
|
|
@@ -3596,6 +4114,9 @@ export declare namespace gke {
|
|
|
3596
4114
|
adjustment?: pulumi.Input<number>;
|
|
3597
4115
|
cooldown?: pulumi.Input<number>;
|
|
3598
4116
|
dimensions?: pulumi.Input<pulumi.Input<inputs.gke.ElastigroupScalingUpPolicyDimension>[]>;
|
|
4117
|
+
/**
|
|
4118
|
+
* Amount of cooldown evaluation periods for scale down.
|
|
4119
|
+
*/
|
|
3599
4120
|
evaluationPeriods?: pulumi.Input<number>;
|
|
3600
4121
|
metricName: pulumi.Input<string>;
|
|
3601
4122
|
namespace: pulumi.Input<string>;
|
|
@@ -3700,6 +4221,9 @@ export declare namespace gke {
|
|
|
3700
4221
|
}
|
|
3701
4222
|
interface OceanImportBackendServiceNamedPort {
|
|
3702
4223
|
name: pulumi.Input<string>;
|
|
4224
|
+
/**
|
|
4225
|
+
* A list of ports.
|
|
4226
|
+
*/
|
|
3703
4227
|
ports: pulumi.Input<pulumi.Input<string>[]>;
|
|
3704
4228
|
}
|
|
3705
4229
|
interface OceanImportScheduledTask {
|
|
@@ -4759,6 +5283,9 @@ export declare namespace oceancd {
|
|
|
4759
5283
|
profile?: pulumi.Input<string>;
|
|
4760
5284
|
}
|
|
4761
5285
|
interface VerificationTemplateMetricProviderPrometheus {
|
|
5286
|
+
/**
|
|
5287
|
+
* A request for information retrieved from Prometheus.
|
|
5288
|
+
*/
|
|
4762
5289
|
prometheusQuery: pulumi.Input<string>;
|
|
4763
5290
|
}
|
|
4764
5291
|
interface VerificationTemplateMetricProviderWeb {
|