Spotinst v3.76.1 published on Friday, Apr 26, 2024 by Pulumi
spotinst.gke.OceanImport
Explore with Pulumi AI
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:
- Cluster
Name string - The GKE cluster name.
- Location string
- The zone the master cluster is located in.
- Autoscaler
Pulumi.
Spot Inst. Gke. Inputs. Ocean Import Autoscaler - Backend
Services List<Pulumi.Spot Inst. Gke. Inputs. Ocean Import Backend Service> - 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.
- Controller
Cluster stringId - 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 stringType - The root volume disk type.
- Scheduled
Tasks List<Pulumi.Spot Inst. Gke. Inputs. Ocean Import Scheduled Task> - Shielded
Instance Pulumi.Config Spot Inst. Gke. Inputs. Ocean Import Shielded Instance Config - The Ocean shielded instance configuration object.
- Strategies
List<Pulumi.
Spot Inst. Gke. Inputs. Ocean Import Strategy> - Update
Policy Pulumi.Spot Inst. Gke. Inputs. Ocean Import Update Policy - Use
As boolTemplate Only - 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.
- Cluster
Name string - The GKE cluster name.
- Location string
- The zone the master cluster is located in.
- Autoscaler
Ocean
Import Autoscaler Args - Backend
Services []OceanImport Backend Service Args - Describes the backend service configurations.
- Blacklists []string
- Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
- Controller
Cluster stringId - 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 stringType - The root volume disk type.
- Scheduled
Tasks []OceanImport Scheduled Task Args - Shielded
Instance OceanConfig Import Shielded Instance Config Args - The Ocean shielded instance configuration object.
- Strategies
[]Ocean
Import Strategy Args - Update
Policy OceanImport Update Policy Args - Use
As boolTemplate Only - 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 String - The GKE cluster name.
- location String
- The zone the master cluster is located in.
- autoscaler
Ocean
Import Autoscaler - backend
Services List<OceanImport Backend Service> - 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.
- controller
Cluster StringId - 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 Integer - The number of instances to launch and maintain in the cluster.
- max
Size Integer - The upper limit of instances the cluster can scale up to.
- min
Size Integer - The lower limit of instances the cluster can scale down to.
- root
Volume StringType - The root volume disk type.
- scheduled
Tasks List<OceanImport Scheduled Task> - shielded
Instance OceanConfig Import Shielded Instance Config - The Ocean shielded instance configuration object.
- strategies
List<Ocean
Import Strategy> - update
Policy OceanImport Update Policy - use
As BooleanTemplate Only - 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.
- cluster
Name string - The GKE cluster name.
- location string
- The zone the master cluster is located in.
- autoscaler
Ocean
Import Autoscaler - backend
Services OceanImport Backend Service[] - Describes the backend service configurations.
- blacklists string[]
- Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
- controller
Cluster stringId - 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 number - The number of instances to launch and maintain in the cluster.
- max
Size number - The upper limit of instances the cluster can scale up to.
- min
Size number - The lower limit of instances the cluster can scale down to.
- root
Volume stringType - The root volume disk type.
- scheduled
Tasks OceanImport Scheduled Task[] - shielded
Instance OceanConfig Import Shielded Instance Config - The Ocean shielded instance configuration object.
- strategies
Ocean
Import Strategy[] - update
Policy OceanImport Update Policy - use
As booleanTemplate Only - 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
Ocean
Import Autoscaler Args - backend_
services Sequence[OceanImport Backend Service Args] - 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_ strid - 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_ strtype - The root volume disk type.
- scheduled_
tasks Sequence[OceanImport Scheduled Task Args] - shielded_
instance_ Oceanconfig Import Shielded Instance Config Args - The Ocean shielded instance configuration object.
- strategies
Sequence[Ocean
Import Strategy Args] - update_
policy OceanImport Update Policy Args - use_
as_ booltemplate_ only - 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.
- cluster
Name String - The GKE cluster name.
- location String
- The zone the master cluster is located in.
- autoscaler Property Map
- backend
Services 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.
- controller
Cluster StringId - 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 Number - The number of instances to launch and maintain in the cluster.
- max
Size Number - The upper limit of instances the cluster can scale up to.
- min
Size Number - The lower limit of instances the cluster can scale down to.
- root
Volume StringType - The root volume disk type.
- scheduled
Tasks List<Property Map> - shielded
Instance Property MapConfig - The Ocean shielded instance configuration object.
- strategies List<Property Map>
- update
Policy Property Map - use
As BooleanTemplate Only - 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:
- Cluster
Controller stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Cluster
Controller stringId - Id string
- The provider-assigned unique ID for this managed resource.
- cluster
Controller StringId - id String
- The provider-assigned unique ID for this managed resource.
- cluster
Controller stringId - id string
- The provider-assigned unique ID for this managed resource.
- cluster_
controller_ strid - id str
- The provider-assigned unique ID for this managed resource.
- cluster
Controller StringId - 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.
- Autoscaler
Pulumi.
Spot Inst. Gke. Inputs. Ocean Import Autoscaler - Backend
Services List<Pulumi.Spot Inst. Gke. Inputs. Ocean Import Backend Service> - 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.
- Cluster
Controller stringId - Cluster
Name string - The GKE cluster name.
- Controller
Cluster stringId - 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 string
- 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 stringType - The root volume disk type.
- Scheduled
Tasks List<Pulumi.Spot Inst. Gke. Inputs. Ocean Import Scheduled Task> - Shielded
Instance Pulumi.Config Spot Inst. Gke. Inputs. Ocean Import Shielded Instance Config - The Ocean shielded instance configuration object.
- Strategies
List<Pulumi.
Spot Inst. Gke. Inputs. Ocean Import Strategy> - Update
Policy Pulumi.Spot Inst. Gke. Inputs. Ocean Import Update Policy - Use
As boolTemplate Only - 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
Ocean
Import Autoscaler Args - Backend
Services []OceanImport Backend Service Args - Describes the backend service configurations.
- Blacklists []string
- Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
- Cluster
Controller stringId - Cluster
Name string - The GKE cluster name.
- Controller
Cluster stringId - 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 string
- 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 stringType - The root volume disk type.
- Scheduled
Tasks []OceanImport Scheduled Task Args - Shielded
Instance OceanConfig Import Shielded Instance Config Args - The Ocean shielded instance configuration object.
- Strategies
[]Ocean
Import Strategy Args - Update
Policy OceanImport Update Policy Args - Use
As boolTemplate Only - 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
Ocean
Import Autoscaler - backend
Services List<OceanImport Backend Service> - 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.
- cluster
Controller StringId - cluster
Name String - The GKE cluster name.
- controller
Cluster StringId - 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 Integer - The number of instances to launch and maintain in the cluster.
- location String
- The zone the master cluster is located in.
- max
Size Integer - The upper limit of instances the cluster can scale up to.
- min
Size Integer - The lower limit of instances the cluster can scale down to.
- root
Volume StringType - The root volume disk type.
- scheduled
Tasks List<OceanImport Scheduled Task> - shielded
Instance OceanConfig Import Shielded Instance Config - The Ocean shielded instance configuration object.
- strategies
List<Ocean
Import Strategy> - update
Policy OceanImport Update Policy - use
As BooleanTemplate Only - 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
Ocean
Import Autoscaler - backend
Services OceanImport Backend Service[] - Describes the backend service configurations.
- blacklists string[]
- Instance types to avoid launching in the Ocean cluster. Cannot be configured if whitelist list is configured.
- cluster
Controller stringId - cluster
Name string - The GKE cluster name.
- controller
Cluster stringId - 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 number - The number of instances to launch and maintain in the cluster.
- location string
- The zone the master cluster is located in.
- max
Size number - The upper limit of instances the cluster can scale up to.
- min
Size number - The lower limit of instances the cluster can scale down to.
- root
Volume stringType - The root volume disk type.
- scheduled
Tasks OceanImport Scheduled Task[] - shielded
Instance OceanConfig Import Shielded Instance Config - The Ocean shielded instance configuration object.
- strategies
Ocean
Import Strategy[] - update
Policy OceanImport Update Policy - use
As booleanTemplate Only - 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
Ocean
Import Autoscaler Args - backend_
services Sequence[OceanImport Backend Service Args] - 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_ strid - cluster_
name str - The GKE cluster name.
- controller_
cluster_ strid - 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_ strtype - The root volume disk type.
- scheduled_
tasks Sequence[OceanImport Scheduled Task Args] - shielded_
instance_ Oceanconfig Import Shielded Instance Config Args - The Ocean shielded instance configuration object.
- strategies
Sequence[Ocean
Import Strategy Args] - update_
policy OceanImport Update Policy Args - use_
as_ booltemplate_ only - 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
- backend
Services 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.
- cluster
Controller StringId - cluster
Name String - The GKE cluster name.
- controller
Cluster StringId - 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 Number - The number of instances to launch and maintain in the cluster.
- location String
- The zone the master cluster is located in.
- max
Size Number - The upper limit of instances the cluster can scale up to.
- min
Size Number - The lower limit of instances the cluster can scale down to.
- root
Volume StringType - The root volume disk type.
- scheduled
Tasks List<Property Map> - shielded
Instance Property MapConfig - The Ocean shielded instance configuration object.
- strategies List<Property Map>
- update
Policy Property Map - use
As BooleanTemplate Only - 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
- Auto
Headroom intPercentage - Cooldown int
- Down
Pulumi.
Spot Inst. Gke. Inputs. Ocean Import Autoscaler Down - Enable
Automatic boolAnd Manual Headroom - Headroom
Pulumi.
Spot Inst. Gke. Inputs. Ocean Import Autoscaler Headroom - Is
Auto boolConfig - Is
Enabled bool - Resource
Limits Pulumi.Spot Inst. Gke. Inputs. Ocean Import Autoscaler Resource Limits
- auto
Headroom NumberPercentage - cooldown Number
- down Property Map
- enable
Automatic BooleanAnd Manual Headroom - headroom Property Map
- is
Auto BooleanConfig - is
Enabled Boolean - resource
Limits Property Map
OceanImportAutoscalerDown, OceanImportAutoscalerDownArgs
- Evaluation
Periods int - Max
Scale doubleDown Percentage
- Evaluation
Periods int - Max
Scale float64Down Percentage
- evaluation
Periods Integer - max
Scale DoubleDown Percentage
- evaluation
Periods number - max
Scale numberDown Percentage
- evaluation
Periods Number - max
Scale NumberDown Percentage
OceanImportAutoscalerHeadroom, OceanImportAutoscalerHeadroomArgs
- Cpu
Per intUnit - Gpu
Per intUnit - Memory
Per intUnit - Num
Of intUnits
- Cpu
Per intUnit - Gpu
Per intUnit - Memory
Per intUnit - Num
Of intUnits
- cpu
Per IntegerUnit - gpu
Per IntegerUnit - memory
Per IntegerUnit - num
Of IntegerUnits
- cpu
Per numberUnit - gpu
Per numberUnit - memory
Per numberUnit - num
Of numberUnits
- cpu_
per_ intunit - gpu_
per_ intunit - memory_
per_ intunit - num_
of_ intunits
- cpu
Per NumberUnit - gpu
Per NumberUnit - memory
Per NumberUnit - num
Of NumberUnits
OceanImportAutoscalerResourceLimits, OceanImportAutoscalerResourceLimitsArgs
- Max
Memory intGib - Max
Vcpu int
- Max
Memory intGib - Max
Vcpu int
- max
Memory IntegerGib - max
Vcpu Integer
- max
Memory numberGib - max
Vcpu number
- max_
memory_ intgib - max_
vcpu int
- max
Memory NumberGib - max
Vcpu Number
OceanImportBackendService, OceanImportBackendServiceArgs
- Service
Name string - The name of the backend service.
- Location
Type string - Sets which location the backend services will be active. Valid values:
regional
,global
. - Named
Ports List<Pulumi.Spot Inst. Gke. Inputs. Ocean Import Backend Service Named Port> - Scheme string
- Use when
location_type
isregional
. 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 string - The name of the backend service.
- Location
Type string - Sets which location the backend services will be active. Valid values:
regional
,global
. - Named
Ports []OceanImport Backend Service Named Port - Scheme string
- Use when
location_type
isregional
. 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 String - The name of the backend service.
- location
Type String - Sets which location the backend services will be active. Valid values:
regional
,global
. - named
Ports List<OceanImport Backend Service Named Port> - scheme String
- Use when
location_type
isregional
. 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 string - The name of the backend service.
- location
Type string - Sets which location the backend services will be active. Valid values:
regional
,global
. - named
Ports OceanImport Backend Service Named Port[] - scheme string
- Use when
location_type
isregional
. 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[OceanImport Backend Service Named Port] - scheme str
- Use when
location_type
isregional
. 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 String - The name of the backend service.
- location
Type String - Sets which location the backend services will be active. Valid values:
regional
,global
. - named
Ports List<Property Map> - scheme String
- Use when
location_type
isregional
. 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
OceanImportScheduledTask, OceanImportScheduledTaskArgs
OceanImportScheduledTaskShutdownHours, OceanImportScheduledTaskShutdownHoursArgs
- Time
Windows List<string> - Is
Enabled bool
- Time
Windows []string - Is
Enabled bool
- time
Windows List<String> - is
Enabled Boolean
- time
Windows string[] - is
Enabled boolean
- time_
windows Sequence[str] - is_
enabled bool
- time
Windows List<String> - is
Enabled Boolean
OceanImportScheduledTaskTask, OceanImportScheduledTaskTaskArgs
- cron
Expression String - is
Enabled Boolean - task
Type String - task
Parameters OceanImport Scheduled Task Task Task Parameters
- cron
Expression string - is
Enabled boolean - task
Type string - task
Parameters OceanImport Scheduled Task Task Task Parameters
- cron
Expression String - is
Enabled Boolean - task
Type String - task
Parameters Property Map
OceanImportScheduledTaskTaskTaskParameters, OceanImportScheduledTaskTaskTaskParametersArgs
OceanImportScheduledTaskTaskTaskParametersClusterRoll, OceanImportScheduledTaskTaskTaskParametersClusterRollArgs
- Batch
Min intHealthy Percentage - Batch
Size intPercentage - Comment string
- Respect
Pdb bool
- Batch
Min intHealthy Percentage - Batch
Size intPercentage - Comment string
- Respect
Pdb bool
- batch
Min IntegerHealthy Percentage - batch
Size IntegerPercentage - comment String
- respect
Pdb Boolean
- batch
Min numberHealthy Percentage - batch
Size numberPercentage - comment string
- respect
Pdb boolean
- batch_
min_ inthealthy_ percentage - batch_
size_ intpercentage - comment str
- respect_
pdb bool
- batch
Min NumberHealthy Percentage - batch
Size NumberPercentage - comment String
- respect
Pdb Boolean
OceanImportShieldedInstanceConfig, OceanImportShieldedInstanceConfigArgs
- Enable
Integrity boolMonitoring - Boolean. Enable the integrity monitoring parameter on the GCP instances.
- Enable
Secure boolBoot - Boolean. Enable the secure boot parameter on the GCP instances.
- Enable
Integrity boolMonitoring - Boolean. Enable the integrity monitoring parameter on the GCP instances.
- Enable
Secure boolBoot - Boolean. Enable the secure boot parameter on the GCP instances.
- enable
Integrity BooleanMonitoring - Boolean. Enable the integrity monitoring parameter on the GCP instances.
- enable
Secure BooleanBoot - Boolean. Enable the secure boot parameter on the GCP instances.
- enable
Integrity booleanMonitoring - Boolean. Enable the integrity monitoring parameter on the GCP instances.
- enable
Secure booleanBoot - Boolean. Enable the secure boot parameter on the GCP instances.
- enable_
integrity_ boolmonitoring - Boolean. Enable the integrity monitoring parameter on the GCP instances.
- enable_
secure_ boolboot - Boolean. Enable the secure boot parameter on the GCP instances.
- enable
Integrity BooleanMonitoring - Boolean. Enable the integrity monitoring parameter on the GCP instances.
- enable
Secure BooleanBoot - Boolean. Enable the secure boot parameter on the GCP instances.
OceanImportStrategy, OceanImportStrategyArgs
- Draining
Timeout int - The draining timeout (in seconds) before terminating the instance.
- Preemptible
Percentage int - Provisioning
Model string
- Draining
Timeout int - The draining timeout (in seconds) before terminating the instance.
- Preemptible
Percentage int - Provisioning
Model string
- draining
Timeout Integer - The draining timeout (in seconds) before terminating the instance.
- preemptible
Percentage Integer - provisioning
Model String
- draining
Timeout number - The draining timeout (in seconds) before terminating the instance.
- preemptible
Percentage number - provisioning
Model string
- draining_
timeout int - The draining timeout (in seconds) before terminating the instance.
- preemptible_
percentage int - provisioning_
model str
- draining
Timeout Number - The draining timeout (in seconds) before terminating the instance.
- preemptible
Percentage Number - provisioning
Model String
OceanImportUpdatePolicy, OceanImportUpdatePolicyArgs
- should
Roll Boolean - conditioned
Roll Boolean - roll
Config OceanImport Update Policy Roll Config
- should
Roll boolean - conditioned
Roll boolean - roll
Config OceanImport Update Policy Roll Config
- should
Roll Boolean - conditioned
Roll Boolean - roll
Config Property Map
OceanImportUpdatePolicyRollConfig, OceanImportUpdatePolicyRollConfigArgs
- Batch
Size intPercentage - Batch
Min intHealthy Percentage - Launch
Spec List<string>Ids - Respect
Pdb bool
- Batch
Size intPercentage - Batch
Min intHealthy Percentage - Launch
Spec []stringIds - Respect
Pdb bool
- batch
Size IntegerPercentage - batch
Min IntegerHealthy Percentage - launch
Spec List<String>Ids - respect
Pdb Boolean
- batch
Size numberPercentage - batch
Min numberHealthy Percentage - launch
Spec string[]Ids - respect
Pdb boolean
- batch_
size_ intpercentage - batch_
min_ inthealthy_ percentage - launch_
spec_ Sequence[str]ids - respect_
pdb bool
- batch
Size NumberPercentage - batch
Min NumberHealthy Percentage - launch
Spec List<String>Ids - respect
Pdb Boolean
Package Details
- Repository
- Spotinst pulumi/pulumi-spotinst
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
spotinst
Terraform Provider.