Interface ComputeGlobalAddressConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
ComputeGlobalAddressConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.398Z") @Stability(Stable) public interface ComputeGlobalAddressConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeGlobalAddressConfig.BuilderA builder forComputeGlobalAddressConfigstatic classComputeGlobalAddressConfig.Jsii$ProxyAn implementation forComputeGlobalAddressConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ComputeGlobalAddressConfig.Builderbuilder()default StringgetAddress()The IP address or beginning of the address range represented by this resource.default StringgetAddressType()The type of the 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_global_address#id ComputeGlobalAddress#id}.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 IP range.default NumbergetPrefixLength()The prefix length of the IP range.default StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_address#project ComputeGlobalAddress#project}.default StringgetPurpose()The purpose of the resource.default ComputeGlobalAddressTimeoutsgetTimeouts()timeouts block.
-
-
-
Method Detail
-
getName
@Stability(Stable) @NotNull String getName()
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](%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_global_address#name ComputeGlobalAddress#name}
-
getAddress
@Stability(Stable) @Nullable default String getAddress()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_address#address ComputeGlobalAddress#address}
-
getAddressType
@Stability(Stable) @Nullable default String getAddressType()
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: "EXTERNAL" Possible values: ["EXTERNAL", "INTERNAL"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_address#address_type ComputeGlobalAddress#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_global_address#description ComputeGlobalAddress#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_global_address#id ComputeGlobalAddress#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.
-
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_global_address#ip_version ComputeGlobalAddress#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_global_address#labels ComputeGlobalAddress#labels}
-
getNetwork
@Stability(Stable) @Nullable default String getNetwork()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_address#network ComputeGlobalAddress#network}
-
getPrefixLength
@Stability(Stable) @Nullable default Number getPrefixLength()
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 Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_address#prefix_length ComputeGlobalAddress#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_global_address#project ComputeGlobalAddress#project}.
-
getPurpose
@Stability(Stable) @Nullable default String getPurpose()
The purpose of the resource. Possible values include:.* VPC_PEERING - for peer networks * PRIVATE_SERVICE_CONNECT - for ([Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html) only) Private Service Connect networks Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_address#purpose ComputeGlobalAddress#purpose}
-
getTimeouts
@Stability(Stable) @Nullable default ComputeGlobalAddressTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_global_address#timeouts ComputeGlobalAddress#timeouts}
-
builder
@Stability(Stable) static ComputeGlobalAddressConfig.Builder builder()
- Returns:
- a
ComputeGlobalAddressConfig.BuilderofComputeGlobalAddressConfig
-
-