@pulumi/spotinst 3.75.0-alpha.1713813839 → 3.76.0-alpha.1713904914
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/aws/account.d.ts +0 -2
- package/aws/account.js +0 -2
- package/aws/account.js.map +1 -1
- package/aws/credentials.d.ts +0 -2
- package/aws/credentials.js +0 -2
- package/aws/credentials.js.map +1 -1
- package/aws/elastigroup.d.ts +0 -167
- package/aws/elastigroup.js +0 -2
- package/aws/elastigroup.js.map +1 -1
- package/aws/mrScalar.d.ts +0 -429
- package/aws/mrScalar.js +0 -6
- package/aws/mrScalar.js.map +1 -1
- package/aws/ocean.d.ts +3 -30
- package/aws/ocean.js.map +1 -1
- package/aws/oceanExtendedResourceDefinition.d.ts +0 -2
- package/aws/oceanExtendedResourceDefinition.js +0 -2
- package/aws/oceanExtendedResourceDefinition.js.map +1 -1
- package/aws/oceanLaunchSpec.d.ts +3 -3
- package/aws/suspension.d.ts +0 -2
- package/aws/suspension.js +0 -2
- package/aws/suspension.js.map +1 -1
- package/azure/elastigroup.d.ts +6 -8
- package/azure/elastigroup.js +0 -2
- package/azure/elastigroup.js.map +1 -1
- package/azure/ocean.d.ts +6 -8
- package/azure/ocean.js +0 -2
- package/azure/ocean.js.map +1 -1
- package/azure/oceanVirtualNodeGroup.d.ts +0 -2
- package/azure/oceanVirtualNodeGroup.js +0 -2
- package/azure/oceanVirtualNodeGroup.js.map +1 -1
- package/dataIntegration.d.ts +0 -2
- package/dataIntegration.js +0 -2
- package/dataIntegration.js.map +1 -1
- package/ecs/ocean.d.ts +0 -72
- package/ecs/ocean.js.map +1 -1
- package/ecs/oceanLaunchSpec.d.ts +3 -5
- package/ecs/oceanLaunchSpec.js +0 -2
- package/ecs/oceanLaunchSpec.js.map +1 -1
- package/gcp/elastigroup.d.ts +0 -98
- package/gcp/elastigroup.js +0 -2
- package/gcp/elastigroup.js.map +1 -1
- package/gke/elastigroup.d.ts +0 -35
- package/gke/elastigroup.js +0 -2
- package/gke/elastigroup.js.map +1 -1
- package/gke/oceanImport.d.ts +0 -20
- package/gke/oceanImport.js +0 -2
- package/gke/oceanImport.js.map +1 -1
- package/gke/oceanLaunchSpec.d.ts +3 -5
- package/gke/oceanLaunchSpec.js +0 -2
- package/gke/oceanLaunchSpec.js.map +1 -1
- package/gke/oceanLaunchSpecImport.d.ts +0 -2
- package/gke/oceanLaunchSpecImport.js +0 -2
- package/gke/oceanLaunchSpecImport.js.map +1 -1
- package/organization/policy.d.ts +0 -2
- package/organization/policy.js +0 -2
- package/organization/policy.js.map +1 -1
- package/organization/programmaticUser.d.ts +0 -2
- package/organization/programmaticUser.js +0 -2
- package/organization/programmaticUser.js.map +1 -1
- package/organization/user.d.ts +0 -2
- package/organization/user.js +0 -2
- package/organization/user.js.map +1 -1
- package/organization/userGroup.d.ts +0 -2
- package/organization/userGroup.js +0 -2
- package/organization/userGroup.js.map +1 -1
- package/package.json +1 -1
- package/spark/ocean.d.ts +0 -2
- package/spark/ocean.js +0 -2
- package/spark/ocean.js.map +1 -1
- package/spark/oceanVirtualNodeGroup.d.ts +0 -2
- package/spark/oceanVirtualNodeGroup.js +0 -2
- package/spark/oceanVirtualNodeGroup.js.map +1 -1
- package/statefulNodeAzure.d.ts +0 -2
- package/statefulNodeAzure.js +0 -2
- package/statefulNodeAzure.js.map +1 -1
- package/subscription.d.ts +0 -2
- package/subscription.js +0 -2
- package/subscription.js.map +1 -1
- package/types/input.d.ts +46 -1676
- package/types/output.d.ts +46 -1676
package/types/input.d.ts
CHANGED
|
@@ -60,16 +60,13 @@ export interface HealthCheckCheck {
|
|
|
60
60
|
* The destination for the request.
|
|
61
61
|
*/
|
|
62
62
|
endpoint?: pulumi.Input<string>;
|
|
63
|
-
/**
|
|
64
|
-
* The number of consecutive successful health checks that must occur before declaring an instance healthy.
|
|
65
|
-
*/
|
|
66
63
|
healthy: pulumi.Input<number>;
|
|
67
64
|
/**
|
|
68
65
|
* The amount of time (in seconds) between each health check (minimum: 10).
|
|
69
66
|
*/
|
|
70
67
|
interval: pulumi.Input<number>;
|
|
71
68
|
/**
|
|
72
|
-
* The port
|
|
69
|
+
* The port to use to connect with the instance.
|
|
73
70
|
*/
|
|
74
71
|
port: pulumi.Input<number>;
|
|
75
72
|
/**
|
|
@@ -81,9 +78,6 @@ export interface HealthCheckCheck {
|
|
|
81
78
|
* the amount of time (in seconds) to wait when receiving a response from the health check.
|
|
82
79
|
*/
|
|
83
80
|
timeout?: pulumi.Input<number>;
|
|
84
|
-
/**
|
|
85
|
-
* The number of consecutive failed health checks that must occur before declaring an instance unhealthy.
|
|
86
|
-
*/
|
|
87
81
|
unhealthy: pulumi.Input<number>;
|
|
88
82
|
}
|
|
89
83
|
export interface StatefulNodeAzureAttachDataDisk {
|
|
@@ -301,13 +295,7 @@ export declare namespace aws {
|
|
|
301
295
|
strategies?: pulumi.Input<pulumi.Input<inputs.aws.BeanstalkDeploymentPreferencesStrategy>[]>;
|
|
302
296
|
}
|
|
303
297
|
interface BeanstalkDeploymentPreferencesStrategy {
|
|
304
|
-
/**
|
|
305
|
-
* Action to take
|
|
306
|
-
*/
|
|
307
298
|
action?: pulumi.Input<string>;
|
|
308
|
-
/**
|
|
309
|
-
* Bool value if to wait to drain instance
|
|
310
|
-
*/
|
|
311
299
|
shouldDrainInstances?: pulumi.Input<boolean>;
|
|
312
300
|
}
|
|
313
301
|
interface BeanstalkManagedActions {
|
|
@@ -317,17 +305,8 @@ export declare namespace aws {
|
|
|
317
305
|
platformUpdate?: pulumi.Input<inputs.aws.BeanstalkManagedActionsPlatformUpdate>;
|
|
318
306
|
}
|
|
319
307
|
interface BeanstalkManagedActionsPlatformUpdate {
|
|
320
|
-
/**
|
|
321
|
-
* Actions to perform (options: timeWindow, never)
|
|
322
|
-
*/
|
|
323
308
|
performAt?: pulumi.Input<string>;
|
|
324
|
-
/**
|
|
325
|
-
* Time Window for when action occurs ex. Mon:23:50-Tue:00:20
|
|
326
|
-
*/
|
|
327
309
|
timeWindow?: pulumi.Input<string>;
|
|
328
|
-
/**
|
|
329
|
-
* Level to update
|
|
330
|
-
*/
|
|
331
310
|
updateLevel?: pulumi.Input<string>;
|
|
332
311
|
}
|
|
333
312
|
interface BeanstalkScheduledTask {
|
|
@@ -460,7 +439,7 @@ export declare namespace aws {
|
|
|
460
439
|
}
|
|
461
440
|
interface ElastigroupImageImage {
|
|
462
441
|
/**
|
|
463
|
-
* The
|
|
442
|
+
* The group ID.
|
|
464
443
|
*/
|
|
465
444
|
id: pulumi.Input<string>;
|
|
466
445
|
}
|
|
@@ -475,417 +454,150 @@ export declare namespace aws {
|
|
|
475
454
|
weight: pulumi.Input<number>;
|
|
476
455
|
}
|
|
477
456
|
interface ElastigroupIntegrationBeanstalk {
|
|
478
|
-
/**
|
|
479
|
-
* Preferences when performing a roll
|
|
480
|
-
*/
|
|
481
457
|
deploymentPreferences?: pulumi.Input<inputs.aws.ElastigroupIntegrationBeanstalkDeploymentPreferences>;
|
|
482
458
|
environmentId?: pulumi.Input<string>;
|
|
483
|
-
/**
|
|
484
|
-
* Managed Actions parameters
|
|
485
|
-
*/
|
|
486
459
|
managedActions?: pulumi.Input<inputs.aws.ElastigroupIntegrationBeanstalkManagedActions>;
|
|
487
460
|
}
|
|
488
461
|
interface ElastigroupIntegrationBeanstalkDeploymentPreferences {
|
|
489
|
-
/**
|
|
490
|
-
* Should roll perform automatically
|
|
491
|
-
*/
|
|
492
462
|
automaticRoll?: pulumi.Input<boolean>;
|
|
493
|
-
/**
|
|
494
|
-
* The percentage size of each batch in the scheduled deployment roll.
|
|
495
|
-
*/
|
|
496
463
|
batchSizePercentage?: pulumi.Input<number>;
|
|
497
|
-
/**
|
|
498
|
-
* The period of time (seconds) to wait before checking a batch's health after it's deployment.
|
|
499
|
-
*/
|
|
500
464
|
gracePeriod?: pulumi.Input<number>;
|
|
501
|
-
/**
|
|
502
|
-
* Strategy parameters
|
|
503
|
-
*/
|
|
504
465
|
strategy?: pulumi.Input<inputs.aws.ElastigroupIntegrationBeanstalkDeploymentPreferencesStrategy>;
|
|
505
466
|
}
|
|
506
467
|
interface ElastigroupIntegrationBeanstalkDeploymentPreferencesStrategy {
|
|
507
|
-
/**
|
|
508
|
-
* The action to take when scale up according to step's threshold is needed.
|
|
509
|
-
*/
|
|
510
468
|
action?: pulumi.Input<string>;
|
|
511
|
-
/**
|
|
512
|
-
* Bool value if to wait to drain instance
|
|
513
|
-
*/
|
|
514
469
|
shouldDrainInstances?: pulumi.Input<boolean>;
|
|
515
470
|
}
|
|
516
471
|
interface ElastigroupIntegrationBeanstalkManagedActions {
|
|
517
|
-
/**
|
|
518
|
-
* Platform Update parameters
|
|
519
|
-
*/
|
|
520
472
|
platformUpdate?: pulumi.Input<inputs.aws.ElastigroupIntegrationBeanstalkManagedActionsPlatformUpdate>;
|
|
521
473
|
}
|
|
522
474
|
interface ElastigroupIntegrationBeanstalkManagedActionsPlatformUpdate {
|
|
523
|
-
/**
|
|
524
|
-
* In the event of a fallback to On-Demand instances, select the time period to revert back to Spot. Supported Arguments – always (default), timeWindow, never. For timeWindow or never to be valid the group must have availabilityOriented OR persistence defined.
|
|
525
|
-
*/
|
|
526
475
|
performAt?: pulumi.Input<string>;
|
|
527
|
-
/**
|
|
528
|
-
* Time Window for when action occurs ex. Mon:23:50-Tue:00:20
|
|
529
|
-
*/
|
|
530
476
|
timeWindow?: pulumi.Input<string>;
|
|
531
|
-
/**
|
|
532
|
-
* Level to update
|
|
533
|
-
*
|
|
534
|
-
* Usage:
|
|
535
|
-
*/
|
|
536
477
|
updateLevel?: pulumi.Input<string>;
|
|
537
478
|
}
|
|
538
479
|
interface ElastigroupIntegrationCodedeploy {
|
|
539
|
-
/**
|
|
540
|
-
* Cleanup automatically after a failed deploy.
|
|
541
|
-
*/
|
|
542
480
|
cleanupOnFailure: pulumi.Input<boolean>;
|
|
543
|
-
/**
|
|
544
|
-
* Specify the deployment groups details.
|
|
545
|
-
*/
|
|
546
481
|
deploymentGroups: pulumi.Input<pulumi.Input<inputs.aws.ElastigroupIntegrationCodedeployDeploymentGroup>[]>;
|
|
547
|
-
/**
|
|
548
|
-
* Terminate the instance automatically after a failed deploy.
|
|
549
|
-
*/
|
|
550
482
|
terminateInstanceOnFailure: pulumi.Input<boolean>;
|
|
551
483
|
}
|
|
552
484
|
interface ElastigroupIntegrationCodedeployDeploymentGroup {
|
|
553
|
-
/**
|
|
554
|
-
* The application name.
|
|
555
|
-
*/
|
|
556
485
|
applicationName: pulumi.Input<string>;
|
|
557
|
-
/**
|
|
558
|
-
* The deployment group name.
|
|
559
|
-
*
|
|
560
|
-
* Usage:
|
|
561
|
-
*/
|
|
562
486
|
deploymentGroupName: pulumi.Input<string>;
|
|
563
487
|
}
|
|
564
488
|
interface ElastigroupIntegrationDockerSwarm {
|
|
565
|
-
/**
|
|
566
|
-
* The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
|
|
567
|
-
*/
|
|
568
489
|
autoscaleCooldown?: pulumi.Input<number>;
|
|
569
|
-
/**
|
|
570
|
-
* Settings for scale down actions.
|
|
571
|
-
*/
|
|
572
490
|
autoscaleDown?: pulumi.Input<inputs.aws.ElastigroupIntegrationDockerSwarmAutoscaleDown>;
|
|
573
|
-
/**
|
|
574
|
-
* An option to set compute reserve for the cluster.
|
|
575
|
-
*/
|
|
576
491
|
autoscaleHeadroom?: pulumi.Input<inputs.aws.ElastigroupIntegrationDockerSwarmAutoscaleHeadroom>;
|
|
577
|
-
/**
|
|
578
|
-
* Specifies whether the auto scaling feature is enabled.
|
|
579
|
-
*/
|
|
580
492
|
autoscaleIsEnabled?: pulumi.Input<boolean>;
|
|
581
|
-
/**
|
|
582
|
-
* The URL for the Nomad master host.
|
|
583
|
-
*/
|
|
584
493
|
masterHost: pulumi.Input<string>;
|
|
585
|
-
/**
|
|
586
|
-
* The network port for the master host.
|
|
587
|
-
*/
|
|
588
494
|
masterPort: pulumi.Input<number>;
|
|
589
495
|
}
|
|
590
496
|
interface ElastigroupIntegrationDockerSwarmAutoscaleDown {
|
|
591
|
-
/**
|
|
592
|
-
* The number of periods over which data is compared to the specified threshold.
|
|
593
|
-
*/
|
|
594
497
|
evaluationPeriods?: pulumi.Input<number>;
|
|
595
|
-
/**
|
|
596
|
-
* Represents the maximum percent to scale-down. Number between 1-100.
|
|
597
|
-
*/
|
|
598
498
|
maxScaleDownPercentage?: pulumi.Input<number>;
|
|
599
499
|
}
|
|
600
500
|
interface ElastigroupIntegrationDockerSwarmAutoscaleHeadroom {
|
|
601
|
-
/**
|
|
602
|
-
* How much CPU (MHz) to allocate for headroom unit.
|
|
603
|
-
*/
|
|
604
501
|
cpuPerUnit?: pulumi.Input<number>;
|
|
605
|
-
/**
|
|
606
|
-
* How much Memory allocate for headroom unit.
|
|
607
|
-
*/
|
|
608
502
|
memoryPerUnit?: pulumi.Input<number>;
|
|
609
|
-
/**
|
|
610
|
-
* How many units of headroom to allocate.
|
|
611
|
-
*/
|
|
612
503
|
numOfUnits?: pulumi.Input<number>;
|
|
613
504
|
}
|
|
614
505
|
interface ElastigroupIntegrationEcs {
|
|
615
|
-
/**
|
|
616
|
-
* A key/value mapping of tags to assign to the resource.
|
|
617
|
-
*/
|
|
618
506
|
autoscaleAttributes?: pulumi.Input<pulumi.Input<inputs.aws.ElastigroupIntegrationEcsAutoscaleAttribute>[]>;
|
|
619
|
-
/**
|
|
620
|
-
* The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
|
|
621
|
-
*/
|
|
622
507
|
autoscaleCooldown?: pulumi.Input<number>;
|
|
623
|
-
/**
|
|
624
|
-
* Settings for scale down actions.
|
|
625
|
-
*/
|
|
626
508
|
autoscaleDown?: pulumi.Input<inputs.aws.ElastigroupIntegrationEcsAutoscaleDown>;
|
|
627
|
-
/**
|
|
628
|
-
* An option to set compute reserve for the cluster.
|
|
629
|
-
*/
|
|
630
509
|
autoscaleHeadroom?: pulumi.Input<inputs.aws.ElastigroupIntegrationEcsAutoscaleHeadroom>;
|
|
631
|
-
/**
|
|
632
|
-
* Enabling the automatic k8s auto-scaler functionality. For more information please see: [Kubernetes auto scaler](https://api.spotinst.com/integration-docs/elastigroup/container-management/kubernetes/autoscaler/).
|
|
633
|
-
*/
|
|
634
510
|
autoscaleIsAutoConfig?: pulumi.Input<boolean>;
|
|
635
|
-
/**
|
|
636
|
-
* Specifies whether the auto scaling feature is enabled.
|
|
637
|
-
*/
|
|
638
511
|
autoscaleIsEnabled?: pulumi.Input<boolean>;
|
|
639
|
-
/**
|
|
640
|
-
* Determines whether to scale down non-service tasks.
|
|
641
|
-
*/
|
|
642
512
|
autoscaleScaleDownNonServiceTasks?: pulumi.Input<boolean>;
|
|
643
|
-
/**
|
|
644
|
-
* Batch configuration object:
|
|
645
|
-
*/
|
|
646
513
|
batch?: pulumi.Input<inputs.aws.ElastigroupIntegrationEcsBatch>;
|
|
647
|
-
/**
|
|
648
|
-
* The name of the EC2 Container Service cluster.
|
|
649
|
-
*/
|
|
650
514
|
clusterName: pulumi.Input<string>;
|
|
651
515
|
}
|
|
652
516
|
interface ElastigroupIntegrationEcsAutoscaleAttribute {
|
|
653
517
|
key: pulumi.Input<string>;
|
|
654
|
-
/**
|
|
655
|
-
* The dimension value.
|
|
656
|
-
*/
|
|
657
518
|
value: pulumi.Input<string>;
|
|
658
519
|
}
|
|
659
520
|
interface ElastigroupIntegrationEcsAutoscaleDown {
|
|
660
|
-
/**
|
|
661
|
-
* The number of periods over which data is compared to the specified threshold.
|
|
662
|
-
*/
|
|
663
521
|
evaluationPeriods?: pulumi.Input<number>;
|
|
664
|
-
/**
|
|
665
|
-
* Represents the maximum percent to scale-down. Number between 1-100.
|
|
666
|
-
*/
|
|
667
522
|
maxScaleDownPercentage?: pulumi.Input<number>;
|
|
668
523
|
}
|
|
669
524
|
interface ElastigroupIntegrationEcsAutoscaleHeadroom {
|
|
670
|
-
/**
|
|
671
|
-
* How much CPU (MHz) to allocate for headroom unit.
|
|
672
|
-
*/
|
|
673
525
|
cpuPerUnit?: pulumi.Input<number>;
|
|
674
|
-
/**
|
|
675
|
-
* How much Memory allocate for headroom unit.
|
|
676
|
-
*/
|
|
677
526
|
memoryPerUnit?: pulumi.Input<number>;
|
|
678
|
-
/**
|
|
679
|
-
* How many units of headroom to allocate.
|
|
680
|
-
*/
|
|
681
527
|
numOfUnits?: pulumi.Input<number>;
|
|
682
528
|
}
|
|
683
529
|
interface ElastigroupIntegrationEcsBatch {
|
|
684
|
-
/**
|
|
685
|
-
* Array of strings.
|
|
686
|
-
*
|
|
687
|
-
* Usage:
|
|
688
|
-
*/
|
|
689
530
|
jobQueueNames: pulumi.Input<pulumi.Input<string>[]>;
|
|
690
531
|
}
|
|
691
532
|
interface ElastigroupIntegrationGitlab {
|
|
692
|
-
/**
|
|
693
|
-
* Settings for Gitlab runner.
|
|
694
|
-
*/
|
|
695
533
|
runner?: pulumi.Input<inputs.aws.ElastigroupIntegrationGitlabRunner>;
|
|
696
534
|
}
|
|
697
535
|
interface ElastigroupIntegrationGitlabRunner {
|
|
698
|
-
/**
|
|
699
|
-
* Specifies whether the scaling policy described in this block is enabled.
|
|
700
|
-
*/
|
|
701
536
|
isEnabled?: pulumi.Input<boolean>;
|
|
702
537
|
}
|
|
703
538
|
interface ElastigroupIntegrationKubernetes {
|
|
704
|
-
/**
|
|
705
|
-
* The public IP of the DC/OS Master.
|
|
706
|
-
*
|
|
707
|
-
* Usage:
|
|
708
|
-
*/
|
|
709
539
|
apiServer?: pulumi.Input<string>;
|
|
710
|
-
/**
|
|
711
|
-
* The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
|
|
712
|
-
*/
|
|
713
540
|
autoscaleCooldown?: pulumi.Input<number>;
|
|
714
|
-
/**
|
|
715
|
-
* Settings for scale down actions.
|
|
716
|
-
*/
|
|
717
541
|
autoscaleDown?: pulumi.Input<inputs.aws.ElastigroupIntegrationKubernetesAutoscaleDown>;
|
|
718
|
-
/**
|
|
719
|
-
* An option to set compute reserve for the cluster.
|
|
720
|
-
*/
|
|
721
542
|
autoscaleHeadroom?: pulumi.Input<inputs.aws.ElastigroupIntegrationKubernetesAutoscaleHeadroom>;
|
|
722
|
-
/**
|
|
723
|
-
* Enabling the automatic k8s auto-scaler functionality. For more information please see: [Kubernetes auto scaler](https://api.spotinst.com/integration-docs/elastigroup/container-management/kubernetes/autoscaler/).
|
|
724
|
-
*/
|
|
725
543
|
autoscaleIsAutoConfig?: pulumi.Input<boolean>;
|
|
726
|
-
/**
|
|
727
|
-
* Specifies whether the auto scaling feature is enabled.
|
|
728
|
-
*/
|
|
729
544
|
autoscaleIsEnabled?: pulumi.Input<boolean>;
|
|
730
|
-
/**
|
|
731
|
-
* A key/value mapping of tags to assign to the resource.
|
|
732
|
-
*
|
|
733
|
-
* Usage:
|
|
734
|
-
*/
|
|
735
545
|
autoscaleLabels?: pulumi.Input<pulumi.Input<inputs.aws.ElastigroupIntegrationKubernetesAutoscaleLabel>[]>;
|
|
736
546
|
clusterIdentifier?: pulumi.Input<string>;
|
|
737
|
-
/**
|
|
738
|
-
* Valid values: `"saas"`, `"pod"`.
|
|
739
|
-
*/
|
|
740
547
|
integrationMode?: pulumi.Input<string>;
|
|
741
|
-
/**
|
|
742
|
-
* Kubernetes Token
|
|
743
|
-
*/
|
|
744
548
|
token?: pulumi.Input<string>;
|
|
745
549
|
}
|
|
746
550
|
interface ElastigroupIntegrationKubernetesAutoscaleDown {
|
|
747
|
-
/**
|
|
748
|
-
* The number of periods over which data is compared to the specified threshold.
|
|
749
|
-
*/
|
|
750
551
|
evaluationPeriods?: pulumi.Input<number>;
|
|
751
|
-
/**
|
|
752
|
-
* Represents the maximum percent to scale-down. Number between 1-100.
|
|
753
|
-
*/
|
|
754
552
|
maxScaleDownPercentage?: pulumi.Input<number>;
|
|
755
553
|
}
|
|
756
554
|
interface ElastigroupIntegrationKubernetesAutoscaleHeadroom {
|
|
757
|
-
/**
|
|
758
|
-
* How much CPU (MHz) to allocate for headroom unit.
|
|
759
|
-
*/
|
|
760
555
|
cpuPerUnit?: pulumi.Input<number>;
|
|
761
|
-
/**
|
|
762
|
-
* How much Memory allocate for headroom unit.
|
|
763
|
-
*/
|
|
764
556
|
memoryPerUnit?: pulumi.Input<number>;
|
|
765
|
-
/**
|
|
766
|
-
* How many units of headroom to allocate.
|
|
767
|
-
*/
|
|
768
557
|
numOfUnits?: pulumi.Input<number>;
|
|
769
558
|
}
|
|
770
559
|
interface ElastigroupIntegrationKubernetesAutoscaleLabel {
|
|
771
560
|
key: pulumi.Input<string>;
|
|
772
|
-
/**
|
|
773
|
-
* The dimension value.
|
|
774
|
-
*/
|
|
775
561
|
value: pulumi.Input<string>;
|
|
776
562
|
}
|
|
777
563
|
interface ElastigroupIntegrationMesosphere {
|
|
778
|
-
/**
|
|
779
|
-
* The public IP of the DC/OS Master.
|
|
780
|
-
*
|
|
781
|
-
* Usage:
|
|
782
|
-
*/
|
|
783
564
|
apiServer: pulumi.Input<string>;
|
|
784
565
|
}
|
|
785
566
|
interface ElastigroupIntegrationNomad {
|
|
786
|
-
/**
|
|
787
|
-
* Nomad ACL Token
|
|
788
|
-
*/
|
|
789
567
|
aclToken?: pulumi.Input<string>;
|
|
790
|
-
/**
|
|
791
|
-
* A key/value mapping of tags to assign to the resource.
|
|
792
|
-
*
|
|
793
|
-
* Usage:
|
|
794
|
-
*/
|
|
795
568
|
autoscaleConstraints?: pulumi.Input<pulumi.Input<inputs.aws.ElastigroupIntegrationNomadAutoscaleConstraint>[]>;
|
|
796
|
-
/**
|
|
797
|
-
* The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
|
|
798
|
-
*/
|
|
799
569
|
autoscaleCooldown?: pulumi.Input<number>;
|
|
800
|
-
/**
|
|
801
|
-
* Settings for scale down actions.
|
|
802
|
-
*/
|
|
803
570
|
autoscaleDown?: pulumi.Input<inputs.aws.ElastigroupIntegrationNomadAutoscaleDown>;
|
|
804
|
-
/**
|
|
805
|
-
* An option to set compute reserve for the cluster.
|
|
806
|
-
*/
|
|
807
571
|
autoscaleHeadroom?: pulumi.Input<inputs.aws.ElastigroupIntegrationNomadAutoscaleHeadroom>;
|
|
808
|
-
/**
|
|
809
|
-
* Specifies whether the auto scaling feature is enabled.
|
|
810
|
-
*/
|
|
811
572
|
autoscaleIsEnabled?: pulumi.Input<boolean>;
|
|
812
|
-
/**
|
|
813
|
-
* The URL for the Nomad master host.
|
|
814
|
-
*/
|
|
815
573
|
masterHost: pulumi.Input<string>;
|
|
816
|
-
/**
|
|
817
|
-
* The network port for the master host.
|
|
818
|
-
*/
|
|
819
574
|
masterPort: pulumi.Input<number>;
|
|
820
575
|
}
|
|
821
576
|
interface ElastigroupIntegrationNomadAutoscaleConstraint {
|
|
822
577
|
key: pulumi.Input<string>;
|
|
823
|
-
/**
|
|
824
|
-
* The dimension value.
|
|
825
|
-
*/
|
|
826
578
|
value: pulumi.Input<string>;
|
|
827
579
|
}
|
|
828
580
|
interface ElastigroupIntegrationNomadAutoscaleDown {
|
|
829
|
-
/**
|
|
830
|
-
* The number of periods over which data is compared to the specified threshold.
|
|
831
|
-
*/
|
|
832
581
|
evaluationPeriods?: pulumi.Input<number>;
|
|
833
582
|
}
|
|
834
583
|
interface ElastigroupIntegrationNomadAutoscaleHeadroom {
|
|
835
|
-
/**
|
|
836
|
-
* How much CPU (MHz) to allocate for headroom unit.
|
|
837
|
-
*/
|
|
838
584
|
cpuPerUnit?: pulumi.Input<number>;
|
|
839
|
-
/**
|
|
840
|
-
* How much Memory allocate for headroom unit.
|
|
841
|
-
*/
|
|
842
585
|
memoryPerUnit?: pulumi.Input<number>;
|
|
843
|
-
/**
|
|
844
|
-
* How many units of headroom to allocate.
|
|
845
|
-
*/
|
|
846
586
|
numOfUnits?: pulumi.Input<number>;
|
|
847
587
|
}
|
|
848
588
|
interface ElastigroupIntegrationRancher {
|
|
849
|
-
/**
|
|
850
|
-
* The access key of the Rancher API.
|
|
851
|
-
*/
|
|
852
589
|
accessKey: pulumi.Input<string>;
|
|
853
|
-
/**
|
|
854
|
-
* The URL for the Nomad master host.
|
|
855
|
-
*/
|
|
856
590
|
masterHost: pulumi.Input<string>;
|
|
857
|
-
/**
|
|
858
|
-
* The secret key of the Rancher API.
|
|
859
|
-
*/
|
|
860
591
|
secretKey: pulumi.Input<string>;
|
|
861
|
-
/**
|
|
862
|
-
* 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^.
|
|
863
|
-
* Usage:
|
|
864
|
-
*/
|
|
865
592
|
version?: pulumi.Input<string>;
|
|
866
593
|
}
|
|
867
594
|
interface ElastigroupIntegrationRoute53 {
|
|
868
|
-
/**
|
|
869
|
-
* Collection of one or more domains to register.
|
|
870
|
-
*/
|
|
871
595
|
domains: pulumi.Input<pulumi.Input<inputs.aws.ElastigroupIntegrationRoute53Domain>[]>;
|
|
872
596
|
}
|
|
873
597
|
interface ElastigroupIntegrationRoute53Domain {
|
|
874
|
-
/**
|
|
875
|
-
* The id associated with a hosted zone.
|
|
876
|
-
*/
|
|
877
598
|
hostedZoneId: pulumi.Input<string>;
|
|
878
|
-
/**
|
|
879
|
-
* The type of the record set. Valid values: `"a"`, `"cname"`.
|
|
880
|
-
*/
|
|
881
599
|
recordSetType?: pulumi.Input<string>;
|
|
882
|
-
/**
|
|
883
|
-
* Collection of records containing authoritative DNS information for the specified domain name.
|
|
884
|
-
*/
|
|
885
600
|
recordSets: pulumi.Input<pulumi.Input<inputs.aws.ElastigroupIntegrationRoute53DomainRecordSet>[]>;
|
|
886
|
-
/**
|
|
887
|
-
* 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.
|
|
888
|
-
*/
|
|
889
601
|
spotinstAcctId?: pulumi.Input<string>;
|
|
890
602
|
}
|
|
891
603
|
interface ElastigroupIntegrationRoute53DomainRecordSet {
|
|
@@ -893,15 +605,7 @@ export declare namespace aws {
|
|
|
893
605
|
* The group name.
|
|
894
606
|
*/
|
|
895
607
|
name: pulumi.Input<string>;
|
|
896
|
-
/**
|
|
897
|
-
* Designates whether the DNS address should be exposed to connections outside the VPC.
|
|
898
|
-
*
|
|
899
|
-
* Usage:
|
|
900
|
-
*/
|
|
901
608
|
usePublicDns?: pulumi.Input<boolean>;
|
|
902
|
-
/**
|
|
903
|
-
* Designates whether the IP address should be exposed to connections outside the VPC.
|
|
904
|
-
*/
|
|
905
609
|
usePublicIp?: pulumi.Input<boolean>;
|
|
906
610
|
}
|
|
907
611
|
interface ElastigroupItf {
|
|
@@ -961,14 +665,11 @@ export declare namespace aws {
|
|
|
961
665
|
export?: pulumi.Input<inputs.aws.ElastigroupLoggingExport>;
|
|
962
666
|
}
|
|
963
667
|
interface ElastigroupLoggingExport {
|
|
964
|
-
/**
|
|
965
|
-
* Exports your cluster's logs to the S3 bucket and subdir configured on the S3 data integration given.
|
|
966
|
-
*/
|
|
967
668
|
s3s?: pulumi.Input<pulumi.Input<inputs.aws.ElastigroupLoggingExportS3>[]>;
|
|
968
669
|
}
|
|
969
670
|
interface ElastigroupLoggingExportS3 {
|
|
970
671
|
/**
|
|
971
|
-
* The
|
|
672
|
+
* The group ID.
|
|
972
673
|
*/
|
|
973
674
|
id: pulumi.Input<string>;
|
|
974
675
|
}
|
|
@@ -987,19 +688,10 @@ export declare namespace aws {
|
|
|
987
688
|
instanceMetadataTags?: pulumi.Input<string>;
|
|
988
689
|
}
|
|
989
690
|
interface ElastigroupMultipleMetrics {
|
|
990
|
-
/**
|
|
991
|
-
* Array of objects (Expression config)
|
|
992
|
-
*/
|
|
993
691
|
expressions?: pulumi.Input<pulumi.Input<inputs.aws.ElastigroupMultipleMetricsExpression>[]>;
|
|
994
|
-
/**
|
|
995
|
-
* Array of objects (Metric config)
|
|
996
|
-
*/
|
|
997
692
|
metrics?: pulumi.Input<pulumi.Input<inputs.aws.ElastigroupMultipleMetricsMetric>[]>;
|
|
998
693
|
}
|
|
999
694
|
interface ElastigroupMultipleMetricsExpression {
|
|
1000
|
-
/**
|
|
1001
|
-
* An expression consisting of the metric names listed in the 'metrics' array.
|
|
1002
|
-
*/
|
|
1003
695
|
expression: pulumi.Input<string>;
|
|
1004
696
|
/**
|
|
1005
697
|
* The group name.
|
|
@@ -1007,33 +699,15 @@ export declare namespace aws {
|
|
|
1007
699
|
name: pulumi.Input<string>;
|
|
1008
700
|
}
|
|
1009
701
|
interface ElastigroupMultipleMetricsMetric {
|
|
1010
|
-
/**
|
|
1011
|
-
* A list of dimensions describing qualities of the metric.
|
|
1012
|
-
*/
|
|
1013
702
|
dimensions?: pulumi.Input<pulumi.Input<inputs.aws.ElastigroupMultipleMetricsMetricDimension>[]>;
|
|
1014
|
-
/**
|
|
1015
|
-
* Percentile statistic. Valid values: `"p0.1"` - `"p100"`.
|
|
1016
|
-
*/
|
|
1017
703
|
extendedStatistic?: pulumi.Input<string>;
|
|
1018
|
-
/**
|
|
1019
|
-
* The name of the metric, with or without spaces.
|
|
1020
|
-
*/
|
|
1021
704
|
metricName: pulumi.Input<string>;
|
|
1022
705
|
/**
|
|
1023
706
|
* The group name.
|
|
1024
707
|
*/
|
|
1025
708
|
name: pulumi.Input<string>;
|
|
1026
|
-
/**
|
|
1027
|
-
* The namespace for the alarm's associated metric.
|
|
1028
|
-
*/
|
|
1029
709
|
namespace: pulumi.Input<string>;
|
|
1030
|
-
/**
|
|
1031
|
-
* The metric statistics to return. For information about specific statistics go to [Statistics](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/index.html?CHAP_TerminologyandKeyConcepts.html#Statistic) in the Amazon CloudWatch Developer Guide.
|
|
1032
|
-
*/
|
|
1033
710
|
statistic?: pulumi.Input<string>;
|
|
1034
|
-
/**
|
|
1035
|
-
* The unit for the alarm's associated metric. Valid values: `"percent`, `"seconds"`, `"microseconds"`, `"milliseconds"`, `"bytes"`, `"kilobytes"`, `"megabytes"`, `"gigabytes"`, `"terabytes"`, `"bits"`, `"kilobits"`, `"megabits"`, `"gigabits"`, `"terabits"`, `"count"`, `"bytes/second"`, `"kilobytes/second"`, `"megabytes/second"`, `"gigabytes/second"`, `"terabytes/second"`, `"bits/second"`, `"kilobits/second"`, `"megabits/second"`, `"gigabits/second"`, `"terabits/second"`, `"count/second"`, `"none"`.
|
|
1036
|
-
*/
|
|
1037
711
|
unit?: pulumi.Input<string>;
|
|
1038
712
|
}
|
|
1039
713
|
interface ElastigroupMultipleMetricsMetricDimension {
|
|
@@ -1041,45 +715,19 @@ export declare namespace aws {
|
|
|
1041
715
|
* The group name.
|
|
1042
716
|
*/
|
|
1043
717
|
name: pulumi.Input<string>;
|
|
1044
|
-
/**
|
|
1045
|
-
* The dimension value.
|
|
1046
|
-
*/
|
|
1047
718
|
value?: pulumi.Input<string>;
|
|
1048
719
|
}
|
|
1049
720
|
interface ElastigroupNetworkInterface {
|
|
1050
|
-
/**
|
|
1051
|
-
* Indicates whether to assign IPV6 addresses to your instance. Requires a subnet with IPV6 CIDR block ranges.
|
|
1052
|
-
*
|
|
1053
|
-
* Usage:
|
|
1054
|
-
*/
|
|
1055
721
|
associateIpv6Address?: pulumi.Input<boolean>;
|
|
1056
|
-
/**
|
|
1057
|
-
* Indicates whether to assign a public IP address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one.
|
|
1058
|
-
*/
|
|
1059
722
|
associatePublicIpAddress?: pulumi.Input<boolean>;
|
|
1060
|
-
|
|
1061
|
-
* Whether the volume should be destroyed on instance termination.
|
|
1062
|
-
*/
|
|
1063
|
-
deleteOnTermination?: pulumi.Input<boolean>;
|
|
723
|
+
deleteOnTermination?: pulumi.Input<boolean>;
|
|
1064
724
|
/**
|
|
1065
725
|
* The group description.
|
|
1066
726
|
*/
|
|
1067
727
|
description?: pulumi.Input<string>;
|
|
1068
|
-
/**
|
|
1069
|
-
* The index of the device on the instance for the network interface attachment.
|
|
1070
|
-
*/
|
|
1071
728
|
deviceIndex: pulumi.Input<string>;
|
|
1072
|
-
/**
|
|
1073
|
-
* The ID of the network interface.
|
|
1074
|
-
*/
|
|
1075
729
|
networkInterfaceId?: pulumi.Input<string>;
|
|
1076
|
-
/**
|
|
1077
|
-
* The private IP address of the network interface.
|
|
1078
|
-
*/
|
|
1079
730
|
privateIpAddress?: pulumi.Input<string>;
|
|
1080
|
-
/**
|
|
1081
|
-
* The number of secondary private IP addresses.
|
|
1082
|
-
*/
|
|
1083
731
|
secondaryPrivateIpAddressCount?: pulumi.Input<string>;
|
|
1084
732
|
}
|
|
1085
733
|
interface ElastigroupResourceRequirement {
|
|
@@ -1185,9 +833,6 @@ export declare namespace aws {
|
|
|
1185
833
|
* The name of the metric, with or without spaces.
|
|
1186
834
|
*/
|
|
1187
835
|
metricName: pulumi.Input<string>;
|
|
1188
|
-
/**
|
|
1189
|
-
* . The number of the desired target (and minimum) capacity
|
|
1190
|
-
*/
|
|
1191
836
|
minTargetCapacity?: pulumi.Input<string>;
|
|
1192
837
|
/**
|
|
1193
838
|
* The minimal number of instances to have in the group.
|
|
@@ -1223,14 +868,7 @@ export declare namespace aws {
|
|
|
1223
868
|
*/
|
|
1224
869
|
target?: pulumi.Input<string>;
|
|
1225
870
|
/**
|
|
1226
|
-
* The value against which the specified statistic is compared
|
|
1227
|
-
*
|
|
1228
|
-
*
|
|
1229
|
-
* If you do not specify an action type, you can only use – `adjustment`, `minTargetCapacity`, `maxTargetCapacity`.
|
|
1230
|
-
* While using action_type, please also set the following:
|
|
1231
|
-
*
|
|
1232
|
-
* When using `adjustment` – set the field `adjustment`
|
|
1233
|
-
* When using `updateCapacity` – set the fields `minimum`, `maximum`, and `target`
|
|
871
|
+
* The value against which the specified statistic is compared. If a `stepAdjustment` object is defined, then it cannot be specified.
|
|
1234
872
|
*/
|
|
1235
873
|
threshold?: pulumi.Input<number>;
|
|
1236
874
|
/**
|
|
@@ -1240,7 +878,7 @@ export declare namespace aws {
|
|
|
1240
878
|
}
|
|
1241
879
|
interface ElastigroupScalingDownPolicyDimension {
|
|
1242
880
|
/**
|
|
1243
|
-
* The
|
|
881
|
+
* The dimension name.
|
|
1244
882
|
*/
|
|
1245
883
|
name: pulumi.Input<string>;
|
|
1246
884
|
/**
|
|
@@ -1249,50 +887,16 @@ export declare namespace aws {
|
|
|
1249
887
|
value?: pulumi.Input<string>;
|
|
1250
888
|
}
|
|
1251
889
|
interface ElastigroupScalingDownPolicyStepAdjustment {
|
|
1252
|
-
/**
|
|
1253
|
-
* The action to take when scale up according to step's threshold is needed.
|
|
1254
|
-
*/
|
|
1255
890
|
action: pulumi.Input<inputs.aws.ElastigroupScalingDownPolicyStepAdjustmentAction>;
|
|
1256
|
-
/**
|
|
1257
|
-
* The value against which the specified statistic is compared in order to determine if a step should be applied.
|
|
1258
|
-
*
|
|
1259
|
-
*
|
|
1260
|
-
* If you do not specify an action type, you can only use – `adjustment`, `minTargetCapacity`, `maxTargetCapacity`.
|
|
1261
|
-
* While using action_type, please also set the following:
|
|
1262
|
-
*
|
|
1263
|
-
* When using `adjustment` – set the field `adjustment`
|
|
1264
|
-
* When using `updateCapacity` – set the fields `minimum`, `maximum`, and `target`
|
|
1265
|
-
*/
|
|
1266
891
|
threshold: pulumi.Input<number>;
|
|
1267
892
|
}
|
|
1268
893
|
interface ElastigroupScalingDownPolicyStepAdjustmentAction {
|
|
1269
|
-
/**
|
|
1270
|
-
* The number of instances to add/remove to/from the target capacity when scale is needed. Can be used as advanced expression for scaling of instances to add/remove to/from the target capacity when scale is needed. You can see more information here: Advanced expression. Example value: `"MAX(currCapacity / 5, value * 10)"`
|
|
1271
|
-
*/
|
|
1272
894
|
adjustment?: pulumi.Input<string>;
|
|
1273
|
-
/**
|
|
1274
|
-
* . The number of the desired target (and maximum) capacity
|
|
1275
|
-
*/
|
|
1276
895
|
maxTargetCapacity?: pulumi.Input<string>;
|
|
1277
|
-
/**
|
|
1278
|
-
* The maximal number of instances to have in the group.
|
|
1279
|
-
*/
|
|
1280
896
|
maximum?: pulumi.Input<string>;
|
|
1281
|
-
/**
|
|
1282
|
-
* . The number of the desired target (and minimum) capacity
|
|
1283
|
-
*/
|
|
1284
897
|
minTargetCapacity?: pulumi.Input<string>;
|
|
1285
|
-
/**
|
|
1286
|
-
* The minimal number of instances to have in the group.
|
|
1287
|
-
*/
|
|
1288
898
|
minimum?: pulumi.Input<string>;
|
|
1289
|
-
/**
|
|
1290
|
-
* The target number of instances to have in the group.
|
|
1291
|
-
*/
|
|
1292
899
|
target?: pulumi.Input<string>;
|
|
1293
|
-
/**
|
|
1294
|
-
* The type of the action to take when scale up is needed. Valid types: `"adjustment"`, `"updateCapacity"`, `"setMaxTarget"`, `"percentageAdjustment"`.
|
|
1295
|
-
*/
|
|
1296
900
|
type: pulumi.Input<string>;
|
|
1297
901
|
}
|
|
1298
902
|
interface ElastigroupScalingStrategy {
|
|
@@ -1365,11 +969,11 @@ export declare namespace aws {
|
|
|
1365
969
|
}
|
|
1366
970
|
interface ElastigroupScalingTargetPolicyDimension {
|
|
1367
971
|
/**
|
|
1368
|
-
*
|
|
972
|
+
* String, the dimension name.
|
|
1369
973
|
*/
|
|
1370
974
|
name: pulumi.Input<string>;
|
|
1371
975
|
/**
|
|
1372
|
-
*
|
|
976
|
+
* String, the dimension value.
|
|
1373
977
|
*/
|
|
1374
978
|
value?: pulumi.Input<string>;
|
|
1375
979
|
}
|
|
@@ -1398,9 +1002,6 @@ export declare namespace aws {
|
|
|
1398
1002
|
* Specifies whether the scaling policy described in this block is enabled.
|
|
1399
1003
|
*/
|
|
1400
1004
|
isEnabled?: pulumi.Input<boolean>;
|
|
1401
|
-
/**
|
|
1402
|
-
* . The number of the desired target (and maximum) capacity
|
|
1403
|
-
*/
|
|
1404
1005
|
maxTargetCapacity?: pulumi.Input<string>;
|
|
1405
1006
|
/**
|
|
1406
1007
|
* The maximal number of instances to have in the group.
|
|
@@ -1448,15 +1049,7 @@ export declare namespace aws {
|
|
|
1448
1049
|
*/
|
|
1449
1050
|
target?: pulumi.Input<string>;
|
|
1450
1051
|
/**
|
|
1451
|
-
* The value against which the specified statistic is compared
|
|
1452
|
-
*
|
|
1453
|
-
*
|
|
1454
|
-
* If you do not specify an action type, you can only use – `adjustment`, `minTargetCapacity`, `maxTargetCapacity`.
|
|
1455
|
-
* While using action_type, please also set the following:
|
|
1456
|
-
*
|
|
1457
|
-
* When using `adjustment` – set the field `adjustment`
|
|
1458
|
-
* When using `setMinTarget` – set the field `minTargetCapacity`
|
|
1459
|
-
* When using `updateCapacity` – set the fields `minimum`, `maximum`, and `target`
|
|
1052
|
+
* The value against which the specified statistic is compared. If a `stepAdjustment` object is defined, then it cannot be specified.
|
|
1460
1053
|
*/
|
|
1461
1054
|
threshold?: pulumi.Input<number>;
|
|
1462
1055
|
/**
|
|
@@ -1466,7 +1059,7 @@ export declare namespace aws {
|
|
|
1466
1059
|
}
|
|
1467
1060
|
interface ElastigroupScalingUpPolicyDimension {
|
|
1468
1061
|
/**
|
|
1469
|
-
* The
|
|
1062
|
+
* The dimension name.
|
|
1470
1063
|
*/
|
|
1471
1064
|
name: pulumi.Input<string>;
|
|
1472
1065
|
/**
|
|
@@ -1475,50 +1068,16 @@ export declare namespace aws {
|
|
|
1475
1068
|
value?: pulumi.Input<string>;
|
|
1476
1069
|
}
|
|
1477
1070
|
interface ElastigroupScalingUpPolicyStepAdjustment {
|
|
1478
|
-
/**
|
|
1479
|
-
* The action to take when scale up according to step's threshold is needed.
|
|
1480
|
-
*/
|
|
1481
1071
|
action: pulumi.Input<inputs.aws.ElastigroupScalingUpPolicyStepAdjustmentAction>;
|
|
1482
|
-
/**
|
|
1483
|
-
* The value against which the specified statistic is compared in order to determine if a step should be applied.
|
|
1484
|
-
*
|
|
1485
|
-
*
|
|
1486
|
-
* If you do not specify an action type, you can only use – `adjustment`, `minTargetCapacity`, `maxTargetCapacity`.
|
|
1487
|
-
* While using action_type, please also set the following:
|
|
1488
|
-
*
|
|
1489
|
-
* When using `adjustment` – set the field `adjustment`
|
|
1490
|
-
* When using `updateCapacity` – set the fields `minimum`, `maximum`, and `target`
|
|
1491
|
-
*/
|
|
1492
1072
|
threshold: pulumi.Input<number>;
|
|
1493
1073
|
}
|
|
1494
1074
|
interface ElastigroupScalingUpPolicyStepAdjustmentAction {
|
|
1495
|
-
/**
|
|
1496
|
-
* The number of instances to add/remove to/from the target capacity when scale is needed. Can be used as advanced expression for scaling of instances to add/remove to/from the target capacity when scale is needed. You can see more information here: Advanced expression. Example value: `"MAX(currCapacity / 5, value * 10)"`
|
|
1497
|
-
*/
|
|
1498
1075
|
adjustment?: pulumi.Input<string>;
|
|
1499
|
-
/**
|
|
1500
|
-
* . The number of the desired target (and maximum) capacity
|
|
1501
|
-
*/
|
|
1502
1076
|
maxTargetCapacity?: pulumi.Input<string>;
|
|
1503
|
-
/**
|
|
1504
|
-
* The maximal number of instances to have in the group.
|
|
1505
|
-
*/
|
|
1506
1077
|
maximum?: pulumi.Input<string>;
|
|
1507
|
-
/**
|
|
1508
|
-
* . The number of the desired target (and minimum) capacity
|
|
1509
|
-
*/
|
|
1510
1078
|
minTargetCapacity?: pulumi.Input<string>;
|
|
1511
|
-
/**
|
|
1512
|
-
* The minimal number of instances to have in the group.
|
|
1513
|
-
*/
|
|
1514
1079
|
minimum?: pulumi.Input<string>;
|
|
1515
|
-
/**
|
|
1516
|
-
* The target number of instances to have in the group.
|
|
1517
|
-
*/
|
|
1518
1080
|
target?: pulumi.Input<string>;
|
|
1519
|
-
/**
|
|
1520
|
-
* The type of the action to take when scale up is needed. Valid types: `"adjustment"`, `"updateCapacity"`, `"setMaxTarget"`, `"percentageAdjustment"`.
|
|
1521
|
-
*/
|
|
1522
1081
|
type: pulumi.Input<string>;
|
|
1523
1082
|
}
|
|
1524
1083
|
interface ElastigroupScheduledTask {
|
|
@@ -1598,123 +1157,50 @@ export declare namespace aws {
|
|
|
1598
1157
|
timeout?: pulumi.Input<number>;
|
|
1599
1158
|
}
|
|
1600
1159
|
interface ElastigroupStatefulDeallocation {
|
|
1601
|
-
/**
|
|
1602
|
-
* For stateful groups: remove persistent images.
|
|
1603
|
-
*/
|
|
1604
1160
|
shouldDeleteImages?: pulumi.Input<boolean>;
|
|
1605
|
-
/**
|
|
1606
|
-
* For stateful groups: remove network interfaces.
|
|
1607
|
-
*/
|
|
1608
1161
|
shouldDeleteNetworkInterfaces?: pulumi.Input<boolean>;
|
|
1609
|
-
/**
|
|
1610
|
-
* For stateful groups: remove snapshots.
|
|
1611
|
-
*
|
|
1612
|
-
* Usage:
|
|
1613
|
-
*/
|
|
1614
1162
|
shouldDeleteSnapshots?: pulumi.Input<boolean>;
|
|
1615
|
-
/**
|
|
1616
|
-
* For stateful groups: remove persistent volumes.
|
|
1617
|
-
*/
|
|
1618
1163
|
shouldDeleteVolumes?: pulumi.Input<boolean>;
|
|
1619
1164
|
}
|
|
1620
1165
|
interface ElastigroupStatefulInstanceAction {
|
|
1621
|
-
/**
|
|
1622
|
-
* String, Stateful Instance ID on which the action should be performed.
|
|
1623
|
-
*/
|
|
1624
1166
|
statefulInstanceId: pulumi.Input<string>;
|
|
1625
|
-
/**
|
|
1626
|
-
* String, Action type. Supported action types: `pause`, `resume`, `recycle`, `deallocate`.
|
|
1627
|
-
*
|
|
1628
|
-
* Usage:
|
|
1629
|
-
*/
|
|
1630
1167
|
type: pulumi.Input<string>;
|
|
1631
1168
|
}
|
|
1632
1169
|
interface ElastigroupTag {
|
|
1633
1170
|
key?: pulumi.Input<string>;
|
|
1634
|
-
/**
|
|
1635
|
-
* The dimension value.
|
|
1636
|
-
*/
|
|
1637
1171
|
value?: pulumi.Input<string>;
|
|
1638
1172
|
}
|
|
1639
1173
|
interface ElastigroupUpdatePolicy {
|
|
1640
|
-
/**
|
|
1641
|
-
* Enables updates to tags without rolling the group when set to `true`.
|
|
1642
|
-
*/
|
|
1643
1174
|
autoApplyTags?: pulumi.Input<boolean>;
|
|
1644
|
-
/**
|
|
1645
|
-
* While used, you can control whether the group should perform a deployment after an update to the configuration.
|
|
1646
|
-
*/
|
|
1647
1175
|
rollConfig?: pulumi.Input<inputs.aws.ElastigroupUpdatePolicyRollConfig>;
|
|
1648
|
-
/**
|
|
1649
|
-
* This will apply resuming action for Stateful instances in the Elastigroup upon scale up or capacity changes. Example usage will be for Elastigroups that will have scheduling rules to set a target capacity of 0 instances in the night and automatically restore the same state of the instances in the morning.
|
|
1650
|
-
*/
|
|
1651
1176
|
shouldResumeStateful: pulumi.Input<boolean>;
|
|
1652
|
-
/**
|
|
1653
|
-
* Sets the enablement of the roll option.
|
|
1654
|
-
*/
|
|
1655
1177
|
shouldRoll: pulumi.Input<boolean>;
|
|
1656
1178
|
}
|
|
1657
1179
|
interface ElastigroupUpdatePolicyRollConfig {
|
|
1658
|
-
/**
|
|
1659
|
-
* The percentage size of each batch in the scheduled deployment roll.
|
|
1660
|
-
*/
|
|
1661
1180
|
batchSizePercentage: pulumi.Input<number>;
|
|
1662
|
-
/**
|
|
1663
|
-
* The period of time (seconds) to wait before checking a batch's health after it's deployment.
|
|
1664
|
-
*/
|
|
1665
1181
|
gracePeriod?: pulumi.Input<number>;
|
|
1666
1182
|
/**
|
|
1667
1183
|
* The service that will perform health checks for the instance. Valid values: `"ELB"`, `"HCS"`, `"TARGET_GROUP"`, `"EC2"`, `"K8S_NODE"`, `"NOMAD_NODE"`, `"ECS_CLUSTER_INSTANCE"`.
|
|
1668
1184
|
*/
|
|
1669
1185
|
healthCheckType?: pulumi.Input<string>;
|
|
1670
|
-
/**
|
|
1671
|
-
* Strategy parameters
|
|
1672
|
-
*/
|
|
1673
1186
|
strategy?: pulumi.Input<inputs.aws.ElastigroupUpdatePolicyRollConfigStrategy>;
|
|
1674
|
-
/**
|
|
1675
|
-
* For use with `shouldRoll`. Sets minimum % of roll required to complete before continuing the plan. Required if `waitForRollTimeout` is set.
|
|
1676
|
-
*/
|
|
1677
1187
|
waitForRollPercentage?: pulumi.Input<number>;
|
|
1678
|
-
/**
|
|
1679
|
-
* For use with `shouldRoll`. Sets how long to wait for the deployed % of a roll to exceed `waitForRollPercentage` before continuing the plan. Required if `waitForRollPercentage` is set.
|
|
1680
|
-
*/
|
|
1681
1188
|
waitForRollTimeout?: pulumi.Input<number>;
|
|
1682
1189
|
}
|
|
1683
1190
|
interface ElastigroupUpdatePolicyRollConfigStrategy {
|
|
1684
|
-
/**
|
|
1685
|
-
* The action to take when scale up according to step's threshold is needed.
|
|
1686
|
-
*/
|
|
1687
1191
|
action: pulumi.Input<string>;
|
|
1688
|
-
/**
|
|
1689
|
-
* Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the deployment will fail. Range `1` - `100`.
|
|
1690
|
-
*/
|
|
1691
1192
|
batchMinHealthyPercentage?: pulumi.Input<number>;
|
|
1692
|
-
/**
|
|
1693
|
-
* Set detach options to the deployment.
|
|
1694
|
-
*/
|
|
1695
1193
|
onFailure?: pulumi.Input<inputs.aws.ElastigroupUpdatePolicyRollConfigStrategyOnFailure>;
|
|
1696
|
-
/**
|
|
1697
|
-
* Bool value if to wait to drain instance
|
|
1698
|
-
*/
|
|
1699
1194
|
shouldDrainInstances?: pulumi.Input<boolean>;
|
|
1700
1195
|
}
|
|
1701
1196
|
interface ElastigroupUpdatePolicyRollConfigStrategyOnFailure {
|
|
1702
|
-
/**
|
|
1703
|
-
* The type of action to perform for scaling. Valid values: `"adjustment"`, `"percentageAdjustment"`, `"setMaxTarget"`, `"setMinTarget"`, `"updateCapacity"`. If a `stepAdjustment` object is defined, then it cannot be specified.
|
|
1704
|
-
*/
|
|
1705
1197
|
actionType: pulumi.Input<string>;
|
|
1706
1198
|
batchNum?: pulumi.Input<number>;
|
|
1707
1199
|
/**
|
|
1708
1200
|
* The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation.
|
|
1709
1201
|
*/
|
|
1710
1202
|
drainingTimeout?: pulumi.Input<number>;
|
|
1711
|
-
/**
|
|
1712
|
-
* Decrementing the group target capacity after detaching the instances.
|
|
1713
|
-
*/
|
|
1714
1203
|
shouldDecrementTargetCapacity?: pulumi.Input<boolean>;
|
|
1715
|
-
/**
|
|
1716
|
-
* Indicator if the action should apply to all batches of the deployment or only the latest batch.
|
|
1717
|
-
*/
|
|
1718
1204
|
shouldHandleAllBatches?: pulumi.Input<boolean>;
|
|
1719
1205
|
}
|
|
1720
1206
|
interface ManagedInstanceBlockDeviceMapping {
|
|
@@ -1787,502 +1273,163 @@ export declare namespace aws {
|
|
|
1787
1273
|
value?: pulumi.Input<string>;
|
|
1788
1274
|
}
|
|
1789
1275
|
interface MrScalarApplication {
|
|
1790
|
-
/**
|
|
1791
|
-
* Arguments for EMR to pass to the application.
|
|
1792
|
-
*/
|
|
1793
1276
|
args?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1794
1277
|
/**
|
|
1795
1278
|
* The MrScaler name.
|
|
1796
1279
|
*/
|
|
1797
1280
|
name: pulumi.Input<string>;
|
|
1798
|
-
/**
|
|
1799
|
-
* T he version of the application.
|
|
1800
|
-
*/
|
|
1801
1281
|
version?: pulumi.Input<string>;
|
|
1802
1282
|
}
|
|
1803
1283
|
interface MrScalarBootstrapActionsFile {
|
|
1804
|
-
/**
|
|
1805
|
-
* S3 Bucket name for bootstrap actions.
|
|
1806
|
-
*/
|
|
1807
1284
|
bucket: pulumi.Input<string>;
|
|
1808
|
-
/**
|
|
1809
|
-
* S3 key for bootstrap actions.
|
|
1810
|
-
*/
|
|
1811
1285
|
key: pulumi.Input<string>;
|
|
1812
1286
|
}
|
|
1813
1287
|
interface MrScalarConfigurationsFile {
|
|
1814
|
-
/**
|
|
1815
|
-
* S3 Bucket name for bootstrap actions.
|
|
1816
|
-
*/
|
|
1817
1288
|
bucket: pulumi.Input<string>;
|
|
1818
|
-
/**
|
|
1819
|
-
* S3 key for bootstrap actions.
|
|
1820
|
-
*/
|
|
1821
1289
|
key: pulumi.Input<string>;
|
|
1822
1290
|
}
|
|
1823
1291
|
interface MrScalarCoreEbsBlockDevice {
|
|
1824
|
-
/**
|
|
1825
|
-
* IOPS for the volume. Required in some volume types, such as io1.
|
|
1826
|
-
*/
|
|
1827
1292
|
iops?: pulumi.Input<number>;
|
|
1828
|
-
/**
|
|
1829
|
-
* Size of the volume, in GBs.
|
|
1830
|
-
*/
|
|
1831
1293
|
sizeInGb: pulumi.Input<number>;
|
|
1832
|
-
/**
|
|
1833
|
-
* volume type. Allowed values are 'gp2', 'io1' and others.
|
|
1834
|
-
*/
|
|
1835
1294
|
volumeType: pulumi.Input<string>;
|
|
1836
|
-
/**
|
|
1837
|
-
* Amount of volumes per instance in the core group.
|
|
1838
|
-
*/
|
|
1839
1295
|
volumesPerInstance?: pulumi.Input<number>;
|
|
1840
1296
|
}
|
|
1841
1297
|
interface MrScalarCoreScalingDownPolicy {
|
|
1842
|
-
/**
|
|
1843
|
-
* The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'
|
|
1844
|
-
*/
|
|
1845
1298
|
actionType?: pulumi.Input<string>;
|
|
1846
|
-
/**
|
|
1847
|
-
* The number of instances to add/remove to/from the target capacity when scale is needed.
|
|
1848
|
-
*/
|
|
1849
1299
|
adjustment?: pulumi.Input<string>;
|
|
1850
|
-
/**
|
|
1851
|
-
* The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
|
|
1852
|
-
*/
|
|
1853
1300
|
cooldown?: pulumi.Input<number>;
|
|
1854
|
-
/**
|
|
1855
|
-
* A mapping of dimensions describing qualities of the metric.
|
|
1856
|
-
*/
|
|
1857
1301
|
dimensions?: pulumi.Input<{
|
|
1858
1302
|
[key: string]: any;
|
|
1859
1303
|
}>;
|
|
1860
|
-
/**
|
|
1861
|
-
* The number of periods over which data is compared to the specified threshold.
|
|
1862
|
-
*/
|
|
1863
1304
|
evaluationPeriods?: pulumi.Input<number>;
|
|
1864
|
-
/**
|
|
1865
|
-
* Max target capacity for scale down.
|
|
1866
|
-
*/
|
|
1867
1305
|
maxTargetCapacity?: pulumi.Input<string>;
|
|
1868
|
-
/**
|
|
1869
|
-
* The maximum to set when scale is needed.
|
|
1870
|
-
*/
|
|
1871
1306
|
maximum?: pulumi.Input<string>;
|
|
1872
|
-
/**
|
|
1873
|
-
* The name of the metric in CloudWatch which the statement will be based on.
|
|
1874
|
-
*/
|
|
1875
1307
|
metricName: pulumi.Input<string>;
|
|
1876
|
-
/**
|
|
1877
|
-
* Min target capacity for scale up.
|
|
1878
|
-
*/
|
|
1879
1308
|
minTargetCapacity?: pulumi.Input<string>;
|
|
1880
|
-
/**
|
|
1881
|
-
* The minimum to set when scale is needed.
|
|
1882
|
-
*/
|
|
1883
1309
|
minimum?: pulumi.Input<string>;
|
|
1884
|
-
/**
|
|
1885
|
-
* Must contain the value: `AWS/ElasticMapReduce`.
|
|
1886
|
-
*/
|
|
1887
1310
|
namespace: pulumi.Input<string>;
|
|
1888
|
-
/**
|
|
1889
|
-
* The operator to use in order to determine if the policy is applicable. Valid values: `gt` | `gte` | `lt` | `lte`
|
|
1890
|
-
*/
|
|
1891
1311
|
operator?: pulumi.Input<string>;
|
|
1892
|
-
/**
|
|
1893
|
-
* The time window in seconds over which the statistic is applied.
|
|
1894
|
-
*/
|
|
1895
1312
|
period?: pulumi.Input<number>;
|
|
1896
|
-
/**
|
|
1897
|
-
* The name of the policy.
|
|
1898
|
-
*/
|
|
1899
1313
|
policyName: pulumi.Input<string>;
|
|
1900
|
-
/**
|
|
1901
|
-
* The aggregation method of the given metric. Valid Values: `average` | `sum` | `sampleCount` | `maximum` | `minimum`
|
|
1902
|
-
*/
|
|
1903
1314
|
statistic?: pulumi.Input<string>;
|
|
1904
|
-
/**
|
|
1905
|
-
* The number of instances to set when scale is needed.
|
|
1906
|
-
*/
|
|
1907
1315
|
target?: pulumi.Input<string>;
|
|
1908
|
-
/**
|
|
1909
|
-
* The value that the specified statistic is compared to.
|
|
1910
|
-
*/
|
|
1911
1316
|
threshold: pulumi.Input<number>;
|
|
1912
|
-
/**
|
|
1913
|
-
* The unit for a given metric. Valid Values: `seconds` | `microseconds` | `milliseconds` | `bytes` | `kilobytes` | `megabytes` | `gigabytes` | `terabytes` | `bits` | `kilobits` | `megabits` | `gigabits` | `terabits` | `percent` | `count` | `bytes/second` | `kilobytes/second` | `megabytes/second` | `gigabytes/second` | `terabytes/second` | `bits/second` | `kilobits/second` | `megabits/second` | `gigabits/second` | `terabits/second` | `count/second` | `none`
|
|
1914
|
-
*/
|
|
1915
1317
|
unit: pulumi.Input<string>;
|
|
1916
1318
|
}
|
|
1917
1319
|
interface MrScalarCoreScalingUpPolicy {
|
|
1918
|
-
/**
|
|
1919
|
-
* The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'
|
|
1920
|
-
*/
|
|
1921
1320
|
actionType?: pulumi.Input<string>;
|
|
1922
|
-
/**
|
|
1923
|
-
* The number of instances to add/remove to/from the target capacity when scale is needed.
|
|
1924
|
-
*/
|
|
1925
1321
|
adjustment?: pulumi.Input<string>;
|
|
1926
|
-
/**
|
|
1927
|
-
* The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
|
|
1928
|
-
*/
|
|
1929
1322
|
cooldown?: pulumi.Input<number>;
|
|
1930
|
-
/**
|
|
1931
|
-
* A mapping of dimensions describing qualities of the metric.
|
|
1932
|
-
*/
|
|
1933
1323
|
dimensions?: pulumi.Input<{
|
|
1934
1324
|
[key: string]: any;
|
|
1935
1325
|
}>;
|
|
1936
|
-
/**
|
|
1937
|
-
* The number of periods over which data is compared to the specified threshold.
|
|
1938
|
-
*/
|
|
1939
1326
|
evaluationPeriods?: pulumi.Input<number>;
|
|
1940
|
-
/**
|
|
1941
|
-
* Max target capacity for scale down.
|
|
1942
|
-
*/
|
|
1943
1327
|
maxTargetCapacity?: pulumi.Input<string>;
|
|
1944
|
-
/**
|
|
1945
|
-
* The maximum to set when scale is needed.
|
|
1946
|
-
*/
|
|
1947
1328
|
maximum?: pulumi.Input<string>;
|
|
1948
|
-
/**
|
|
1949
|
-
* The name of the metric in CloudWatch which the statement will be based on.
|
|
1950
|
-
*/
|
|
1951
1329
|
metricName: pulumi.Input<string>;
|
|
1952
|
-
/**
|
|
1953
|
-
* Min target capacity for scale up.
|
|
1954
|
-
*/
|
|
1955
1330
|
minTargetCapacity?: pulumi.Input<string>;
|
|
1956
|
-
/**
|
|
1957
|
-
* The minimum to set when scale is needed.
|
|
1958
|
-
*/
|
|
1959
1331
|
minimum?: pulumi.Input<string>;
|
|
1960
|
-
/**
|
|
1961
|
-
* Must contain the value: `AWS/ElasticMapReduce`.
|
|
1962
|
-
*/
|
|
1963
1332
|
namespace: pulumi.Input<string>;
|
|
1964
|
-
/**
|
|
1965
|
-
* The operator to use in order to determine if the policy is applicable. Valid values: `gt` | `gte` | `lt` | `lte`
|
|
1966
|
-
*/
|
|
1967
1333
|
operator?: pulumi.Input<string>;
|
|
1968
|
-
/**
|
|
1969
|
-
* The time window in seconds over which the statistic is applied.
|
|
1970
|
-
*/
|
|
1971
1334
|
period?: pulumi.Input<number>;
|
|
1972
|
-
/**
|
|
1973
|
-
* The name of the policy.
|
|
1974
|
-
*/
|
|
1975
1335
|
policyName: pulumi.Input<string>;
|
|
1976
|
-
/**
|
|
1977
|
-
* The aggregation method of the given metric. Valid Values: `average` | `sum` | `sampleCount` | `maximum` | `minimum`
|
|
1978
|
-
*/
|
|
1979
1336
|
statistic?: pulumi.Input<string>;
|
|
1980
|
-
/**
|
|
1981
|
-
* The number of instances to set when scale is needed.
|
|
1982
|
-
*/
|
|
1983
1337
|
target?: pulumi.Input<string>;
|
|
1984
|
-
/**
|
|
1985
|
-
* The value that the specified statistic is compared to.
|
|
1986
|
-
*/
|
|
1987
1338
|
threshold: pulumi.Input<number>;
|
|
1988
|
-
/**
|
|
1989
|
-
* The unit for a given metric. Valid Values: `seconds` | `microseconds` | `milliseconds` | `bytes` | `kilobytes` | `megabytes` | `gigabytes` | `terabytes` | `bits` | `kilobits` | `megabits` | `gigabits` | `terabits` | `percent` | `count` | `bytes/second` | `kilobytes/second` | `megabytes/second` | `gigabytes/second` | `terabytes/second` | `bits/second` | `kilobits/second` | `megabits/second` | `gigabits/second` | `terabits/second` | `count/second` | `none`
|
|
1990
|
-
*/
|
|
1991
1339
|
unit: pulumi.Input<string>;
|
|
1992
1340
|
}
|
|
1993
1341
|
interface MrScalarInstanceWeight {
|
|
1994
|
-
/**
|
|
1995
|
-
* The type of the instance.
|
|
1996
|
-
*/
|
|
1997
1342
|
instanceType: pulumi.Input<string>;
|
|
1998
|
-
/**
|
|
1999
|
-
* The weight given to the associated instance type.
|
|
2000
|
-
*/
|
|
2001
1343
|
weightedCapacity: pulumi.Input<number>;
|
|
2002
1344
|
}
|
|
2003
1345
|
interface MrScalarMasterEbsBlockDevice {
|
|
2004
|
-
/**
|
|
2005
|
-
* IOPS for the volume. Required in some volume types, such as io1.
|
|
2006
|
-
*/
|
|
2007
1346
|
iops?: pulumi.Input<number>;
|
|
2008
|
-
/**
|
|
2009
|
-
* Size of the volume, in GBs.
|
|
2010
|
-
*/
|
|
2011
1347
|
sizeInGb: pulumi.Input<number>;
|
|
2012
|
-
/**
|
|
2013
|
-
* volume type. Allowed values are 'gp2', 'io1' and others.
|
|
2014
|
-
*/
|
|
2015
1348
|
volumeType: pulumi.Input<string>;
|
|
2016
|
-
/**
|
|
2017
|
-
* Amount of volumes per instance in the core group.
|
|
2018
|
-
*/
|
|
2019
1349
|
volumesPerInstance?: pulumi.Input<number>;
|
|
2020
1350
|
}
|
|
2021
1351
|
interface MrScalarProvisioningTimeout {
|
|
2022
|
-
/**
|
|
2023
|
-
* The amount of time (minutes) after which the cluster is automatically terminated if it's still in provisioning status. Minimum: '15'.
|
|
2024
|
-
*/
|
|
2025
1352
|
timeout: pulumi.Input<number>;
|
|
2026
|
-
/**
|
|
2027
|
-
* The action to take if the timeout is exceeded. Valid values: `terminate`, `terminateAndRetry`.
|
|
2028
|
-
*/
|
|
2029
1353
|
timeoutAction: pulumi.Input<string>;
|
|
2030
1354
|
}
|
|
2031
1355
|
interface MrScalarScheduledTask {
|
|
2032
|
-
/**
|
|
2033
|
-
* A cron expression representing the schedule for the task.
|
|
2034
|
-
*/
|
|
2035
1356
|
cron: pulumi.Input<string>;
|
|
2036
|
-
/**
|
|
2037
|
-
* New desired capacity for the elastigroup.
|
|
2038
|
-
*/
|
|
2039
1357
|
desiredCapacity?: pulumi.Input<string>;
|
|
2040
|
-
/**
|
|
2041
|
-
* Select the EMR instance groups to execute the scheduled task on. Valid values: `task`.
|
|
2042
|
-
*/
|
|
2043
1358
|
instanceGroupType: pulumi.Input<string>;
|
|
2044
|
-
/**
|
|
2045
|
-
* Enable/Disable the specified scheduling task.
|
|
2046
|
-
*/
|
|
2047
1359
|
isEnabled?: pulumi.Input<boolean>;
|
|
2048
|
-
/**
|
|
2049
|
-
* New max capacity for the elastigroup.
|
|
2050
|
-
*/
|
|
2051
1360
|
maxCapacity?: pulumi.Input<string>;
|
|
2052
|
-
/**
|
|
2053
|
-
* New min capacity for the elastigroup.
|
|
2054
|
-
*/
|
|
2055
1361
|
minCapacity?: pulumi.Input<string>;
|
|
2056
|
-
/**
|
|
2057
|
-
* The type of task to be scheduled. Valid values: `setCapacity`.
|
|
2058
|
-
*/
|
|
2059
1362
|
taskType: pulumi.Input<string>;
|
|
2060
1363
|
}
|
|
2061
1364
|
interface MrScalarStepsFile {
|
|
2062
|
-
/**
|
|
2063
|
-
* S3 Bucket name for bootstrap actions.
|
|
2064
|
-
*/
|
|
2065
1365
|
bucket: pulumi.Input<string>;
|
|
2066
|
-
/**
|
|
2067
|
-
* S3 key for bootstrap actions.
|
|
2068
|
-
*/
|
|
2069
1366
|
key: pulumi.Input<string>;
|
|
2070
1367
|
}
|
|
2071
1368
|
interface MrScalarTag {
|
|
2072
|
-
/**
|
|
2073
|
-
* S3 key for bootstrap actions.
|
|
2074
|
-
*/
|
|
2075
1369
|
key: pulumi.Input<string>;
|
|
2076
|
-
/**
|
|
2077
|
-
* Tag value.
|
|
2078
|
-
*/
|
|
2079
1370
|
value: pulumi.Input<string>;
|
|
2080
1371
|
}
|
|
2081
1372
|
interface MrScalarTaskEbsBlockDevice {
|
|
2082
|
-
/**
|
|
2083
|
-
* IOPS for the volume. Required in some volume types, such as io1.
|
|
2084
|
-
*/
|
|
2085
1373
|
iops?: pulumi.Input<number>;
|
|
2086
|
-
/**
|
|
2087
|
-
* Size of the volume, in GBs.
|
|
2088
|
-
*/
|
|
2089
1374
|
sizeInGb: pulumi.Input<number>;
|
|
2090
|
-
/**
|
|
2091
|
-
* volume type. Allowed values are 'gp2', 'io1' and others.
|
|
2092
|
-
*/
|
|
2093
1375
|
volumeType: pulumi.Input<string>;
|
|
2094
|
-
/**
|
|
2095
|
-
* Amount of volumes per instance in the core group.
|
|
2096
|
-
*/
|
|
2097
1376
|
volumesPerInstance?: pulumi.Input<number>;
|
|
2098
1377
|
}
|
|
2099
1378
|
interface MrScalarTaskScalingDownPolicy {
|
|
2100
|
-
/**
|
|
2101
|
-
* The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'
|
|
2102
|
-
*/
|
|
2103
1379
|
actionType?: pulumi.Input<string>;
|
|
2104
|
-
/**
|
|
2105
|
-
* The number of instances to add/remove to/from the target capacity when scale is needed.
|
|
2106
|
-
*/
|
|
2107
1380
|
adjustment?: pulumi.Input<string>;
|
|
2108
|
-
/**
|
|
2109
|
-
* The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
|
|
2110
|
-
*/
|
|
2111
1381
|
cooldown?: pulumi.Input<number>;
|
|
2112
|
-
/**
|
|
2113
|
-
* A mapping of dimensions describing qualities of the metric.
|
|
2114
|
-
*/
|
|
2115
1382
|
dimensions?: pulumi.Input<{
|
|
2116
1383
|
[key: string]: any;
|
|
2117
1384
|
}>;
|
|
2118
|
-
/**
|
|
2119
|
-
* The number of periods over which data is compared to the specified threshold.
|
|
2120
|
-
*/
|
|
2121
1385
|
evaluationPeriods?: pulumi.Input<number>;
|
|
2122
|
-
/**
|
|
2123
|
-
* Max target capacity for scale down.
|
|
2124
|
-
*/
|
|
2125
1386
|
maxTargetCapacity?: pulumi.Input<string>;
|
|
2126
|
-
/**
|
|
2127
|
-
* The maximum to set when scale is needed.
|
|
2128
|
-
*/
|
|
2129
1387
|
maximum?: pulumi.Input<string>;
|
|
2130
|
-
/**
|
|
2131
|
-
* The name of the metric in CloudWatch which the statement will be based on.
|
|
2132
|
-
*/
|
|
2133
1388
|
metricName: pulumi.Input<string>;
|
|
2134
|
-
/**
|
|
2135
|
-
* Min target capacity for scale up.
|
|
2136
|
-
*/
|
|
2137
1389
|
minTargetCapacity?: pulumi.Input<string>;
|
|
2138
|
-
/**
|
|
2139
|
-
* The minimum to set when scale is needed.
|
|
2140
|
-
*/
|
|
2141
1390
|
minimum?: pulumi.Input<string>;
|
|
2142
|
-
/**
|
|
2143
|
-
* Must contain the value: `AWS/ElasticMapReduce`.
|
|
2144
|
-
*/
|
|
2145
1391
|
namespace: pulumi.Input<string>;
|
|
2146
|
-
/**
|
|
2147
|
-
* The operator to use in order to determine if the policy is applicable. Valid values: `gt` | `gte` | `lt` | `lte`
|
|
2148
|
-
*/
|
|
2149
1392
|
operator?: pulumi.Input<string>;
|
|
2150
|
-
/**
|
|
2151
|
-
* The time window in seconds over which the statistic is applied.
|
|
2152
|
-
*/
|
|
2153
1393
|
period?: pulumi.Input<number>;
|
|
2154
|
-
/**
|
|
2155
|
-
* The name of the policy.
|
|
2156
|
-
*/
|
|
2157
1394
|
policyName: pulumi.Input<string>;
|
|
2158
|
-
/**
|
|
2159
|
-
* The aggregation method of the given metric. Valid Values: `average` | `sum` | `sampleCount` | `maximum` | `minimum`
|
|
2160
|
-
*/
|
|
2161
1395
|
statistic?: pulumi.Input<string>;
|
|
2162
|
-
/**
|
|
2163
|
-
* The number of instances to set when scale is needed.
|
|
2164
|
-
*/
|
|
2165
1396
|
target?: pulumi.Input<string>;
|
|
2166
|
-
/**
|
|
2167
|
-
* The value that the specified statistic is compared to.
|
|
2168
|
-
*/
|
|
2169
1397
|
threshold: pulumi.Input<number>;
|
|
2170
|
-
/**
|
|
2171
|
-
* The unit for a given metric. Valid Values: `seconds` | `microseconds` | `milliseconds` | `bytes` | `kilobytes` | `megabytes` | `gigabytes` | `terabytes` | `bits` | `kilobits` | `megabits` | `gigabits` | `terabits` | `percent` | `count` | `bytes/second` | `kilobytes/second` | `megabytes/second` | `gigabytes/second` | `terabytes/second` | `bits/second` | `kilobits/second` | `megabits/second` | `gigabits/second` | `terabits/second` | `count/second` | `none`
|
|
2172
|
-
*/
|
|
2173
1398
|
unit: pulumi.Input<string>;
|
|
2174
1399
|
}
|
|
2175
1400
|
interface MrScalarTaskScalingUpPolicy {
|
|
2176
|
-
/**
|
|
2177
|
-
* The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'
|
|
2178
|
-
*/
|
|
2179
1401
|
actionType?: pulumi.Input<string>;
|
|
2180
|
-
/**
|
|
2181
|
-
* The number of instances to add/remove to/from the target capacity when scale is needed.
|
|
2182
|
-
*/
|
|
2183
1402
|
adjustment?: pulumi.Input<string>;
|
|
2184
|
-
/**
|
|
2185
|
-
* The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
|
|
2186
|
-
*/
|
|
2187
1403
|
cooldown?: pulumi.Input<number>;
|
|
2188
|
-
/**
|
|
2189
|
-
* A mapping of dimensions describing qualities of the metric.
|
|
2190
|
-
*/
|
|
2191
1404
|
dimensions?: pulumi.Input<{
|
|
2192
1405
|
[key: string]: any;
|
|
2193
1406
|
}>;
|
|
2194
|
-
/**
|
|
2195
|
-
* The number of periods over which data is compared to the specified threshold.
|
|
2196
|
-
*/
|
|
2197
1407
|
evaluationPeriods?: pulumi.Input<number>;
|
|
2198
|
-
/**
|
|
2199
|
-
* Max target capacity for scale down.
|
|
2200
|
-
*/
|
|
2201
1408
|
maxTargetCapacity?: pulumi.Input<string>;
|
|
2202
|
-
/**
|
|
2203
|
-
* The maximum to set when scale is needed.
|
|
2204
|
-
*/
|
|
2205
1409
|
maximum?: pulumi.Input<string>;
|
|
2206
|
-
/**
|
|
2207
|
-
* The name of the metric in CloudWatch which the statement will be based on.
|
|
2208
|
-
*/
|
|
2209
1410
|
metricName: pulumi.Input<string>;
|
|
2210
|
-
/**
|
|
2211
|
-
* Min target capacity for scale up.
|
|
2212
|
-
*/
|
|
2213
1411
|
minTargetCapacity?: pulumi.Input<string>;
|
|
2214
|
-
/**
|
|
2215
|
-
* The minimum to set when scale is needed.
|
|
2216
|
-
*/
|
|
2217
1412
|
minimum?: pulumi.Input<string>;
|
|
2218
|
-
/**
|
|
2219
|
-
* Must contain the value: `AWS/ElasticMapReduce`.
|
|
2220
|
-
*/
|
|
2221
1413
|
namespace: pulumi.Input<string>;
|
|
2222
|
-
/**
|
|
2223
|
-
* The operator to use in order to determine if the policy is applicable. Valid values: `gt` | `gte` | `lt` | `lte`
|
|
2224
|
-
*/
|
|
2225
1414
|
operator?: pulumi.Input<string>;
|
|
2226
|
-
/**
|
|
2227
|
-
* The time window in seconds over which the statistic is applied.
|
|
2228
|
-
*/
|
|
2229
1415
|
period?: pulumi.Input<number>;
|
|
2230
|
-
/**
|
|
2231
|
-
* The name of the policy.
|
|
2232
|
-
*/
|
|
2233
1416
|
policyName: pulumi.Input<string>;
|
|
2234
|
-
/**
|
|
2235
|
-
* The aggregation method of the given metric. Valid Values: `average` | `sum` | `sampleCount` | `maximum` | `minimum`
|
|
2236
|
-
*/
|
|
2237
1417
|
statistic?: pulumi.Input<string>;
|
|
2238
|
-
/**
|
|
2239
|
-
* The number of instances to set when scale is needed.
|
|
2240
|
-
*/
|
|
2241
1418
|
target?: pulumi.Input<string>;
|
|
2242
|
-
/**
|
|
2243
|
-
* The value that the specified statistic is compared to.
|
|
2244
|
-
*/
|
|
2245
1419
|
threshold: pulumi.Input<number>;
|
|
2246
|
-
/**
|
|
2247
|
-
* The unit for a given metric. Valid Values: `seconds` | `microseconds` | `milliseconds` | `bytes` | `kilobytes` | `megabytes` | `gigabytes` | `terabytes` | `bits` | `kilobits` | `megabits` | `gigabits` | `terabits` | `percent` | `count` | `bytes/second` | `kilobytes/second` | `megabytes/second` | `gigabytes/second` | `terabytes/second` | `bits/second` | `kilobits/second` | `megabits/second` | `gigabits/second` | `terabits/second` | `count/second` | `none`
|
|
2248
|
-
*/
|
|
2249
1420
|
unit: pulumi.Input<string>;
|
|
2250
1421
|
}
|
|
2251
1422
|
interface MrScalarTerminationPolicy {
|
|
2252
1423
|
statements: pulumi.Input<pulumi.Input<inputs.aws.MrScalarTerminationPolicyStatement>[]>;
|
|
2253
1424
|
}
|
|
2254
1425
|
interface MrScalarTerminationPolicyStatement {
|
|
2255
|
-
/**
|
|
2256
|
-
* The number of periods over which data is compared to the specified threshold.
|
|
2257
|
-
*/
|
|
2258
1426
|
evaluationPeriods?: pulumi.Input<number>;
|
|
2259
|
-
/**
|
|
2260
|
-
* The name of the metric in CloudWatch which the statement will be based on.
|
|
2261
|
-
*/
|
|
2262
1427
|
metricName: pulumi.Input<string>;
|
|
2263
|
-
/**
|
|
2264
|
-
* Must contain the value: `AWS/ElasticMapReduce`.
|
|
2265
|
-
*/
|
|
2266
1428
|
namespace: pulumi.Input<string>;
|
|
2267
|
-
/**
|
|
2268
|
-
* The operator to use in order to determine if the policy is applicable. Valid values: `gt` | `gte` | `lt` | `lte`
|
|
2269
|
-
*/
|
|
2270
1429
|
operator?: pulumi.Input<string>;
|
|
2271
|
-
/**
|
|
2272
|
-
* The time window in seconds over which the statistic is applied.
|
|
2273
|
-
*/
|
|
2274
1430
|
period?: pulumi.Input<number>;
|
|
2275
|
-
/**
|
|
2276
|
-
* The aggregation method of the given metric. Valid Values: `average` | `sum` | `sampleCount` | `maximum` | `minimum`
|
|
2277
|
-
*/
|
|
2278
1431
|
statistic?: pulumi.Input<string>;
|
|
2279
|
-
/**
|
|
2280
|
-
* The value that the specified statistic is compared to.
|
|
2281
|
-
*/
|
|
2282
1432
|
threshold: pulumi.Input<number>;
|
|
2283
|
-
/**
|
|
2284
|
-
* The unit for a given metric. Valid Values: `seconds` | `microseconds` | `milliseconds` | `bytes` | `kilobytes` | `megabytes` | `gigabytes` | `terabytes` | `bits` | `kilobits` | `megabits` | `gigabits` | `terabits` | `percent` | `count` | `bytes/second` | `kilobytes/second` | `megabytes/second` | `gigabytes/second` | `terabytes/second` | `bits/second` | `kilobits/second` | `megabits/second` | `gigabits/second` | `terabits/second` | `count/second` | `none`
|
|
2285
|
-
*/
|
|
2286
1433
|
unit?: pulumi.Input<string>;
|
|
2287
1434
|
}
|
|
2288
1435
|
interface OceanAutoscaler {
|
|
@@ -2308,13 +1455,7 @@ export declare namespace aws {
|
|
|
2308
1455
|
numOfUnits?: pulumi.Input<number>;
|
|
2309
1456
|
}
|
|
2310
1457
|
interface OceanAutoscalerResourceLimits {
|
|
2311
|
-
/**
|
|
2312
|
-
* Maximum amount of Memory (GiB).
|
|
2313
|
-
*/
|
|
2314
1458
|
maxMemoryGib?: pulumi.Input<number>;
|
|
2315
|
-
/**
|
|
2316
|
-
* Maximum number of vcpus available.
|
|
2317
|
-
*/
|
|
2318
1459
|
maxVcpu?: pulumi.Input<number>;
|
|
2319
1460
|
}
|
|
2320
1461
|
interface OceanBlockDeviceMapping {
|
|
@@ -2328,67 +1469,25 @@ export declare namespace aws {
|
|
|
2328
1469
|
ebs?: pulumi.Input<inputs.aws.OceanBlockDeviceMappingEbs>;
|
|
2329
1470
|
}
|
|
2330
1471
|
interface OceanBlockDeviceMappingEbs {
|
|
2331
|
-
/**
|
|
2332
|
-
* Boolean. Flag to delete the EBS on instance termination.
|
|
2333
|
-
*/
|
|
2334
1472
|
deleteOnTermination?: pulumi.Input<boolean>;
|
|
2335
|
-
/**
|
|
2336
|
-
* Set dynamic IOPS properties. When using this object, you cannot use the `iops` attribute. You must use one or the other.
|
|
2337
|
-
*/
|
|
2338
1473
|
dynamicIops?: pulumi.Input<inputs.aws.OceanBlockDeviceMappingEbsDynamicIops>;
|
|
2339
|
-
/**
|
|
2340
|
-
* Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
|
|
2341
|
-
*/
|
|
2342
1474
|
dynamicVolumeSize?: pulumi.Input<inputs.aws.OceanBlockDeviceMappingEbsDynamicVolumeSize>;
|
|
2343
|
-
/**
|
|
2344
|
-
* Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
2345
|
-
*/
|
|
2346
1475
|
encrypted?: pulumi.Input<boolean>;
|
|
2347
|
-
/**
|
|
2348
|
-
* Must be greater than or equal to 0.
|
|
2349
|
-
*/
|
|
2350
1476
|
iops?: pulumi.Input<number>;
|
|
2351
|
-
/**
|
|
2352
|
-
* String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
2353
|
-
*/
|
|
2354
1477
|
kmsKeyId?: pulumi.Input<string>;
|
|
2355
|
-
/**
|
|
2356
|
-
* (Optional) String. The Snapshot ID to mount by.
|
|
2357
|
-
*/
|
|
2358
1478
|
snapshotId?: pulumi.Input<string>;
|
|
2359
|
-
/**
|
|
2360
|
-
* The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volumeType` = `gp3`.
|
|
2361
|
-
*/
|
|
2362
1479
|
throughput?: pulumi.Input<number>;
|
|
2363
|
-
/**
|
|
2364
|
-
* Int. The size, in GB of the volume.
|
|
2365
|
-
*/
|
|
2366
1480
|
volumeSize?: pulumi.Input<number>;
|
|
2367
|
-
/**
|
|
2368
|
-
* String. The type of the volume. (Example: `gp2`).
|
|
2369
|
-
*/
|
|
2370
1481
|
volumeType?: pulumi.Input<string>;
|
|
2371
1482
|
}
|
|
2372
1483
|
interface OceanBlockDeviceMappingEbsDynamicIops {
|
|
2373
|
-
/**
|
|
2374
|
-
* Initial size for IOPS.
|
|
2375
|
-
*/
|
|
2376
1484
|
baseSize: pulumi.Input<number>;
|
|
2377
1485
|
resource: pulumi.Input<string>;
|
|
2378
|
-
/**
|
|
2379
|
-
* Additional size per resource unit (in IOPS). (Example: `baseSize=50`, `sizePerResourceUnit=20`, and an instance with 2 CPU is launched; its IOPS size will be: 90).
|
|
2380
|
-
*/
|
|
2381
1486
|
sizePerResourceUnit: pulumi.Input<number>;
|
|
2382
1487
|
}
|
|
2383
1488
|
interface OceanBlockDeviceMappingEbsDynamicVolumeSize {
|
|
2384
|
-
/**
|
|
2385
|
-
* Initial size for IOPS.
|
|
2386
|
-
*/
|
|
2387
1489
|
baseSize: pulumi.Input<number>;
|
|
2388
1490
|
resource: pulumi.Input<string>;
|
|
2389
|
-
/**
|
|
2390
|
-
* Additional size per resource unit (in IOPS). (Example: `baseSize=50`, `sizePerResourceUnit=20`, and an instance with 2 CPU is launched; its IOPS size will be: 90).
|
|
2391
|
-
*/
|
|
2392
1491
|
sizePerResourceUnit: pulumi.Input<number>;
|
|
2393
1492
|
}
|
|
2394
1493
|
interface OceanClusterOrientation {
|
|
@@ -2398,81 +1497,24 @@ export declare namespace aws {
|
|
|
2398
1497
|
availabilityVsCost?: pulumi.Input<string>;
|
|
2399
1498
|
}
|
|
2400
1499
|
interface OceanFilters {
|
|
2401
|
-
/**
|
|
2402
|
-
* The filtered instance types will support at least one of the architectures from this list.
|
|
2403
|
-
*/
|
|
2404
1500
|
architectures?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2405
|
-
/**
|
|
2406
|
-
* The filtered instance types will belong to one of the categories types from this list.
|
|
2407
|
-
*/
|
|
2408
1501
|
categories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2409
|
-
/**
|
|
2410
|
-
* The filtered instance types will have one of the disk type from this list.
|
|
2411
|
-
*/
|
|
2412
1502
|
diskTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2413
|
-
/**
|
|
2414
|
-
* 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.
|
|
2415
|
-
*/
|
|
2416
1503
|
excludeFamilies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2417
|
-
/**
|
|
2418
|
-
* In case excludeMetal is set to true, metal types will not be available for scaling.
|
|
2419
|
-
*/
|
|
2420
1504
|
excludeMetal?: pulumi.Input<boolean>;
|
|
2421
|
-
/**
|
|
2422
|
-
* The filtered instance types will have a hypervisor type from this list.
|
|
2423
|
-
*/
|
|
2424
1505
|
hypervisors?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2425
|
-
/**
|
|
2426
|
-
* 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.
|
|
2427
|
-
*/
|
|
2428
1506
|
includeFamilies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2429
|
-
/**
|
|
2430
|
-
* Ena is supported or not.
|
|
2431
|
-
*/
|
|
2432
1507
|
isEnaSupported?: pulumi.Input<string>;
|
|
2433
|
-
/**
|
|
2434
|
-
* Maximum total number of GPUs.
|
|
2435
|
-
*/
|
|
2436
1508
|
maxGpu?: pulumi.Input<number>;
|
|
2437
|
-
/**
|
|
2438
|
-
* Maximum amount of Memory (GiB).
|
|
2439
|
-
*/
|
|
2440
1509
|
maxMemoryGib?: pulumi.Input<number>;
|
|
2441
|
-
/**
|
|
2442
|
-
* Maximum Bandwidth in Gib/s of network performance.
|
|
2443
|
-
*/
|
|
2444
1510
|
maxNetworkPerformance?: pulumi.Input<number>;
|
|
2445
|
-
/**
|
|
2446
|
-
* Maximum number of vcpus available.
|
|
2447
|
-
*/
|
|
2448
1511
|
maxVcpu?: pulumi.Input<number>;
|
|
2449
|
-
/**
|
|
2450
|
-
* Minimum number of network interfaces (ENIs).
|
|
2451
|
-
*/
|
|
2452
1512
|
minEnis?: pulumi.Input<number>;
|
|
2453
|
-
/**
|
|
2454
|
-
* Minimum total number of GPUs.
|
|
2455
|
-
*/
|
|
2456
1513
|
minGpu?: pulumi.Input<number>;
|
|
2457
|
-
/**
|
|
2458
|
-
* Minimum amount of Memory (GiB).
|
|
2459
|
-
*/
|
|
2460
1514
|
minMemoryGib?: pulumi.Input<number>;
|
|
2461
|
-
/**
|
|
2462
|
-
* Minimum Bandwidth in Gib/s of network performance.
|
|
2463
|
-
*/
|
|
2464
1515
|
minNetworkPerformance?: pulumi.Input<number>;
|
|
2465
|
-
/**
|
|
2466
|
-
* Minimum number of vcpus available.
|
|
2467
|
-
*/
|
|
2468
1516
|
minVcpu?: pulumi.Input<number>;
|
|
2469
|
-
/**
|
|
2470
|
-
* The filtered instance types will have a root device types from this list.
|
|
2471
|
-
*/
|
|
2472
1517
|
rootDeviceTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2473
|
-
/**
|
|
2474
|
-
* The filtered instance types will support at least one of the virtualization types from this list.
|
|
2475
|
-
*/
|
|
2476
1518
|
virtualizationTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2477
1519
|
}
|
|
2478
1520
|
interface OceanInstanceMetadataOptions {
|
|
@@ -2531,55 +1573,19 @@ export declare namespace aws {
|
|
|
2531
1573
|
virtualName?: pulumi.Input<string>;
|
|
2532
1574
|
}
|
|
2533
1575
|
interface OceanLaunchSpecBlockDeviceMappingEbs {
|
|
2534
|
-
/**
|
|
2535
|
-
* Boolean. Flag to delete the EBS on instance termination.
|
|
2536
|
-
*/
|
|
2537
1576
|
deleteOnTermination?: pulumi.Input<boolean>;
|
|
2538
|
-
/**
|
|
2539
|
-
* Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
|
|
2540
|
-
*/
|
|
2541
1577
|
dynamicVolumeSize?: pulumi.Input<inputs.aws.OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSize>;
|
|
2542
|
-
/**
|
|
2543
|
-
* Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
2544
|
-
*/
|
|
2545
1578
|
encrypted?: pulumi.Input<boolean>;
|
|
2546
|
-
/**
|
|
2547
|
-
* Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
2548
|
-
*/
|
|
2549
1579
|
iops?: pulumi.Input<number>;
|
|
2550
|
-
/**
|
|
2551
|
-
* String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
2552
|
-
*/
|
|
2553
1580
|
kmsKeyId?: pulumi.Input<string>;
|
|
2554
|
-
/**
|
|
2555
|
-
* (Optional) String. The Snapshot ID to mount by.
|
|
2556
|
-
*/
|
|
2557
1581
|
snapshotId?: pulumi.Input<string>;
|
|
2558
|
-
/**
|
|
2559
|
-
* The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volumeType` = `gp3`.
|
|
2560
|
-
*/
|
|
2561
1582
|
throughput?: pulumi.Input<number>;
|
|
2562
|
-
/**
|
|
2563
|
-
* Int. The size, in GB of the volume.
|
|
2564
|
-
*/
|
|
2565
1583
|
volumeSize?: pulumi.Input<number>;
|
|
2566
|
-
/**
|
|
2567
|
-
* String. The type of the volume. (Example: `gp2`).
|
|
2568
|
-
*/
|
|
2569
1584
|
volumeType?: pulumi.Input<string>;
|
|
2570
1585
|
}
|
|
2571
1586
|
interface OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSize {
|
|
2572
|
-
/**
|
|
2573
|
-
* Int. Initial size for volume. (Example: 50)
|
|
2574
|
-
*/
|
|
2575
1587
|
baseSize: pulumi.Input<number>;
|
|
2576
|
-
/**
|
|
2577
|
-
* String. Resource type to increase volume size dynamically by. (Valid values: `CPU`)
|
|
2578
|
-
*/
|
|
2579
1588
|
resource: pulumi.Input<string>;
|
|
2580
|
-
/**
|
|
2581
|
-
* Int. Additional size (in GB) per resource unit. (Example: `baseSize=50`, `sizePerResourceUnit=20`, and instance with 2 CPU is launched; its total disk size will be: 90GB)
|
|
2582
|
-
*/
|
|
2583
1589
|
sizePerResourceUnit: pulumi.Input<number>;
|
|
2584
1590
|
}
|
|
2585
1591
|
interface OceanLaunchSpecCreateOptions {
|
|
@@ -2605,13 +1611,7 @@ export declare namespace aws {
|
|
|
2605
1611
|
tagSelector?: pulumi.Input<inputs.aws.OceanLaunchSpecElasticIpPoolTagSelector>;
|
|
2606
1612
|
}
|
|
2607
1613
|
interface OceanLaunchSpecElasticIpPoolTagSelector {
|
|
2608
|
-
/**
|
|
2609
|
-
* Elastic IP tag key. The Virtual Node Group will consider all Elastic IPs tagged with this tag as a part of the Elastic IP pool to use.
|
|
2610
|
-
*/
|
|
2611
1614
|
tagKey: pulumi.Input<string>;
|
|
2612
|
-
/**
|
|
2613
|
-
* Elastic IP tag value. Can be null.
|
|
2614
|
-
*/
|
|
2615
1615
|
tagValue?: pulumi.Input<string>;
|
|
2616
1616
|
}
|
|
2617
1617
|
interface OceanLaunchSpecEphemeralStorage {
|
|
@@ -2715,11 +1715,11 @@ export declare namespace aws {
|
|
|
2715
1715
|
}
|
|
2716
1716
|
interface OceanLaunchSpecLabel {
|
|
2717
1717
|
/**
|
|
2718
|
-
* The
|
|
1718
|
+
* The label key.
|
|
2719
1719
|
*/
|
|
2720
1720
|
key: pulumi.Input<string>;
|
|
2721
1721
|
/**
|
|
2722
|
-
* The
|
|
1722
|
+
* The label value.
|
|
2723
1723
|
*/
|
|
2724
1724
|
value: pulumi.Input<string>;
|
|
2725
1725
|
}
|
|
@@ -2749,7 +1749,7 @@ export declare namespace aws {
|
|
|
2749
1749
|
*/
|
|
2750
1750
|
cronExpression: pulumi.Input<string>;
|
|
2751
1751
|
/**
|
|
2752
|
-
*
|
|
1752
|
+
* Describes whether the task is enabled. When True, the task runs. When False, it does not run.
|
|
2753
1753
|
*/
|
|
2754
1754
|
isEnabled: pulumi.Input<boolean>;
|
|
2755
1755
|
/**
|
|
@@ -2762,21 +1762,9 @@ export declare namespace aws {
|
|
|
2762
1762
|
taskType: pulumi.Input<string>;
|
|
2763
1763
|
}
|
|
2764
1764
|
interface OceanLaunchSpecSchedulingTaskTaskHeadroom {
|
|
2765
|
-
/**
|
|
2766
|
-
* Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2767
|
-
*/
|
|
2768
1765
|
cpuPerUnit?: pulumi.Input<number>;
|
|
2769
|
-
/**
|
|
2770
|
-
* Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2771
|
-
*/
|
|
2772
1766
|
gpuPerUnit?: pulumi.Input<number>;
|
|
2773
|
-
/**
|
|
2774
|
-
* Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2775
|
-
*/
|
|
2776
1767
|
memoryPerUnit?: pulumi.Input<number>;
|
|
2777
|
-
/**
|
|
2778
|
-
* The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2779
|
-
*/
|
|
2780
1768
|
numOfUnits: pulumi.Input<number>;
|
|
2781
1769
|
}
|
|
2782
1770
|
interface OceanLaunchSpecStrategy {
|
|
@@ -2786,13 +1774,7 @@ export declare namespace aws {
|
|
|
2786
1774
|
spotPercentage?: pulumi.Input<number>;
|
|
2787
1775
|
}
|
|
2788
1776
|
interface OceanLaunchSpecTag {
|
|
2789
|
-
/**
|
|
2790
|
-
* The taint key.
|
|
2791
|
-
*/
|
|
2792
1777
|
key: pulumi.Input<string>;
|
|
2793
|
-
/**
|
|
2794
|
-
* The taint value.
|
|
2795
|
-
*/
|
|
2796
1778
|
value: pulumi.Input<string>;
|
|
2797
1779
|
}
|
|
2798
1780
|
interface OceanLaunchSpecTaint {
|
|
@@ -2837,14 +1819,11 @@ export declare namespace aws {
|
|
|
2837
1819
|
export?: pulumi.Input<inputs.aws.OceanLoggingExport>;
|
|
2838
1820
|
}
|
|
2839
1821
|
interface OceanLoggingExport {
|
|
2840
|
-
/**
|
|
2841
|
-
* Exports your cluster's logs to the S3 bucket and subdir configured on the S3 data integration given.
|
|
2842
|
-
*/
|
|
2843
1822
|
s3s?: pulumi.Input<pulumi.Input<inputs.aws.OceanLoggingExportS3>[]>;
|
|
2844
1823
|
}
|
|
2845
1824
|
interface OceanLoggingExportS3 {
|
|
2846
1825
|
/**
|
|
2847
|
-
* The
|
|
1826
|
+
* The Cluster ID.
|
|
2848
1827
|
*/
|
|
2849
1828
|
id: pulumi.Input<string>;
|
|
2850
1829
|
}
|
|
@@ -2933,7 +1912,7 @@ export declare namespace azure {
|
|
|
2933
1912
|
interface ElastigroupImageCustom {
|
|
2934
1913
|
imageName: pulumi.Input<string>;
|
|
2935
1914
|
/**
|
|
2936
|
-
* Name of the
|
|
1915
|
+
* Name of the Resource Group for Elastigroup.
|
|
2937
1916
|
*/
|
|
2938
1917
|
resourceGroupName: pulumi.Input<string>;
|
|
2939
1918
|
}
|
|
@@ -2961,11 +1940,11 @@ export declare namespace azure {
|
|
|
2961
1940
|
}
|
|
2962
1941
|
interface ElastigroupManagedServiceIdentity {
|
|
2963
1942
|
/**
|
|
2964
|
-
*
|
|
1943
|
+
* The group name.
|
|
2965
1944
|
*/
|
|
2966
1945
|
name: pulumi.Input<string>;
|
|
2967
1946
|
/**
|
|
2968
|
-
* Name of the
|
|
1947
|
+
* Name of the Resource Group for Elastigroup.
|
|
2969
1948
|
*/
|
|
2970
1949
|
resourceGroupName: pulumi.Input<string>;
|
|
2971
1950
|
}
|
|
@@ -2973,7 +1952,7 @@ export declare namespace azure {
|
|
|
2973
1952
|
additionalIpConfigs?: pulumi.Input<pulumi.Input<inputs.azure.ElastigroupNetworkAdditionalIpConfig>[]>;
|
|
2974
1953
|
assignPublicIp?: pulumi.Input<boolean>;
|
|
2975
1954
|
/**
|
|
2976
|
-
* Name of the
|
|
1955
|
+
* Name of the Resource Group for Elastigroup.
|
|
2977
1956
|
*/
|
|
2978
1957
|
resourceGroupName: pulumi.Input<string>;
|
|
2979
1958
|
subnetName: pulumi.Input<string>;
|
|
@@ -2981,7 +1960,7 @@ export declare namespace azure {
|
|
|
2981
1960
|
}
|
|
2982
1961
|
interface ElastigroupNetworkAdditionalIpConfig {
|
|
2983
1962
|
/**
|
|
2984
|
-
*
|
|
1963
|
+
* The group name.
|
|
2985
1964
|
*/
|
|
2986
1965
|
name: pulumi.Input<string>;
|
|
2987
1966
|
privateIpVersion?: pulumi.Input<string>;
|
|
@@ -3008,12 +1987,9 @@ export declare namespace azure {
|
|
|
3008
1987
|
}
|
|
3009
1988
|
interface ElastigroupScalingDownPolicyDimension {
|
|
3010
1989
|
/**
|
|
3011
|
-
*
|
|
1990
|
+
* The group name.
|
|
3012
1991
|
*/
|
|
3013
1992
|
name: pulumi.Input<string>;
|
|
3014
|
-
/**
|
|
3015
|
-
* Tag Value for Vms in Elastigroup.
|
|
3016
|
-
*/
|
|
3017
1993
|
value?: pulumi.Input<string>;
|
|
3018
1994
|
}
|
|
3019
1995
|
interface ElastigroupScalingUpPolicy {
|
|
@@ -3038,12 +2014,9 @@ export declare namespace azure {
|
|
|
3038
2014
|
}
|
|
3039
2015
|
interface ElastigroupScalingUpPolicyDimension {
|
|
3040
2016
|
/**
|
|
3041
|
-
*
|
|
2017
|
+
* The group name.
|
|
3042
2018
|
*/
|
|
3043
2019
|
name: pulumi.Input<string>;
|
|
3044
|
-
/**
|
|
3045
|
-
* Tag Value for Vms in Elastigroup.
|
|
3046
|
-
*/
|
|
3047
2020
|
value?: pulumi.Input<string>;
|
|
3048
2021
|
}
|
|
3049
2022
|
interface ElastigroupScheduledTask {
|
|
@@ -3091,35 +2064,17 @@ export declare namespace azure {
|
|
|
3091
2064
|
resourceLimits?: pulumi.Input<inputs.azure.OceanAutoscalerResourceLimits>;
|
|
3092
2065
|
}
|
|
3093
2066
|
interface OceanAutoscalerAutoscaleDown {
|
|
3094
|
-
/**
|
|
3095
|
-
* Would represent the maximum % to scale-down.
|
|
3096
|
-
*/
|
|
3097
2067
|
maxScaleDownPercentage?: pulumi.Input<number>;
|
|
3098
2068
|
}
|
|
3099
2069
|
interface OceanAutoscalerAutoscaleHeadroom {
|
|
3100
|
-
/**
|
|
3101
|
-
* Automatic headroom configuration.
|
|
3102
|
-
*/
|
|
3103
2070
|
automatic?: pulumi.Input<inputs.azure.OceanAutoscalerAutoscaleHeadroomAutomatic>;
|
|
3104
2071
|
}
|
|
3105
2072
|
interface OceanAutoscalerAutoscaleHeadroomAutomatic {
|
|
3106
|
-
/**
|
|
3107
|
-
* Enable automatic headroom. When set to `true`, Ocean configures and optimizes headroom automatically.
|
|
3108
|
-
*/
|
|
3109
2073
|
isEnabled?: pulumi.Input<boolean>;
|
|
3110
|
-
/**
|
|
3111
|
-
* Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom. Relevant when `isEnabled` is toggled on.
|
|
3112
|
-
*/
|
|
3113
2074
|
percentage?: pulumi.Input<number>;
|
|
3114
2075
|
}
|
|
3115
2076
|
interface OceanAutoscalerResourceLimits {
|
|
3116
|
-
/**
|
|
3117
|
-
* The maximum memory in GiB units that can be allocated to the cluster.
|
|
3118
|
-
*/
|
|
3119
2077
|
maxMemoryGib?: pulumi.Input<number>;
|
|
3120
|
-
/**
|
|
3121
|
-
* The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
3122
|
-
*/
|
|
3123
2078
|
maxVcpu?: pulumi.Input<number>;
|
|
3124
2079
|
}
|
|
3125
2080
|
interface OceanExtension {
|
|
@@ -3132,15 +2087,12 @@ export declare namespace azure {
|
|
|
3132
2087
|
*/
|
|
3133
2088
|
minorVersionAutoUpgrade?: pulumi.Input<boolean>;
|
|
3134
2089
|
/**
|
|
3135
|
-
*
|
|
2090
|
+
* Extension name.
|
|
3136
2091
|
*/
|
|
3137
2092
|
name?: pulumi.Input<string>;
|
|
3138
|
-
/**
|
|
3139
|
-
* Image publisher.
|
|
3140
|
-
*/
|
|
3141
2093
|
publisher?: pulumi.Input<string>;
|
|
3142
2094
|
/**
|
|
3143
|
-
*
|
|
2095
|
+
* Extension type.
|
|
3144
2096
|
*/
|
|
3145
2097
|
type?: pulumi.Input<string>;
|
|
3146
2098
|
}
|
|
@@ -3157,21 +2109,9 @@ export declare namespace azure {
|
|
|
3157
2109
|
marketplaces?: pulumi.Input<pulumi.Input<inputs.azure.OceanImageMarketplace>[]>;
|
|
3158
2110
|
}
|
|
3159
2111
|
interface OceanImageMarketplace {
|
|
3160
|
-
/**
|
|
3161
|
-
* Image name.
|
|
3162
|
-
*/
|
|
3163
2112
|
offer?: pulumi.Input<string>;
|
|
3164
|
-
/**
|
|
3165
|
-
* Image publisher.
|
|
3166
|
-
*/
|
|
3167
2113
|
publisher?: pulumi.Input<string>;
|
|
3168
|
-
/**
|
|
3169
|
-
* Image Stock Keeping Unit (which is the specific version of the image).
|
|
3170
|
-
*/
|
|
3171
2114
|
sku?: pulumi.Input<string>;
|
|
3172
|
-
/**
|
|
3173
|
-
* Image version.
|
|
3174
|
-
*/
|
|
3175
2115
|
version?: pulumi.Input<string>;
|
|
3176
2116
|
}
|
|
3177
2117
|
interface OceanLoadBalancer {
|
|
@@ -3198,11 +2138,11 @@ export declare namespace azure {
|
|
|
3198
2138
|
}
|
|
3199
2139
|
interface OceanManagedServiceIdentity {
|
|
3200
2140
|
/**
|
|
3201
|
-
* Name of the
|
|
2141
|
+
* Name of the Managed Service Identity.
|
|
3202
2142
|
*/
|
|
3203
2143
|
name: pulumi.Input<string>;
|
|
3204
2144
|
/**
|
|
3205
|
-
*
|
|
2145
|
+
* Name of the Azure Resource Group where the Managed Service Identity is located.
|
|
3206
2146
|
*/
|
|
3207
2147
|
resourceGroupName: pulumi.Input<string>;
|
|
3208
2148
|
}
|
|
@@ -3212,7 +2152,7 @@ export declare namespace azure {
|
|
|
3212
2152
|
*/
|
|
3213
2153
|
networkInterfaces?: pulumi.Input<pulumi.Input<inputs.azure.OceanNetworkNetworkInterface>[]>;
|
|
3214
2154
|
/**
|
|
3215
|
-
*
|
|
2155
|
+
* Vnet resource group name.
|
|
3216
2156
|
*/
|
|
3217
2157
|
resourceGroupName?: pulumi.Input<string>;
|
|
3218
2158
|
/**
|
|
@@ -3221,41 +2161,26 @@ export declare namespace azure {
|
|
|
3221
2161
|
virtualNetworkName?: pulumi.Input<string>;
|
|
3222
2162
|
}
|
|
3223
2163
|
interface OceanNetworkNetworkInterface {
|
|
3224
|
-
/**
|
|
3225
|
-
* Additional configuration of network interface. The name fields between all the `additionalIpConfig` must be unique.
|
|
3226
|
-
*/
|
|
3227
2164
|
additionalIpConfigs?: pulumi.Input<pulumi.Input<inputs.azure.OceanNetworkNetworkInterfaceAdditionalIpConfig>[]>;
|
|
3228
|
-
/**
|
|
3229
|
-
* Assign public IP.
|
|
3230
|
-
*/
|
|
3231
2165
|
assignPublicIp?: pulumi.Input<boolean>;
|
|
3232
|
-
/**
|
|
3233
|
-
* Defines whether the network interface is primary or not.
|
|
3234
|
-
*/
|
|
3235
2166
|
isPrimary?: pulumi.Input<boolean>;
|
|
3236
2167
|
securityGroup?: pulumi.Input<inputs.azure.OceanNetworkNetworkInterfaceSecurityGroup>;
|
|
3237
|
-
/**
|
|
3238
|
-
* Subnet name.
|
|
3239
|
-
*/
|
|
3240
2168
|
subnetName?: pulumi.Input<string>;
|
|
3241
2169
|
}
|
|
3242
2170
|
interface OceanNetworkNetworkInterfaceAdditionalIpConfig {
|
|
3243
2171
|
/**
|
|
3244
|
-
*
|
|
2172
|
+
* The Ocean cluster name.
|
|
3245
2173
|
*/
|
|
3246
2174
|
name?: pulumi.Input<string>;
|
|
3247
|
-
/**
|
|
3248
|
-
* Supported values: `IPv4`, `IPv6`.
|
|
3249
|
-
*/
|
|
3250
2175
|
privateIpVersion?: pulumi.Input<string>;
|
|
3251
2176
|
}
|
|
3252
2177
|
interface OceanNetworkNetworkInterfaceSecurityGroup {
|
|
3253
2178
|
/**
|
|
3254
|
-
*
|
|
2179
|
+
* The Ocean cluster name.
|
|
3255
2180
|
*/
|
|
3256
2181
|
name?: pulumi.Input<string>;
|
|
3257
2182
|
/**
|
|
3258
|
-
*
|
|
2183
|
+
* Name of the Azure Resource Group into which VMs will be launched. Cannot be updated.
|
|
3259
2184
|
*/
|
|
3260
2185
|
resourceGroupName?: pulumi.Input<string>;
|
|
3261
2186
|
}
|
|
@@ -3381,7 +2306,7 @@ export declare namespace azure {
|
|
|
3381
2306
|
*/
|
|
3382
2307
|
sizeGb: pulumi.Input<number>;
|
|
3383
2308
|
/**
|
|
3384
|
-
* The type of
|
|
2309
|
+
* The type of the OS disk. Supported values: `Standard_LRS`, `Premium_LRS`, `StandardSSD_LRS`.
|
|
3385
2310
|
*/
|
|
3386
2311
|
type?: pulumi.Input<string>;
|
|
3387
2312
|
}
|
|
@@ -3413,30 +2338,18 @@ export declare namespace azure {
|
|
|
3413
2338
|
autoscaleHeadrooms?: pulumi.Input<pulumi.Input<inputs.azure.OceanVirtualNodeGroupAutoscaleAutoscaleHeadroom>[]>;
|
|
3414
2339
|
}
|
|
3415
2340
|
interface OceanVirtualNodeGroupAutoscaleAutoscaleHeadroom {
|
|
3416
|
-
/**
|
|
3417
|
-
* Configure the number of CPUs to allocate for the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
3418
|
-
*/
|
|
3419
2341
|
cpuPerUnit?: pulumi.Input<number>;
|
|
3420
|
-
/**
|
|
3421
|
-
* How many GPU cores should be allocated for headroom unit.
|
|
3422
|
-
*/
|
|
3423
2342
|
gpuPerUnit?: pulumi.Input<number>;
|
|
3424
|
-
/**
|
|
3425
|
-
* Configure the amount of memory (MiB) to allocate the headroom.
|
|
3426
|
-
*/
|
|
3427
2343
|
memoryPerUnit?: pulumi.Input<number>;
|
|
3428
|
-
/**
|
|
3429
|
-
* The number of headroom units to maintain, where each unit has the defined CPU, memory and GPU.
|
|
3430
|
-
*/
|
|
3431
2344
|
numOfUnits: pulumi.Input<number>;
|
|
3432
2345
|
}
|
|
3433
2346
|
interface OceanVirtualNodeGroupLabel {
|
|
3434
2347
|
/**
|
|
3435
|
-
*
|
|
2348
|
+
* The label key.
|
|
3436
2349
|
*/
|
|
3437
2350
|
key: pulumi.Input<string>;
|
|
3438
2351
|
/**
|
|
3439
|
-
*
|
|
2352
|
+
* The label value.
|
|
3440
2353
|
*/
|
|
3441
2354
|
value?: pulumi.Input<string>;
|
|
3442
2355
|
}
|
|
@@ -3455,27 +2368,12 @@ export declare namespace azure {
|
|
|
3455
2368
|
tags?: pulumi.Input<pulumi.Input<inputs.azure.OceanVirtualNodeGroupLaunchSpecificationTag>[]>;
|
|
3456
2369
|
}
|
|
3457
2370
|
interface OceanVirtualNodeGroupLaunchSpecificationOsDisk {
|
|
3458
|
-
/**
|
|
3459
|
-
* The size of the OS disk in GB, Required if dataDisks is specified.
|
|
3460
|
-
*/
|
|
3461
2371
|
sizeGb: pulumi.Input<number>;
|
|
3462
|
-
/**
|
|
3463
|
-
* The type of the OS disk. Valid values: `"Standard_LRS"`, `"Premium_LRS"`, `"StandardSSD_LRS"`.
|
|
3464
|
-
*/
|
|
3465
2372
|
type?: pulumi.Input<string>;
|
|
3466
|
-
/**
|
|
3467
|
-
* Flag to enable/disable the Ephemeral OS Disk utilization.
|
|
3468
|
-
*/
|
|
3469
2373
|
utilizeEphemeralStorage?: pulumi.Input<boolean>;
|
|
3470
2374
|
}
|
|
3471
2375
|
interface OceanVirtualNodeGroupLaunchSpecificationTag {
|
|
3472
|
-
/**
|
|
3473
|
-
* Tag Key for Vms in the cluster.
|
|
3474
|
-
*/
|
|
3475
2376
|
key?: pulumi.Input<string>;
|
|
3476
|
-
/**
|
|
3477
|
-
* Tag Value for VMs in the cluster.
|
|
3478
|
-
*/
|
|
3479
2377
|
value?: pulumi.Input<string>;
|
|
3480
2378
|
}
|
|
3481
2379
|
interface OceanVirtualNodeGroupResourceLimit {
|
|
@@ -3490,11 +2388,11 @@ export declare namespace azure {
|
|
|
3490
2388
|
*/
|
|
3491
2389
|
effect: pulumi.Input<string>;
|
|
3492
2390
|
/**
|
|
3493
|
-
*
|
|
2391
|
+
* The taint key.
|
|
3494
2392
|
*/
|
|
3495
2393
|
key: pulumi.Input<string>;
|
|
3496
2394
|
/**
|
|
3497
|
-
*
|
|
2395
|
+
* The taint value.
|
|
3498
2396
|
*/
|
|
3499
2397
|
value: pulumi.Input<string>;
|
|
3500
2398
|
}
|
|
@@ -3507,138 +2405,48 @@ export declare namespace azure {
|
|
|
3507
2405
|
}
|
|
3508
2406
|
export declare namespace ecs {
|
|
3509
2407
|
interface OceanAutoscaler {
|
|
3510
|
-
/**
|
|
3511
|
-
* The auto-headroom percentage. Set a number between 0-200 to control the headroom % of the cluster. Relevant when `isAutoConfig`= true.
|
|
3512
|
-
*/
|
|
3513
2408
|
autoHeadroomPercentage?: pulumi.Input<number>;
|
|
3514
|
-
/**
|
|
3515
|
-
* Cooldown period between scaling actions.
|
|
3516
|
-
*/
|
|
3517
2409
|
cooldown?: pulumi.Input<number>;
|
|
3518
|
-
/**
|
|
3519
|
-
* Auto Scaling scale down operations.
|
|
3520
|
-
*/
|
|
3521
2410
|
down?: pulumi.Input<inputs.ecs.OceanAutoscalerDown>;
|
|
3522
|
-
/**
|
|
3523
|
-
* When set to true, both automatic and per custom launch specification manual headroom to be saved concurrently and independently in the cluster. prerequisite: isAutoConfig must be true
|
|
3524
|
-
*/
|
|
3525
2411
|
enableAutomaticAndManualHeadroom?: pulumi.Input<boolean>;
|
|
3526
|
-
/**
|
|
3527
|
-
* Spare resource capacity management enabling fast assignment of tasks without waiting for new resources to launch.
|
|
3528
|
-
*/
|
|
3529
2412
|
headroom?: pulumi.Input<inputs.ecs.OceanAutoscalerHeadroom>;
|
|
3530
|
-
/**
|
|
3531
|
-
* Automatically configure and optimize headroom resources.
|
|
3532
|
-
*/
|
|
3533
2413
|
isAutoConfig?: pulumi.Input<boolean>;
|
|
3534
|
-
/**
|
|
3535
|
-
* Enable the Ocean ECS autoscaler.
|
|
3536
|
-
*/
|
|
3537
2414
|
isEnabled?: pulumi.Input<boolean>;
|
|
3538
|
-
/**
|
|
3539
|
-
* Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
3540
|
-
*/
|
|
3541
2415
|
resourceLimits?: pulumi.Input<inputs.ecs.OceanAutoscalerResourceLimits>;
|
|
3542
|
-
/**
|
|
3543
|
-
* Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
|
|
3544
|
-
*/
|
|
3545
2416
|
shouldScaleDownNonServiceTasks?: pulumi.Input<boolean>;
|
|
3546
2417
|
}
|
|
3547
2418
|
interface OceanAutoscalerDown {
|
|
3548
|
-
/**
|
|
3549
|
-
* Would represent the maximum % to scale-down. Number between 1-100.
|
|
3550
|
-
*/
|
|
3551
2419
|
maxScaleDownPercentage?: pulumi.Input<number>;
|
|
3552
2420
|
}
|
|
3553
2421
|
interface OceanAutoscalerHeadroom {
|
|
3554
|
-
/**
|
|
3555
|
-
* Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
3556
|
-
*/
|
|
3557
2422
|
cpuPerUnit?: pulumi.Input<number>;
|
|
3558
|
-
/**
|
|
3559
|
-
* Optionally configure the amount of memory (MB) to allocate the headroom.
|
|
3560
|
-
*/
|
|
3561
2423
|
memoryPerUnit?: pulumi.Input<number>;
|
|
3562
|
-
/**
|
|
3563
|
-
* The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
3564
|
-
*/
|
|
3565
2424
|
numOfUnits?: pulumi.Input<number>;
|
|
3566
2425
|
}
|
|
3567
2426
|
interface OceanAutoscalerResourceLimits {
|
|
3568
|
-
/**
|
|
3569
|
-
* Maximum amount of Memory (GiB).
|
|
3570
|
-
*/
|
|
3571
2427
|
maxMemoryGib?: pulumi.Input<number>;
|
|
3572
|
-
/**
|
|
3573
|
-
* Maximum number of vcpus available.
|
|
3574
|
-
*/
|
|
3575
2428
|
maxVcpu?: pulumi.Input<number>;
|
|
3576
2429
|
}
|
|
3577
2430
|
interface OceanBlockDeviceMapping {
|
|
3578
|
-
/**
|
|
3579
|
-
* String. Set device name. Example: `/dev/xvda1`.
|
|
3580
|
-
*/
|
|
3581
2431
|
deviceName: pulumi.Input<string>;
|
|
3582
|
-
/**
|
|
3583
|
-
* Object. Set Elastic Block Store properties.
|
|
3584
|
-
*/
|
|
3585
2432
|
ebs?: pulumi.Input<inputs.ecs.OceanBlockDeviceMappingEbs>;
|
|
3586
|
-
/**
|
|
3587
|
-
* String. Suppresses the specified device included in the block device mapping of the AMI.
|
|
3588
|
-
*/
|
|
3589
2433
|
noDevice?: pulumi.Input<string>;
|
|
3590
2434
|
virtualName?: pulumi.Input<string>;
|
|
3591
2435
|
}
|
|
3592
2436
|
interface OceanBlockDeviceMappingEbs {
|
|
3593
|
-
/**
|
|
3594
|
-
* Boolean. Toggles EBS deletion upon instance termination.
|
|
3595
|
-
*/
|
|
3596
2437
|
deleteOnTermination?: pulumi.Input<boolean>;
|
|
3597
|
-
/**
|
|
3598
|
-
* Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
|
|
3599
|
-
*/
|
|
3600
2438
|
dynamicVolumeSize?: pulumi.Input<inputs.ecs.OceanBlockDeviceMappingEbsDynamicVolumeSize>;
|
|
3601
|
-
/**
|
|
3602
|
-
* Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
3603
|
-
*/
|
|
3604
2439
|
encrypted?: pulumi.Input<boolean>;
|
|
3605
|
-
/**
|
|
3606
|
-
* Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
3607
|
-
*/
|
|
3608
2440
|
iops?: pulumi.Input<number>;
|
|
3609
|
-
/**
|
|
3610
|
-
* String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
3611
|
-
*/
|
|
3612
2441
|
kmsKeyId?: pulumi.Input<string>;
|
|
3613
|
-
/**
|
|
3614
|
-
* (Optional) String. The snapshot ID to mount by.
|
|
3615
|
-
*/
|
|
3616
2442
|
snapshotId?: pulumi.Input<string>;
|
|
3617
|
-
/**
|
|
3618
|
-
* The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volumeType` = gp3.
|
|
3619
|
-
*/
|
|
3620
2443
|
throughput?: pulumi.Input<number>;
|
|
3621
|
-
/**
|
|
3622
|
-
* Int. The size (in GB) of the volume.
|
|
3623
|
-
*/
|
|
3624
2444
|
volumeSize?: pulumi.Input<number>;
|
|
3625
|
-
/**
|
|
3626
|
-
* String. The type of the volume. Example: `gp2`.
|
|
3627
|
-
*/
|
|
3628
2445
|
volumeType?: pulumi.Input<string>;
|
|
3629
2446
|
}
|
|
3630
2447
|
interface OceanBlockDeviceMappingEbsDynamicVolumeSize {
|
|
3631
|
-
/**
|
|
3632
|
-
* Int. Initial size for volume. Example: `50`.
|
|
3633
|
-
*/
|
|
3634
2448
|
baseSize: pulumi.Input<number>;
|
|
3635
|
-
/**
|
|
3636
|
-
* String. Resource type to increase volume size dynamically by. Valid values: `CPU`.
|
|
3637
|
-
*/
|
|
3638
2449
|
resource: pulumi.Input<string>;
|
|
3639
|
-
/**
|
|
3640
|
-
* Int. Additional size (in GB) per resource unit. Example: When the `baseSize=50`, `sizePerResourceUnit=20`, and instance with two CPUs is launched, its total disk size will be: 90GB.
|
|
3641
|
-
*/
|
|
3642
2450
|
sizePerResourceUnit: pulumi.Input<number>;
|
|
3643
2451
|
}
|
|
3644
2452
|
interface OceanClusterOrientation {
|
|
@@ -3648,81 +2456,24 @@ export declare namespace ecs {
|
|
|
3648
2456
|
availabilityVsCost?: pulumi.Input<string>;
|
|
3649
2457
|
}
|
|
3650
2458
|
interface OceanFilters {
|
|
3651
|
-
/**
|
|
3652
|
-
* The filtered instance types will support at least one of the architectures from this list.
|
|
3653
|
-
*/
|
|
3654
2459
|
architectures?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3655
|
-
/**
|
|
3656
|
-
* The filtered instance types will belong to one of the categories types from this list.
|
|
3657
|
-
*/
|
|
3658
2460
|
categories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3659
|
-
/**
|
|
3660
|
-
* The filtered instance types will have one of the disk type from this list.
|
|
3661
|
-
*/
|
|
3662
2461
|
diskTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3663
|
-
/**
|
|
3664
|
-
* 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.
|
|
3665
|
-
*/
|
|
3666
2462
|
excludeFamilies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3667
|
-
/**
|
|
3668
|
-
* In case excludeMetal is set to true, metal types will not be available for scaling.
|
|
3669
|
-
*/
|
|
3670
2463
|
excludeMetal?: pulumi.Input<boolean>;
|
|
3671
|
-
/**
|
|
3672
|
-
* The filtered instance types will have a hypervisor type from this list.
|
|
3673
|
-
*/
|
|
3674
2464
|
hypervisors?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3675
|
-
/**
|
|
3676
|
-
* 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.
|
|
3677
|
-
*/
|
|
3678
2465
|
includeFamilies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3679
|
-
/**
|
|
3680
|
-
* Ena is supported or not.
|
|
3681
|
-
*/
|
|
3682
2466
|
isEnaSupported?: pulumi.Input<string>;
|
|
3683
|
-
/**
|
|
3684
|
-
* Maximum total number of GPUs.
|
|
3685
|
-
*/
|
|
3686
2467
|
maxGpu?: pulumi.Input<number>;
|
|
3687
|
-
/**
|
|
3688
|
-
* Maximum amount of Memory (GiB).
|
|
3689
|
-
*/
|
|
3690
2468
|
maxMemoryGib?: pulumi.Input<number>;
|
|
3691
|
-
/**
|
|
3692
|
-
* Maximum Bandwidth in Gib/s of network performance.
|
|
3693
|
-
*/
|
|
3694
2469
|
maxNetworkPerformance?: pulumi.Input<number>;
|
|
3695
|
-
/**
|
|
3696
|
-
* Maximum number of vcpus available.
|
|
3697
|
-
*/
|
|
3698
2470
|
maxVcpu?: pulumi.Input<number>;
|
|
3699
|
-
/**
|
|
3700
|
-
* Minimum number of network interfaces (ENIs).
|
|
3701
|
-
*/
|
|
3702
2471
|
minEnis?: pulumi.Input<number>;
|
|
3703
|
-
/**
|
|
3704
|
-
* Minimum total number of GPUs.
|
|
3705
|
-
*/
|
|
3706
2472
|
minGpu?: pulumi.Input<number>;
|
|
3707
|
-
/**
|
|
3708
|
-
* Minimum amount of Memory (GiB).
|
|
3709
|
-
*/
|
|
3710
2473
|
minMemoryGib?: pulumi.Input<number>;
|
|
3711
|
-
/**
|
|
3712
|
-
* Minimum Bandwidth in Gib/s of network performance.
|
|
3713
|
-
*/
|
|
3714
2474
|
minNetworkPerformance?: pulumi.Input<number>;
|
|
3715
|
-
/**
|
|
3716
|
-
* Minimum number of vcpus available.
|
|
3717
|
-
*/
|
|
3718
2475
|
minVcpu?: pulumi.Input<number>;
|
|
3719
|
-
/**
|
|
3720
|
-
* The filtered instance types will have a root device types from this list.
|
|
3721
|
-
*/
|
|
3722
2476
|
rootDeviceTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3723
|
-
/**
|
|
3724
|
-
* The filtered instance types will support at least one of the virtualization types from this list.
|
|
3725
|
-
*/
|
|
3726
2477
|
virtualizationTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3727
2478
|
}
|
|
3728
2479
|
interface OceanInstanceMetadataOptions {
|
|
@@ -3747,7 +2498,7 @@ export declare namespace ecs {
|
|
|
3747
2498
|
}
|
|
3748
2499
|
interface OceanLaunchSpecAutoscaleHeadroom {
|
|
3749
2500
|
/**
|
|
3750
|
-
* Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in
|
|
2501
|
+
* Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in CPU units, where 1024 units = 1 vCPU.
|
|
3751
2502
|
*/
|
|
3752
2503
|
cpuPerUnit?: pulumi.Input<number>;
|
|
3753
2504
|
/**
|
|
@@ -3755,7 +2506,7 @@ export declare namespace ecs {
|
|
|
3755
2506
|
*/
|
|
3756
2507
|
memoryPerUnit?: pulumi.Input<number>;
|
|
3757
2508
|
/**
|
|
3758
|
-
* The number of units to retain as headroom, where each unit has the defined headroom CPU
|
|
2509
|
+
* The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
3759
2510
|
*/
|
|
3760
2511
|
numOfUnits: pulumi.Input<number>;
|
|
3761
2512
|
}
|
|
@@ -3816,17 +2567,8 @@ export declare namespace ecs {
|
|
|
3816
2567
|
taskType: pulumi.Input<string>;
|
|
3817
2568
|
}
|
|
3818
2569
|
interface OceanLaunchSpecSchedulingTaskTaskHeadroom {
|
|
3819
|
-
/**
|
|
3820
|
-
* Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
3821
|
-
*/
|
|
3822
2570
|
cpuPerUnit?: pulumi.Input<number>;
|
|
3823
|
-
/**
|
|
3824
|
-
* Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
3825
|
-
*/
|
|
3826
2571
|
memoryPerUnit?: pulumi.Input<number>;
|
|
3827
|
-
/**
|
|
3828
|
-
* The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
3829
|
-
*/
|
|
3830
2572
|
numOfUnits: pulumi.Input<number>;
|
|
3831
2573
|
}
|
|
3832
2574
|
interface OceanLaunchSpecStrategy {
|
|
@@ -3838,13 +2580,7 @@ export declare namespace ecs {
|
|
|
3838
2580
|
spotPercentage?: pulumi.Input<number>;
|
|
3839
2581
|
}
|
|
3840
2582
|
interface OceanLaunchSpecTag {
|
|
3841
|
-
/**
|
|
3842
|
-
* The label key.
|
|
3843
|
-
*/
|
|
3844
2583
|
key: pulumi.Input<string>;
|
|
3845
|
-
/**
|
|
3846
|
-
* The label value.
|
|
3847
|
-
*/
|
|
3848
2584
|
value: pulumi.Input<string>;
|
|
3849
2585
|
}
|
|
3850
2586
|
interface OceanLogging {
|
|
@@ -3854,63 +2590,30 @@ export declare namespace ecs {
|
|
|
3854
2590
|
export?: pulumi.Input<inputs.ecs.OceanLoggingExport>;
|
|
3855
2591
|
}
|
|
3856
2592
|
interface OceanLoggingExport {
|
|
3857
|
-
/**
|
|
3858
|
-
* Exports your cluster's logs to the S3 bucket and subdir configured on the S3 data integration given.
|
|
3859
|
-
*/
|
|
3860
2593
|
s3s?: pulumi.Input<pulumi.Input<inputs.ecs.OceanLoggingExportS3>[]>;
|
|
3861
2594
|
}
|
|
3862
2595
|
interface OceanLoggingExportS3 {
|
|
3863
2596
|
/**
|
|
3864
|
-
* The
|
|
2597
|
+
* The Spotinst Ocean ID.
|
|
3865
2598
|
*/
|
|
3866
2599
|
id: pulumi.Input<string>;
|
|
3867
2600
|
}
|
|
3868
2601
|
interface OceanOptimizeImages {
|
|
3869
|
-
/**
|
|
3870
|
-
* String. Valid values: "always" "never" "timeWindow".
|
|
3871
|
-
*/
|
|
3872
2602
|
performAt: pulumi.Input<string>;
|
|
3873
|
-
/**
|
|
3874
|
-
* Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
|
|
3875
|
-
*/
|
|
3876
2603
|
shouldOptimizeEcsAmi: pulumi.Input<boolean>;
|
|
3877
|
-
/**
|
|
3878
|
-
* Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
|
|
3879
|
-
*/
|
|
3880
2604
|
timeWindows?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3881
2605
|
}
|
|
3882
2606
|
interface OceanScheduledTask {
|
|
3883
|
-
/**
|
|
3884
|
-
* Set shutdown hours for cluster object.
|
|
3885
|
-
*/
|
|
3886
2607
|
shutdownHours?: pulumi.Input<inputs.ecs.OceanScheduledTaskShutdownHours>;
|
|
3887
|
-
/**
|
|
3888
|
-
* The scheduling tasks for the cluster.
|
|
3889
|
-
*/
|
|
3890
2608
|
tasks?: pulumi.Input<pulumi.Input<inputs.ecs.OceanScheduledTaskTask>[]>;
|
|
3891
2609
|
}
|
|
3892
2610
|
interface OceanScheduledTaskShutdownHours {
|
|
3893
|
-
/**
|
|
3894
|
-
* Enable the Ocean ECS autoscaler.
|
|
3895
|
-
*/
|
|
3896
2611
|
isEnabled?: pulumi.Input<boolean>;
|
|
3897
|
-
/**
|
|
3898
|
-
* Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
|
|
3899
|
-
*/
|
|
3900
2612
|
timeWindows: pulumi.Input<pulumi.Input<string>[]>;
|
|
3901
2613
|
}
|
|
3902
2614
|
interface OceanScheduledTaskTask {
|
|
3903
|
-
/**
|
|
3904
|
-
* A valid cron expression. The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of `frequency` or `cronExpression` should be used at a time. Required for `cluster.scheduling.tasks` object. Example: `0 1 * * *`.
|
|
3905
|
-
*/
|
|
3906
2615
|
cronExpression: pulumi.Input<string>;
|
|
3907
|
-
/**
|
|
3908
|
-
* Enable the Ocean ECS autoscaler.
|
|
3909
|
-
*/
|
|
3910
2616
|
isEnabled: pulumi.Input<boolean>;
|
|
3911
|
-
/**
|
|
3912
|
-
* Valid values: "clusterRoll". Required for `cluster.scheduling.tasks object`. Example: `clusterRoll`.
|
|
3913
|
-
*/
|
|
3914
2617
|
taskType: pulumi.Input<string>;
|
|
3915
2618
|
}
|
|
3916
2619
|
interface OceanTag {
|
|
@@ -3924,48 +2627,21 @@ export declare namespace ecs {
|
|
|
3924
2627
|
value: pulumi.Input<string>;
|
|
3925
2628
|
}
|
|
3926
2629
|
interface OceanUpdatePolicy {
|
|
3927
|
-
/**
|
|
3928
|
-
* will update instance tags on the fly without rolling the cluster.
|
|
3929
|
-
*/
|
|
3930
2630
|
autoApplyTags?: pulumi.Input<boolean>;
|
|
3931
|
-
/**
|
|
3932
|
-
* Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
|
|
3933
|
-
*/
|
|
3934
2631
|
conditionedRoll?: pulumi.Input<boolean>;
|
|
3935
2632
|
rollConfig?: pulumi.Input<inputs.ecs.OceanUpdatePolicyRollConfig>;
|
|
3936
|
-
/**
|
|
3937
|
-
* Enables the roll.
|
|
3938
|
-
*/
|
|
3939
2633
|
shouldRoll: pulumi.Input<boolean>;
|
|
3940
2634
|
}
|
|
3941
2635
|
interface OceanUpdatePolicyRollConfig {
|
|
3942
|
-
/**
|
|
3943
|
-
* Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster 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.
|
|
3944
|
-
*/
|
|
3945
2636
|
batchMinHealthyPercentage?: pulumi.Input<number>;
|
|
3946
|
-
/**
|
|
3947
|
-
* Sets the percentage of the instances to deploy in each batch.
|
|
3948
|
-
*/
|
|
3949
2637
|
batchSizePercentage: pulumi.Input<number>;
|
|
3950
2638
|
}
|
|
3951
2639
|
}
|
|
3952
2640
|
export declare namespace gcp {
|
|
3953
2641
|
interface ElastigroupBackendService {
|
|
3954
|
-
/**
|
|
3955
|
-
* Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
3956
|
-
*/
|
|
3957
2642
|
locationType?: pulumi.Input<string>;
|
|
3958
|
-
/**
|
|
3959
|
-
* Describes a named port and a list of ports.
|
|
3960
|
-
*/
|
|
3961
2643
|
namedPorts?: pulumi.Input<pulumi.Input<inputs.gcp.ElastigroupBackendServiceNamedPort>[]>;
|
|
3962
|
-
/**
|
|
3963
|
-
* Use when `locationType` is "regional". Set the traffic for the backend service to either between the instances in the vpc or to traffic from the internet. Valid values: `INTERNAL`, `EXTERNAL`.
|
|
3964
|
-
*/
|
|
3965
2644
|
scheme?: pulumi.Input<string>;
|
|
3966
|
-
/**
|
|
3967
|
-
* The name of the backend service.
|
|
3968
|
-
*/
|
|
3969
2645
|
serviceName: pulumi.Input<string>;
|
|
3970
2646
|
}
|
|
3971
2647
|
interface ElastigroupBackendServiceNamedPort {
|
|
@@ -3973,73 +2649,25 @@ export declare namespace gcp {
|
|
|
3973
2649
|
* The group name.
|
|
3974
2650
|
*/
|
|
3975
2651
|
name: pulumi.Input<string>;
|
|
3976
|
-
/**
|
|
3977
|
-
* A list of ports.
|
|
3978
|
-
*
|
|
3979
|
-
* Usage:
|
|
3980
|
-
*/
|
|
3981
2652
|
ports: pulumi.Input<pulumi.Input<string>[]>;
|
|
3982
2653
|
}
|
|
3983
2654
|
interface ElastigroupDisk {
|
|
3984
|
-
/**
|
|
3985
|
-
* Specifies whether the disk will be auto-deleted when the instance is deleted.
|
|
3986
|
-
*/
|
|
3987
2655
|
autoDelete?: pulumi.Input<boolean>;
|
|
3988
|
-
/**
|
|
3989
|
-
* Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
|
|
3990
|
-
*/
|
|
3991
2656
|
boot?: pulumi.Input<boolean>;
|
|
3992
|
-
/**
|
|
3993
|
-
* Specifies a unique device name of your choice.
|
|
3994
|
-
*/
|
|
3995
2657
|
deviceName?: pulumi.Input<string>;
|
|
3996
|
-
/**
|
|
3997
|
-
* Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance.
|
|
3998
|
-
*/
|
|
3999
2658
|
initializeParams?: pulumi.Input<pulumi.Input<inputs.gcp.ElastigroupDiskInitializeParam>[]>;
|
|
4000
|
-
/**
|
|
4001
|
-
* Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
|
|
4002
|
-
*/
|
|
4003
2659
|
interface?: pulumi.Input<string>;
|
|
4004
|
-
/**
|
|
4005
|
-
* The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
|
|
4006
|
-
*/
|
|
4007
2660
|
mode?: pulumi.Input<string>;
|
|
4008
|
-
/**
|
|
4009
|
-
* Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
4010
|
-
*/
|
|
4011
2661
|
source?: pulumi.Input<string>;
|
|
4012
|
-
/**
|
|
4013
|
-
* Specifies the type of disk, either SCRATCH or PERSISTENT.
|
|
4014
|
-
*/
|
|
4015
2662
|
type?: pulumi.Input<string>;
|
|
4016
2663
|
}
|
|
4017
2664
|
interface ElastigroupDiskInitializeParam {
|
|
4018
|
-
/**
|
|
4019
|
-
* Specifies disk size in gigabytes. Must be in increments of 2.
|
|
4020
|
-
*/
|
|
4021
2665
|
diskSizeGb?: pulumi.Input<string>;
|
|
4022
|
-
/**
|
|
4023
|
-
* Specifies the disk type to use to create the instance. Valid values: pd-ssd, local-ssd.
|
|
4024
|
-
*/
|
|
4025
2666
|
diskType?: pulumi.Input<string>;
|
|
4026
|
-
/**
|
|
4027
|
-
* A source image used to create the disk. You can provide a private (custom) image, and Compute Engine will use the corresponding image from your project.
|
|
4028
|
-
*
|
|
4029
|
-
* Usage:
|
|
4030
|
-
*/
|
|
4031
2667
|
sourceImage: pulumi.Input<string>;
|
|
4032
2668
|
}
|
|
4033
2669
|
interface ElastigroupGpu {
|
|
4034
|
-
/**
|
|
4035
|
-
* The number of GPUs. Must be 0, 2, 4, 6, 8.
|
|
4036
|
-
*
|
|
4037
|
-
* Usage:
|
|
4038
|
-
*/
|
|
4039
2670
|
count: pulumi.Input<number>;
|
|
4040
|
-
/**
|
|
4041
|
-
* The type of GPU instance. Valid values: `nvidia-tesla-v100`, `nvidia-tesla-p100`, `nvidia-tesla-k80`.
|
|
4042
|
-
*/
|
|
4043
2671
|
type: pulumi.Input<string>;
|
|
4044
2672
|
}
|
|
4045
2673
|
interface ElastigroupInstanceTypesCustom {
|
|
@@ -4050,15 +2678,7 @@ export declare namespace gcp {
|
|
|
4050
2678
|
vcpu: pulumi.Input<number>;
|
|
4051
2679
|
}
|
|
4052
2680
|
interface ElastigroupIntegrationDockerSwarm {
|
|
4053
|
-
/**
|
|
4054
|
-
* IP or FQDN of one of your swarm managers.
|
|
4055
|
-
*/
|
|
4056
2681
|
masterHost: pulumi.Input<string>;
|
|
4057
|
-
/**
|
|
4058
|
-
* Network port used by your swarm.
|
|
4059
|
-
*
|
|
4060
|
-
* Usage:
|
|
4061
|
-
*/
|
|
4062
2682
|
masterPort: pulumi.Input<number>;
|
|
4063
2683
|
}
|
|
4064
2684
|
interface ElastigroupIntegrationGke {
|
|
@@ -4073,9 +2693,6 @@ export declare namespace gcp {
|
|
|
4073
2693
|
location?: pulumi.Input<string>;
|
|
4074
2694
|
}
|
|
4075
2695
|
interface ElastigroupIntegrationGkeAutoscaleDown {
|
|
4076
|
-
/**
|
|
4077
|
-
* Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
4078
|
-
*/
|
|
4079
2696
|
evaluationPeriods?: pulumi.Input<number>;
|
|
4080
2697
|
}
|
|
4081
2698
|
interface ElastigroupIntegrationGkeAutoscaleHeadroom {
|
|
@@ -4084,13 +2701,7 @@ export declare namespace gcp {
|
|
|
4084
2701
|
numOfUnits?: pulumi.Input<number>;
|
|
4085
2702
|
}
|
|
4086
2703
|
interface ElastigroupIntegrationGkeAutoscaleLabel {
|
|
4087
|
-
/**
|
|
4088
|
-
* Labels key.
|
|
4089
|
-
*/
|
|
4090
2704
|
key: pulumi.Input<string>;
|
|
4091
|
-
/**
|
|
4092
|
-
* Labels value.
|
|
4093
|
-
*/
|
|
4094
2705
|
value: pulumi.Input<string>;
|
|
4095
2706
|
}
|
|
4096
2707
|
interface ElastigroupLabel {
|
|
@@ -4105,23 +2716,17 @@ export declare namespace gcp {
|
|
|
4105
2716
|
}
|
|
4106
2717
|
interface ElastigroupMetadata {
|
|
4107
2718
|
/**
|
|
4108
|
-
*
|
|
2719
|
+
* Metadata key.
|
|
4109
2720
|
*/
|
|
4110
2721
|
key: pulumi.Input<string>;
|
|
4111
2722
|
/**
|
|
4112
|
-
*
|
|
2723
|
+
* Metadata value.
|
|
4113
2724
|
*/
|
|
4114
2725
|
value: pulumi.Input<string>;
|
|
4115
2726
|
}
|
|
4116
2727
|
interface ElastigroupNetworkInterface {
|
|
4117
|
-
/**
|
|
4118
|
-
* Array of configurations.
|
|
4119
|
-
*/
|
|
4120
2728
|
accessConfigs?: pulumi.Input<pulumi.Input<inputs.gcp.ElastigroupNetworkInterfaceAccessConfig>[]>;
|
|
4121
2729
|
aliasIpRanges?: pulumi.Input<pulumi.Input<inputs.gcp.ElastigroupNetworkInterfaceAliasIpRange>[]>;
|
|
4122
|
-
/**
|
|
4123
|
-
* Network resource for this group.
|
|
4124
|
-
*/
|
|
4125
2730
|
network: pulumi.Input<string>;
|
|
4126
2731
|
}
|
|
4127
2732
|
interface ElastigroupNetworkInterfaceAccessConfig {
|
|
@@ -4129,9 +2734,6 @@ export declare namespace gcp {
|
|
|
4129
2734
|
* The group name.
|
|
4130
2735
|
*/
|
|
4131
2736
|
name?: pulumi.Input<string>;
|
|
4132
|
-
/**
|
|
4133
|
-
* Specifies the type of disk, either SCRATCH or PERSISTENT.
|
|
4134
|
-
*/
|
|
4135
2737
|
type?: pulumi.Input<string>;
|
|
4136
2738
|
}
|
|
4137
2739
|
interface ElastigroupNetworkInterfaceAliasIpRange {
|
|
@@ -4139,54 +2741,18 @@ export declare namespace gcp {
|
|
|
4139
2741
|
subnetworkRangeName: pulumi.Input<string>;
|
|
4140
2742
|
}
|
|
4141
2743
|
interface ElastigroupScalingDownPolicy {
|
|
4142
|
-
/**
|
|
4143
|
-
* Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
|
|
4144
|
-
*/
|
|
4145
2744
|
actionType?: pulumi.Input<string>;
|
|
4146
|
-
/**
|
|
4147
|
-
* Value to which the action type will be adjusted. Required if using "numeric" or "percentageAdjustment" action types.
|
|
4148
|
-
*/
|
|
4149
2745
|
adjustment?: pulumi.Input<number>;
|
|
4150
|
-
/**
|
|
4151
|
-
* Time (seconds) to wait after a scaling action before resuming monitoring.
|
|
4152
|
-
*/
|
|
4153
2746
|
cooldown?: pulumi.Input<number>;
|
|
4154
|
-
/**
|
|
4155
|
-
* A list of dimensions describing qualities of the metric.
|
|
4156
|
-
*/
|
|
4157
2747
|
dimensions?: pulumi.Input<pulumi.Input<inputs.gcp.ElastigroupScalingDownPolicyDimension>[]>;
|
|
4158
|
-
/**
|
|
4159
|
-
* Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
4160
|
-
*/
|
|
4161
2748
|
evaluationPeriods?: pulumi.Input<number>;
|
|
4162
|
-
/**
|
|
4163
|
-
* 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".
|
|
4164
|
-
*/
|
|
4165
2749
|
metricName: pulumi.Input<string>;
|
|
4166
2750
|
namespace: pulumi.Input<string>;
|
|
4167
|
-
/**
|
|
4168
|
-
* 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).
|
|
4169
|
-
*/
|
|
4170
2751
|
operator?: pulumi.Input<string>;
|
|
4171
|
-
/**
|
|
4172
|
-
* Amount of time (seconds) for which the threshold must be met in order to trigger the scaling action.
|
|
4173
|
-
*/
|
|
4174
2752
|
period?: pulumi.Input<number>;
|
|
4175
|
-
/**
|
|
4176
|
-
* Name of scaling policy.
|
|
4177
|
-
*/
|
|
4178
2753
|
policyName: pulumi.Input<string>;
|
|
4179
|
-
/**
|
|
4180
|
-
* Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
4181
|
-
*/
|
|
4182
2754
|
source?: pulumi.Input<string>;
|
|
4183
|
-
/**
|
|
4184
|
-
* Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
|
|
4185
|
-
*/
|
|
4186
2755
|
statistic?: pulumi.Input<string>;
|
|
4187
|
-
/**
|
|
4188
|
-
* The value at which the scaling action is triggered.
|
|
4189
|
-
*/
|
|
4190
2756
|
threshold: pulumi.Input<number>;
|
|
4191
2757
|
unit: pulumi.Input<string>;
|
|
4192
2758
|
}
|
|
@@ -4195,60 +2761,21 @@ export declare namespace gcp {
|
|
|
4195
2761
|
* The group name.
|
|
4196
2762
|
*/
|
|
4197
2763
|
name: pulumi.Input<string>;
|
|
4198
|
-
/**
|
|
4199
|
-
* Labels value.
|
|
4200
|
-
*/
|
|
4201
2764
|
value?: pulumi.Input<string>;
|
|
4202
2765
|
}
|
|
4203
2766
|
interface ElastigroupScalingUpPolicy {
|
|
4204
|
-
/**
|
|
4205
|
-
* Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
|
|
4206
|
-
*/
|
|
4207
2767
|
actionType?: pulumi.Input<string>;
|
|
4208
|
-
/**
|
|
4209
|
-
* Value to which the action type will be adjusted. Required if using "numeric" or "percentageAdjustment" action types.
|
|
4210
|
-
*/
|
|
4211
2768
|
adjustment?: pulumi.Input<number>;
|
|
4212
|
-
/**
|
|
4213
|
-
* Time (seconds) to wait after a scaling action before resuming monitoring.
|
|
4214
|
-
*/
|
|
4215
2769
|
cooldown?: pulumi.Input<number>;
|
|
4216
|
-
/**
|
|
4217
|
-
* A list of dimensions describing qualities of the metric.
|
|
4218
|
-
*/
|
|
4219
2770
|
dimensions?: pulumi.Input<pulumi.Input<inputs.gcp.ElastigroupScalingUpPolicyDimension>[]>;
|
|
4220
|
-
/**
|
|
4221
|
-
* Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
4222
|
-
*/
|
|
4223
2771
|
evaluationPeriods?: pulumi.Input<number>;
|
|
4224
|
-
/**
|
|
4225
|
-
* 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".
|
|
4226
|
-
*/
|
|
4227
2772
|
metricName: pulumi.Input<string>;
|
|
4228
2773
|
namespace: pulumi.Input<string>;
|
|
4229
|
-
/**
|
|
4230
|
-
* 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).
|
|
4231
|
-
*/
|
|
4232
2774
|
operator?: pulumi.Input<string>;
|
|
4233
|
-
/**
|
|
4234
|
-
* Amount of time (seconds) for which the threshold must be met in order to trigger the scaling action.
|
|
4235
|
-
*/
|
|
4236
2775
|
period?: pulumi.Input<number>;
|
|
4237
|
-
/**
|
|
4238
|
-
* Name of scaling policy.
|
|
4239
|
-
*/
|
|
4240
2776
|
policyName: pulumi.Input<string>;
|
|
4241
|
-
/**
|
|
4242
|
-
* Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
4243
|
-
*/
|
|
4244
2777
|
source?: pulumi.Input<string>;
|
|
4245
|
-
/**
|
|
4246
|
-
* Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
|
|
4247
|
-
*/
|
|
4248
2778
|
statistic?: pulumi.Input<string>;
|
|
4249
|
-
/**
|
|
4250
|
-
* The value at which the scaling action is triggered.
|
|
4251
|
-
*/
|
|
4252
2779
|
threshold: pulumi.Input<number>;
|
|
4253
2780
|
unit: pulumi.Input<string>;
|
|
4254
2781
|
}
|
|
@@ -4257,9 +2784,6 @@ export declare namespace gcp {
|
|
|
4257
2784
|
* The group name.
|
|
4258
2785
|
*/
|
|
4259
2786
|
name: pulumi.Input<string>;
|
|
4260
|
-
/**
|
|
4261
|
-
* Labels value.
|
|
4262
|
-
*/
|
|
4263
2787
|
value?: pulumi.Input<string>;
|
|
4264
2788
|
}
|
|
4265
2789
|
interface ElastigroupScheduledTask {
|
|
@@ -4341,54 +2865,21 @@ export declare namespace gke {
|
|
|
4341
2865
|
}
|
|
4342
2866
|
interface ElastigroupIntegrationGke {
|
|
4343
2867
|
autoUpdate?: pulumi.Input<boolean>;
|
|
4344
|
-
/**
|
|
4345
|
-
* The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
|
|
4346
|
-
*/
|
|
4347
2868
|
autoscaleCooldown?: pulumi.Input<number>;
|
|
4348
|
-
/**
|
|
4349
|
-
* Enabling scale down.
|
|
4350
|
-
*/
|
|
4351
2869
|
autoscaleDown?: pulumi.Input<inputs.gke.ElastigroupIntegrationGkeAutoscaleDown>;
|
|
4352
|
-
/**
|
|
4353
|
-
* Headroom for the cluster.
|
|
4354
|
-
*/
|
|
4355
2870
|
autoscaleHeadroom?: pulumi.Input<inputs.gke.ElastigroupIntegrationGkeAutoscaleHeadroom>;
|
|
4356
2871
|
autoscaleIsAutoConfig?: pulumi.Input<boolean>;
|
|
4357
|
-
/**
|
|
4358
|
-
* Specifies whether the auto scaling feature is enabled.
|
|
4359
|
-
*/
|
|
4360
2872
|
autoscaleIsEnabled?: pulumi.Input<boolean>;
|
|
4361
|
-
/**
|
|
4362
|
-
* Labels to assign to the resource.
|
|
4363
|
-
*/
|
|
4364
2873
|
autoscaleLabels?: pulumi.Input<pulumi.Input<inputs.gke.ElastigroupIntegrationGkeAutoscaleLabel>[]>;
|
|
4365
|
-
/**
|
|
4366
|
-
* The name of the GKE cluster you wish to import.
|
|
4367
|
-
*/
|
|
4368
2874
|
clusterId?: pulumi.Input<string>;
|
|
4369
|
-
/**
|
|
4370
|
-
* The location of your GKE cluster.
|
|
4371
|
-
*/
|
|
4372
2875
|
location?: pulumi.Input<string>;
|
|
4373
2876
|
}
|
|
4374
2877
|
interface ElastigroupIntegrationGkeAutoscaleDown {
|
|
4375
|
-
/**
|
|
4376
|
-
* Amount of cooldown evaluation periods for scale down.
|
|
4377
|
-
*/
|
|
4378
2878
|
evaluationPeriods?: pulumi.Input<number>;
|
|
4379
2879
|
}
|
|
4380
2880
|
interface ElastigroupIntegrationGkeAutoscaleHeadroom {
|
|
4381
|
-
/**
|
|
4382
|
-
* Cpu units for compute.
|
|
4383
|
-
*/
|
|
4384
2881
|
cpuPerUnit?: pulumi.Input<number>;
|
|
4385
|
-
/**
|
|
4386
|
-
* RAM units for compute.
|
|
4387
|
-
*/
|
|
4388
2882
|
memoryPerUnit?: pulumi.Input<number>;
|
|
4389
|
-
/**
|
|
4390
|
-
* Amount of units for compute.
|
|
4391
|
-
*/
|
|
4392
2883
|
numOfUnits?: pulumi.Input<number>;
|
|
4393
2884
|
}
|
|
4394
2885
|
interface ElastigroupIntegrationGkeAutoscaleLabel {
|
|
@@ -4421,9 +2912,6 @@ export declare namespace gke {
|
|
|
4421
2912
|
adjustment?: pulumi.Input<number>;
|
|
4422
2913
|
cooldown?: pulumi.Input<number>;
|
|
4423
2914
|
dimensions?: pulumi.Input<pulumi.Input<inputs.gke.ElastigroupScalingDownPolicyDimension>[]>;
|
|
4424
|
-
/**
|
|
4425
|
-
* Amount of cooldown evaluation periods for scale down.
|
|
4426
|
-
*/
|
|
4427
2915
|
evaluationPeriods?: pulumi.Input<number>;
|
|
4428
2916
|
metricName: pulumi.Input<string>;
|
|
4429
2917
|
namespace: pulumi.Input<string>;
|
|
@@ -4444,9 +2932,6 @@ export declare namespace gke {
|
|
|
4444
2932
|
adjustment?: pulumi.Input<number>;
|
|
4445
2933
|
cooldown?: pulumi.Input<number>;
|
|
4446
2934
|
dimensions?: pulumi.Input<pulumi.Input<inputs.gke.ElastigroupScalingUpPolicyDimension>[]>;
|
|
4447
|
-
/**
|
|
4448
|
-
* Amount of cooldown evaluation periods for scale down.
|
|
4449
|
-
*/
|
|
4450
2935
|
evaluationPeriods?: pulumi.Input<number>;
|
|
4451
2936
|
metricName: pulumi.Input<string>;
|
|
4452
2937
|
namespace: pulumi.Input<string>;
|
|
@@ -4463,75 +2948,27 @@ export declare namespace gke {
|
|
|
4463
2948
|
value?: pulumi.Input<string>;
|
|
4464
2949
|
}
|
|
4465
2950
|
interface OceanImportAutoscaler {
|
|
4466
|
-
/**
|
|
4467
|
-
* Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
|
|
4468
|
-
*/
|
|
4469
2951
|
autoHeadroomPercentage?: pulumi.Input<number>;
|
|
4470
|
-
/**
|
|
4471
|
-
* Cooldown period between scaling actions.
|
|
4472
|
-
*/
|
|
4473
2952
|
cooldown?: pulumi.Input<number>;
|
|
4474
|
-
/**
|
|
4475
|
-
* Auto Scaling scale down operations.
|
|
4476
|
-
*/
|
|
4477
2953
|
down?: pulumi.Input<inputs.gke.OceanImportAutoscalerDown>;
|
|
4478
|
-
/**
|
|
4479
|
-
* enables automatic and manual headroom to work in parallel. When set to false, automatic headroom overrides all other headroom definitions manually configured, whether they are at cluster or VNG level.
|
|
4480
|
-
*/
|
|
4481
2954
|
enableAutomaticAndManualHeadroom?: pulumi.Input<boolean>;
|
|
4482
|
-
/**
|
|
4483
|
-
* Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
|
|
4484
|
-
*/
|
|
4485
2955
|
headroom?: pulumi.Input<inputs.gke.OceanImportAutoscalerHeadroom>;
|
|
4486
|
-
/**
|
|
4487
|
-
* Automatically configure and optimize headroom resources.
|
|
4488
|
-
*/
|
|
4489
2956
|
isAutoConfig?: pulumi.Input<boolean>;
|
|
4490
|
-
/**
|
|
4491
|
-
* Enable the Ocean Kubernetes Autoscaler.
|
|
4492
|
-
*/
|
|
4493
2957
|
isEnabled?: pulumi.Input<boolean>;
|
|
4494
|
-
/**
|
|
4495
|
-
* Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
4496
|
-
*/
|
|
4497
2958
|
resourceLimits?: pulumi.Input<inputs.gke.OceanImportAutoscalerResourceLimits>;
|
|
4498
2959
|
}
|
|
4499
2960
|
interface OceanImportAutoscalerDown {
|
|
4500
|
-
/**
|
|
4501
|
-
* The number of evaluation periods that should accumulate before a scale down action takes place.
|
|
4502
|
-
*/
|
|
4503
2961
|
evaluationPeriods?: pulumi.Input<number>;
|
|
4504
|
-
/**
|
|
4505
|
-
* Would represent the maximum % to scale-down. Number between 1-100.
|
|
4506
|
-
*/
|
|
4507
2962
|
maxScaleDownPercentage?: pulumi.Input<number>;
|
|
4508
2963
|
}
|
|
4509
2964
|
interface OceanImportAutoscalerHeadroom {
|
|
4510
|
-
/**
|
|
4511
|
-
* Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
4512
|
-
*/
|
|
4513
2965
|
cpuPerUnit?: pulumi.Input<number>;
|
|
4514
|
-
/**
|
|
4515
|
-
* How much GPU allocate for headroom unit.
|
|
4516
|
-
*/
|
|
4517
2966
|
gpuPerUnit?: pulumi.Input<number>;
|
|
4518
|
-
/**
|
|
4519
|
-
* Optionally configure the amount of memory (MiB) to allocate the headroom.
|
|
4520
|
-
*/
|
|
4521
2967
|
memoryPerUnit?: pulumi.Input<number>;
|
|
4522
|
-
/**
|
|
4523
|
-
* The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
4524
|
-
*/
|
|
4525
2968
|
numOfUnits?: pulumi.Input<number>;
|
|
4526
2969
|
}
|
|
4527
2970
|
interface OceanImportAutoscalerResourceLimits {
|
|
4528
|
-
/**
|
|
4529
|
-
* The maximum memory in GiB units that can be allocated to the cluster.
|
|
4530
|
-
*/
|
|
4531
2971
|
maxMemoryGib?: pulumi.Input<number>;
|
|
4532
|
-
/**
|
|
4533
|
-
* The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
4534
|
-
*/
|
|
4535
2972
|
maxVcpu?: pulumi.Input<number>;
|
|
4536
2973
|
}
|
|
4537
2974
|
interface OceanImportBackendService {
|
|
@@ -4551,46 +2988,20 @@ export declare namespace gke {
|
|
|
4551
2988
|
}
|
|
4552
2989
|
interface OceanImportBackendServiceNamedPort {
|
|
4553
2990
|
name: pulumi.Input<string>;
|
|
4554
|
-
/**
|
|
4555
|
-
* A list of ports.
|
|
4556
|
-
*/
|
|
4557
2991
|
ports: pulumi.Input<pulumi.Input<string>[]>;
|
|
4558
2992
|
}
|
|
4559
2993
|
interface OceanImportScheduledTask {
|
|
4560
|
-
/**
|
|
4561
|
-
* Set shutdown hours for cluster object.
|
|
4562
|
-
*/
|
|
4563
2994
|
shutdownHours?: pulumi.Input<inputs.gke.OceanImportScheduledTaskShutdownHours>;
|
|
4564
|
-
/**
|
|
4565
|
-
* The scheduling tasks for the cluster.
|
|
4566
|
-
*/
|
|
4567
2995
|
tasks?: pulumi.Input<pulumi.Input<inputs.gke.OceanImportScheduledTaskTask>[]>;
|
|
4568
2996
|
}
|
|
4569
2997
|
interface OceanImportScheduledTaskShutdownHours {
|
|
4570
|
-
/**
|
|
4571
|
-
* Enable the Ocean Kubernetes Autoscaler.
|
|
4572
|
-
*/
|
|
4573
2998
|
isEnabled?: pulumi.Input<boolean>;
|
|
4574
|
-
/**
|
|
4575
|
-
* Set time windows for shutdown hours. specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59. Time windows should not overlap. required on cluster.scheduling.isEnabled = True. API Times are in UTC
|
|
4576
|
-
* Example: Fri:15:30-Wed:14:30
|
|
4577
|
-
*/
|
|
4578
2999
|
timeWindows: pulumi.Input<pulumi.Input<string>[]>;
|
|
4579
3000
|
}
|
|
4580
3001
|
interface OceanImportScheduledTaskTask {
|
|
4581
|
-
/**
|
|
4582
|
-
* A valid cron expression. For example : " * * * * * ".The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Required for cluster.scheduling.tasks object
|
|
4583
|
-
* Example: 0 1 * * *
|
|
4584
|
-
*/
|
|
4585
3002
|
cronExpression: pulumi.Input<string>;
|
|
4586
|
-
/**
|
|
4587
|
-
* Enable the Ocean Kubernetes Autoscaler.
|
|
4588
|
-
*/
|
|
4589
3003
|
isEnabled: pulumi.Input<boolean>;
|
|
4590
3004
|
taskParameters?: pulumi.Input<inputs.gke.OceanImportScheduledTaskTaskTaskParameters>;
|
|
4591
|
-
/**
|
|
4592
|
-
* Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
|
|
4593
|
-
*/
|
|
4594
3005
|
taskType: pulumi.Input<string>;
|
|
4595
3006
|
}
|
|
4596
3007
|
interface OceanImportScheduledTaskTaskTaskParameters {
|
|
@@ -4598,10 +3009,6 @@ export declare namespace gke {
|
|
|
4598
3009
|
}
|
|
4599
3010
|
interface OceanImportScheduledTaskTaskTaskParametersClusterRoll {
|
|
4600
3011
|
batchMinHealthyPercentage?: pulumi.Input<number>;
|
|
4601
|
-
/**
|
|
4602
|
-
* Value in % to set size of batch in roll. Valid values are 0-100
|
|
4603
|
-
* Example: 20.
|
|
4604
|
-
*/
|
|
4605
3012
|
batchSizePercentage?: pulumi.Input<number>;
|
|
4606
3013
|
comment?: pulumi.Input<string>;
|
|
4607
3014
|
respectPdb?: pulumi.Input<boolean>;
|
|
@@ -4631,10 +3038,6 @@ export declare namespace gke {
|
|
|
4631
3038
|
}
|
|
4632
3039
|
interface OceanImportUpdatePolicyRollConfig {
|
|
4633
3040
|
batchMinHealthyPercentage?: pulumi.Input<number>;
|
|
4634
|
-
/**
|
|
4635
|
-
* Value in % to set size of batch in roll. Valid values are 0-100
|
|
4636
|
-
* Example: 20.
|
|
4637
|
-
*/
|
|
4638
3041
|
batchSizePercentage: pulumi.Input<number>;
|
|
4639
3042
|
launchSpecIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
4640
3043
|
respectPdb?: pulumi.Input<boolean>;
|
|
@@ -4675,11 +3078,11 @@ export declare namespace gke {
|
|
|
4675
3078
|
}
|
|
4676
3079
|
interface OceanLaunchSpecMetadata {
|
|
4677
3080
|
/**
|
|
4678
|
-
* The
|
|
3081
|
+
* The metadata key.
|
|
4679
3082
|
*/
|
|
4680
3083
|
key?: pulumi.Input<string>;
|
|
4681
3084
|
/**
|
|
4682
|
-
* The
|
|
3085
|
+
* The metadata value.
|
|
4683
3086
|
*/
|
|
4684
3087
|
value?: pulumi.Input<string>;
|
|
4685
3088
|
}
|
|
@@ -4703,24 +3106,13 @@ export declare namespace gke {
|
|
|
4703
3106
|
}
|
|
4704
3107
|
interface OceanLaunchSpecNetworkInterfaceAccessConfig {
|
|
4705
3108
|
/**
|
|
4706
|
-
* The
|
|
3109
|
+
* The launch specification name.
|
|
4707
3110
|
*/
|
|
4708
3111
|
name?: pulumi.Input<string>;
|
|
4709
|
-
/**
|
|
4710
|
-
* The type of the access configuration.
|
|
4711
|
-
*/
|
|
4712
3112
|
type?: pulumi.Input<string>;
|
|
4713
3113
|
}
|
|
4714
3114
|
interface OceanLaunchSpecNetworkInterfaceAliasIpRange {
|
|
4715
|
-
/**
|
|
4716
|
-
* specify the IP address range in CIDR notation that can be used for the alias IP addresses associated with the imported node pool.
|
|
4717
|
-
*/
|
|
4718
3115
|
ipCidrRange: pulumi.Input<string>;
|
|
4719
|
-
/**
|
|
4720
|
-
* specify the IP address range for the subnet secondary IP range.
|
|
4721
|
-
*
|
|
4722
|
-
* <a id="update-policy"></a>
|
|
4723
|
-
*/
|
|
4724
3116
|
subnetworkRangeName: pulumi.Input<string>;
|
|
4725
3117
|
}
|
|
4726
3118
|
interface OceanLaunchSpecResourceLimits {
|
|
@@ -4752,21 +3144,9 @@ export declare namespace gke {
|
|
|
4752
3144
|
taskType: pulumi.Input<string>;
|
|
4753
3145
|
}
|
|
4754
3146
|
interface OceanLaunchSpecSchedulingTaskTaskHeadroom {
|
|
4755
|
-
/**
|
|
4756
|
-
* Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
4757
|
-
*/
|
|
4758
3147
|
cpuPerUnit?: pulumi.Input<number>;
|
|
4759
|
-
/**
|
|
4760
|
-
* Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
4761
|
-
*/
|
|
4762
3148
|
gpuPerUnit?: pulumi.Input<number>;
|
|
4763
|
-
/**
|
|
4764
|
-
* Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
4765
|
-
*/
|
|
4766
3149
|
memoryPerUnit?: pulumi.Input<number>;
|
|
4767
|
-
/**
|
|
4768
|
-
* The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
4769
|
-
*/
|
|
4770
3150
|
numOfUnits: pulumi.Input<number>;
|
|
4771
3151
|
}
|
|
4772
3152
|
interface OceanLaunchSpecShieldedInstanceConfig {
|
|
@@ -4797,11 +3177,11 @@ export declare namespace gke {
|
|
|
4797
3177
|
*/
|
|
4798
3178
|
effect?: pulumi.Input<string>;
|
|
4799
3179
|
/**
|
|
4800
|
-
* The
|
|
3180
|
+
* The taint key.
|
|
4801
3181
|
*/
|
|
4802
3182
|
key?: pulumi.Input<string>;
|
|
4803
3183
|
/**
|
|
4804
|
-
* The
|
|
3184
|
+
* The taint value.
|
|
4805
3185
|
*/
|
|
4806
3186
|
value?: pulumi.Input<string>;
|
|
4807
3187
|
}
|
|
@@ -4821,18 +3201,8 @@ export declare namespace organization {
|
|
|
4821
3201
|
statements: pulumi.Input<pulumi.Input<inputs.organization.PolicyPolicyContentStatement>[]>;
|
|
4822
3202
|
}
|
|
4823
3203
|
interface PolicyPolicyContentStatement {
|
|
4824
|
-
/**
|
|
4825
|
-
* Set a list of required actions for this permissions statement.
|
|
4826
|
-
* Full list of actions can be found in [https://docs.spot.io/account-user-management/user-management/access-policies-actions/](https://docs.spot.io/account-user-management/user-management/access-policies-actions/).
|
|
4827
|
-
*/
|
|
4828
3204
|
actions: pulumi.Input<pulumi.Input<string>[]>;
|
|
4829
|
-
/**
|
|
4830
|
-
* Valid values "ALLOW", "DENY".
|
|
4831
|
-
*/
|
|
4832
3205
|
effect: pulumi.Input<string>;
|
|
4833
|
-
/**
|
|
4834
|
-
* Set a list of resources IDs. In order to include all resources in this statement - use "*".
|
|
4835
|
-
*/
|
|
4836
3206
|
resources: pulumi.Input<pulumi.Input<string>[]>;
|
|
4837
3207
|
}
|
|
4838
3208
|
interface ProgrammaticUserAccount {
|
|
@@ -4919,7 +3289,7 @@ export declare namespace spark {
|
|
|
4919
3289
|
}
|
|
4920
3290
|
interface OceanIngressLoadBalancer {
|
|
4921
3291
|
/**
|
|
4922
|
-
* - Should
|
|
3292
|
+
* - Should a load balancer managed by Ocean for Apache Spark be provisioned for the cluster. Set this to false if you want to use an existing load balancer (only available on AWS).
|
|
4923
3293
|
*/
|
|
4924
3294
|
managed?: pulumi.Input<boolean>;
|
|
4925
3295
|
/**
|
|
@@ -4935,7 +3305,7 @@ export declare namespace spark {
|
|
|
4935
3305
|
}
|
|
4936
3306
|
interface OceanIngressPrivateLink {
|
|
4937
3307
|
/**
|
|
4938
|
-
* - Should the Ocean for Apache Spark control plane address the cluster
|
|
3308
|
+
* - Should the Ocean for Apache Spark control plane address the cluster via an AWS Private Link. Only available on AWS.
|
|
4939
3309
|
*/
|
|
4940
3310
|
enabled?: pulumi.Input<boolean>;
|
|
4941
3311
|
/**
|