1. Packages
  2. Spotinst
  3. API Docs
  4. gke
  5. OceanImport
Spotinst v3.81.0 published on Monday, Jun 24, 2024 by Pulumi

spotinst.gke.OceanImport

Explore with Pulumi AI

spotinst logo
Spotinst v3.81.0 published on Monday, Jun 24, 2024 by Pulumi

    Manages a Spotinst Ocean GKE resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as spotinst from "@pulumi/spotinst";
    
    const example = new spotinst.gke.OceanImport("example", {
        clusterName: "example-cluster-name",
        controllerClusterId: "example-controller-123124",
        location: "us-central1-a",
        minSize: 0,
        maxSize: 2,
        desiredCapacity: 0,
        whitelists: [
            "n1-standard-1",
            "n1-standard-2",
        ],
        backendServices: [{
            serviceName: "example-backend-service",
            locationType: "regional",
            scheme: "INTERNAL",
            namedPorts: [{
                name: "http",
                ports: [
                    "80",
                    "8080",
                ],
            }],
        }],
        rootVolumeType: "pd-ssd",
        shieldedInstanceConfig: {
            enableSecureBoot: true,
            enableIntegrityMonitoring: true,
        },
        useAsTemplateOnly: false,
    });
    
    import pulumi
    import pulumi_spotinst as spotinst
    
    example = spotinst.gke.OceanImport("example",
        cluster_name="example-cluster-name",
        controller_cluster_id="example-controller-123124",
        location="us-central1-a",
        min_size=0,
        max_size=2,
        desired_capacity=0,
        whitelists=[
            "n1-standard-1",
            "n1-standard-2",
        ],
        backend_services=[spotinst.gke.OceanImportBackendServiceArgs(
            service_name="example-backend-service",
            location_type="regional",
            scheme="INTERNAL",
            named_ports=[spotinst.gke.OceanImportBackendServiceNamedPortArgs(
                name="http",
                ports=[
                    "80",
                    "8080",
                ],
            )],
        )],
        root_volume_type="pd-ssd",
        shielded_instance_config=spotinst.gke.OceanImportShieldedInstanceConfigArgs(
            enable_secure_boot=True,
            enable_integrity_monitoring=True,
        ),
        use_as_template_only=False)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-spotinst/sdk/v3/go/spotinst/gke"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gke.NewOceanImport(ctx, "example", &gke.OceanImportArgs{
    			ClusterName:         pulumi.String("example-cluster-name"),
    			ControllerClusterId: pulumi.String("example-controller-123124"),
    			Location:            pulumi.String("us-central1-a"),
    			MinSize:             pulumi.Int(0),
    			MaxSize:             pulumi.Int(2),
    			DesiredCapacity:     pulumi.Int(0),
    			Whitelists: pulumi.StringArray{
    				pulumi.String("n1-standard-1"),
    				pulumi.String("n1-standard-2"),
    			},
    			BackendServices: gke.OceanImportBackendServiceArray{
    				&gke.OceanImportBackendServiceArgs{
    					ServiceName:  pulumi.String("example-backend-service"),
    					LocationType: pulumi.String("regional"),
    					Scheme:       pulumi.String("INTERNAL"),
    					NamedPorts: gke.OceanImportBackendServiceNamedPortArray{
    						&gke.OceanImportBackendServiceNamedPortArgs{
    							Name: pulumi.String("http"),
    							Ports: pulumi.StringArray{
    								pulumi.String("80"),
    								pulumi.String("8080"),
    							},
    						},
    					},
    				},
    			},
    			RootVolumeType: pulumi.String("pd-ssd"),
    			ShieldedInstanceConfig: &gke.OceanImportShieldedInstanceConfigArgs{
    				EnableSecureBoot:          pulumi.Bool(true),
    				EnableIntegrityMonitoring: pulumi.Bool(true),
    			},
    			UseAsTemplateOnly: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using SpotInst = Pulumi.SpotInst;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new SpotInst.Gke.OceanImport("example", new()
        {
            ClusterName = "example-cluster-name",
            ControllerClusterId = "example-controller-123124",
            Location = "us-central1-a",
            MinSize = 0,
            MaxSize = 2,
            DesiredCapacity = 0,
            Whitelists = new[]
            {
                "n1-standard-1",
                "n1-standard-2",
            },
            BackendServices = new[]
            {
                new SpotInst.Gke.Inputs.OceanImportBackendServiceArgs
                {
                    ServiceName = "example-backend-service",
                    LocationType = "regional",
                    Scheme = "INTERNAL",
                    NamedPorts = new[]
                    {
                        new SpotInst.Gke.Inputs.OceanImportBackendServiceNamedPortArgs
                        {
                            Name = "http",
                            Ports = new[]
                            {
                                "80",
                                "8080",
                            },
                        },
                    },
                },
            },
            RootVolumeType = "pd-ssd",
            ShieldedInstanceConfig = new SpotInst.Gke.Inputs.OceanImportShieldedInstanceConfigArgs
            {
                EnableSecureBoot = true,
                EnableIntegrityMonitoring = true,
            },
            UseAsTemplateOnly = false,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.spotinst.gke.OceanImport;
    import com.pulumi.spotinst.gke.OceanImportArgs;
    import com.pulumi.spotinst.gke.inputs.OceanImportBackendServiceArgs;
    import com.pulumi.spotinst.gke.inputs.OceanImportShieldedInstanceConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new OceanImport("example", OceanImportArgs.builder()
                .clusterName("example-cluster-name")
                .controllerClusterId("example-controller-123124")
                .location("us-central1-a")
                .minSize(0)
                .maxSize(2)
                .desiredCapacity(0)
                .whitelists(            
                    "n1-standard-1",
                    "n1-standard-2")
                .backendServices(OceanImportBackendServiceArgs.builder()
                    .serviceName("example-backend-service")
                    .locationType("regional")
                    .scheme("INTERNAL")
                    .namedPorts(OceanImportBackendServiceNamedPortArgs.builder()
                        .name("http")
                        .ports(                    
                            80,
                            8080)
                        .build())
                    .build())
                .rootVolumeType("pd-ssd")
                .shieldedInstanceConfig(OceanImportShieldedInstanceConfigArgs.builder()
                    .enableSecureBoot(true)
                    .enableIntegrityMonitoring(true)
                    .build())
                .useAsTemplateOnly(false)
                .build());
    
        }
    }
    
    resources:
      example:
        type: spotinst:gke:OceanImport
        properties:
          clusterName: example-cluster-name
          controllerClusterId: example-controller-123124
          location: us-central1-a
          minSize: 0
          maxSize: 2
          desiredCapacity: 0
          whitelists:
            - n1-standard-1
            - n1-standard-2
          backendServices:
            - serviceName: example-backend-service
              locationType: regional
              scheme: INTERNAL
              namedPorts:
                - name: http
                  ports:
                    - 80
                    - 8080
          rootVolumeType: pd-ssd
          shieldedInstanceConfig:
            enableSecureBoot: true
            enableIntegrityMonitoring: true
          useAsTemplateOnly: false
    
    output "ocean_id" {
      value = spotinst_ocean_gke_import.example.id
    }
    

    Create OceanImport Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OceanImport(name: string, args: OceanImportArgs, opts?: CustomResourceOptions);
    @overload
    def OceanImport(resource_name: str,
                    args: OceanImportArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def OceanImport(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    cluster_name: Optional[str] = None,
                    location: Optional[str] = None,
                    min_size: Optional[int] = None,
                    root_volume_type: Optional[str] = None,
                    controller_cluster_id: Optional[str] = None,
                    desired_capacity: Optional[int] = None,
                    backend_services: Optional[Sequence[OceanImportBackendServiceArgs]] = None,
                    max_size: Optional[int] = None,
                    autoscaler: Optional[OceanImportAutoscalerArgs] = None,
                    blacklists: Optional[Sequence[str]] = None,
                    scheduled_tasks: Optional[Sequence[OceanImportScheduledTaskArgs]] = None,
                    shielded_instance_config: Optional[OceanImportShieldedInstanceConfigArgs] = None,
                    strategies: Optional[Sequence[OceanImportStrategyArgs]] = None,
                    update_policy: Optional[OceanImportUpdatePolicyArgs] = None,
                    use_as_template_only: Optional[bool] = None,
                    whitelists: Optional[Sequence[str]] = None)
    func NewOceanImport(ctx *Context, name string, args OceanImportArgs, opts ...ResourceOption) (*OceanImport, error)
    public OceanImport(string name, OceanImportArgs args, CustomResourceOptions? opts = null)
    public OceanImport(String name, OceanImportArgs args)
    public OceanImport(String name, OceanImportArgs args, CustomResourceOptions options)
    
    type: spotinst:gke:OceanImport
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args OceanImportArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OceanImportArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OceanImportArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OceanImportArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OceanImportArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var oceanImportResource = new SpotInst.Gke.OceanImport("oceanImportResource", new()
    {
        ClusterName = "string",
        Location = "string",
        MinSize = 0,
        RootVolumeType = "string",
        ControllerClusterId = "string",
        DesiredCapacity = 0,
        BackendServices = new[]
        {
            new SpotInst.Gke.Inputs.OceanImportBackendServiceArgs
            {
                ServiceName = "string",
                LocationType = "string",
                NamedPorts = new[]
                {
                    new SpotInst.Gke.Inputs.OceanImportBackendServiceNamedPortArgs
                    {
                        Name = "string",
                        Ports = new[]
                        {
                            "string",
                        },
                    },
                },
                Scheme = "string",
            },
        },
        MaxSize = 0,
        Autoscaler = new SpotInst.Gke.Inputs.OceanImportAutoscalerArgs
        {
            AutoHeadroomPercentage = 0,
            Cooldown = 0,
            Down = new SpotInst.Gke.Inputs.OceanImportAutoscalerDownArgs
            {
                EvaluationPeriods = 0,
                MaxScaleDownPercentage = 0,
            },
            EnableAutomaticAndManualHeadroom = false,
            Headroom = new SpotInst.Gke.Inputs.OceanImportAutoscalerHeadroomArgs
            {
                CpuPerUnit = 0,
                GpuPerUnit = 0,
                MemoryPerUnit = 0,
                NumOfUnits = 0,
            },
            IsAutoConfig = false,
            IsEnabled = false,
            ResourceLimits = new SpotInst.Gke.Inputs.OceanImportAutoscalerResourceLimitsArgs
            {
                MaxMemoryGib = 0,
                MaxVcpu = 0,
            },
        },
        Blacklists = new[]
        {
            "string",
        },
        ScheduledTasks = new[]
        {
            new SpotInst.Gke.Inputs.OceanImportScheduledTaskArgs
            {
                ShutdownHours = new SpotInst.Gke.Inputs.OceanImportScheduledTaskShutdownHoursArgs
                {
                    TimeWindows = new[]
                    {
                        "string",
                    },
                    IsEnabled = false,
                },
                Tasks = new[]
                {
                    new SpotInst.Gke.Inputs.OceanImportScheduledTaskTaskArgs
                    {
                        CronExpression = "string",
                        IsEnabled = false,
                        TaskType = "string",
                        TaskParameters = new SpotInst.Gke.Inputs.OceanImportScheduledTaskTaskTaskParametersArgs
                        {
                            ClusterRoll = new SpotInst.Gke.Inputs.OceanImportScheduledTaskTaskTaskParametersClusterRollArgs
                            {
                                BatchMinHealthyPercentage = 0,
                                BatchSizePercentage = 0,
                                Comment = "string",
                                RespectPdb = false,
                            },
                        },
                    },
                },
            },
        },
        ShieldedInstanceConfig = new SpotInst.Gke.Inputs.OceanImportShieldedInstanceConfigArgs
        {
            EnableIntegrityMonitoring = false,
            EnableSecureBoot = false,
        },
        Strategies = new[]
        {
            new SpotInst.Gke.Inputs.OceanImportStrategyArgs
            {
                DrainingTimeout = 0,
                PreemptiblePercentage = 0,
                ProvisioningModel = "string",
            },
        },
        UpdatePolicy = new SpotInst.Gke.Inputs.OceanImportUpdatePolicyArgs
        {
            ShouldRoll = false,
            ConditionedRoll = false,
            RollConfig = new SpotInst.Gke.Inputs.OceanImportUpdatePolicyRollConfigArgs
            {
                BatchSizePercentage = 0,
                BatchMinHealthyPercentage = 0,
                LaunchSpecIds = new[]
                {
                    "string",
                },
                RespectPdb = false,
            },
        },
        UseAsTemplateOnly = false,
        Whitelists = new[]
        {
            "string",
        },
    });
    
    example, err := gke.NewOceanImport(ctx, "oceanImportResource", &gke.OceanImportArgs{
    	ClusterName:         pulumi.String("string"),
    	Location:            pulumi.String("string"),
    	MinSize:             pulumi.Int(0),
    	RootVolumeType:      pulumi.String("string"),
    	ControllerClusterId: pulumi.String("string"),
    	DesiredCapacity:     pulumi.Int(0),
    	BackendServices: gke.OceanImportBackendServiceArray{
    		&gke.OceanImportBackendServiceArgs{
    			ServiceName:  pulumi.String("string"),
    			LocationType: pulumi.String("string"),
    			NamedPorts: gke.OceanImportBackendServiceNamedPortArray{
    				&gke.OceanImportBackendServiceNamedPortArgs{
    					Name: pulumi.String("string"),
    					Ports: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    			Scheme: pulumi.String("string"),
    		},
    	},
    	MaxSize: pulumi.Int(0),
    	Autoscaler: &gke.OceanImportAutoscalerArgs{
    		AutoHeadroomPercentage: pulumi.Int(0),
    		Cooldown:               pulumi.Int(0),
    		Down: &gke.OceanImportAutoscalerDownArgs{
    			EvaluationPeriods:      pulumi.Int(0),
    			MaxScaleDownPercentage: pulumi.Float64(0),
    		},
    		EnableAutomaticAndManualHeadroom: pulumi.Bool(false),
    		Headroom: &gke.OceanImportAutoscalerHeadroomArgs{
    			CpuPerUnit:    pulumi.Int(0),
    			GpuPerUnit:    pulumi.Int(0),
    			MemoryPerUnit: pulumi.Int(0),
    			NumOfUnits:    pulumi.Int(0),
    		},
    		IsAutoConfig: pulumi.Bool(false),
    		IsEnabled:    pulumi.Bool(false),
    		ResourceLimits: &gke.OceanImportAutoscalerResourceLimitsArgs{
    			MaxMemoryGib: pulumi.Int(0),
    			MaxVcpu:      pulumi.Int(0),
    		},
    	},
    	Blacklists: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ScheduledTasks: gke.OceanImportScheduledTaskArray{
    		&gke.OceanImportScheduledTaskArgs{
    			ShutdownHours: &gke.OceanImportScheduledTaskShutdownHoursArgs{
    				TimeWindows: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				IsEnabled: pulumi.Bool(false),
    			},
    			Tasks: gke.OceanImportScheduledTaskTaskArray{
    				&gke.OceanImportScheduledTaskTaskArgs{
    					CronExpression: pulumi.String("string"),
    					IsEnabled:      pulumi.Bool(false),
    					TaskType:       pulumi.String("string"),
    					TaskParameters: &gke.OceanImportScheduledTaskTaskTaskParametersArgs{
    						ClusterRoll: &gke.OceanImportScheduledTaskTaskTaskParametersClusterRollArgs{
    							BatchMinHealthyPercentage: pulumi.Int(0),
    							BatchSizePercentage:       pulumi.Int(0),
    							Comment:                   pulumi.String("string"),
    							RespectPdb:                pulumi.Bool(false),
    						},
    					},
    				},
    			},
    		},
    	},
    	ShieldedInstanceConfig: &gke.OceanImportShieldedInstanceConfigArgs{
    		EnableIntegrityMonitoring: pulumi.Bool(false),
    		EnableSecureBoot:          pulumi.Bool(false),
    	},
    	Strategies: gke.OceanImportStrategyArray{
    		&gke.OceanImportStrategyArgs{
    			DrainingTimeout:       pulumi.Int(0),
    			PreemptiblePercentage: pulumi.Int(0),
    			ProvisioningModel:     pulumi.String("string"),
    		},
    	},
    	UpdatePolicy: &gke.OceanImportUpdatePolicyArgs{
    		ShouldRoll:      pulumi.Bool(false),
    		ConditionedRoll: pulumi.Bool(false),
    		RollConfig: &gke.OceanImportUpdatePolicyRollConfigArgs{
    			BatchSizePercentage:       pulumi.Int(0),
    			BatchMinHealthyPercentage: pulumi.Int(0),
    			LaunchSpecIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			RespectPdb: pulumi.Bool(false),
    		},
    	},
    	UseAsTemplateOnly: pulumi.Bool(false),
    	Whitelists: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var oceanImportResource = new OceanImport("oceanImportResource", OceanImportArgs.builder()
        .clusterName("string")
        .location("string")
        .minSize(0)
        .rootVolumeType("string")
        .controllerClusterId("string")
        .desiredCapacity(0)
        .backendServices(OceanImportBackendServiceArgs.builder()
            .serviceName("string")
            .locationType("string")
            .namedPorts(OceanImportBackendServiceNamedPortArgs.builder()
                .name("string")
                .ports("string")
                .build())
            .scheme("string")
            .build())
        .maxSize(0)
        .autoscaler(OceanImportAutoscalerArgs.builder()
            .autoHeadroomPercentage(0)
            .cooldown(0)
            .down(OceanImportAutoscalerDownArgs.builder()
                .evaluationPeriods(0)
                .maxScaleDownPercentage(0)
                .build())
            .enableAutomaticAndManualHeadroom(false)
            .headroom(OceanImportAutoscalerHeadroomArgs.builder()
                .cpuPerUnit(0)
                .gpuPerUnit(0)
                .memoryPerUnit(0)
                .numOfUnits(0)
                .build())
            .isAutoConfig(false)
            .isEnabled(false)
            .resourceLimits(OceanImportAutoscalerResourceLimitsArgs.builder()
                .maxMemoryGib(0)
                .maxVcpu(0)
                .build())
            .build())
        .blacklists("string")
        .scheduledTasks(OceanImportScheduledTaskArgs.builder()
            .shutdownHours(OceanImportScheduledTaskShutdownHoursArgs.builder()
                .timeWindows("string")
                .isEnabled(false)
                .build())
            .tasks(OceanImportScheduledTaskTaskArgs.builder()
                .cronExpression("string")
                .isEnabled(false)
                .taskType("string")
                .taskParameters(OceanImportScheduledTaskTaskTaskParametersArgs.builder()
                    .clusterRoll(OceanImportScheduledTaskTaskTaskParametersClusterRollArgs.builder()
                        .batchMinHealthyPercentage(0)
                        .batchSizePercentage(0)
                        .comment("string")
                        .respectPdb(false)
                        .build())
                    .build())
                .build())
            .build())
        .shieldedInstanceConfig(OceanImportShieldedInstanceConfigArgs.builder()
            .enableIntegrityMonitoring(false)
            .enableSecureBoot(false)
            .build())
        .strategies(OceanImportStrategyArgs.builder()
            .drainingTimeout(0)
            .preemptiblePercentage(0)
            .provisioningModel("string")
            .build())
        .updatePolicy(OceanImportUpdatePolicyArgs.builder()
            .shouldRoll(false)
            .conditionedRoll(false)
            .rollConfig(OceanImportUpdatePolicyRollConfigArgs.builder()
                .batchSizePercentage(0)
                .batchMinHealthyPercentage(0)
                .launchSpecIds("string")
                .respectPdb(false)
                .build())
            .build())
        .useAsTemplateOnly(false)
        .whitelists("string")
        .build());
    
    ocean_import_resource = spotinst.gke.OceanImport("oceanImportResource",
        cluster_name="string",
        location="string",
        min_size=0,
        root_volume_type="string",
        controller_cluster_id="string",
        desired_capacity=0,
        backend_services=[spotinst.gke.OceanImportBackendServiceArgs(
            service_name="string",
            location_type="string",
            named_ports=[spotinst.gke.OceanImportBackendServiceNamedPortArgs(
                name="string",
                ports=["string"],
            )],
            scheme="string",
        )],
        max_size=0,
        autoscaler=spotinst.gke.OceanImportAutoscalerArgs(
            auto_headroom_percentage=0,
            cooldown=0,
            down=spotinst.gke.OceanImportAutoscalerDownArgs(
                evaluation_periods=0,
                max_scale_down_percentage=0,
            ),
            enable_automatic_and_manual_headroom=False,
            headroom=spotinst.gke.OceanImportAutoscalerHeadroomArgs(
                cpu_per_unit=0,
                gpu_per_unit=0,
                memory_per_unit=0,
                num_of_units=0,
            ),
            is_auto_config=False,
            is_enabled=False,
            resource_limits=spotinst.gke.OceanImportAutoscalerResourceLimitsArgs(
                max_memory_gib=0,
                max_vcpu=0,
            ),
        ),
        blacklists=["string"],
        scheduled_tasks=[spotinst.gke.OceanImportScheduledTaskArgs(
            shutdown_hours=spotinst.gke.OceanImportScheduledTaskShutdownHoursArgs(
                time_windows=["string"],
                is_enabled=False,
            ),
            tasks=[spotinst.gke.OceanImportScheduledTaskTaskArgs(
                cron_expression="string",
                is_enabled=False,
                task_type="string",
                task_parameters=spotinst.gke.OceanImportScheduledTaskTaskTaskParametersArgs(
                    cluster_roll=spotinst.gke.OceanImportScheduledTaskTaskTaskParametersClusterRollArgs(
                        batch_min_healthy_percentage=0,
                        batch_size_percentage=0,
                        comment="string",
                        respect_pdb=False,
                    ),
                ),
            )],
        )],
        shielded_instance_config=spotinst.gke.OceanImportShieldedInstanceConfigArgs(
            enable_integrity_monitoring=False,
            enable_secure_boot=False,
        ),
        strategies=[spotinst.gke.OceanImportStrategyArgs(
            draining_timeout=0,
            preemptible_percentage=0,
            provisioning_model="string",
        )],
        update_policy=spotinst.gke.OceanImportUpdatePolicyArgs(
            should_roll=False,
            conditioned_roll=False,
            roll_config=spotinst.gke.OceanImportUpdatePolicyRollConfigArgs(
                batch_size_percentage=0,
                batch_min_healthy_percentage=0,
                launch_spec_ids=["string"],
                respect_pdb=False,
            ),
        ),
        use_as_template_only=False,
        whitelists=["string"])
    
    const oceanImportResource = new spotinst.gke.OceanImport("oceanImportResource", {
        clusterName: "string",
        location: "string",
        minSize: 0,
        rootVolumeType: "string",
        controllerClusterId: "string",
        desiredCapacity: 0,
        backendServices: [{
            serviceName: "string",
            locationType: "string",
            namedPorts: [{
                name: "string",
                ports: ["string"],
            }],
            scheme: "string",
        }],
        maxSize: 0,
        autoscaler: {
            autoHeadroomPercentage: 0,
            cooldown: 0,
            down: {
                evaluationPeriods: 0,
                maxScaleDownPercentage: 0,
            },
            enableAutomaticAndManualHeadroom: false,
            headroom: {
                cpuPerUnit: 0,
                gpuPerUnit: 0,
                memoryPerUnit: 0,
                numOfUnits: 0,
            },
            isAutoConfig: false,
            isEnabled: false,
            resourceLimits: {
                maxMemoryGib: 0,
                maxVcpu: 0,
            },
        },
        blacklists: ["string"],
        scheduledTasks: [{
            shutdownHours: {
                timeWindows: ["string"],
                isEnabled: false,
            },
            tasks: [{
                cronExpression: "string",
                isEnabled: false,
                taskType: "string",
                taskParameters: {
                    clusterRoll: {
                        batchMinHealthyPercentage: 0,
                        batchSizePercentage: 0,
                        comment: "string",
                        respectPdb: false,
                    },
                },
            }],
        }],
        shieldedInstanceConfig: {
            enableIntegrityMonitoring: false,
            enableSecureBoot: false,
        },
        strategies: [{
            drainingTimeout: 0,
            preemptiblePercentage: 0,
            provisioningModel: "string",
        }],
        updatePolicy: {
            shouldRoll: false,
            conditionedRoll: false,
            rollConfig: {
                batchSizePercentage: 0,
                batchMinHealthyPercentage: 0,
                launchSpecIds: ["string"],
                respectPdb: false,
            },
        },
        useAsTemplateOnly: false,
        whitelists: ["string"],
    });
    
    type: spotinst:gke:OceanImport
    properties:
        autoscaler:
            autoHeadroomPercentage: 0
            cooldown: 0
            down:
                evaluationPeriods: 0
                maxScaleDownPercentage: 0
            enableAutomaticAndManualHeadroom: false
            headroom:
                cpuPerUnit: 0
                gpuPerUnit: 0
                memoryPerUnit: 0
                numOfUnits: 0
            isAutoConfig: false
            isEnabled: false
            resourceLimits:
                maxMemoryGib: 0
                maxVcpu: 0
        backendServices:
            - locationType: string
              namedPorts:
                - name: string
                  ports:
                    - string
              scheme: string
              serviceName: string
        blacklists:
            - string
        clusterName: string
        controllerClusterId: string
        desiredCapacity: 0
        location: string
        maxSize: 0
        minSize: 0
        rootVolumeType: string
        scheduledTasks:
            - shutdownHours:
                isEnabled: false
                timeWindows:
                    - string
              tasks:
                - cronExpression: string
                  isEnabled: false
                  taskParameters:
                    clusterRoll:
                        batchMinHealthyPercentage: 0
                        batchSizePercentage: 0
                        comment: string
                        respectPdb: false
                  taskType: string
        shieldedInstanceConfig:
            enableIntegrityMonitoring: false
            enableSecureBoot: false
        strategies:
            - drainingTimeout: 0
              preemptiblePercentage: 0
              provisioningModel: string
        updatePolicy:
            conditionedRoll: false
            rollConfig:
                batchMinHealthyPercentage: 0
                batchSizePercentage: 0
                launchSpecIds:
                    - string
                respectPdb: false
            shouldRoll: false
        useAsTemplateOnly: false
        whitelists:
            - string
    

    OceanImport Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The OceanImport resource accepts the following input properties:

    ClusterName string
    The GKE cluster name.
    Location string
    The zone the master cluster is located in.
    Autoscaler Pulumi.SpotInst.Gke.Inputs.OceanImportAutoscaler
    The Ocean Kubernetes Autoscaler object.
    BackendServices List<Pulumi.SpotInst.Gke.Inputs.OceanImportBackendService>
    Describes the backend service configurations.
    Blacklists List<string>
    Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
    ControllerClusterId string
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    DesiredCapacity int
    The number of instances to launch and maintain in the cluster.
    MaxSize int
    The upper limit of instances the cluster can scale up to.
    MinSize int
    The lower limit of instances the cluster can scale down to.
    RootVolumeType string
    The root volume disk type.
    ScheduledTasks List<Pulumi.SpotInst.Gke.Inputs.OceanImportScheduledTask>
    Set scheduling object.
    ShieldedInstanceConfig Pulumi.SpotInst.Gke.Inputs.OceanImportShieldedInstanceConfig
    The Ocean shielded instance configuration object.
    Strategies List<Pulumi.SpotInst.Gke.Inputs.OceanImportStrategy>
    Strategy object.
    UpdatePolicy Pulumi.SpotInst.Gke.Inputs.OceanImportUpdatePolicy
    UseAsTemplateOnly bool
    launch specification defined on the Ocean object will function only as a template for virtual node groups.
    Whitelists List<string>
    Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
    ClusterName string
    The GKE cluster name.
    Location string
    The zone the master cluster is located in.
    Autoscaler OceanImportAutoscalerArgs
    The Ocean Kubernetes Autoscaler object.
    BackendServices []OceanImportBackendServiceArgs
    Describes the backend service configurations.
    Blacklists []string
    Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
    ControllerClusterId string
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    DesiredCapacity int
    The number of instances to launch and maintain in the cluster.
    MaxSize int
    The upper limit of instances the cluster can scale up to.
    MinSize int
    The lower limit of instances the cluster can scale down to.
    RootVolumeType string
    The root volume disk type.
    ScheduledTasks []OceanImportScheduledTaskArgs
    Set scheduling object.
    ShieldedInstanceConfig OceanImportShieldedInstanceConfigArgs
    The Ocean shielded instance configuration object.
    Strategies []OceanImportStrategyArgs
    Strategy object.
    UpdatePolicy OceanImportUpdatePolicyArgs
    UseAsTemplateOnly bool
    launch specification defined on the Ocean object will function only as a template for virtual node groups.
    Whitelists []string
    Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
    clusterName String
    The GKE cluster name.
    location String
    The zone the master cluster is located in.
    autoscaler OceanImportAutoscaler
    The Ocean Kubernetes Autoscaler object.
    backendServices List<OceanImportBackendService>
    Describes the backend service configurations.
    blacklists List<String>
    Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
    controllerClusterId String
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    desiredCapacity Integer
    The number of instances to launch and maintain in the cluster.
    maxSize Integer
    The upper limit of instances the cluster can scale up to.
    minSize Integer
    The lower limit of instances the cluster can scale down to.
    rootVolumeType String
    The root volume disk type.
    scheduledTasks List<OceanImportScheduledTask>
    Set scheduling object.
    shieldedInstanceConfig OceanImportShieldedInstanceConfig
    The Ocean shielded instance configuration object.
    strategies List<OceanImportStrategy>
    Strategy object.
    updatePolicy OceanImportUpdatePolicy
    useAsTemplateOnly Boolean
    launch specification defined on the Ocean object will function only as a template for virtual node groups.
    whitelists List<String>
    Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
    clusterName string
    The GKE cluster name.
    location string
    The zone the master cluster is located in.
    autoscaler OceanImportAutoscaler
    The Ocean Kubernetes Autoscaler object.
    backendServices OceanImportBackendService[]
    Describes the backend service configurations.
    blacklists string[]
    Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
    controllerClusterId string
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    desiredCapacity number
    The number of instances to launch and maintain in the cluster.
    maxSize number
    The upper limit of instances the cluster can scale up to.
    minSize number
    The lower limit of instances the cluster can scale down to.
    rootVolumeType string
    The root volume disk type.
    scheduledTasks OceanImportScheduledTask[]
    Set scheduling object.
    shieldedInstanceConfig OceanImportShieldedInstanceConfig
    The Ocean shielded instance configuration object.
    strategies OceanImportStrategy[]
    Strategy object.
    updatePolicy OceanImportUpdatePolicy
    useAsTemplateOnly boolean
    launch specification defined on the Ocean object will function only as a template for virtual node groups.
    whitelists string[]
    Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
    cluster_name str
    The GKE cluster name.
    location str
    The zone the master cluster is located in.
    autoscaler OceanImportAutoscalerArgs
    The Ocean Kubernetes Autoscaler object.
    backend_services Sequence[OceanImportBackendServiceArgs]
    Describes the backend service configurations.
    blacklists Sequence[str]
    Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
    controller_cluster_id str
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    desired_capacity int
    The number of instances to launch and maintain in the cluster.
    max_size int
    The upper limit of instances the cluster can scale up to.
    min_size int
    The lower limit of instances the cluster can scale down to.
    root_volume_type str
    The root volume disk type.
    scheduled_tasks Sequence[OceanImportScheduledTaskArgs]
    Set scheduling object.
    shielded_instance_config OceanImportShieldedInstanceConfigArgs
    The Ocean shielded instance configuration object.
    strategies Sequence[OceanImportStrategyArgs]
    Strategy object.
    update_policy OceanImportUpdatePolicyArgs
    use_as_template_only bool
    launch specification defined on the Ocean object will function only as a template for virtual node groups.
    whitelists Sequence[str]
    Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
    clusterName String
    The GKE cluster name.
    location String
    The zone the master cluster is located in.
    autoscaler Property Map
    The Ocean Kubernetes Autoscaler object.
    backendServices List<Property Map>
    Describes the backend service configurations.
    blacklists List<String>
    Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
    controllerClusterId String
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    desiredCapacity Number
    The number of instances to launch and maintain in the cluster.
    maxSize Number
    The upper limit of instances the cluster can scale up to.
    minSize Number
    The lower limit of instances the cluster can scale down to.
    rootVolumeType String
    The root volume disk type.
    scheduledTasks List<Property Map>
    Set scheduling object.
    shieldedInstanceConfig Property Map
    The Ocean shielded instance configuration object.
    strategies List<Property Map>
    Strategy object.
    updatePolicy Property Map
    useAsTemplateOnly Boolean
    launch specification defined on the Ocean object will function only as a template for virtual node groups.
    whitelists List<String>
    Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OceanImport resource produces the following output properties:

    ClusterControllerId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ClusterControllerId string
    Id string
    The provider-assigned unique ID for this managed resource.
    clusterControllerId String
    id String
    The provider-assigned unique ID for this managed resource.
    clusterControllerId string
    id string
    The provider-assigned unique ID for this managed resource.
    cluster_controller_id str
    id str
    The provider-assigned unique ID for this managed resource.
    clusterControllerId String
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing OceanImport Resource

    Get an existing OceanImport resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: OceanImportState, opts?: CustomResourceOptions): OceanImport
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            autoscaler: Optional[OceanImportAutoscalerArgs] = None,
            backend_services: Optional[Sequence[OceanImportBackendServiceArgs]] = None,
            blacklists: Optional[Sequence[str]] = None,
            cluster_controller_id: Optional[str] = None,
            cluster_name: Optional[str] = None,
            controller_cluster_id: Optional[str] = None,
            desired_capacity: Optional[int] = None,
            location: Optional[str] = None,
            max_size: Optional[int] = None,
            min_size: Optional[int] = None,
            root_volume_type: Optional[str] = None,
            scheduled_tasks: Optional[Sequence[OceanImportScheduledTaskArgs]] = None,
            shielded_instance_config: Optional[OceanImportShieldedInstanceConfigArgs] = None,
            strategies: Optional[Sequence[OceanImportStrategyArgs]] = None,
            update_policy: Optional[OceanImportUpdatePolicyArgs] = None,
            use_as_template_only: Optional[bool] = None,
            whitelists: Optional[Sequence[str]] = None) -> OceanImport
    func GetOceanImport(ctx *Context, name string, id IDInput, state *OceanImportState, opts ...ResourceOption) (*OceanImport, error)
    public static OceanImport Get(string name, Input<string> id, OceanImportState? state, CustomResourceOptions? opts = null)
    public static OceanImport get(String name, Output<String> id, OceanImportState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Autoscaler Pulumi.SpotInst.Gke.Inputs.OceanImportAutoscaler
    The Ocean Kubernetes Autoscaler object.
    BackendServices List<Pulumi.SpotInst.Gke.Inputs.OceanImportBackendService>
    Describes the backend service configurations.
    Blacklists List<string>
    Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
    ClusterControllerId string
    ClusterName string
    The GKE cluster name.
    ControllerClusterId string
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    DesiredCapacity int
    The number of instances to launch and maintain in the cluster.
    Location string
    The zone the master cluster is located in.
    MaxSize int
    The upper limit of instances the cluster can scale up to.
    MinSize int
    The lower limit of instances the cluster can scale down to.
    RootVolumeType string
    The root volume disk type.
    ScheduledTasks List<Pulumi.SpotInst.Gke.Inputs.OceanImportScheduledTask>
    Set scheduling object.
    ShieldedInstanceConfig Pulumi.SpotInst.Gke.Inputs.OceanImportShieldedInstanceConfig
    The Ocean shielded instance configuration object.
    Strategies List<Pulumi.SpotInst.Gke.Inputs.OceanImportStrategy>
    Strategy object.
    UpdatePolicy Pulumi.SpotInst.Gke.Inputs.OceanImportUpdatePolicy
    UseAsTemplateOnly bool
    launch specification defined on the Ocean object will function only as a template for virtual node groups.
    Whitelists List<string>
    Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
    Autoscaler OceanImportAutoscalerArgs
    The Ocean Kubernetes Autoscaler object.
    BackendServices []OceanImportBackendServiceArgs
    Describes the backend service configurations.
    Blacklists []string
    Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
    ClusterControllerId string
    ClusterName string
    The GKE cluster name.
    ControllerClusterId string
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    DesiredCapacity int
    The number of instances to launch and maintain in the cluster.
    Location string
    The zone the master cluster is located in.
    MaxSize int
    The upper limit of instances the cluster can scale up to.
    MinSize int
    The lower limit of instances the cluster can scale down to.
    RootVolumeType string
    The root volume disk type.
    ScheduledTasks []OceanImportScheduledTaskArgs
    Set scheduling object.
    ShieldedInstanceConfig OceanImportShieldedInstanceConfigArgs
    The Ocean shielded instance configuration object.
    Strategies []OceanImportStrategyArgs
    Strategy object.
    UpdatePolicy OceanImportUpdatePolicyArgs
    UseAsTemplateOnly bool
    launch specification defined on the Ocean object will function only as a template for virtual node groups.
    Whitelists []string
    Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
    autoscaler OceanImportAutoscaler
    The Ocean Kubernetes Autoscaler object.
    backendServices List<OceanImportBackendService>
    Describes the backend service configurations.
    blacklists List<String>
    Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
    clusterControllerId String
    clusterName String
    The GKE cluster name.
    controllerClusterId String
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    desiredCapacity Integer
    The number of instances to launch and maintain in the cluster.
    location String
    The zone the master cluster is located in.
    maxSize Integer
    The upper limit of instances the cluster can scale up to.
    minSize Integer
    The lower limit of instances the cluster can scale down to.
    rootVolumeType String
    The root volume disk type.
    scheduledTasks List<OceanImportScheduledTask>
    Set scheduling object.
    shieldedInstanceConfig OceanImportShieldedInstanceConfig
    The Ocean shielded instance configuration object.
    strategies List<OceanImportStrategy>
    Strategy object.
    updatePolicy OceanImportUpdatePolicy
    useAsTemplateOnly Boolean
    launch specification defined on the Ocean object will function only as a template for virtual node groups.
    whitelists List<String>
    Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
    autoscaler OceanImportAutoscaler
    The Ocean Kubernetes Autoscaler object.
    backendServices OceanImportBackendService[]
    Describes the backend service configurations.
    blacklists string[]
    Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
    clusterControllerId string
    clusterName string
    The GKE cluster name.
    controllerClusterId string
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    desiredCapacity number
    The number of instances to launch and maintain in the cluster.
    location string
    The zone the master cluster is located in.
    maxSize number
    The upper limit of instances the cluster can scale up to.
    minSize number
    The lower limit of instances the cluster can scale down to.
    rootVolumeType string
    The root volume disk type.
    scheduledTasks OceanImportScheduledTask[]
    Set scheduling object.
    shieldedInstanceConfig OceanImportShieldedInstanceConfig
    The Ocean shielded instance configuration object.
    strategies OceanImportStrategy[]
    Strategy object.
    updatePolicy OceanImportUpdatePolicy
    useAsTemplateOnly boolean
    launch specification defined on the Ocean object will function only as a template for virtual node groups.
    whitelists string[]
    Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
    autoscaler OceanImportAutoscalerArgs
    The Ocean Kubernetes Autoscaler object.
    backend_services Sequence[OceanImportBackendServiceArgs]
    Describes the backend service configurations.
    blacklists Sequence[str]
    Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
    cluster_controller_id str
    cluster_name str
    The GKE cluster name.
    controller_cluster_id str
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    desired_capacity int
    The number of instances to launch and maintain in the cluster.
    location str
    The zone the master cluster is located in.
    max_size int
    The upper limit of instances the cluster can scale up to.
    min_size int
    The lower limit of instances the cluster can scale down to.
    root_volume_type str
    The root volume disk type.
    scheduled_tasks Sequence[OceanImportScheduledTaskArgs]
    Set scheduling object.
    shielded_instance_config OceanImportShieldedInstanceConfigArgs
    The Ocean shielded instance configuration object.
    strategies Sequence[OceanImportStrategyArgs]
    Strategy object.
    update_policy OceanImportUpdatePolicyArgs
    use_as_template_only bool
    launch specification defined on the Ocean object will function only as a template for virtual node groups.
    whitelists Sequence[str]
    Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.
    autoscaler Property Map
    The Ocean Kubernetes Autoscaler object.
    backendServices List<Property Map>
    Describes the backend service configurations.
    blacklists List<String>
    Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
    clusterControllerId String
    clusterName String
    The GKE cluster name.
    controllerClusterId String
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    desiredCapacity Number
    The number of instances to launch and maintain in the cluster.
    location String
    The zone the master cluster is located in.
    maxSize Number
    The upper limit of instances the cluster can scale up to.
    minSize Number
    The lower limit of instances the cluster can scale down to.
    rootVolumeType String
    The root volume disk type.
    scheduledTasks List<Property Map>
    Set scheduling object.
    shieldedInstanceConfig Property Map
    The Ocean shielded instance configuration object.
    strategies List<Property Map>
    Strategy object.
    updatePolicy Property Map
    useAsTemplateOnly Boolean
    launch specification defined on the Ocean object will function only as a template for virtual node groups.
    whitelists List<String>
    Instance types allowed in the Ocean cluster. Cannot be configured if blacklist list is configured.

    Supporting Types

    OceanImportAutoscaler, OceanImportAutoscalerArgs

    AutoHeadroomPercentage int
    Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
    Cooldown int
    Cooldown period between scaling actions.
    Down Pulumi.SpotInst.Gke.Inputs.OceanImportAutoscalerDown
    Auto Scaling scale down operations.
    EnableAutomaticAndManualHeadroom bool
    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.
    Headroom Pulumi.SpotInst.Gke.Inputs.OceanImportAutoscalerHeadroom
    Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
    IsAutoConfig bool
    Automatically configure and optimize headroom resources.
    IsEnabled bool
    Enable the Ocean Kubernetes Autoscaler.
    ResourceLimits Pulumi.SpotInst.Gke.Inputs.OceanImportAutoscalerResourceLimits
    Optionally set upper and lower bounds on the resource usage of the cluster.
    AutoHeadroomPercentage int
    Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
    Cooldown int
    Cooldown period between scaling actions.
    Down OceanImportAutoscalerDown
    Auto Scaling scale down operations.
    EnableAutomaticAndManualHeadroom bool
    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.
    Headroom OceanImportAutoscalerHeadroom
    Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
    IsAutoConfig bool
    Automatically configure and optimize headroom resources.
    IsEnabled bool
    Enable the Ocean Kubernetes Autoscaler.
    ResourceLimits OceanImportAutoscalerResourceLimits
    Optionally set upper and lower bounds on the resource usage of the cluster.
    autoHeadroomPercentage Integer
    Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
    cooldown Integer
    Cooldown period between scaling actions.
    down OceanImportAutoscalerDown
    Auto Scaling scale down operations.
    enableAutomaticAndManualHeadroom Boolean
    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.
    headroom OceanImportAutoscalerHeadroom
    Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
    isAutoConfig Boolean
    Automatically configure and optimize headroom resources.
    isEnabled Boolean
    Enable the Ocean Kubernetes Autoscaler.
    resourceLimits OceanImportAutoscalerResourceLimits
    Optionally set upper and lower bounds on the resource usage of the cluster.
    autoHeadroomPercentage number
    Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
    cooldown number
    Cooldown period between scaling actions.
    down OceanImportAutoscalerDown
    Auto Scaling scale down operations.
    enableAutomaticAndManualHeadroom boolean
    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.
    headroom OceanImportAutoscalerHeadroom
    Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
    isAutoConfig boolean
    Automatically configure and optimize headroom resources.
    isEnabled boolean
    Enable the Ocean Kubernetes Autoscaler.
    resourceLimits OceanImportAutoscalerResourceLimits
    Optionally set upper and lower bounds on the resource usage of the cluster.
    auto_headroom_percentage int
    Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
    cooldown int
    Cooldown period between scaling actions.
    down OceanImportAutoscalerDown
    Auto Scaling scale down operations.
    enable_automatic_and_manual_headroom bool
    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.
    headroom OceanImportAutoscalerHeadroom
    Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
    is_auto_config bool
    Automatically configure and optimize headroom resources.
    is_enabled bool
    Enable the Ocean Kubernetes Autoscaler.
    resource_limits OceanImportAutoscalerResourceLimits
    Optionally set upper and lower bounds on the resource usage of the cluster.
    autoHeadroomPercentage Number
    Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
    cooldown Number
    Cooldown period between scaling actions.
    down Property Map
    Auto Scaling scale down operations.
    enableAutomaticAndManualHeadroom Boolean
    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.
    headroom Property Map
    Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
    isAutoConfig Boolean
    Automatically configure and optimize headroom resources.
    isEnabled Boolean
    Enable the Ocean Kubernetes Autoscaler.
    resourceLimits Property Map
    Optionally set upper and lower bounds on the resource usage of the cluster.

    OceanImportAutoscalerDown, OceanImportAutoscalerDownArgs

    EvaluationPeriods int
    The number of evaluation periods that should accumulate before a scale down action takes place.
    MaxScaleDownPercentage double
    Would represent the maximum % to scale-down. Number between 1-100.
    EvaluationPeriods int
    The number of evaluation periods that should accumulate before a scale down action takes place.
    MaxScaleDownPercentage float64
    Would represent the maximum % to scale-down. Number between 1-100.
    evaluationPeriods Integer
    The number of evaluation periods that should accumulate before a scale down action takes place.
    maxScaleDownPercentage Double
    Would represent the maximum % to scale-down. Number between 1-100.
    evaluationPeriods number
    The number of evaluation periods that should accumulate before a scale down action takes place.
    maxScaleDownPercentage number
    Would represent the maximum % to scale-down. Number between 1-100.
    evaluation_periods int
    The number of evaluation periods that should accumulate before a scale down action takes place.
    max_scale_down_percentage float
    Would represent the maximum % to scale-down. Number between 1-100.
    evaluationPeriods Number
    The number of evaluation periods that should accumulate before a scale down action takes place.
    maxScaleDownPercentage Number
    Would represent the maximum % to scale-down. Number between 1-100.

    OceanImportAutoscalerHeadroom, OceanImportAutoscalerHeadroomArgs

    CpuPerUnit int
    Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
    GpuPerUnit int
    How much GPU allocate for headroom unit.
    MemoryPerUnit int
    Optionally configure the amount of memory (MiB) to allocate the headroom.
    NumOfUnits int
    The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
    CpuPerUnit int
    Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
    GpuPerUnit int
    How much GPU allocate for headroom unit.
    MemoryPerUnit int
    Optionally configure the amount of memory (MiB) to allocate the headroom.
    NumOfUnits int
    The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
    cpuPerUnit Integer
    Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
    gpuPerUnit Integer
    How much GPU allocate for headroom unit.
    memoryPerUnit Integer
    Optionally configure the amount of memory (MiB) to allocate the headroom.
    numOfUnits Integer
    The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
    cpuPerUnit number
    Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
    gpuPerUnit number
    How much GPU allocate for headroom unit.
    memoryPerUnit number
    Optionally configure the amount of memory (MiB) to allocate the headroom.
    numOfUnits number
    The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
    cpu_per_unit int
    Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
    gpu_per_unit int
    How much GPU allocate for headroom unit.
    memory_per_unit int
    Optionally configure the amount of memory (MiB) to allocate the headroom.
    num_of_units int
    The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
    cpuPerUnit Number
    Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
    gpuPerUnit Number
    How much GPU allocate for headroom unit.
    memoryPerUnit Number
    Optionally configure the amount of memory (MiB) to allocate the headroom.
    numOfUnits Number
    The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.

    OceanImportAutoscalerResourceLimits, OceanImportAutoscalerResourceLimitsArgs

    MaxMemoryGib int
    The maximum memory in GiB units that can be allocated to the cluster.
    MaxVcpu int
    The maximum cpu in vCpu units that can be allocated to the cluster.
    MaxMemoryGib int
    The maximum memory in GiB units that can be allocated to the cluster.
    MaxVcpu int
    The maximum cpu in vCpu units that can be allocated to the cluster.
    maxMemoryGib Integer
    The maximum memory in GiB units that can be allocated to the cluster.
    maxVcpu Integer
    The maximum cpu in vCpu units that can be allocated to the cluster.
    maxMemoryGib number
    The maximum memory in GiB units that can be allocated to the cluster.
    maxVcpu number
    The maximum cpu in vCpu units that can be allocated to the cluster.
    max_memory_gib int
    The maximum memory in GiB units that can be allocated to the cluster.
    max_vcpu int
    The maximum cpu in vCpu units that can be allocated to the cluster.
    maxMemoryGib Number
    The maximum memory in GiB units that can be allocated to the cluster.
    maxVcpu Number
    The maximum cpu in vCpu units that can be allocated to the cluster.

    OceanImportBackendService, OceanImportBackendServiceArgs

    ServiceName string
    The name of the backend service.
    LocationType string
    Sets which location the backend services will be active. Valid values: regional, global.
    NamedPorts List<Pulumi.SpotInst.Gke.Inputs.OceanImportBackendServiceNamedPort>
    Scheme string
    Use when location_type 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.
    ServiceName string
    The name of the backend service.
    LocationType string
    Sets which location the backend services will be active. Valid values: regional, global.
    NamedPorts []OceanImportBackendServiceNamedPort
    Scheme string
    Use when location_type 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.
    serviceName String
    The name of the backend service.
    locationType String
    Sets which location the backend services will be active. Valid values: regional, global.
    namedPorts List<OceanImportBackendServiceNamedPort>
    scheme String
    Use when location_type 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.
    serviceName string
    The name of the backend service.
    locationType string
    Sets which location the backend services will be active. Valid values: regional, global.
    namedPorts OceanImportBackendServiceNamedPort[]
    scheme string
    Use when location_type 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.
    service_name str
    The name of the backend service.
    location_type str
    Sets which location the backend services will be active. Valid values: regional, global.
    named_ports Sequence[OceanImportBackendServiceNamedPort]
    scheme str
    Use when location_type 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.
    serviceName String
    The name of the backend service.
    locationType String
    Sets which location the backend services will be active. Valid values: regional, global.
    namedPorts List<Property Map>
    scheme String
    Use when location_type 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.

    OceanImportBackendServiceNamedPort, OceanImportBackendServiceNamedPortArgs

    Name string
    Ports List<string>
    Name string
    Ports []string
    name String
    ports List<String>
    name string
    ports string[]
    name str
    ports Sequence[str]
    name String
    ports List<String>

    OceanImportScheduledTask, OceanImportScheduledTaskArgs

    ShutdownHours OceanImportScheduledTaskShutdownHours
    Set shutdown hours for cluster object.
    Tasks []OceanImportScheduledTaskTask
    The scheduling tasks for the cluster.
    shutdownHours OceanImportScheduledTaskShutdownHours
    Set shutdown hours for cluster object.
    tasks List<OceanImportScheduledTaskTask>
    The scheduling tasks for the cluster.
    shutdownHours OceanImportScheduledTaskShutdownHours
    Set shutdown hours for cluster object.
    tasks OceanImportScheduledTaskTask[]
    The scheduling tasks for the cluster.
    shutdown_hours OceanImportScheduledTaskShutdownHours
    Set shutdown hours for cluster object.
    tasks Sequence[OceanImportScheduledTaskTask]
    The scheduling tasks for the cluster.
    shutdownHours Property Map
    Set shutdown hours for cluster object.
    tasks List<Property Map>
    The scheduling tasks for the cluster.

    OceanImportScheduledTaskShutdownHours, OceanImportScheduledTaskShutdownHoursArgs

    TimeWindows List<string>
    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 Example: Fri:15:30-Wed:14:30
    IsEnabled bool
    Flag to enable / disable the shutdown hours. Example: True
    TimeWindows []string
    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 Example: Fri:15:30-Wed:14:30
    IsEnabled bool
    Flag to enable / disable the shutdown hours. Example: True
    timeWindows List<String>
    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 Example: Fri:15:30-Wed:14:30
    isEnabled Boolean
    Flag to enable / disable the shutdown hours. Example: True
    timeWindows string[]
    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 Example: Fri:15:30-Wed:14:30
    isEnabled boolean
    Flag to enable / disable the shutdown hours. Example: True
    time_windows Sequence[str]
    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 Example: Fri:15:30-Wed:14:30
    is_enabled bool
    Flag to enable / disable the shutdown hours. Example: True
    timeWindows List<String>
    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 Example: Fri:15:30-Wed:14:30
    isEnabled Boolean
    Flag to enable / disable the shutdown hours. Example: True

    OceanImportScheduledTaskTask, OceanImportScheduledTaskTaskArgs

    CronExpression string
    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 Example: 0 1 * * *
    IsEnabled bool
    Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
    TaskType string
    Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
    TaskParameters Pulumi.SpotInst.Gke.Inputs.OceanImportScheduledTaskTaskTaskParameters
    The scheduling parameters for the cluster.
    CronExpression string
    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 Example: 0 1 * * *
    IsEnabled bool
    Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
    TaskType string
    Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
    TaskParameters OceanImportScheduledTaskTaskTaskParameters
    The scheduling parameters for the cluster.
    cronExpression String
    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 Example: 0 1 * * *
    isEnabled Boolean
    Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
    taskType String
    Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
    taskParameters OceanImportScheduledTaskTaskTaskParameters
    The scheduling parameters for the cluster.
    cronExpression string
    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 Example: 0 1 * * *
    isEnabled boolean
    Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
    taskType string
    Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
    taskParameters OceanImportScheduledTaskTaskTaskParameters
    The scheduling parameters for the cluster.
    cron_expression str
    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 Example: 0 1 * * *
    is_enabled bool
    Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
    task_type str
    Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
    task_parameters OceanImportScheduledTaskTaskTaskParameters
    The scheduling parameters for the cluster.
    cronExpression String
    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 Example: 0 1 * * *
    isEnabled Boolean
    Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
    taskType String
    Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
    taskParameters Property Map
    The scheduling parameters for the cluster.

    OceanImportScheduledTaskTaskTaskParameters, OceanImportScheduledTaskTaskTaskParametersArgs

    ClusterRoll OceanImportScheduledTaskTaskTaskParametersClusterRoll
    The cluster roll parameters for the cluster.
    clusterRoll OceanImportScheduledTaskTaskTaskParametersClusterRoll
    The cluster roll parameters for the cluster.
    clusterRoll OceanImportScheduledTaskTaskTaskParametersClusterRoll
    The cluster roll parameters for the cluster.
    cluster_roll OceanImportScheduledTaskTaskTaskParametersClusterRoll
    The cluster roll parameters for the cluster.
    clusterRoll Property Map
    The cluster roll parameters for the cluster.

    OceanImportScheduledTaskTaskTaskParametersClusterRoll, OceanImportScheduledTaskTaskTaskParametersClusterRollArgs

    BatchMinHealthyPercentage int
    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.
    BatchSizePercentage int
    Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
    Comment string
    Add a comment description for the roll. The comment is limited to 256 chars.
    RespectPdb bool
    During the roll, if the parameter is set to true we honor PDB during the instance replacement.
    BatchMinHealthyPercentage int
    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.
    BatchSizePercentage int
    Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
    Comment string
    Add a comment description for the roll. The comment is limited to 256 chars.
    RespectPdb bool
    During the roll, if the parameter is set to true we honor PDB during the instance replacement.
    batchMinHealthyPercentage Integer
    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.
    batchSizePercentage Integer
    Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
    comment String
    Add a comment description for the roll. The comment is limited to 256 chars.
    respectPdb Boolean
    During the roll, if the parameter is set to true we honor PDB during the instance replacement.
    batchMinHealthyPercentage number
    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.
    batchSizePercentage number
    Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
    comment string
    Add a comment description for the roll. The comment is limited to 256 chars.
    respectPdb boolean
    During the roll, if the parameter is set to true we honor PDB during the instance replacement.
    batch_min_healthy_percentage int
    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.
    batch_size_percentage int
    Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
    comment str
    Add a comment description for the roll. The comment is limited to 256 chars.
    respect_pdb bool
    During the roll, if the parameter is set to true we honor PDB during the instance replacement.
    batchMinHealthyPercentage Number
    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.
    batchSizePercentage Number
    Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
    comment String
    Add a comment description for the roll. The comment is limited to 256 chars.
    respectPdb Boolean
    During the roll, if the parameter is set to true we honor PDB during the instance replacement.

    OceanImportShieldedInstanceConfig, OceanImportShieldedInstanceConfigArgs

    EnableIntegrityMonitoring bool
    Boolean. Enable the integrity monitoring parameter on the GCP instances.
    EnableSecureBoot bool
    Boolean. Enable the secure boot parameter on the GCP instances.
    EnableIntegrityMonitoring bool
    Boolean. Enable the integrity monitoring parameter on the GCP instances.
    EnableSecureBoot bool
    Boolean. Enable the secure boot parameter on the GCP instances.
    enableIntegrityMonitoring Boolean
    Boolean. Enable the integrity monitoring parameter on the GCP instances.
    enableSecureBoot Boolean
    Boolean. Enable the secure boot parameter on the GCP instances.
    enableIntegrityMonitoring boolean
    Boolean. Enable the integrity monitoring parameter on the GCP instances.
    enableSecureBoot boolean
    Boolean. Enable the secure boot parameter on the GCP instances.
    enable_integrity_monitoring bool
    Boolean. Enable the integrity monitoring parameter on the GCP instances.
    enable_secure_boot bool
    Boolean. Enable the secure boot parameter on the GCP instances.
    enableIntegrityMonitoring Boolean
    Boolean. Enable the integrity monitoring parameter on the GCP instances.
    enableSecureBoot Boolean
    Boolean. Enable the secure boot parameter on the GCP instances.

    OceanImportStrategy, OceanImportStrategyArgs

    DrainingTimeout int
    The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
    PreemptiblePercentage int
    Defines the desired preemptible percentage for the cluster.
    ProvisioningModel string
    Define the provisioning model of the launched instances. Valid values: SPOT, PREEMPTIBLE.
    DrainingTimeout int
    The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
    PreemptiblePercentage int
    Defines the desired preemptible percentage for the cluster.
    ProvisioningModel string
    Define the provisioning model of the launched instances. Valid values: SPOT, PREEMPTIBLE.
    drainingTimeout Integer
    The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
    preemptiblePercentage Integer
    Defines the desired preemptible percentage for the cluster.
    provisioningModel String
    Define the provisioning model of the launched instances. Valid values: SPOT, PREEMPTIBLE.
    drainingTimeout number
    The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
    preemptiblePercentage number
    Defines the desired preemptible percentage for the cluster.
    provisioningModel string
    Define the provisioning model of the launched instances. Valid values: SPOT, PREEMPTIBLE.
    draining_timeout int
    The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
    preemptible_percentage int
    Defines the desired preemptible percentage for the cluster.
    provisioning_model str
    Define the provisioning model of the launched instances. Valid values: SPOT, PREEMPTIBLE.
    drainingTimeout Number
    The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
    preemptiblePercentage Number
    Defines the desired preemptible percentage for the cluster.
    provisioningModel String
    Define the provisioning model of the launched instances. Valid values: SPOT, PREEMPTIBLE.

    OceanImportUpdatePolicy, OceanImportUpdatePolicyArgs

    ShouldRoll bool
    Enables the roll.
    ConditionedRoll bool
    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).
    RollConfig Pulumi.SpotInst.Gke.Inputs.OceanImportUpdatePolicyRollConfig
    Holds the roll configuration.
    ShouldRoll bool
    Enables the roll.
    ConditionedRoll bool
    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).
    RollConfig OceanImportUpdatePolicyRollConfig
    Holds the roll configuration.
    shouldRoll Boolean
    Enables the roll.
    conditionedRoll Boolean
    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).
    rollConfig OceanImportUpdatePolicyRollConfig
    Holds the roll configuration.
    shouldRoll boolean
    Enables the roll.
    conditionedRoll boolean
    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).
    rollConfig OceanImportUpdatePolicyRollConfig
    Holds the roll configuration.
    should_roll bool
    Enables the roll.
    conditioned_roll bool
    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).
    roll_config OceanImportUpdatePolicyRollConfig
    Holds the roll configuration.
    shouldRoll Boolean
    Enables the roll.
    conditionedRoll Boolean
    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).
    rollConfig Property Map
    Holds the roll configuration.

    OceanImportUpdatePolicyRollConfig, OceanImportUpdatePolicyRollConfigArgs

    BatchSizePercentage int
    Sets the percentage of the instances to deploy in each batch.
    BatchMinHealthyPercentage int
    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.
    LaunchSpecIds List<string>
    List of Virtual Node Group identifiers to be rolled.
    RespectPdb bool
    Default: False. During the roll, if the parameter is set to True we honor PDB during the instance replacement.
    BatchSizePercentage int
    Sets the percentage of the instances to deploy in each batch.
    BatchMinHealthyPercentage int
    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.
    LaunchSpecIds []string
    List of Virtual Node Group identifiers to be rolled.
    RespectPdb bool
    Default: False. During the roll, if the parameter is set to True we honor PDB during the instance replacement.
    batchSizePercentage Integer
    Sets the percentage of the instances to deploy in each batch.
    batchMinHealthyPercentage Integer
    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.
    launchSpecIds List<String>
    List of Virtual Node Group identifiers to be rolled.
    respectPdb Boolean
    Default: False. During the roll, if the parameter is set to True we honor PDB during the instance replacement.
    batchSizePercentage number
    Sets the percentage of the instances to deploy in each batch.
    batchMinHealthyPercentage number
    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.
    launchSpecIds string[]
    List of Virtual Node Group identifiers to be rolled.
    respectPdb boolean
    Default: False. During the roll, if the parameter is set to True we honor PDB during the instance replacement.
    batch_size_percentage int
    Sets the percentage of the instances to deploy in each batch.
    batch_min_healthy_percentage int
    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.
    launch_spec_ids Sequence[str]
    List of Virtual Node Group identifiers to be rolled.
    respect_pdb bool
    Default: False. During the roll, if the parameter is set to True we honor PDB during the instance replacement.
    batchSizePercentage Number
    Sets the percentage of the instances to deploy in each batch.
    batchMinHealthyPercentage Number
    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.
    launchSpecIds List<String>
    List of Virtual Node Group identifiers to be rolled.
    respectPdb Boolean
    Default: False. During the roll, if the parameter is set to True we honor PDB during the instance replacement.

    Package Details

    Repository
    Spotinst pulumi/pulumi-spotinst
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the spotinst Terraform Provider.
    spotinst logo
    Spotinst v3.81.0 published on Monday, Jun 24, 2024 by Pulumi