Package com.pulumi.gcp.compute
Class GlobalAddressArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.compute.GlobalAddressArgs
-
public final class GlobalAddressArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GlobalAddressArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static GlobalAddressArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.String>>
address()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
addressType()
static GlobalAddressArgs.Builder
builder()
static GlobalAddressArgs.Builder
builder(GlobalAddressArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
description()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
ipVersion()
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>>
name()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
network()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
prefixLength()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
project()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
purpose()
-
-
-
Field Detail
-
Empty
public static final GlobalAddressArgs Empty
-
-
Method Detail
-
address
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> address()
- Returns:
- The IP address or beginning of the address range represented by this resource. This can be supplied as an input to reserve a specific address or omitted to allow GCP to choose a valid one for you.
-
addressType
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> addressType()
- Returns:
- The type of the address to reserve. * EXTERNAL indicates public/external single IP address. * INTERNAL indicates internal IP ranges belonging to some network. Default value is `EXTERNAL`. Possible values are: `EXTERNAL`, `INTERNAL`.
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- An optional description of this resource.
-
ipVersion
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipVersion()
- Returns:
- The IP Version that will be used by this address. The default value is `IPV4`. Possible values are: `IPV4`, `IPV6`.
-
labels
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> labels()
- Returns:
- Labels to apply to this address. A list of key->value pairs.
-
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. ***
-
network
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> network()
- Returns:
- The URL of the network in which to reserve the IP range. The IP range must be in RFC1918 space. The network cannot be deleted if there are any reserved IP ranges referring to it. This should only be set when using an Internal address.
-
prefixLength
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> prefixLength()
- Returns:
- The prefix length of the IP range. If not present, it means the address field is a single IP address. This field is not applicable to addresses with addressType=INTERNAL when purpose=PRIVATE_SERVICE_CONNECT
-
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.
-
purpose
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> purpose()
- Returns:
- The purpose of the resource. Possible values include: * VPC_PEERING - for peer networks * PRIVATE_SERVICE_CONNECT - for Private Service Connect networks
-
builder
public static GlobalAddressArgs.Builder builder()
-
builder
public static GlobalAddressArgs.Builder builder(GlobalAddressArgs defaults)
-
-