Interface ComputeNetworkConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
ComputeNetworkConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.591Z") @Stability(Stable) public interface ComputeNetworkConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeNetworkConfig.BuilderA builder forComputeNetworkConfigstatic classComputeNetworkConfig.Jsii$ProxyAn implementation forComputeNetworkConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ComputeNetworkConfig.Builderbuilder()default ObjectgetAutoCreateSubnetworks()When set to 'true', the network is created in "auto subnet mode" and it will create a subnet for each region automatically across the '10.128.0.0/9' address range.default ObjectgetDeleteDefaultRoutesOnCreate()If set to 'true', default routes ('0.0.0.0/0') will be deleted immediately after network creation.default StringgetDescription()An optional description of this resource.default ObjectgetEnableUlaInternalIpv6()Enable ULA internal ipv6 on this network.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network#id ComputeNetwork#id}.default StringgetInternalIpv6Range()When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20.default NumbergetMtu()Maximum Transmission Unit in bytes.StringgetName()Name of the resource.default StringgetNetworkFirewallPolicyEnforcementOrder()Set the order that Firewall Rules and Firewall Policies are evaluated.default StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network#project ComputeNetwork#project}.default StringgetRoutingMode()The network-wide routing mode to use.default ComputeNetworkTimeoutsgetTimeouts()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_network#name ComputeNetwork#name}
-
getAutoCreateSubnetworks
@Stability(Stable) @Nullable default Object getAutoCreateSubnetworks()
When set to 'true', the network is created in "auto subnet mode" and it will create a subnet for each region automatically across the '10.128.0.0/9' address range.When set to 'false', the network is created in "custom subnet mode" so the user can explicitly connect subnetwork resources. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network#auto_create_subnetworks ComputeNetwork#auto_create_subnetworks}
-
getDeleteDefaultRoutesOnCreate
@Stability(Stable) @Nullable default Object getDeleteDefaultRoutesOnCreate()
If set to 'true', default routes ('0.0.0.0/0') will be deleted immediately after network creation. Defaults to 'false'.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network#delete_default_routes_on_create ComputeNetwork#delete_default_routes_on_create}
-
getDescription
@Stability(Stable) @Nullable default String getDescription()
An optional description of this resource. The resource must be recreated to modify this field.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network#description ComputeNetwork#description}
-
getEnableUlaInternalIpv6
@Stability(Stable) @Nullable default Object getEnableUlaInternalIpv6()
Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network#enable_ula_internal_ipv6 ComputeNetwork#enable_ula_internal_ipv6}
-
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_network#id ComputeNetwork#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.
-
getInternalIpv6Range
@Stability(Stable) @Nullable default String getInternalIpv6Range()
When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20.The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network#internal_ipv6_range ComputeNetwork#internal_ipv6_range}
-
getMtu
@Stability(Stable) @Nullable default Number getMtu()
Maximum Transmission Unit in bytes.The default value is 1460 bytes. The minimum value for this field is 1300 and the maximum value is 8896 bytes (jumbo frames). Note that packets larger than 1500 bytes (standard Ethernet) can be subject to TCP-MSS clamping or dropped with an ICMP 'Fragmentation-Needed' message if the packets are routed to the Internet or other VPCs with varying MTUs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network#mtu ComputeNetwork#mtu}
-
getNetworkFirewallPolicyEnforcementOrder
@Stability(Stable) @Nullable default String getNetworkFirewallPolicyEnforcementOrder()
Set the order that Firewall Rules and Firewall Policies are evaluated. Default value: "AFTER_CLASSIC_FIREWALL" Possible values: ["BEFORE_CLASSIC_FIREWALL", "AFTER_CLASSIC_FIREWALL"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network#network_firewall_policy_enforcement_order ComputeNetwork#network_firewall_policy_enforcement_order}
-
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_network#project ComputeNetwork#project}.
-
getRoutingMode
@Stability(Stable) @Nullable default String getRoutingMode()
The network-wide routing mode to use.If set to 'REGIONAL', this network's cloud routers will only advertise routes with subnetworks of this network in the same region as the router. If set to 'GLOBAL', this network's cloud routers will advertise routes with all subnetworks of this network, across regions. Possible values: ["REGIONAL", "GLOBAL"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network#routing_mode ComputeNetwork#routing_mode}
-
getTimeouts
@Stability(Stable) @Nullable default ComputeNetworkTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_network#timeouts ComputeNetwork#timeouts}
-
builder
@Stability(Stable) static ComputeNetworkConfig.Builder builder()
- Returns:
- a
ComputeNetworkConfig.BuilderofComputeNetworkConfig
-
-