Package com.pulumi.gcp.compute
Class TargetInstanceArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.compute.TargetInstanceArgs
-
public final class TargetInstanceArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TargetInstanceArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static TargetInstanceArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TargetInstanceArgs.Builder
builder()
static TargetInstanceArgs.Builder
builder(TargetInstanceArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
description()
com.pulumi.core.Output<java.lang.String>
instance()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
name()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
natPolicy()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
network()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
project()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
securityPolicy()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
zone()
-
-
-
Field Detail
-
Empty
public static final TargetInstanceArgs Empty
-
-
Method Detail
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- An optional description of this resource.
-
instance
public com.pulumi.core.Output<java.lang.String> instance()
- Returns:
- The Compute instance VM handling traffic for this target instance. Accepts the instance self-link, relative path (e.g. `projects/project/zones/zone/instances/instance`) or name. If name is given, the zone will default to the given zone or the provider-default zone and the project will default to the provider-level project. ***
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `a-z?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
-
natPolicy
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> natPolicy()
- Returns:
- NAT option controlling how IPs are NAT'ed to the instance. Currently only NO_NAT (default value) is supported. Default value is `NO_NAT`. Possible values are: `NO_NAT`.
-
network
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> network()
- Returns:
- The URL of the network this target instance uses to forward traffic. If not specified, the traffic will be forwarded to the network that the default network interface belongs to.
-
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.
-
securityPolicy
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> securityPolicy()
- Returns:
- The resource URL for the security policy associated with this target instance.
-
zone
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> zone()
- Returns:
- URL of the zone where the target instance resides.
-
builder
public static TargetInstanceArgs.Builder builder()
-
builder
public static TargetInstanceArgs.Builder builder(TargetInstanceArgs defaults)
-
-