Package com.pulumi.gcp.compute
Class InstanceFromMachineImageArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.compute.InstanceFromMachineImageArgs
-
public final class InstanceFromMachineImageArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InstanceFromMachineImageArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static InstanceFromMachineImageArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<InstanceFromMachineImageAdvancedMachineFeaturesArgs>>
advancedMachineFeatures()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
allowStoppingForUpdate()
static InstanceFromMachineImageArgs.Builder
builder()
static InstanceFromMachineImageArgs.Builder
builder(InstanceFromMachineImageArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
canIpForward()
java.util.Optional<com.pulumi.core.Output<InstanceFromMachineImageConfidentialInstanceConfigArgs>>
confidentialInstanceConfig()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
deletionProtection()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
description()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
desiredStatus()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
enableDisplay()
java.util.Optional<com.pulumi.core.Output<java.util.List<InstanceFromMachineImageGuestAcceleratorArgs>>>
guestAccelerators()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
hostname()
java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>
labels()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
machineType()
java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>
metadata()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
metadataStartupScript()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
minCpuPlatform()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
name()
java.util.Optional<com.pulumi.core.Output<java.util.List<InstanceFromMachineImageNetworkInterfaceArgs>>>
networkInterfaces()
java.util.Optional<com.pulumi.core.Output<InstanceFromMachineImageNetworkPerformanceConfigArgs>>
networkPerformanceConfig()
java.util.Optional<com.pulumi.core.Output<InstanceFromMachineImageParamsArgs>>
params()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
project()
java.util.Optional<com.pulumi.core.Output<InstanceFromMachineImageReservationAffinityArgs>>
reservationAffinity()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
resourcePolicies()
java.util.Optional<com.pulumi.core.Output<InstanceFromMachineImageSchedulingArgs>>
scheduling()
java.util.Optional<com.pulumi.core.Output<InstanceFromMachineImageServiceAccountArgs>>
serviceAccount()
java.util.Optional<com.pulumi.core.Output<InstanceFromMachineImageShieldedInstanceConfigArgs>>
shieldedInstanceConfig()
com.pulumi.core.Output<java.lang.String>
sourceMachineImage()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
tags()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
zone()
-
-
-
Field Detail
-
Empty
public static final InstanceFromMachineImageArgs Empty
-
-
Method Detail
-
advancedMachineFeatures
public java.util.Optional<com.pulumi.core.Output<InstanceFromMachineImageAdvancedMachineFeaturesArgs>> advancedMachineFeatures()
- Returns:
- Controls for advanced machine-related behavior features.
-
allowStoppingForUpdate
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> allowStoppingForUpdate()
- Returns:
- If true, allows Terraform to stop the instance to update its properties. If you try to update a property that requires stopping the instance without setting this field, the update will fail.
-
canIpForward
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> canIpForward()
- Returns:
- Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
-
confidentialInstanceConfig
public java.util.Optional<com.pulumi.core.Output<InstanceFromMachineImageConfidentialInstanceConfigArgs>> confidentialInstanceConfig()
- Returns:
- The Confidential VM config being used by the instance. on_host_maintenance has to be set to TERMINATE or this will fail to create.
-
deletionProtection
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> deletionProtection()
- Returns:
- Whether deletion protection is enabled on this instance.
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- A brief description of the resource.
-
desiredStatus
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> desiredStatus()
- Returns:
- Desired status of the instance. Either "RUNNING" or "TERMINATED".
-
enableDisplay
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableDisplay()
- Returns:
- Whether the instance has virtual displays enabled.
-
guestAccelerators
public java.util.Optional<com.pulumi.core.Output<java.util.List<InstanceFromMachineImageGuestAcceleratorArgs>>> guestAccelerators()
- Returns:
- List of the type and count of accelerator cards attached to the instance.
-
hostname
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> hostname()
- Returns:
- A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of labels 1-63 characters long matching the regular expression [a-z]([-a-z0-9]*[a-z0-9]), concatenated with periods. The entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
-
labels
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> labels()
- Returns:
- A set of key/value label pairs assigned to the instance.
-
machineType
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> machineType()
- Returns:
- The machine type to create.
-
metadata
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> metadata()
- Returns:
- Metadata key/value pairs made available within the instance.
-
metadataStartupScript
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> metadataStartupScript()
- Returns:
- Metadata startup scripts made available within the instance.
-
minCpuPlatform
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> minCpuPlatform()
- Returns:
- The minimum CPU platform specified for the VM instance.
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- A unique name for the resource, required by GCE. Changing this forces a new resource to be created.
-
networkInterfaces
public java.util.Optional<com.pulumi.core.Output<java.util.List<InstanceFromMachineImageNetworkInterfaceArgs>>> networkInterfaces()
- Returns:
- The networks attached to the instance.
-
networkPerformanceConfig
public java.util.Optional<com.pulumi.core.Output<InstanceFromMachineImageNetworkPerformanceConfigArgs>> networkPerformanceConfig()
- Returns:
- Configures network performance settings for the instance. If not specified, the instance will be created with its default network performance configuration.
-
params
public java.util.Optional<com.pulumi.core.Output<InstanceFromMachineImageParamsArgs>> params()
- Returns:
- Stores additional params passed with the request, but not persisted as part of resource payload.
-
project
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
- Returns:
- The ID of the project in which the resource belongs. If self_link is provided, this value is ignored. If neither self_link nor project are provided, the provider project is used.
-
reservationAffinity
public java.util.Optional<com.pulumi.core.Output<InstanceFromMachineImageReservationAffinityArgs>> reservationAffinity()
- Returns:
- Specifies the reservations that this instance can consume from.
-
resourcePolicies
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> resourcePolicies()
- Returns:
- A list of self_links of resource policies to attach to the instance. Currently a max of 1 resource policy is supported.
-
scheduling
public java.util.Optional<com.pulumi.core.Output<InstanceFromMachineImageSchedulingArgs>> scheduling()
- Returns:
- The scheduling strategy being used by the instance.
-
serviceAccount
public java.util.Optional<com.pulumi.core.Output<InstanceFromMachineImageServiceAccountArgs>> serviceAccount()
- Returns:
- The service account to attach to the instance.
-
shieldedInstanceConfig
public java.util.Optional<com.pulumi.core.Output<InstanceFromMachineImageShieldedInstanceConfigArgs>> shieldedInstanceConfig()
- Returns:
- The shielded vm config being used by the instance.
-
sourceMachineImage
public com.pulumi.core.Output<java.lang.String> sourceMachineImage()
- Returns:
- Name or self link of a machine image to create the instance based on. ***
-
tags
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> tags()
- Returns:
- The list of tags attached to the instance.
-
zone
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> zone()
- Returns:
- The zone that the machine should be created in. If not set, the provider zone is used. In addition to these, most* arguments from `gcp.compute.Instance` are supported as a way to override the properties in the machine image. All exported attributes from `gcp.compute.Instance` are likewise exported here. > **Warning:** *Due to API limitations, disk overrides are currently disabled. This includes the "boot_disk", "attached_disk", and "scratch_disk" fields.
-
builder
public static InstanceFromMachineImageArgs.Builder builder()
-
builder
public static InstanceFromMachineImageArgs.Builder builder(InstanceFromMachineImageArgs defaults)
-
-