Package com.pulumi.gcp.tpu
Class V2VmArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.tpu.V2VmArgs
-
public final class V2VmArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
V2VmArgs.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<V2VmAcceleratorConfigArgs>>
acceleratorConfig()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
acceleratorType()
static V2VmArgs.Builder
builder()
static V2VmArgs.Builder
builder(V2VmArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
cidrBlock()
java.util.Optional<com.pulumi.core.Output<java.util.List<V2VmDataDiskArgs>>>
dataDisks()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
description()
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.util.Map<java.lang.String,java.lang.String>>>
metadata()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
name()
java.util.Optional<com.pulumi.core.Output<V2VmNetworkConfigArgs>>
networkConfig()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
project()
com.pulumi.core.Output<java.lang.String>
runtimeVersion()
java.util.Optional<com.pulumi.core.Output<V2VmSchedulingConfigArgs>>
schedulingConfig()
java.util.Optional<com.pulumi.core.Output<V2VmServiceAccountArgs>>
serviceAccount()
java.util.Optional<com.pulumi.core.Output<V2VmShieldedInstanceConfigArgs>>
shieldedInstanceConfig()
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 V2VmArgs Empty
-
-
Method Detail
-
acceleratorConfig
public java.util.Optional<com.pulumi.core.Output<V2VmAcceleratorConfigArgs>> acceleratorConfig()
- Returns:
- The AccleratorConfig for the TPU Node. `accelerator_config` cannot be used at the same time as `accelerator_type`. If neither is specified, `accelerator_type` defaults to 'v2-8'. Structure is documented below.
-
acceleratorType
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> acceleratorType()
- Returns:
- TPU accelerator type for the TPU. `accelerator_type` cannot be used at the same time as `accelerator_config`. If neither is specified, `accelerator_type` defaults to 'v2-8'.
-
cidrBlock
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> cidrBlock()
- Returns:
- The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
-
dataDisks
public java.util.Optional<com.pulumi.core.Output<java.util.List<V2VmDataDiskArgs>>> dataDisks()
- Returns:
- The additional data disks for the Node. Structure is documented below.
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- Text description of the TPU.
-
labels
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> labels()
- Returns:
- Resource labels to represent user-provided metadata. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource.
-
metadata
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> metadata()
- Returns:
- Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script.
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- The immutable name of the TPU.
-
networkConfig
public java.util.Optional<com.pulumi.core.Output<V2VmNetworkConfigArgs>> networkConfig()
- Returns:
- Network configurations for the TPU node. Structure is documented below.
-
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 it is not provided, the provider project is used.
-
runtimeVersion
public com.pulumi.core.Output<java.lang.String> runtimeVersion()
- Returns:
- Runtime version for the TPU. ***
-
schedulingConfig
public java.util.Optional<com.pulumi.core.Output<V2VmSchedulingConfigArgs>> schedulingConfig()
- Returns:
- The scheduling options for this node. Structure is documented below.
-
serviceAccount
public java.util.Optional<com.pulumi.core.Output<V2VmServiceAccountArgs>> serviceAccount()
- Returns:
- The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used. Structure is documented below.
-
shieldedInstanceConfig
public java.util.Optional<com.pulumi.core.Output<V2VmShieldedInstanceConfigArgs>> shieldedInstanceConfig()
- Returns:
- Shielded Instance options. Structure is documented below.
-
tags
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> tags()
- Returns:
- Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
-
zone
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> zone()
- Returns:
- The GCP location for the TPU. If it is not provided, the provider zone is used.
-
builder
public static V2VmArgs.Builder builder()
-
builder
public static V2VmArgs.Builder builder(V2VmArgs defaults)
-
-