1. Packages
  2. Spotinst
  3. API Docs
  4. gke
  5. OceanImport
Spotinst v3.76.0 published on Wednesday, Apr 24, 2024 by Pulumi

spotinst.gke.OceanImport

Explore with Pulumi AI

spotinst logo
Spotinst v3.76.0 published on Wednesday, Apr 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.

    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
    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>
    ShieldedInstanceConfig Pulumi.SpotInst.Gke.Inputs.OceanImportShieldedInstanceConfig
    The Ocean shielded instance configuration object.
    Strategies List<Pulumi.SpotInst.Gke.Inputs.OceanImportStrategy>
    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
    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
    ShieldedInstanceConfig OceanImportShieldedInstanceConfigArgs
    The Ocean shielded instance configuration object.
    Strategies []OceanImportStrategyArgs
    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
    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>
    shieldedInstanceConfig OceanImportShieldedInstanceConfig
    The Ocean shielded instance configuration object.
    strategies List<OceanImportStrategy>
    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
    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[]
    shieldedInstanceConfig OceanImportShieldedInstanceConfig
    The Ocean shielded instance configuration object.
    strategies OceanImportStrategy[]
    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
    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]
    shielded_instance_config OceanImportShieldedInstanceConfigArgs
    The Ocean shielded instance configuration object.
    strategies Sequence[OceanImportStrategyArgs]
    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
    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>
    shieldedInstanceConfig Property Map
    The Ocean shielded instance configuration object.
    strategies List<Property Map>
    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
    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>
    ShieldedInstanceConfig Pulumi.SpotInst.Gke.Inputs.OceanImportShieldedInstanceConfig
    The Ocean shielded instance configuration object.
    Strategies List<Pulumi.SpotInst.Gke.Inputs.OceanImportStrategy>
    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
    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
    ShieldedInstanceConfig OceanImportShieldedInstanceConfigArgs
    The Ocean shielded instance configuration object.
    Strategies []OceanImportStrategyArgs
    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
    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>
    shieldedInstanceConfig OceanImportShieldedInstanceConfig
    The Ocean shielded instance configuration object.
    strategies List<OceanImportStrategy>
    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
    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[]
    shieldedInstanceConfig OceanImportShieldedInstanceConfig
    The Ocean shielded instance configuration object.
    strategies OceanImportStrategy[]
    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
    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]
    shielded_instance_config OceanImportShieldedInstanceConfigArgs
    The Ocean shielded instance configuration object.
    strategies Sequence[OceanImportStrategyArgs]
    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
    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>
    shieldedInstanceConfig Property Map
    The Ocean shielded instance configuration object.
    strategies List<Property Map>
    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

    OceanImportAutoscalerDown, OceanImportAutoscalerDownArgs

    OceanImportAutoscalerHeadroom, OceanImportAutoscalerHeadroomArgs

    cpuPerUnit Integer
    gpuPerUnit Integer
    memoryPerUnit Integer
    numOfUnits Integer

    OceanImportAutoscalerResourceLimits, OceanImportAutoscalerResourceLimitsArgs

    maxMemoryGib Integer
    maxVcpu Integer
    maxMemoryGib number
    maxVcpu number
    maxMemoryGib Number
    maxVcpu Number

    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

    OceanImportScheduledTaskShutdownHours, OceanImportScheduledTaskShutdownHoursArgs

    TimeWindows List<string>
    IsEnabled bool
    TimeWindows []string
    IsEnabled bool
    timeWindows List<String>
    isEnabled Boolean
    timeWindows string[]
    isEnabled boolean
    time_windows Sequence[str]
    is_enabled bool
    timeWindows List<String>
    isEnabled Boolean

    OceanImportScheduledTaskTask, OceanImportScheduledTaskTaskArgs

    OceanImportScheduledTaskTaskTaskParameters, OceanImportScheduledTaskTaskTaskParametersArgs

    OceanImportScheduledTaskTaskTaskParametersClusterRoll, OceanImportScheduledTaskTaskTaskParametersClusterRollArgs

    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.
    PreemptiblePercentage int
    ProvisioningModel string
    DrainingTimeout int
    The draining timeout (in seconds) before terminating the instance.
    PreemptiblePercentage int
    ProvisioningModel string
    drainingTimeout Integer
    The draining timeout (in seconds) before terminating the instance.
    preemptiblePercentage Integer
    provisioningModel String
    drainingTimeout number
    The draining timeout (in seconds) before terminating the instance.
    preemptiblePercentage number
    provisioningModel string
    draining_timeout int
    The draining timeout (in seconds) before terminating the instance.
    preemptible_percentage int
    provisioning_model str
    drainingTimeout Number
    The draining timeout (in seconds) before terminating the instance.
    preemptiblePercentage Number
    provisioningModel String

    OceanImportUpdatePolicy, OceanImportUpdatePolicyArgs

    OceanImportUpdatePolicyRollConfig, OceanImportUpdatePolicyRollConfigArgs

    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.76.0 published on Wednesday, Apr 24, 2024 by Pulumi