Interface ComputeAddressConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
ComputeAddressConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.274Z") @Stability(Stable) public interface ComputeAddressConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeAddressConfig.BuilderA builder forComputeAddressConfigstatic classComputeAddressConfig.Jsii$ProxyAn implementation forComputeAddressConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ComputeAddressConfig.Builderbuilder()default StringgetAddress()The static external IP address represented by this resource.default StringgetAddressType()The type of address to reserve.default StringgetDescription()An optional description of this resource.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_address#id ComputeAddress#id}.default StringgetIpv6EndpointType()The endpoint type of this address, which should be VM or NETLB.default StringgetIpVersion()The IP Version that will be used by this address.default Map<String,String>getLabels()Labels to apply to this address.StringgetName()Name of the resource.default StringgetNetwork()The URL of the network in which to reserve the address.default StringgetNetworkTier()The networking tier used for configuring this address.default NumbergetPrefixLength()The prefix length if the resource represents an IP range.default StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_address#project ComputeAddress#project}.default StringgetPurpose()The purpose of this resource, which can be one of the following values.default StringgetRegion()The Region in which the created address should reside.default StringgetSubnetwork()The URL of the subnetwork in which to reserve the address.default ComputeAddressTimeoutsgetTimeouts()timeouts block.
-
-
-
Method Detail
-
getName
@Stability(Stable) @NotNull String getName()
Name of the resource.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](%5B-a-z0-9%5D*%5Ba-z0-9%5D)?' 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_address#name ComputeAddress#name}
-
getAddress
@Stability(Stable) @Nullable default String getAddress()
The static external IP address represented by this resource.The IP address must be inside the specified subnetwork, if any. Set by the API if undefined. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_address#address ComputeAddress#address}
-
getAddressType
@Stability(Stable) @Nullable default String getAddressType()
The type of address to reserve.Note: if you set this argument's value as 'INTERNAL' you need to leave the 'network_tier' argument unset in that resource block. Default value: "EXTERNAL" Possible values: ["INTERNAL", "EXTERNAL"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_address#address_type ComputeAddress#address_type}
-
getDescription
@Stability(Stable) @Nullable default String getDescription()
An optional description of this resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_address#description ComputeAddress#description}
-
getId
@Stability(Stable) @Nullable default String getId()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_address#id ComputeAddress#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
-
getIpv6EndpointType
@Stability(Stable) @Nullable default String getIpv6EndpointType()
The endpoint type of this address, which should be VM or NETLB.This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation. Possible values: ["VM", "NETLB"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_address#ipv6_endpoint_type ComputeAddress#ipv6_endpoint_type}
-
getIpVersion
@Stability(Stable) @Nullable default String getIpVersion()
The IP Version that will be used by this address. The default value is 'IPV4'. Possible values: ["IPV4", "IPV6"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_address#ip_version ComputeAddress#ip_version}
-
getLabels
@Stability(Stable) @Nullable default Map<String,String> getLabels()
Labels to apply to this address. A list of key->value pairs.**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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_address#labels ComputeAddress#labels}
-
getNetwork
@Stability(Stable) @Nullable default String getNetwork()
The URL of the network in which to reserve the address.This field can only be used with INTERNAL type with the VPC_PEERING and IPSEC_INTERCONNECT purposes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_address#network ComputeAddress#network}
-
getNetworkTier
@Stability(Stable) @Nullable default String getNetworkTier()
The networking tier used for configuring this address.If this field is not specified, it is assumed to be PREMIUM. This argument should not be used when configuring Internal addresses, because [network tier cannot be set for internal traffic; it's always Premium](https://cloud.google.com/network-tiers/docs/overview). Possible values: ["PREMIUM", "STANDARD"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_address#network_tier ComputeAddress#network_tier}
-
getPrefixLength
@Stability(Stable) @Nullable default Number getPrefixLength()
The prefix length if the resource represents an IP range.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_address#prefix_length ComputeAddress#prefix_length}
-
getProject
@Stability(Stable) @Nullable default String getProject()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_address#project ComputeAddress#project}.
-
getPurpose
@Stability(Stable) @Nullable default String getPurpose()
The purpose of this resource, which can be one of the following values.* GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. * SHARED_LOADBALANCER_VIP for an address that can be used by multiple internal load balancers. * VPC_PEERING for addresses that are reserved for VPC peer networks. * IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an HA VPN over Cloud Interconnect configuration. These addresses are regional resources. * PRIVATE_SERVICE_CONNECT for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. This should only be set when using an Internal address. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_address#purpose ComputeAddress#purpose}
-
getRegion
@Stability(Stable) @Nullable default String getRegion()
The Region in which the created address should reside. If it is not provided, the provider region is used.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_address#region ComputeAddress#region}
-
getSubnetwork
@Stability(Stable) @Nullable default String getSubnetwork()
The URL of the subnetwork in which to reserve the address.If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with GCE_ENDPOINT/DNS_RESOLVER purposes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_address#subnetwork ComputeAddress#subnetwork}
-
getTimeouts
@Stability(Stable) @Nullable default ComputeAddressTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_address#timeouts ComputeAddress#timeouts}
-
builder
@Stability(Stable) static ComputeAddressConfig.Builder builder()
- Returns:
- a
ComputeAddressConfig.BuilderofComputeAddressConfig
-
-