@pulumi/spotinst 3.75.0 → 3.76.0-alpha.1713985268
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/index.d.ts +0 -3
- package/azure/index.js +1 -6
- package/azure/index.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/oceanNp.d.ts +233 -0
- package/azure/oceanNp.js +26 -0
- package/azure/oceanNp.js.map +1 -1
- package/azure/oceanNpVirtualNodeGroup.d.ts +265 -0
- package/azure/oceanNpVirtualNodeGroup.js +85 -0
- package/azure/oceanNpVirtualNodeGroup.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 +192 -1814
- package/types/output.d.ts +192 -1814
- package/azure/elastigroup.d.ts +0 -271
- package/azure/elastigroup.js +0 -204
- package/azure/elastigroup.js.map +0 -1
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
|
}
|
|
@@ -2921,157 +1900,6 @@ export declare namespace aws {
|
|
|
2921
1900
|
}
|
|
2922
1901
|
}
|
|
2923
1902
|
export declare namespace azure {
|
|
2924
|
-
interface ElastigroupHealthCheck {
|
|
2925
|
-
autoHealing?: pulumi.Input<boolean>;
|
|
2926
|
-
gracePeriod?: pulumi.Input<number>;
|
|
2927
|
-
healthCheckType: pulumi.Input<string>;
|
|
2928
|
-
}
|
|
2929
|
-
interface ElastigroupImage {
|
|
2930
|
-
customs?: pulumi.Input<pulumi.Input<inputs.azure.ElastigroupImageCustom>[]>;
|
|
2931
|
-
marketplaces?: pulumi.Input<pulumi.Input<inputs.azure.ElastigroupImageMarketplace>[]>;
|
|
2932
|
-
}
|
|
2933
|
-
interface ElastigroupImageCustom {
|
|
2934
|
-
imageName: pulumi.Input<string>;
|
|
2935
|
-
/**
|
|
2936
|
-
* Name of the Azure Resource Group where the Managed Service Identity is located.
|
|
2937
|
-
*/
|
|
2938
|
-
resourceGroupName: pulumi.Input<string>;
|
|
2939
|
-
}
|
|
2940
|
-
interface ElastigroupImageMarketplace {
|
|
2941
|
-
offer: pulumi.Input<string>;
|
|
2942
|
-
publisher: pulumi.Input<string>;
|
|
2943
|
-
sku: pulumi.Input<string>;
|
|
2944
|
-
}
|
|
2945
|
-
interface ElastigroupIntegrationKubernetes {
|
|
2946
|
-
clusterIdentifier: pulumi.Input<string>;
|
|
2947
|
-
}
|
|
2948
|
-
interface ElastigroupIntegrationMultaiRuntime {
|
|
2949
|
-
deploymentId: pulumi.Input<string>;
|
|
2950
|
-
}
|
|
2951
|
-
interface ElastigroupLoadBalancer {
|
|
2952
|
-
autoWeight?: pulumi.Input<boolean>;
|
|
2953
|
-
balancerId?: pulumi.Input<string>;
|
|
2954
|
-
targetSetId?: pulumi.Input<string>;
|
|
2955
|
-
type: pulumi.Input<string>;
|
|
2956
|
-
}
|
|
2957
|
-
interface ElastigroupLogin {
|
|
2958
|
-
password?: pulumi.Input<string>;
|
|
2959
|
-
sshPublicKey?: pulumi.Input<string>;
|
|
2960
|
-
userName: pulumi.Input<string>;
|
|
2961
|
-
}
|
|
2962
|
-
interface ElastigroupManagedServiceIdentity {
|
|
2963
|
-
/**
|
|
2964
|
-
* Name of the Managed Service Identity.
|
|
2965
|
-
*/
|
|
2966
|
-
name: pulumi.Input<string>;
|
|
2967
|
-
/**
|
|
2968
|
-
* Name of the Azure Resource Group where the Managed Service Identity is located.
|
|
2969
|
-
*/
|
|
2970
|
-
resourceGroupName: pulumi.Input<string>;
|
|
2971
|
-
}
|
|
2972
|
-
interface ElastigroupNetwork {
|
|
2973
|
-
additionalIpConfigs?: pulumi.Input<pulumi.Input<inputs.azure.ElastigroupNetworkAdditionalIpConfig>[]>;
|
|
2974
|
-
assignPublicIp?: pulumi.Input<boolean>;
|
|
2975
|
-
/**
|
|
2976
|
-
* Name of the Azure Resource Group where the Managed Service Identity is located.
|
|
2977
|
-
*/
|
|
2978
|
-
resourceGroupName: pulumi.Input<string>;
|
|
2979
|
-
subnetName: pulumi.Input<string>;
|
|
2980
|
-
virtualNetworkName: pulumi.Input<string>;
|
|
2981
|
-
}
|
|
2982
|
-
interface ElastigroupNetworkAdditionalIpConfig {
|
|
2983
|
-
/**
|
|
2984
|
-
* Name of the Managed Service Identity.
|
|
2985
|
-
*/
|
|
2986
|
-
name: pulumi.Input<string>;
|
|
2987
|
-
privateIpVersion?: pulumi.Input<string>;
|
|
2988
|
-
}
|
|
2989
|
-
interface ElastigroupScalingDownPolicy {
|
|
2990
|
-
actionType?: pulumi.Input<string>;
|
|
2991
|
-
adjustment?: pulumi.Input<string>;
|
|
2992
|
-
cooldown?: pulumi.Input<number>;
|
|
2993
|
-
dimensions?: pulumi.Input<pulumi.Input<inputs.azure.ElastigroupScalingDownPolicyDimension>[]>;
|
|
2994
|
-
evaluationPeriods?: pulumi.Input<number>;
|
|
2995
|
-
maxTargetCapacity?: pulumi.Input<string>;
|
|
2996
|
-
maximum?: pulumi.Input<string>;
|
|
2997
|
-
metricName: pulumi.Input<string>;
|
|
2998
|
-
minTargetCapacity?: pulumi.Input<string>;
|
|
2999
|
-
minimum?: pulumi.Input<string>;
|
|
3000
|
-
namespace: pulumi.Input<string>;
|
|
3001
|
-
operator?: pulumi.Input<string>;
|
|
3002
|
-
period?: pulumi.Input<number>;
|
|
3003
|
-
policyName: pulumi.Input<string>;
|
|
3004
|
-
statistic?: pulumi.Input<string>;
|
|
3005
|
-
target?: pulumi.Input<string>;
|
|
3006
|
-
threshold: pulumi.Input<number>;
|
|
3007
|
-
unit?: pulumi.Input<string>;
|
|
3008
|
-
}
|
|
3009
|
-
interface ElastigroupScalingDownPolicyDimension {
|
|
3010
|
-
/**
|
|
3011
|
-
* Name of the Managed Service Identity.
|
|
3012
|
-
*/
|
|
3013
|
-
name: pulumi.Input<string>;
|
|
3014
|
-
/**
|
|
3015
|
-
* Tag Value for Vms in Elastigroup.
|
|
3016
|
-
*/
|
|
3017
|
-
value?: pulumi.Input<string>;
|
|
3018
|
-
}
|
|
3019
|
-
interface ElastigroupScalingUpPolicy {
|
|
3020
|
-
actionType?: pulumi.Input<string>;
|
|
3021
|
-
adjustment?: pulumi.Input<string>;
|
|
3022
|
-
cooldown?: pulumi.Input<number>;
|
|
3023
|
-
dimensions?: pulumi.Input<pulumi.Input<inputs.azure.ElastigroupScalingUpPolicyDimension>[]>;
|
|
3024
|
-
evaluationPeriods?: pulumi.Input<number>;
|
|
3025
|
-
maxTargetCapacity?: pulumi.Input<string>;
|
|
3026
|
-
maximum?: pulumi.Input<string>;
|
|
3027
|
-
metricName: pulumi.Input<string>;
|
|
3028
|
-
minTargetCapacity?: pulumi.Input<string>;
|
|
3029
|
-
minimum?: pulumi.Input<string>;
|
|
3030
|
-
namespace: pulumi.Input<string>;
|
|
3031
|
-
operator?: pulumi.Input<string>;
|
|
3032
|
-
period?: pulumi.Input<number>;
|
|
3033
|
-
policyName: pulumi.Input<string>;
|
|
3034
|
-
statistic?: pulumi.Input<string>;
|
|
3035
|
-
target?: pulumi.Input<string>;
|
|
3036
|
-
threshold: pulumi.Input<number>;
|
|
3037
|
-
unit?: pulumi.Input<string>;
|
|
3038
|
-
}
|
|
3039
|
-
interface ElastigroupScalingUpPolicyDimension {
|
|
3040
|
-
/**
|
|
3041
|
-
* Name of the Managed Service Identity.
|
|
3042
|
-
*/
|
|
3043
|
-
name: pulumi.Input<string>;
|
|
3044
|
-
/**
|
|
3045
|
-
* Tag Value for Vms in Elastigroup.
|
|
3046
|
-
*/
|
|
3047
|
-
value?: pulumi.Input<string>;
|
|
3048
|
-
}
|
|
3049
|
-
interface ElastigroupScheduledTask {
|
|
3050
|
-
adjustment?: pulumi.Input<string>;
|
|
3051
|
-
adjustmentPercentage?: pulumi.Input<string>;
|
|
3052
|
-
batchSizePercentage?: pulumi.Input<string>;
|
|
3053
|
-
cronExpression: pulumi.Input<string>;
|
|
3054
|
-
gracePeriod?: pulumi.Input<string>;
|
|
3055
|
-
isEnabled?: pulumi.Input<boolean>;
|
|
3056
|
-
scaleMaxCapacity?: pulumi.Input<string>;
|
|
3057
|
-
scaleMinCapacity?: pulumi.Input<string>;
|
|
3058
|
-
scaleTargetCapacity?: pulumi.Input<string>;
|
|
3059
|
-
taskType: pulumi.Input<string>;
|
|
3060
|
-
}
|
|
3061
|
-
interface ElastigroupStrategy {
|
|
3062
|
-
drainingTimeout?: pulumi.Input<number>;
|
|
3063
|
-
lowPriorityPercentage?: pulumi.Input<number>;
|
|
3064
|
-
odCount?: pulumi.Input<number>;
|
|
3065
|
-
}
|
|
3066
|
-
interface ElastigroupUpdatePolicy {
|
|
3067
|
-
rollConfig?: pulumi.Input<inputs.azure.ElastigroupUpdatePolicyRollConfig>;
|
|
3068
|
-
shouldRoll: pulumi.Input<boolean>;
|
|
3069
|
-
}
|
|
3070
|
-
interface ElastigroupUpdatePolicyRollConfig {
|
|
3071
|
-
batchSizePercentage: pulumi.Input<number>;
|
|
3072
|
-
gracePeriod?: pulumi.Input<number>;
|
|
3073
|
-
healthCheckType?: pulumi.Input<string>;
|
|
3074
|
-
}
|
|
3075
1903
|
interface OceanAutoscaler {
|
|
3076
1904
|
/**
|
|
3077
1905
|
* Auto Scaling scale down operations.
|
|
@@ -3091,35 +1919,17 @@ export declare namespace azure {
|
|
|
3091
1919
|
resourceLimits?: pulumi.Input<inputs.azure.OceanAutoscalerResourceLimits>;
|
|
3092
1920
|
}
|
|
3093
1921
|
interface OceanAutoscalerAutoscaleDown {
|
|
3094
|
-
/**
|
|
3095
|
-
* Would represent the maximum % to scale-down.
|
|
3096
|
-
*/
|
|
3097
1922
|
maxScaleDownPercentage?: pulumi.Input<number>;
|
|
3098
1923
|
}
|
|
3099
1924
|
interface OceanAutoscalerAutoscaleHeadroom {
|
|
3100
|
-
/**
|
|
3101
|
-
* Automatic headroom configuration.
|
|
3102
|
-
*/
|
|
3103
1925
|
automatic?: pulumi.Input<inputs.azure.OceanAutoscalerAutoscaleHeadroomAutomatic>;
|
|
3104
1926
|
}
|
|
3105
1927
|
interface OceanAutoscalerAutoscaleHeadroomAutomatic {
|
|
3106
|
-
/**
|
|
3107
|
-
* Enable automatic headroom. When set to `true`, Ocean configures and optimizes headroom automatically.
|
|
3108
|
-
*/
|
|
3109
1928
|
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
1929
|
percentage?: pulumi.Input<number>;
|
|
3114
1930
|
}
|
|
3115
1931
|
interface OceanAutoscalerResourceLimits {
|
|
3116
|
-
/**
|
|
3117
|
-
* The maximum memory in GiB units that can be allocated to the cluster.
|
|
3118
|
-
*/
|
|
3119
1932
|
maxMemoryGib?: pulumi.Input<number>;
|
|
3120
|
-
/**
|
|
3121
|
-
* The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
3122
|
-
*/
|
|
3123
1933
|
maxVcpu?: pulumi.Input<number>;
|
|
3124
1934
|
}
|
|
3125
1935
|
interface OceanExtension {
|
|
@@ -3132,15 +1942,12 @@ export declare namespace azure {
|
|
|
3132
1942
|
*/
|
|
3133
1943
|
minorVersionAutoUpgrade?: pulumi.Input<boolean>;
|
|
3134
1944
|
/**
|
|
3135
|
-
*
|
|
1945
|
+
* Extension name.
|
|
3136
1946
|
*/
|
|
3137
1947
|
name?: pulumi.Input<string>;
|
|
3138
|
-
/**
|
|
3139
|
-
* Image publisher.
|
|
3140
|
-
*/
|
|
3141
1948
|
publisher?: pulumi.Input<string>;
|
|
3142
1949
|
/**
|
|
3143
|
-
*
|
|
1950
|
+
* Extension type.
|
|
3144
1951
|
*/
|
|
3145
1952
|
type?: pulumi.Input<string>;
|
|
3146
1953
|
}
|
|
@@ -3157,21 +1964,9 @@ export declare namespace azure {
|
|
|
3157
1964
|
marketplaces?: pulumi.Input<pulumi.Input<inputs.azure.OceanImageMarketplace>[]>;
|
|
3158
1965
|
}
|
|
3159
1966
|
interface OceanImageMarketplace {
|
|
3160
|
-
/**
|
|
3161
|
-
* Image name.
|
|
3162
|
-
*/
|
|
3163
1967
|
offer?: pulumi.Input<string>;
|
|
3164
|
-
/**
|
|
3165
|
-
* Image publisher.
|
|
3166
|
-
*/
|
|
3167
1968
|
publisher?: pulumi.Input<string>;
|
|
3168
|
-
/**
|
|
3169
|
-
* Image Stock Keeping Unit (which is the specific version of the image).
|
|
3170
|
-
*/
|
|
3171
1969
|
sku?: pulumi.Input<string>;
|
|
3172
|
-
/**
|
|
3173
|
-
* Image version.
|
|
3174
|
-
*/
|
|
3175
1970
|
version?: pulumi.Input<string>;
|
|
3176
1971
|
}
|
|
3177
1972
|
interface OceanLoadBalancer {
|
|
@@ -3198,11 +1993,11 @@ export declare namespace azure {
|
|
|
3198
1993
|
}
|
|
3199
1994
|
interface OceanManagedServiceIdentity {
|
|
3200
1995
|
/**
|
|
3201
|
-
* Name of the
|
|
1996
|
+
* Name of the Managed Service Identity.
|
|
3202
1997
|
*/
|
|
3203
1998
|
name: pulumi.Input<string>;
|
|
3204
1999
|
/**
|
|
3205
|
-
*
|
|
2000
|
+
* Name of the Azure Resource Group where the Managed Service Identity is located.
|
|
3206
2001
|
*/
|
|
3207
2002
|
resourceGroupName: pulumi.Input<string>;
|
|
3208
2003
|
}
|
|
@@ -3212,7 +2007,7 @@ export declare namespace azure {
|
|
|
3212
2007
|
*/
|
|
3213
2008
|
networkInterfaces?: pulumi.Input<pulumi.Input<inputs.azure.OceanNetworkNetworkInterface>[]>;
|
|
3214
2009
|
/**
|
|
3215
|
-
*
|
|
2010
|
+
* Vnet resource group name.
|
|
3216
2011
|
*/
|
|
3217
2012
|
resourceGroupName?: pulumi.Input<string>;
|
|
3218
2013
|
/**
|
|
@@ -3221,48 +2016,45 @@ export declare namespace azure {
|
|
|
3221
2016
|
virtualNetworkName?: pulumi.Input<string>;
|
|
3222
2017
|
}
|
|
3223
2018
|
interface OceanNetworkNetworkInterface {
|
|
3224
|
-
/**
|
|
3225
|
-
* Additional configuration of network interface. The name fields between all the `additionalIpConfig` must be unique.
|
|
3226
|
-
*/
|
|
3227
2019
|
additionalIpConfigs?: pulumi.Input<pulumi.Input<inputs.azure.OceanNetworkNetworkInterfaceAdditionalIpConfig>[]>;
|
|
3228
|
-
/**
|
|
3229
|
-
* Assign public IP.
|
|
3230
|
-
*/
|
|
3231
2020
|
assignPublicIp?: pulumi.Input<boolean>;
|
|
3232
|
-
/**
|
|
3233
|
-
* Defines whether the network interface is primary or not.
|
|
3234
|
-
*/
|
|
3235
2021
|
isPrimary?: pulumi.Input<boolean>;
|
|
3236
2022
|
securityGroup?: pulumi.Input<inputs.azure.OceanNetworkNetworkInterfaceSecurityGroup>;
|
|
3237
|
-
/**
|
|
3238
|
-
* Subnet name.
|
|
3239
|
-
*/
|
|
3240
2023
|
subnetName?: pulumi.Input<string>;
|
|
3241
2024
|
}
|
|
3242
2025
|
interface OceanNetworkNetworkInterfaceAdditionalIpConfig {
|
|
3243
2026
|
/**
|
|
3244
|
-
*
|
|
2027
|
+
* The Ocean cluster name.
|
|
3245
2028
|
*/
|
|
3246
2029
|
name?: pulumi.Input<string>;
|
|
3247
|
-
/**
|
|
3248
|
-
* Supported values: `IPv4`, `IPv6`.
|
|
3249
|
-
*/
|
|
3250
2030
|
privateIpVersion?: pulumi.Input<string>;
|
|
3251
2031
|
}
|
|
3252
2032
|
interface OceanNetworkNetworkInterfaceSecurityGroup {
|
|
3253
2033
|
/**
|
|
3254
|
-
*
|
|
2034
|
+
* The Ocean cluster name.
|
|
3255
2035
|
*/
|
|
3256
2036
|
name?: pulumi.Input<string>;
|
|
3257
2037
|
/**
|
|
3258
|
-
*
|
|
2038
|
+
* Name of the Azure Resource Group into which VMs will be launched. Cannot be updated.
|
|
3259
2039
|
*/
|
|
3260
2040
|
resourceGroupName?: pulumi.Input<string>;
|
|
3261
2041
|
}
|
|
3262
2042
|
interface OceanNpAutoscaler {
|
|
2043
|
+
/**
|
|
2044
|
+
* Auto Scaling scale down operations.
|
|
2045
|
+
*/
|
|
3263
2046
|
autoscaleDown?: pulumi.Input<inputs.azure.OceanNpAutoscalerAutoscaleDown>;
|
|
2047
|
+
/**
|
|
2048
|
+
* Spare resource capacity management enabling fast assignment of pods without waiting for new resources to launch.
|
|
2049
|
+
*/
|
|
3264
2050
|
autoscaleHeadroom?: pulumi.Input<inputs.azure.OceanNpAutoscalerAutoscaleHeadroom>;
|
|
2051
|
+
/**
|
|
2052
|
+
* Enable the Ocean Kubernetes Autoscaler.
|
|
2053
|
+
*/
|
|
3265
2054
|
autoscaleIsEnabled?: pulumi.Input<boolean>;
|
|
2055
|
+
/**
|
|
2056
|
+
* Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
2057
|
+
*/
|
|
3266
2058
|
resourceLimits?: pulumi.Input<inputs.azure.OceanNpAutoscalerResourceLimits>;
|
|
3267
2059
|
}
|
|
3268
2060
|
interface OceanNpAutoscalerAutoscaleDown {
|
|
@@ -3280,32 +2072,97 @@ export declare namespace azure {
|
|
|
3280
2072
|
maxVcpu?: pulumi.Input<number>;
|
|
3281
2073
|
}
|
|
3282
2074
|
interface OceanNpFilters {
|
|
2075
|
+
/**
|
|
2076
|
+
* In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
|
|
2077
|
+
*/
|
|
3283
2078
|
acceleratedNetworking?: pulumi.Input<string>;
|
|
2079
|
+
/**
|
|
2080
|
+
* The filtered vm sizes will support at least one of the architectures from this list. x8664 includes both intel64 and amd64.
|
|
2081
|
+
*/
|
|
3284
2082
|
architectures?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2083
|
+
/**
|
|
2084
|
+
* The filtered vm sizes will support at least one of the classes from this list.
|
|
2085
|
+
*/
|
|
3285
2086
|
diskPerformance?: pulumi.Input<string>;
|
|
2087
|
+
/**
|
|
2088
|
+
* Vm sizes belonging to a series from the list will not be available for scaling
|
|
2089
|
+
*/
|
|
3286
2090
|
excludeSeries?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2091
|
+
/**
|
|
2092
|
+
* The filtered gpu types will belong to one of the gpu types from this list.
|
|
2093
|
+
*
|
|
2094
|
+
* <a id="update-policy"></a>
|
|
2095
|
+
*/
|
|
3287
2096
|
gpuTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2097
|
+
/**
|
|
2098
|
+
* Maximum number of GPUs available.
|
|
2099
|
+
*/
|
|
3288
2100
|
maxGpu?: pulumi.Input<number>;
|
|
2101
|
+
/**
|
|
2102
|
+
* Maximum amount of Memory (GiB).
|
|
2103
|
+
*/
|
|
3289
2104
|
maxMemoryGib?: pulumi.Input<number>;
|
|
2105
|
+
/**
|
|
2106
|
+
* Maximum number of vcpus available.
|
|
2107
|
+
*/
|
|
3290
2108
|
maxVcpu?: pulumi.Input<number>;
|
|
2109
|
+
/**
|
|
2110
|
+
* Minimum number of data disks available.
|
|
2111
|
+
*/
|
|
3291
2112
|
minDisk?: pulumi.Input<number>;
|
|
2113
|
+
/**
|
|
2114
|
+
* Minimum number of GPUs available.
|
|
2115
|
+
*/
|
|
3292
2116
|
minGpu?: pulumi.Input<number>;
|
|
2117
|
+
/**
|
|
2118
|
+
* Minimum amount of Memory (GiB).
|
|
2119
|
+
*/
|
|
3293
2120
|
minMemoryGib?: pulumi.Input<number>;
|
|
2121
|
+
/**
|
|
2122
|
+
* Minimum number of network interfaces.
|
|
2123
|
+
*/
|
|
3294
2124
|
minNics?: pulumi.Input<number>;
|
|
2125
|
+
/**
|
|
2126
|
+
* Minimum number of vcpus available.
|
|
2127
|
+
*/
|
|
3295
2128
|
minVcpu?: pulumi.Input<number>;
|
|
2129
|
+
/**
|
|
2130
|
+
* Vm sizes belonging to a series from the list will be available for scaling. We can specify include list and series can be specified with capital or small letters, with space, without space or with underscore '_' . For example all of these "DSv2", "Ds v2", "dsV2" refer to same DS_v2 series.
|
|
2131
|
+
*/
|
|
3296
2132
|
series?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2133
|
+
/**
|
|
2134
|
+
* The filtered vm types will belong to one of the vm types from this list.
|
|
2135
|
+
*/
|
|
3297
2136
|
vmTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3298
2137
|
}
|
|
3299
2138
|
interface OceanNpHeadroom {
|
|
2139
|
+
/**
|
|
2140
|
+
* Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2141
|
+
*/
|
|
3300
2142
|
cpuPerUnit?: pulumi.Input<number>;
|
|
2143
|
+
/**
|
|
2144
|
+
* Amount of GPU to allocate for headroom unit.
|
|
2145
|
+
*/
|
|
3301
2146
|
gpuPerUnit?: pulumi.Input<number>;
|
|
2147
|
+
/**
|
|
2148
|
+
* Configure the amount of memory (MiB) to allocate the headroom.
|
|
2149
|
+
*/
|
|
3302
2150
|
memoryPerUnit?: pulumi.Input<number>;
|
|
2151
|
+
/**
|
|
2152
|
+
* The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
2153
|
+
*/
|
|
3303
2154
|
numOfUnits?: pulumi.Input<number>;
|
|
3304
2155
|
}
|
|
3305
2156
|
interface OceanNpHealth {
|
|
2157
|
+
/**
|
|
2158
|
+
* The amount of time to wait, in seconds, from the moment the instance has launched until monitoring of its health checks begins.
|
|
2159
|
+
*/
|
|
3306
2160
|
gracePeriod?: pulumi.Input<number>;
|
|
3307
2161
|
}
|
|
3308
2162
|
interface OceanNpScheduling {
|
|
2163
|
+
/**
|
|
2164
|
+
* [Shutdown Hours](https://docs.spot.io/ocean/features/running-hours?id=shutdown-hours)An object used to specify times that the nodes in the cluster will be taken down.
|
|
2165
|
+
*/
|
|
3309
2166
|
shutdownHours?: pulumi.Input<inputs.azure.OceanNpSchedulingShutdownHours>;
|
|
3310
2167
|
}
|
|
3311
2168
|
interface OceanNpSchedulingShutdownHours {
|
|
@@ -3313,8 +2170,17 @@ export declare namespace azure {
|
|
|
3313
2170
|
timeWindows: pulumi.Input<pulumi.Input<string>[]>;
|
|
3314
2171
|
}
|
|
3315
2172
|
interface OceanNpTaint {
|
|
2173
|
+
/**
|
|
2174
|
+
* Set taint effect.
|
|
2175
|
+
*/
|
|
3316
2176
|
effect: pulumi.Input<string>;
|
|
2177
|
+
/**
|
|
2178
|
+
* Set taint key. The following taint keys are not allowed: ["node.kubernetes.io/not-ready", "node.kubernetes.io/unreachable", "node.kubernetes.io/unschedulable", "node.kubernetes.io/memory-pressure", "node.kubernetes.io/disk-pressure", "node.kubernetes.io/network-unavailable", "node.kubernetes.io/pid-pressure", "node.kubernetes.io/out-of-service", "node.cloudprovider.kubernetes.io/uninitialized", "node.cloudprovider.kubernetes.io/shutdown", "kubernetes.azure.com/scalesetpriority"]
|
|
2179
|
+
*/
|
|
3317
2180
|
key: pulumi.Input<string>;
|
|
2181
|
+
/**
|
|
2182
|
+
* Set taint value.
|
|
2183
|
+
*/
|
|
3318
2184
|
value: pulumi.Input<string>;
|
|
3319
2185
|
}
|
|
3320
2186
|
interface OceanNpUpdatePolicy {
|
|
@@ -3333,31 +2199,98 @@ export declare namespace azure {
|
|
|
3333
2199
|
vngIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3334
2200
|
}
|
|
3335
2201
|
interface OceanNpVirtualNodeGroupFilters {
|
|
2202
|
+
/**
|
|
2203
|
+
* In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
|
|
2204
|
+
*/
|
|
3336
2205
|
acceleratedNetworking?: pulumi.Input<string>;
|
|
2206
|
+
/**
|
|
2207
|
+
* The filtered vm sizes will support at least one of the architectures from this list. x8664 includes both intel64 and amd64.
|
|
2208
|
+
*/
|
|
3337
2209
|
architectures?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2210
|
+
/**
|
|
2211
|
+
* The filtered vm sizes will support at least one of the classes from this list.
|
|
2212
|
+
*/
|
|
3338
2213
|
diskPerformance?: pulumi.Input<string>;
|
|
2214
|
+
/**
|
|
2215
|
+
* Vm sizes belonging to a series from the list will not be available for scaling.
|
|
2216
|
+
*/
|
|
3339
2217
|
excludeSeries?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2218
|
+
/**
|
|
2219
|
+
* The filtered gpu types will belong to one of the gpu types from this list.
|
|
2220
|
+
* <a id="update-policy"></a>
|
|
2221
|
+
*/
|
|
3340
2222
|
gpuTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2223
|
+
/**
|
|
2224
|
+
* Maximum number of GPUs available.
|
|
2225
|
+
*/
|
|
3341
2226
|
maxGpu?: pulumi.Input<number>;
|
|
2227
|
+
/**
|
|
2228
|
+
* Maximum amount of Memory (GiB).
|
|
2229
|
+
*/
|
|
3342
2230
|
maxMemoryGib?: pulumi.Input<number>;
|
|
2231
|
+
/**
|
|
2232
|
+
* Maximum number of vcpus available.
|
|
2233
|
+
*/
|
|
3343
2234
|
maxVcpu?: pulumi.Input<number>;
|
|
2235
|
+
/**
|
|
2236
|
+
* Minimum number of data disks available.
|
|
2237
|
+
*/
|
|
3344
2238
|
minDisk?: pulumi.Input<number>;
|
|
2239
|
+
/**
|
|
2240
|
+
* Minimum number of GPUs available.
|
|
2241
|
+
*/
|
|
3345
2242
|
minGpu?: pulumi.Input<number>;
|
|
2243
|
+
/**
|
|
2244
|
+
* Minimum amount of Memory (GiB).
|
|
2245
|
+
*/
|
|
3346
2246
|
minMemoryGib?: pulumi.Input<number>;
|
|
2247
|
+
/**
|
|
2248
|
+
* Minimum number of network interfaces.
|
|
2249
|
+
*/
|
|
3347
2250
|
minNics?: pulumi.Input<number>;
|
|
2251
|
+
/**
|
|
2252
|
+
* Minimum number of vcpus available.
|
|
2253
|
+
*/
|
|
3348
2254
|
minVcpu?: pulumi.Input<number>;
|
|
2255
|
+
/**
|
|
2256
|
+
* Vm sizes belonging to a series from the list will be available for scaling.
|
|
2257
|
+
*/
|
|
3349
2258
|
series?: pulumi.Input<pulumi.Input<string>[]>;
|
|
2259
|
+
/**
|
|
2260
|
+
* The filtered vm types will belong to one of the vm types from this list.
|
|
2261
|
+
*/
|
|
3350
2262
|
vmTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3351
2263
|
}
|
|
3352
2264
|
interface OceanNpVirtualNodeGroupHeadroom {
|
|
2265
|
+
/**
|
|
2266
|
+
* Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2267
|
+
*/
|
|
3353
2268
|
cpuPerUnit?: pulumi.Input<number>;
|
|
2269
|
+
/**
|
|
2270
|
+
* Amount of GPU to allocate for headroom unit.
|
|
2271
|
+
*/
|
|
3354
2272
|
gpuPerUnit?: pulumi.Input<number>;
|
|
2273
|
+
/**
|
|
2274
|
+
* Configure the amount of memory (MiB) to allocate the headroom.
|
|
2275
|
+
*/
|
|
3355
2276
|
memoryPerUnit?: pulumi.Input<number>;
|
|
2277
|
+
/**
|
|
2278
|
+
* The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
2279
|
+
*/
|
|
3356
2280
|
numOfUnits?: pulumi.Input<number>;
|
|
3357
2281
|
}
|
|
3358
2282
|
interface OceanNpVirtualNodeGroupTaint {
|
|
2283
|
+
/**
|
|
2284
|
+
* Set taint effect.
|
|
2285
|
+
*/
|
|
3359
2286
|
effect: pulumi.Input<string>;
|
|
2287
|
+
/**
|
|
2288
|
+
* Set taint key. The following are not allowed: "kubernetes.azure.com/scalesetpriority".
|
|
2289
|
+
*/
|
|
3360
2290
|
key: pulumi.Input<string>;
|
|
2291
|
+
/**
|
|
2292
|
+
* Set taint value.
|
|
2293
|
+
*/
|
|
3361
2294
|
value: pulumi.Input<string>;
|
|
3362
2295
|
}
|
|
3363
2296
|
interface OceanNpVirtualNodeGroupUpdatePolicy {
|
|
@@ -3381,7 +2314,7 @@ export declare namespace azure {
|
|
|
3381
2314
|
*/
|
|
3382
2315
|
sizeGb: pulumi.Input<number>;
|
|
3383
2316
|
/**
|
|
3384
|
-
* The type of
|
|
2317
|
+
* The type of the OS disk. Supported values: `Standard_LRS`, `Premium_LRS`, `StandardSSD_LRS`.
|
|
3385
2318
|
*/
|
|
3386
2319
|
type?: pulumi.Input<string>;
|
|
3387
2320
|
}
|
|
@@ -3413,30 +2346,18 @@ export declare namespace azure {
|
|
|
3413
2346
|
autoscaleHeadrooms?: pulumi.Input<pulumi.Input<inputs.azure.OceanVirtualNodeGroupAutoscaleAutoscaleHeadroom>[]>;
|
|
3414
2347
|
}
|
|
3415
2348
|
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
2349
|
cpuPerUnit?: pulumi.Input<number>;
|
|
3420
|
-
/**
|
|
3421
|
-
* How many GPU cores should be allocated for headroom unit.
|
|
3422
|
-
*/
|
|
3423
2350
|
gpuPerUnit?: pulumi.Input<number>;
|
|
3424
|
-
/**
|
|
3425
|
-
* Configure the amount of memory (MiB) to allocate the headroom.
|
|
3426
|
-
*/
|
|
3427
2351
|
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
2352
|
numOfUnits: pulumi.Input<number>;
|
|
3432
2353
|
}
|
|
3433
2354
|
interface OceanVirtualNodeGroupLabel {
|
|
3434
2355
|
/**
|
|
3435
|
-
*
|
|
2356
|
+
* The label key.
|
|
3436
2357
|
*/
|
|
3437
2358
|
key: pulumi.Input<string>;
|
|
3438
2359
|
/**
|
|
3439
|
-
*
|
|
2360
|
+
* The label value.
|
|
3440
2361
|
*/
|
|
3441
2362
|
value?: pulumi.Input<string>;
|
|
3442
2363
|
}
|
|
@@ -3455,27 +2376,12 @@ export declare namespace azure {
|
|
|
3455
2376
|
tags?: pulumi.Input<pulumi.Input<inputs.azure.OceanVirtualNodeGroupLaunchSpecificationTag>[]>;
|
|
3456
2377
|
}
|
|
3457
2378
|
interface OceanVirtualNodeGroupLaunchSpecificationOsDisk {
|
|
3458
|
-
/**
|
|
3459
|
-
* The size of the OS disk in GB, Required if dataDisks is specified.
|
|
3460
|
-
*/
|
|
3461
2379
|
sizeGb: pulumi.Input<number>;
|
|
3462
|
-
/**
|
|
3463
|
-
* The type of the OS disk. Valid values: `"Standard_LRS"`, `"Premium_LRS"`, `"StandardSSD_LRS"`.
|
|
3464
|
-
*/
|
|
3465
2380
|
type?: pulumi.Input<string>;
|
|
3466
|
-
/**
|
|
3467
|
-
* Flag to enable/disable the Ephemeral OS Disk utilization.
|
|
3468
|
-
*/
|
|
3469
2381
|
utilizeEphemeralStorage?: pulumi.Input<boolean>;
|
|
3470
2382
|
}
|
|
3471
2383
|
interface OceanVirtualNodeGroupLaunchSpecificationTag {
|
|
3472
|
-
/**
|
|
3473
|
-
* Tag Key for Vms in the cluster.
|
|
3474
|
-
*/
|
|
3475
2384
|
key?: pulumi.Input<string>;
|
|
3476
|
-
/**
|
|
3477
|
-
* Tag Value for VMs in the cluster.
|
|
3478
|
-
*/
|
|
3479
2385
|
value?: pulumi.Input<string>;
|
|
3480
2386
|
}
|
|
3481
2387
|
interface OceanVirtualNodeGroupResourceLimit {
|
|
@@ -3490,11 +2396,11 @@ export declare namespace azure {
|
|
|
3490
2396
|
*/
|
|
3491
2397
|
effect: pulumi.Input<string>;
|
|
3492
2398
|
/**
|
|
3493
|
-
*
|
|
2399
|
+
* The taint key.
|
|
3494
2400
|
*/
|
|
3495
2401
|
key: pulumi.Input<string>;
|
|
3496
2402
|
/**
|
|
3497
|
-
*
|
|
2403
|
+
* The taint value.
|
|
3498
2404
|
*/
|
|
3499
2405
|
value: pulumi.Input<string>;
|
|
3500
2406
|
}
|
|
@@ -3507,138 +2413,48 @@ export declare namespace azure {
|
|
|
3507
2413
|
}
|
|
3508
2414
|
export declare namespace ecs {
|
|
3509
2415
|
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
2416
|
autoHeadroomPercentage?: pulumi.Input<number>;
|
|
3514
|
-
/**
|
|
3515
|
-
* Cooldown period between scaling actions.
|
|
3516
|
-
*/
|
|
3517
2417
|
cooldown?: pulumi.Input<number>;
|
|
3518
|
-
/**
|
|
3519
|
-
* Auto Scaling scale down operations.
|
|
3520
|
-
*/
|
|
3521
2418
|
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
2419
|
enableAutomaticAndManualHeadroom?: pulumi.Input<boolean>;
|
|
3526
|
-
/**
|
|
3527
|
-
* Spare resource capacity management enabling fast assignment of tasks without waiting for new resources to launch.
|
|
3528
|
-
*/
|
|
3529
2420
|
headroom?: pulumi.Input<inputs.ecs.OceanAutoscalerHeadroom>;
|
|
3530
|
-
/**
|
|
3531
|
-
* Automatically configure and optimize headroom resources.
|
|
3532
|
-
*/
|
|
3533
2421
|
isAutoConfig?: pulumi.Input<boolean>;
|
|
3534
|
-
/**
|
|
3535
|
-
* Enable the Ocean ECS autoscaler.
|
|
3536
|
-
*/
|
|
3537
2422
|
isEnabled?: pulumi.Input<boolean>;
|
|
3538
|
-
/**
|
|
3539
|
-
* Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
3540
|
-
*/
|
|
3541
2423
|
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
2424
|
shouldScaleDownNonServiceTasks?: pulumi.Input<boolean>;
|
|
3546
2425
|
}
|
|
3547
2426
|
interface OceanAutoscalerDown {
|
|
3548
|
-
/**
|
|
3549
|
-
* Would represent the maximum % to scale-down. Number between 1-100.
|
|
3550
|
-
*/
|
|
3551
2427
|
maxScaleDownPercentage?: pulumi.Input<number>;
|
|
3552
2428
|
}
|
|
3553
2429
|
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
2430
|
cpuPerUnit?: pulumi.Input<number>;
|
|
3558
|
-
/**
|
|
3559
|
-
* Optionally configure the amount of memory (MB) to allocate the headroom.
|
|
3560
|
-
*/
|
|
3561
2431
|
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
2432
|
numOfUnits?: pulumi.Input<number>;
|
|
3566
2433
|
}
|
|
3567
2434
|
interface OceanAutoscalerResourceLimits {
|
|
3568
|
-
/**
|
|
3569
|
-
* Maximum amount of Memory (GiB).
|
|
3570
|
-
*/
|
|
3571
2435
|
maxMemoryGib?: pulumi.Input<number>;
|
|
3572
|
-
/**
|
|
3573
|
-
* Maximum number of vcpus available.
|
|
3574
|
-
*/
|
|
3575
2436
|
maxVcpu?: pulumi.Input<number>;
|
|
3576
2437
|
}
|
|
3577
2438
|
interface OceanBlockDeviceMapping {
|
|
3578
|
-
/**
|
|
3579
|
-
* String. Set device name. Example: `/dev/xvda1`.
|
|
3580
|
-
*/
|
|
3581
2439
|
deviceName: pulumi.Input<string>;
|
|
3582
|
-
/**
|
|
3583
|
-
* Object. Set Elastic Block Store properties.
|
|
3584
|
-
*/
|
|
3585
2440
|
ebs?: pulumi.Input<inputs.ecs.OceanBlockDeviceMappingEbs>;
|
|
3586
|
-
/**
|
|
3587
|
-
* String. Suppresses the specified device included in the block device mapping of the AMI.
|
|
3588
|
-
*/
|
|
3589
2441
|
noDevice?: pulumi.Input<string>;
|
|
3590
2442
|
virtualName?: pulumi.Input<string>;
|
|
3591
2443
|
}
|
|
3592
2444
|
interface OceanBlockDeviceMappingEbs {
|
|
3593
|
-
/**
|
|
3594
|
-
* Boolean. Toggles EBS deletion upon instance termination.
|
|
3595
|
-
*/
|
|
3596
2445
|
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
2446
|
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
2447
|
encrypted?: pulumi.Input<boolean>;
|
|
3605
|
-
/**
|
|
3606
|
-
* Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
3607
|
-
*/
|
|
3608
2448
|
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
2449
|
kmsKeyId?: pulumi.Input<string>;
|
|
3613
|
-
/**
|
|
3614
|
-
* (Optional) String. The snapshot ID to mount by.
|
|
3615
|
-
*/
|
|
3616
2450
|
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
2451
|
throughput?: pulumi.Input<number>;
|
|
3621
|
-
/**
|
|
3622
|
-
* Int. The size (in GB) of the volume.
|
|
3623
|
-
*/
|
|
3624
2452
|
volumeSize?: pulumi.Input<number>;
|
|
3625
|
-
/**
|
|
3626
|
-
* String. The type of the volume. Example: `gp2`.
|
|
3627
|
-
*/
|
|
3628
2453
|
volumeType?: pulumi.Input<string>;
|
|
3629
2454
|
}
|
|
3630
2455
|
interface OceanBlockDeviceMappingEbsDynamicVolumeSize {
|
|
3631
|
-
/**
|
|
3632
|
-
* Int. Initial size for volume. Example: `50`.
|
|
3633
|
-
*/
|
|
3634
2456
|
baseSize: pulumi.Input<number>;
|
|
3635
|
-
/**
|
|
3636
|
-
* String. Resource type to increase volume size dynamically by. Valid values: `CPU`.
|
|
3637
|
-
*/
|
|
3638
2457
|
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
2458
|
sizePerResourceUnit: pulumi.Input<number>;
|
|
3643
2459
|
}
|
|
3644
2460
|
interface OceanClusterOrientation {
|
|
@@ -3648,81 +2464,24 @@ export declare namespace ecs {
|
|
|
3648
2464
|
availabilityVsCost?: pulumi.Input<string>;
|
|
3649
2465
|
}
|
|
3650
2466
|
interface OceanFilters {
|
|
3651
|
-
/**
|
|
3652
|
-
* The filtered instance types will support at least one of the architectures from this list.
|
|
3653
|
-
*/
|
|
3654
2467
|
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
2468
|
categories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3659
|
-
/**
|
|
3660
|
-
* The filtered instance types will have one of the disk type from this list.
|
|
3661
|
-
*/
|
|
3662
2469
|
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
2470
|
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
2471
|
excludeMetal?: pulumi.Input<boolean>;
|
|
3671
|
-
/**
|
|
3672
|
-
* The filtered instance types will have a hypervisor type from this list.
|
|
3673
|
-
*/
|
|
3674
2472
|
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
2473
|
includeFamilies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3679
|
-
/**
|
|
3680
|
-
* Ena is supported or not.
|
|
3681
|
-
*/
|
|
3682
2474
|
isEnaSupported?: pulumi.Input<string>;
|
|
3683
|
-
/**
|
|
3684
|
-
* Maximum total number of GPUs.
|
|
3685
|
-
*/
|
|
3686
2475
|
maxGpu?: pulumi.Input<number>;
|
|
3687
|
-
/**
|
|
3688
|
-
* Maximum amount of Memory (GiB).
|
|
3689
|
-
*/
|
|
3690
2476
|
maxMemoryGib?: pulumi.Input<number>;
|
|
3691
|
-
/**
|
|
3692
|
-
* Maximum Bandwidth in Gib/s of network performance.
|
|
3693
|
-
*/
|
|
3694
2477
|
maxNetworkPerformance?: pulumi.Input<number>;
|
|
3695
|
-
/**
|
|
3696
|
-
* Maximum number of vcpus available.
|
|
3697
|
-
*/
|
|
3698
2478
|
maxVcpu?: pulumi.Input<number>;
|
|
3699
|
-
/**
|
|
3700
|
-
* Minimum number of network interfaces (ENIs).
|
|
3701
|
-
*/
|
|
3702
2479
|
minEnis?: pulumi.Input<number>;
|
|
3703
|
-
/**
|
|
3704
|
-
* Minimum total number of GPUs.
|
|
3705
|
-
*/
|
|
3706
2480
|
minGpu?: pulumi.Input<number>;
|
|
3707
|
-
/**
|
|
3708
|
-
* Minimum amount of Memory (GiB).
|
|
3709
|
-
*/
|
|
3710
2481
|
minMemoryGib?: pulumi.Input<number>;
|
|
3711
|
-
/**
|
|
3712
|
-
* Minimum Bandwidth in Gib/s of network performance.
|
|
3713
|
-
*/
|
|
3714
2482
|
minNetworkPerformance?: pulumi.Input<number>;
|
|
3715
|
-
/**
|
|
3716
|
-
* Minimum number of vcpus available.
|
|
3717
|
-
*/
|
|
3718
2483
|
minVcpu?: pulumi.Input<number>;
|
|
3719
|
-
/**
|
|
3720
|
-
* The filtered instance types will have a root device types from this list.
|
|
3721
|
-
*/
|
|
3722
2484
|
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
2485
|
virtualizationTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3727
2486
|
}
|
|
3728
2487
|
interface OceanInstanceMetadataOptions {
|
|
@@ -3747,7 +2506,7 @@ export declare namespace ecs {
|
|
|
3747
2506
|
}
|
|
3748
2507
|
interface OceanLaunchSpecAutoscaleHeadroom {
|
|
3749
2508
|
/**
|
|
3750
|
-
* Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in
|
|
2509
|
+
* Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in CPU units, where 1024 units = 1 vCPU.
|
|
3751
2510
|
*/
|
|
3752
2511
|
cpuPerUnit?: pulumi.Input<number>;
|
|
3753
2512
|
/**
|
|
@@ -3755,7 +2514,7 @@ export declare namespace ecs {
|
|
|
3755
2514
|
*/
|
|
3756
2515
|
memoryPerUnit?: pulumi.Input<number>;
|
|
3757
2516
|
/**
|
|
3758
|
-
* The number of units to retain as headroom, where each unit has the defined headroom CPU
|
|
2517
|
+
* The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
3759
2518
|
*/
|
|
3760
2519
|
numOfUnits: pulumi.Input<number>;
|
|
3761
2520
|
}
|
|
@@ -3816,17 +2575,8 @@ export declare namespace ecs {
|
|
|
3816
2575
|
taskType: pulumi.Input<string>;
|
|
3817
2576
|
}
|
|
3818
2577
|
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
2578
|
cpuPerUnit?: pulumi.Input<number>;
|
|
3823
|
-
/**
|
|
3824
|
-
* Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
3825
|
-
*/
|
|
3826
2579
|
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
2580
|
numOfUnits: pulumi.Input<number>;
|
|
3831
2581
|
}
|
|
3832
2582
|
interface OceanLaunchSpecStrategy {
|
|
@@ -3838,13 +2588,7 @@ export declare namespace ecs {
|
|
|
3838
2588
|
spotPercentage?: pulumi.Input<number>;
|
|
3839
2589
|
}
|
|
3840
2590
|
interface OceanLaunchSpecTag {
|
|
3841
|
-
/**
|
|
3842
|
-
* The label key.
|
|
3843
|
-
*/
|
|
3844
2591
|
key: pulumi.Input<string>;
|
|
3845
|
-
/**
|
|
3846
|
-
* The label value.
|
|
3847
|
-
*/
|
|
3848
2592
|
value: pulumi.Input<string>;
|
|
3849
2593
|
}
|
|
3850
2594
|
interface OceanLogging {
|
|
@@ -3854,63 +2598,30 @@ export declare namespace ecs {
|
|
|
3854
2598
|
export?: pulumi.Input<inputs.ecs.OceanLoggingExport>;
|
|
3855
2599
|
}
|
|
3856
2600
|
interface OceanLoggingExport {
|
|
3857
|
-
/**
|
|
3858
|
-
* Exports your cluster's logs to the S3 bucket and subdir configured on the S3 data integration given.
|
|
3859
|
-
*/
|
|
3860
2601
|
s3s?: pulumi.Input<pulumi.Input<inputs.ecs.OceanLoggingExportS3>[]>;
|
|
3861
2602
|
}
|
|
3862
2603
|
interface OceanLoggingExportS3 {
|
|
3863
2604
|
/**
|
|
3864
|
-
* The
|
|
2605
|
+
* The Spotinst Ocean ID.
|
|
3865
2606
|
*/
|
|
3866
2607
|
id: pulumi.Input<string>;
|
|
3867
2608
|
}
|
|
3868
2609
|
interface OceanOptimizeImages {
|
|
3869
|
-
/**
|
|
3870
|
-
* String. Valid values: "always" "never" "timeWindow".
|
|
3871
|
-
*/
|
|
3872
2610
|
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
2611
|
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
2612
|
timeWindows?: pulumi.Input<pulumi.Input<string>[]>;
|
|
3881
2613
|
}
|
|
3882
2614
|
interface OceanScheduledTask {
|
|
3883
|
-
/**
|
|
3884
|
-
* Set shutdown hours for cluster object.
|
|
3885
|
-
*/
|
|
3886
2615
|
shutdownHours?: pulumi.Input<inputs.ecs.OceanScheduledTaskShutdownHours>;
|
|
3887
|
-
/**
|
|
3888
|
-
* The scheduling tasks for the cluster.
|
|
3889
|
-
*/
|
|
3890
2616
|
tasks?: pulumi.Input<pulumi.Input<inputs.ecs.OceanScheduledTaskTask>[]>;
|
|
3891
2617
|
}
|
|
3892
2618
|
interface OceanScheduledTaskShutdownHours {
|
|
3893
|
-
/**
|
|
3894
|
-
* Enable the Ocean ECS autoscaler.
|
|
3895
|
-
*/
|
|
3896
2619
|
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
2620
|
timeWindows: pulumi.Input<pulumi.Input<string>[]>;
|
|
3901
2621
|
}
|
|
3902
2622
|
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
2623
|
cronExpression: pulumi.Input<string>;
|
|
3907
|
-
/**
|
|
3908
|
-
* Enable the Ocean ECS autoscaler.
|
|
3909
|
-
*/
|
|
3910
2624
|
isEnabled: pulumi.Input<boolean>;
|
|
3911
|
-
/**
|
|
3912
|
-
* Valid values: "clusterRoll". Required for `cluster.scheduling.tasks object`. Example: `clusterRoll`.
|
|
3913
|
-
*/
|
|
3914
2625
|
taskType: pulumi.Input<string>;
|
|
3915
2626
|
}
|
|
3916
2627
|
interface OceanTag {
|
|
@@ -3924,48 +2635,21 @@ export declare namespace ecs {
|
|
|
3924
2635
|
value: pulumi.Input<string>;
|
|
3925
2636
|
}
|
|
3926
2637
|
interface OceanUpdatePolicy {
|
|
3927
|
-
/**
|
|
3928
|
-
* will update instance tags on the fly without rolling the cluster.
|
|
3929
|
-
*/
|
|
3930
2638
|
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
2639
|
conditionedRoll?: pulumi.Input<boolean>;
|
|
3935
2640
|
rollConfig?: pulumi.Input<inputs.ecs.OceanUpdatePolicyRollConfig>;
|
|
3936
|
-
/**
|
|
3937
|
-
* Enables the roll.
|
|
3938
|
-
*/
|
|
3939
2641
|
shouldRoll: pulumi.Input<boolean>;
|
|
3940
2642
|
}
|
|
3941
2643
|
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
2644
|
batchMinHealthyPercentage?: pulumi.Input<number>;
|
|
3946
|
-
/**
|
|
3947
|
-
* Sets the percentage of the instances to deploy in each batch.
|
|
3948
|
-
*/
|
|
3949
2645
|
batchSizePercentage: pulumi.Input<number>;
|
|
3950
2646
|
}
|
|
3951
2647
|
}
|
|
3952
2648
|
export declare namespace gcp {
|
|
3953
2649
|
interface ElastigroupBackendService {
|
|
3954
|
-
/**
|
|
3955
|
-
* Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
3956
|
-
*/
|
|
3957
2650
|
locationType?: pulumi.Input<string>;
|
|
3958
|
-
/**
|
|
3959
|
-
* Describes a named port and a list of ports.
|
|
3960
|
-
*/
|
|
3961
2651
|
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
2652
|
scheme?: pulumi.Input<string>;
|
|
3966
|
-
/**
|
|
3967
|
-
* The name of the backend service.
|
|
3968
|
-
*/
|
|
3969
2653
|
serviceName: pulumi.Input<string>;
|
|
3970
2654
|
}
|
|
3971
2655
|
interface ElastigroupBackendServiceNamedPort {
|
|
@@ -3973,73 +2657,25 @@ export declare namespace gcp {
|
|
|
3973
2657
|
* The group name.
|
|
3974
2658
|
*/
|
|
3975
2659
|
name: pulumi.Input<string>;
|
|
3976
|
-
/**
|
|
3977
|
-
* A list of ports.
|
|
3978
|
-
*
|
|
3979
|
-
* Usage:
|
|
3980
|
-
*/
|
|
3981
2660
|
ports: pulumi.Input<pulumi.Input<string>[]>;
|
|
3982
2661
|
}
|
|
3983
2662
|
interface ElastigroupDisk {
|
|
3984
|
-
/**
|
|
3985
|
-
* Specifies whether the disk will be auto-deleted when the instance is deleted.
|
|
3986
|
-
*/
|
|
3987
2663
|
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
2664
|
boot?: pulumi.Input<boolean>;
|
|
3992
|
-
/**
|
|
3993
|
-
* Specifies a unique device name of your choice.
|
|
3994
|
-
*/
|
|
3995
2665
|
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
2666
|
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
2667
|
interface?: pulumi.Input<string>;
|
|
4004
|
-
/**
|
|
4005
|
-
* The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
|
|
4006
|
-
*/
|
|
4007
2668
|
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
2669
|
source?: pulumi.Input<string>;
|
|
4012
|
-
/**
|
|
4013
|
-
* Specifies the type of disk, either SCRATCH or PERSISTENT.
|
|
4014
|
-
*/
|
|
4015
2670
|
type?: pulumi.Input<string>;
|
|
4016
2671
|
}
|
|
4017
2672
|
interface ElastigroupDiskInitializeParam {
|
|
4018
|
-
/**
|
|
4019
|
-
* Specifies disk size in gigabytes. Must be in increments of 2.
|
|
4020
|
-
*/
|
|
4021
2673
|
diskSizeGb?: pulumi.Input<string>;
|
|
4022
|
-
/**
|
|
4023
|
-
* Specifies the disk type to use to create the instance. Valid values: pd-ssd, local-ssd.
|
|
4024
|
-
*/
|
|
4025
2674
|
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
2675
|
sourceImage: pulumi.Input<string>;
|
|
4032
2676
|
}
|
|
4033
2677
|
interface ElastigroupGpu {
|
|
4034
|
-
/**
|
|
4035
|
-
* The number of GPUs. Must be 0, 2, 4, 6, 8.
|
|
4036
|
-
*
|
|
4037
|
-
* Usage:
|
|
4038
|
-
*/
|
|
4039
2678
|
count: pulumi.Input<number>;
|
|
4040
|
-
/**
|
|
4041
|
-
* The type of GPU instance. Valid values: `nvidia-tesla-v100`, `nvidia-tesla-p100`, `nvidia-tesla-k80`.
|
|
4042
|
-
*/
|
|
4043
2679
|
type: pulumi.Input<string>;
|
|
4044
2680
|
}
|
|
4045
2681
|
interface ElastigroupInstanceTypesCustom {
|
|
@@ -4050,15 +2686,7 @@ export declare namespace gcp {
|
|
|
4050
2686
|
vcpu: pulumi.Input<number>;
|
|
4051
2687
|
}
|
|
4052
2688
|
interface ElastigroupIntegrationDockerSwarm {
|
|
4053
|
-
/**
|
|
4054
|
-
* IP or FQDN of one of your swarm managers.
|
|
4055
|
-
*/
|
|
4056
2689
|
masterHost: pulumi.Input<string>;
|
|
4057
|
-
/**
|
|
4058
|
-
* Network port used by your swarm.
|
|
4059
|
-
*
|
|
4060
|
-
* Usage:
|
|
4061
|
-
*/
|
|
4062
2690
|
masterPort: pulumi.Input<number>;
|
|
4063
2691
|
}
|
|
4064
2692
|
interface ElastigroupIntegrationGke {
|
|
@@ -4073,9 +2701,6 @@ export declare namespace gcp {
|
|
|
4073
2701
|
location?: pulumi.Input<string>;
|
|
4074
2702
|
}
|
|
4075
2703
|
interface ElastigroupIntegrationGkeAutoscaleDown {
|
|
4076
|
-
/**
|
|
4077
|
-
* Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
4078
|
-
*/
|
|
4079
2704
|
evaluationPeriods?: pulumi.Input<number>;
|
|
4080
2705
|
}
|
|
4081
2706
|
interface ElastigroupIntegrationGkeAutoscaleHeadroom {
|
|
@@ -4084,13 +2709,7 @@ export declare namespace gcp {
|
|
|
4084
2709
|
numOfUnits?: pulumi.Input<number>;
|
|
4085
2710
|
}
|
|
4086
2711
|
interface ElastigroupIntegrationGkeAutoscaleLabel {
|
|
4087
|
-
/**
|
|
4088
|
-
* Labels key.
|
|
4089
|
-
*/
|
|
4090
2712
|
key: pulumi.Input<string>;
|
|
4091
|
-
/**
|
|
4092
|
-
* Labels value.
|
|
4093
|
-
*/
|
|
4094
2713
|
value: pulumi.Input<string>;
|
|
4095
2714
|
}
|
|
4096
2715
|
interface ElastigroupLabel {
|
|
@@ -4105,23 +2724,17 @@ export declare namespace gcp {
|
|
|
4105
2724
|
}
|
|
4106
2725
|
interface ElastigroupMetadata {
|
|
4107
2726
|
/**
|
|
4108
|
-
*
|
|
2727
|
+
* Metadata key.
|
|
4109
2728
|
*/
|
|
4110
2729
|
key: pulumi.Input<string>;
|
|
4111
2730
|
/**
|
|
4112
|
-
*
|
|
2731
|
+
* Metadata value.
|
|
4113
2732
|
*/
|
|
4114
2733
|
value: pulumi.Input<string>;
|
|
4115
2734
|
}
|
|
4116
2735
|
interface ElastigroupNetworkInterface {
|
|
4117
|
-
/**
|
|
4118
|
-
* Array of configurations.
|
|
4119
|
-
*/
|
|
4120
2736
|
accessConfigs?: pulumi.Input<pulumi.Input<inputs.gcp.ElastigroupNetworkInterfaceAccessConfig>[]>;
|
|
4121
2737
|
aliasIpRanges?: pulumi.Input<pulumi.Input<inputs.gcp.ElastigroupNetworkInterfaceAliasIpRange>[]>;
|
|
4122
|
-
/**
|
|
4123
|
-
* Network resource for this group.
|
|
4124
|
-
*/
|
|
4125
2738
|
network: pulumi.Input<string>;
|
|
4126
2739
|
}
|
|
4127
2740
|
interface ElastigroupNetworkInterfaceAccessConfig {
|
|
@@ -4129,9 +2742,6 @@ export declare namespace gcp {
|
|
|
4129
2742
|
* The group name.
|
|
4130
2743
|
*/
|
|
4131
2744
|
name?: pulumi.Input<string>;
|
|
4132
|
-
/**
|
|
4133
|
-
* Specifies the type of disk, either SCRATCH or PERSISTENT.
|
|
4134
|
-
*/
|
|
4135
2745
|
type?: pulumi.Input<string>;
|
|
4136
2746
|
}
|
|
4137
2747
|
interface ElastigroupNetworkInterfaceAliasIpRange {
|
|
@@ -4139,54 +2749,18 @@ export declare namespace gcp {
|
|
|
4139
2749
|
subnetworkRangeName: pulumi.Input<string>;
|
|
4140
2750
|
}
|
|
4141
2751
|
interface ElastigroupScalingDownPolicy {
|
|
4142
|
-
/**
|
|
4143
|
-
* Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
|
|
4144
|
-
*/
|
|
4145
2752
|
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
2753
|
adjustment?: pulumi.Input<number>;
|
|
4150
|
-
/**
|
|
4151
|
-
* Time (seconds) to wait after a scaling action before resuming monitoring.
|
|
4152
|
-
*/
|
|
4153
2754
|
cooldown?: pulumi.Input<number>;
|
|
4154
|
-
/**
|
|
4155
|
-
* A list of dimensions describing qualities of the metric.
|
|
4156
|
-
*/
|
|
4157
2755
|
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
2756
|
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
2757
|
metricName: pulumi.Input<string>;
|
|
4166
2758
|
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
2759
|
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
2760
|
period?: pulumi.Input<number>;
|
|
4175
|
-
/**
|
|
4176
|
-
* Name of scaling policy.
|
|
4177
|
-
*/
|
|
4178
2761
|
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
2762
|
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
2763
|
statistic?: pulumi.Input<string>;
|
|
4187
|
-
/**
|
|
4188
|
-
* The value at which the scaling action is triggered.
|
|
4189
|
-
*/
|
|
4190
2764
|
threshold: pulumi.Input<number>;
|
|
4191
2765
|
unit: pulumi.Input<string>;
|
|
4192
2766
|
}
|
|
@@ -4195,60 +2769,21 @@ export declare namespace gcp {
|
|
|
4195
2769
|
* The group name.
|
|
4196
2770
|
*/
|
|
4197
2771
|
name: pulumi.Input<string>;
|
|
4198
|
-
/**
|
|
4199
|
-
* Labels value.
|
|
4200
|
-
*/
|
|
4201
2772
|
value?: pulumi.Input<string>;
|
|
4202
2773
|
}
|
|
4203
2774
|
interface ElastigroupScalingUpPolicy {
|
|
4204
|
-
/**
|
|
4205
|
-
* Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
|
|
4206
|
-
*/
|
|
4207
2775
|
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
2776
|
adjustment?: pulumi.Input<number>;
|
|
4212
|
-
/**
|
|
4213
|
-
* Time (seconds) to wait after a scaling action before resuming monitoring.
|
|
4214
|
-
*/
|
|
4215
2777
|
cooldown?: pulumi.Input<number>;
|
|
4216
|
-
/**
|
|
4217
|
-
* A list of dimensions describing qualities of the metric.
|
|
4218
|
-
*/
|
|
4219
2778
|
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
2779
|
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
2780
|
metricName: pulumi.Input<string>;
|
|
4228
2781
|
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
2782
|
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
2783
|
period?: pulumi.Input<number>;
|
|
4237
|
-
/**
|
|
4238
|
-
* Name of scaling policy.
|
|
4239
|
-
*/
|
|
4240
2784
|
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
2785
|
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
2786
|
statistic?: pulumi.Input<string>;
|
|
4249
|
-
/**
|
|
4250
|
-
* The value at which the scaling action is triggered.
|
|
4251
|
-
*/
|
|
4252
2787
|
threshold: pulumi.Input<number>;
|
|
4253
2788
|
unit: pulumi.Input<string>;
|
|
4254
2789
|
}
|
|
@@ -4257,9 +2792,6 @@ export declare namespace gcp {
|
|
|
4257
2792
|
* The group name.
|
|
4258
2793
|
*/
|
|
4259
2794
|
name: pulumi.Input<string>;
|
|
4260
|
-
/**
|
|
4261
|
-
* Labels value.
|
|
4262
|
-
*/
|
|
4263
2795
|
value?: pulumi.Input<string>;
|
|
4264
2796
|
}
|
|
4265
2797
|
interface ElastigroupScheduledTask {
|
|
@@ -4341,54 +2873,21 @@ export declare namespace gke {
|
|
|
4341
2873
|
}
|
|
4342
2874
|
interface ElastigroupIntegrationGke {
|
|
4343
2875
|
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
2876
|
autoscaleCooldown?: pulumi.Input<number>;
|
|
4348
|
-
/**
|
|
4349
|
-
* Enabling scale down.
|
|
4350
|
-
*/
|
|
4351
2877
|
autoscaleDown?: pulumi.Input<inputs.gke.ElastigroupIntegrationGkeAutoscaleDown>;
|
|
4352
|
-
/**
|
|
4353
|
-
* Headroom for the cluster.
|
|
4354
|
-
*/
|
|
4355
2878
|
autoscaleHeadroom?: pulumi.Input<inputs.gke.ElastigroupIntegrationGkeAutoscaleHeadroom>;
|
|
4356
2879
|
autoscaleIsAutoConfig?: pulumi.Input<boolean>;
|
|
4357
|
-
/**
|
|
4358
|
-
* Specifies whether the auto scaling feature is enabled.
|
|
4359
|
-
*/
|
|
4360
2880
|
autoscaleIsEnabled?: pulumi.Input<boolean>;
|
|
4361
|
-
/**
|
|
4362
|
-
* Labels to assign to the resource.
|
|
4363
|
-
*/
|
|
4364
2881
|
autoscaleLabels?: pulumi.Input<pulumi.Input<inputs.gke.ElastigroupIntegrationGkeAutoscaleLabel>[]>;
|
|
4365
|
-
/**
|
|
4366
|
-
* The name of the GKE cluster you wish to import.
|
|
4367
|
-
*/
|
|
4368
2882
|
clusterId?: pulumi.Input<string>;
|
|
4369
|
-
/**
|
|
4370
|
-
* The location of your GKE cluster.
|
|
4371
|
-
*/
|
|
4372
2883
|
location?: pulumi.Input<string>;
|
|
4373
2884
|
}
|
|
4374
2885
|
interface ElastigroupIntegrationGkeAutoscaleDown {
|
|
4375
|
-
/**
|
|
4376
|
-
* Amount of cooldown evaluation periods for scale down.
|
|
4377
|
-
*/
|
|
4378
2886
|
evaluationPeriods?: pulumi.Input<number>;
|
|
4379
2887
|
}
|
|
4380
2888
|
interface ElastigroupIntegrationGkeAutoscaleHeadroom {
|
|
4381
|
-
/**
|
|
4382
|
-
* Cpu units for compute.
|
|
4383
|
-
*/
|
|
4384
2889
|
cpuPerUnit?: pulumi.Input<number>;
|
|
4385
|
-
/**
|
|
4386
|
-
* RAM units for compute.
|
|
4387
|
-
*/
|
|
4388
2890
|
memoryPerUnit?: pulumi.Input<number>;
|
|
4389
|
-
/**
|
|
4390
|
-
* Amount of units for compute.
|
|
4391
|
-
*/
|
|
4392
2891
|
numOfUnits?: pulumi.Input<number>;
|
|
4393
2892
|
}
|
|
4394
2893
|
interface ElastigroupIntegrationGkeAutoscaleLabel {
|
|
@@ -4421,9 +2920,6 @@ export declare namespace gke {
|
|
|
4421
2920
|
adjustment?: pulumi.Input<number>;
|
|
4422
2921
|
cooldown?: pulumi.Input<number>;
|
|
4423
2922
|
dimensions?: pulumi.Input<pulumi.Input<inputs.gke.ElastigroupScalingDownPolicyDimension>[]>;
|
|
4424
|
-
/**
|
|
4425
|
-
* Amount of cooldown evaluation periods for scale down.
|
|
4426
|
-
*/
|
|
4427
2923
|
evaluationPeriods?: pulumi.Input<number>;
|
|
4428
2924
|
metricName: pulumi.Input<string>;
|
|
4429
2925
|
namespace: pulumi.Input<string>;
|
|
@@ -4444,9 +2940,6 @@ export declare namespace gke {
|
|
|
4444
2940
|
adjustment?: pulumi.Input<number>;
|
|
4445
2941
|
cooldown?: pulumi.Input<number>;
|
|
4446
2942
|
dimensions?: pulumi.Input<pulumi.Input<inputs.gke.ElastigroupScalingUpPolicyDimension>[]>;
|
|
4447
|
-
/**
|
|
4448
|
-
* Amount of cooldown evaluation periods for scale down.
|
|
4449
|
-
*/
|
|
4450
2943
|
evaluationPeriods?: pulumi.Input<number>;
|
|
4451
2944
|
metricName: pulumi.Input<string>;
|
|
4452
2945
|
namespace: pulumi.Input<string>;
|
|
@@ -4463,75 +2956,27 @@ export declare namespace gke {
|
|
|
4463
2956
|
value?: pulumi.Input<string>;
|
|
4464
2957
|
}
|
|
4465
2958
|
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
2959
|
autoHeadroomPercentage?: pulumi.Input<number>;
|
|
4470
|
-
/**
|
|
4471
|
-
* Cooldown period between scaling actions.
|
|
4472
|
-
*/
|
|
4473
2960
|
cooldown?: pulumi.Input<number>;
|
|
4474
|
-
/**
|
|
4475
|
-
* Auto Scaling scale down operations.
|
|
4476
|
-
*/
|
|
4477
2961
|
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
2962
|
enableAutomaticAndManualHeadroom?: pulumi.Input<boolean>;
|
|
4482
|
-
/**
|
|
4483
|
-
* Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
|
|
4484
|
-
*/
|
|
4485
2963
|
headroom?: pulumi.Input<inputs.gke.OceanImportAutoscalerHeadroom>;
|
|
4486
|
-
/**
|
|
4487
|
-
* Automatically configure and optimize headroom resources.
|
|
4488
|
-
*/
|
|
4489
2964
|
isAutoConfig?: pulumi.Input<boolean>;
|
|
4490
|
-
/**
|
|
4491
|
-
* Enable the Ocean Kubernetes Autoscaler.
|
|
4492
|
-
*/
|
|
4493
2965
|
isEnabled?: pulumi.Input<boolean>;
|
|
4494
|
-
/**
|
|
4495
|
-
* Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
4496
|
-
*/
|
|
4497
2966
|
resourceLimits?: pulumi.Input<inputs.gke.OceanImportAutoscalerResourceLimits>;
|
|
4498
2967
|
}
|
|
4499
2968
|
interface OceanImportAutoscalerDown {
|
|
4500
|
-
/**
|
|
4501
|
-
* The number of evaluation periods that should accumulate before a scale down action takes place.
|
|
4502
|
-
*/
|
|
4503
2969
|
evaluationPeriods?: pulumi.Input<number>;
|
|
4504
|
-
/**
|
|
4505
|
-
* Would represent the maximum % to scale-down. Number between 1-100.
|
|
4506
|
-
*/
|
|
4507
2970
|
maxScaleDownPercentage?: pulumi.Input<number>;
|
|
4508
2971
|
}
|
|
4509
2972
|
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
2973
|
cpuPerUnit?: pulumi.Input<number>;
|
|
4514
|
-
/**
|
|
4515
|
-
* How much GPU allocate for headroom unit.
|
|
4516
|
-
*/
|
|
4517
2974
|
gpuPerUnit?: pulumi.Input<number>;
|
|
4518
|
-
/**
|
|
4519
|
-
* Optionally configure the amount of memory (MiB) to allocate the headroom.
|
|
4520
|
-
*/
|
|
4521
2975
|
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
2976
|
numOfUnits?: pulumi.Input<number>;
|
|
4526
2977
|
}
|
|
4527
2978
|
interface OceanImportAutoscalerResourceLimits {
|
|
4528
|
-
/**
|
|
4529
|
-
* The maximum memory in GiB units that can be allocated to the cluster.
|
|
4530
|
-
*/
|
|
4531
2979
|
maxMemoryGib?: pulumi.Input<number>;
|
|
4532
|
-
/**
|
|
4533
|
-
* The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
4534
|
-
*/
|
|
4535
2980
|
maxVcpu?: pulumi.Input<number>;
|
|
4536
2981
|
}
|
|
4537
2982
|
interface OceanImportBackendService {
|
|
@@ -4551,46 +2996,20 @@ export declare namespace gke {
|
|
|
4551
2996
|
}
|
|
4552
2997
|
interface OceanImportBackendServiceNamedPort {
|
|
4553
2998
|
name: pulumi.Input<string>;
|
|
4554
|
-
/**
|
|
4555
|
-
* A list of ports.
|
|
4556
|
-
*/
|
|
4557
2999
|
ports: pulumi.Input<pulumi.Input<string>[]>;
|
|
4558
3000
|
}
|
|
4559
3001
|
interface OceanImportScheduledTask {
|
|
4560
|
-
/**
|
|
4561
|
-
* Set shutdown hours for cluster object.
|
|
4562
|
-
*/
|
|
4563
3002
|
shutdownHours?: pulumi.Input<inputs.gke.OceanImportScheduledTaskShutdownHours>;
|
|
4564
|
-
/**
|
|
4565
|
-
* The scheduling tasks for the cluster.
|
|
4566
|
-
*/
|
|
4567
3003
|
tasks?: pulumi.Input<pulumi.Input<inputs.gke.OceanImportScheduledTaskTask>[]>;
|
|
4568
3004
|
}
|
|
4569
3005
|
interface OceanImportScheduledTaskShutdownHours {
|
|
4570
|
-
/**
|
|
4571
|
-
* Enable the Ocean Kubernetes Autoscaler.
|
|
4572
|
-
*/
|
|
4573
3006
|
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
3007
|
timeWindows: pulumi.Input<pulumi.Input<string>[]>;
|
|
4579
3008
|
}
|
|
4580
3009
|
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
3010
|
cronExpression: pulumi.Input<string>;
|
|
4586
|
-
/**
|
|
4587
|
-
* Enable the Ocean Kubernetes Autoscaler.
|
|
4588
|
-
*/
|
|
4589
3011
|
isEnabled: pulumi.Input<boolean>;
|
|
4590
3012
|
taskParameters?: pulumi.Input<inputs.gke.OceanImportScheduledTaskTaskTaskParameters>;
|
|
4591
|
-
/**
|
|
4592
|
-
* Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
|
|
4593
|
-
*/
|
|
4594
3013
|
taskType: pulumi.Input<string>;
|
|
4595
3014
|
}
|
|
4596
3015
|
interface OceanImportScheduledTaskTaskTaskParameters {
|
|
@@ -4598,10 +3017,6 @@ export declare namespace gke {
|
|
|
4598
3017
|
}
|
|
4599
3018
|
interface OceanImportScheduledTaskTaskTaskParametersClusterRoll {
|
|
4600
3019
|
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
3020
|
batchSizePercentage?: pulumi.Input<number>;
|
|
4606
3021
|
comment?: pulumi.Input<string>;
|
|
4607
3022
|
respectPdb?: pulumi.Input<boolean>;
|
|
@@ -4631,10 +3046,6 @@ export declare namespace gke {
|
|
|
4631
3046
|
}
|
|
4632
3047
|
interface OceanImportUpdatePolicyRollConfig {
|
|
4633
3048
|
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
3049
|
batchSizePercentage: pulumi.Input<number>;
|
|
4639
3050
|
launchSpecIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
4640
3051
|
respectPdb?: pulumi.Input<boolean>;
|
|
@@ -4675,11 +3086,11 @@ export declare namespace gke {
|
|
|
4675
3086
|
}
|
|
4676
3087
|
interface OceanLaunchSpecMetadata {
|
|
4677
3088
|
/**
|
|
4678
|
-
* The
|
|
3089
|
+
* The metadata key.
|
|
4679
3090
|
*/
|
|
4680
3091
|
key?: pulumi.Input<string>;
|
|
4681
3092
|
/**
|
|
4682
|
-
* The
|
|
3093
|
+
* The metadata value.
|
|
4683
3094
|
*/
|
|
4684
3095
|
value?: pulumi.Input<string>;
|
|
4685
3096
|
}
|
|
@@ -4703,24 +3114,13 @@ export declare namespace gke {
|
|
|
4703
3114
|
}
|
|
4704
3115
|
interface OceanLaunchSpecNetworkInterfaceAccessConfig {
|
|
4705
3116
|
/**
|
|
4706
|
-
* The
|
|
3117
|
+
* The launch specification name.
|
|
4707
3118
|
*/
|
|
4708
3119
|
name?: pulumi.Input<string>;
|
|
4709
|
-
/**
|
|
4710
|
-
* The type of the access configuration.
|
|
4711
|
-
*/
|
|
4712
3120
|
type?: pulumi.Input<string>;
|
|
4713
3121
|
}
|
|
4714
3122
|
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
3123
|
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
3124
|
subnetworkRangeName: pulumi.Input<string>;
|
|
4725
3125
|
}
|
|
4726
3126
|
interface OceanLaunchSpecResourceLimits {
|
|
@@ -4752,21 +3152,9 @@ export declare namespace gke {
|
|
|
4752
3152
|
taskType: pulumi.Input<string>;
|
|
4753
3153
|
}
|
|
4754
3154
|
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
3155
|
cpuPerUnit?: pulumi.Input<number>;
|
|
4759
|
-
/**
|
|
4760
|
-
* Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
4761
|
-
*/
|
|
4762
3156
|
gpuPerUnit?: pulumi.Input<number>;
|
|
4763
|
-
/**
|
|
4764
|
-
* Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
4765
|
-
*/
|
|
4766
3157
|
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
3158
|
numOfUnits: pulumi.Input<number>;
|
|
4771
3159
|
}
|
|
4772
3160
|
interface OceanLaunchSpecShieldedInstanceConfig {
|
|
@@ -4797,11 +3185,11 @@ export declare namespace gke {
|
|
|
4797
3185
|
*/
|
|
4798
3186
|
effect?: pulumi.Input<string>;
|
|
4799
3187
|
/**
|
|
4800
|
-
* The
|
|
3188
|
+
* The taint key.
|
|
4801
3189
|
*/
|
|
4802
3190
|
key?: pulumi.Input<string>;
|
|
4803
3191
|
/**
|
|
4804
|
-
* The
|
|
3192
|
+
* The taint value.
|
|
4805
3193
|
*/
|
|
4806
3194
|
value?: pulumi.Input<string>;
|
|
4807
3195
|
}
|
|
@@ -4821,18 +3209,8 @@ export declare namespace organization {
|
|
|
4821
3209
|
statements: pulumi.Input<pulumi.Input<inputs.organization.PolicyPolicyContentStatement>[]>;
|
|
4822
3210
|
}
|
|
4823
3211
|
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
3212
|
actions: pulumi.Input<pulumi.Input<string>[]>;
|
|
4829
|
-
/**
|
|
4830
|
-
* Valid values "ALLOW", "DENY".
|
|
4831
|
-
*/
|
|
4832
3213
|
effect: pulumi.Input<string>;
|
|
4833
|
-
/**
|
|
4834
|
-
* Set a list of resources IDs. In order to include all resources in this statement - use "*".
|
|
4835
|
-
*/
|
|
4836
3214
|
resources: pulumi.Input<pulumi.Input<string>[]>;
|
|
4837
3215
|
}
|
|
4838
3216
|
interface ProgrammaticUserAccount {
|
|
@@ -4919,7 +3297,7 @@ export declare namespace spark {
|
|
|
4919
3297
|
}
|
|
4920
3298
|
interface OceanIngressLoadBalancer {
|
|
4921
3299
|
/**
|
|
4922
|
-
* - Should
|
|
3300
|
+
* - 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
3301
|
*/
|
|
4924
3302
|
managed?: pulumi.Input<boolean>;
|
|
4925
3303
|
/**
|
|
@@ -4935,7 +3313,7 @@ export declare namespace spark {
|
|
|
4935
3313
|
}
|
|
4936
3314
|
interface OceanIngressPrivateLink {
|
|
4937
3315
|
/**
|
|
4938
|
-
* - Should the Ocean for Apache Spark control plane address the cluster
|
|
3316
|
+
* - Should the Ocean for Apache Spark control plane address the cluster via an AWS Private Link. Only available on AWS.
|
|
4939
3317
|
*/
|
|
4940
3318
|
enabled?: pulumi.Input<boolean>;
|
|
4941
3319
|
/**
|