Class ComputeSubnetworkConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_subnetwork.ComputeSubnetworkConfig.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeSubnetworkConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeSubnetworkConfig
@Stability(Stable) @Internal public static final class ComputeSubnetworkConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeSubnetworkConfig
An implementation forComputeSubnetworkConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.compute_subnetwork.ComputeSubnetworkConfig
ComputeSubnetworkConfig.Builder, ComputeSubnetworkConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeSubnetworkConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeSubnetworkConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)ObjectgetConnection()ObjectgetCount()List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()StringgetDescription()An optional description of this resource.StringgetExternalIpv6Prefix()The range of external IPv6 addresses that are owned by this subnetwork.com.hashicorp.cdktf.ITerraformIteratorgetForEach()StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#id ComputeSubnetwork#id}.StringgetIpCidrRange()The range of internal addresses that are owned by this subnetwork.StringgetIpv6AccessType()The access type of IPv6 address this subnet holds.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()ComputeSubnetworkLogConfiggetLogConfig()log_config block.StringgetName()The name of the resource, provided by the client when initially creating the resource.StringgetNetwork()The network this subnet belongs to.ObjectgetPrivateIpGoogleAccess()When enabled, VMs in this subnetwork without external IP addresses can access Google APIs and services by using Private Google Access.StringgetPrivateIpv6GoogleAccess()The private IPv6 google access type for the VMs in this subnet.StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#project ComputeSubnetwork#project}.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()StringgetPurpose()The purpose of the resource.StringgetRegion()The GCP region for this subnetwork.StringgetRole()The role of subnetwork.ObjectgetSecondaryIpRange()An array of configurations for secondary IP ranges for VM instances contained in this subnetwork.ObjectgetSendSecondaryIpRangeIfEmpty()Controls the removal behavior of secondary_ip_range.StringgetStackType()The stack type for this subnet to identify whether the IPv6 feature is enabled or not.ComputeSubnetworkTimeoutsgetTimeouts()timeouts block.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(ComputeSubnetworkConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeSubnetworkConfig.Builder.
-
-
Method Detail
-
getIpCidrRange
public final String getIpCidrRange()
Description copied from interface:ComputeSubnetworkConfigThe range of internal addresses that are owned by this subnetwork.Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#ip_cidr_range ComputeSubnetwork#ip_cidr_range}
- Specified by:
getIpCidrRangein interfaceComputeSubnetworkConfig
-
getName
public final String getName()
Description copied from interface:ComputeSubnetworkConfigThe name of the resource, provided by the client when initially creating 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_subnetwork#name ComputeSubnetwork#name}
- Specified by:
getNamein interfaceComputeSubnetworkConfig
-
getNetwork
public final String getNetwork()
Description copied from interface:ComputeSubnetworkConfigThe network this subnet belongs to. Only networks that are in the distributed mode can have subnetworks.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#network ComputeSubnetwork#network}
- Specified by:
getNetworkin interfaceComputeSubnetworkConfig
-
getDescription
public final String getDescription()
Description copied from interface:ComputeSubnetworkConfigAn optional description of this resource.Provide this property when you create the resource. This field can be set only at resource creation time. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#description ComputeSubnetwork#description}
- Specified by:
getDescriptionin interfaceComputeSubnetworkConfig
-
getExternalIpv6Prefix
public final String getExternalIpv6Prefix()
Description copied from interface:ComputeSubnetworkConfigThe range of external IPv6 addresses that are owned by this subnetwork.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#external_ipv6_prefix ComputeSubnetwork#external_ipv6_prefix}
- Specified by:
getExternalIpv6Prefixin interfaceComputeSubnetworkConfig
-
getId
public final String getId()
Description copied from interface:ComputeSubnetworkConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#id ComputeSubnetwork#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.
- Specified by:
getIdin interfaceComputeSubnetworkConfig
-
getIpv6AccessType
public final String getIpv6AccessType()
Description copied from interface:ComputeSubnetworkConfigThe access type of IPv6 address this subnet holds.It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path. Possible values: ["EXTERNAL", "INTERNAL"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#ipv6_access_type ComputeSubnetwork#ipv6_access_type}
- Specified by:
getIpv6AccessTypein interfaceComputeSubnetworkConfig
-
getLogConfig
public final ComputeSubnetworkLogConfig getLogConfig()
Description copied from interface:ComputeSubnetworkConfiglog_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#log_config ComputeSubnetwork#log_config}
- Specified by:
getLogConfigin interfaceComputeSubnetworkConfig
-
getPrivateIpGoogleAccess
public final Object getPrivateIpGoogleAccess()
Description copied from interface:ComputeSubnetworkConfigWhen enabled, VMs in this subnetwork without external IP addresses can access Google APIs and services by using Private Google Access.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#private_ip_google_access ComputeSubnetwork#private_ip_google_access}
- Specified by:
getPrivateIpGoogleAccessin interfaceComputeSubnetworkConfig
-
getPrivateIpv6GoogleAccess
public final String getPrivateIpv6GoogleAccess()
Description copied from interface:ComputeSubnetworkConfigThe private IPv6 google access type for the VMs in this subnet.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#private_ipv6_google_access ComputeSubnetwork#private_ipv6_google_access}
- Specified by:
getPrivateIpv6GoogleAccessin interfaceComputeSubnetworkConfig
-
getProject
public final String getProject()
Description copied from interface:ComputeSubnetworkConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#project ComputeSubnetwork#project}.- Specified by:
getProjectin interfaceComputeSubnetworkConfig
-
getPurpose
public final String getPurpose()
Description copied from interface:ComputeSubnetworkConfigThe purpose of the resource.This field can be either 'PRIVATE_RFC_1918', 'REGIONAL_MANAGED_PROXY', 'GLOBAL_MANAGED_PROXY', 'PRIVATE_SERVICE_CONNECT' or 'PRIVATE_NAT'([Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html)). A subnet with purpose set to 'REGIONAL_MANAGED_PROXY' is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnetwork in a given region with purpose set to 'GLOBAL_MANAGED_PROXY' is a proxy-only subnet and is shared between all the cross-regional Envoy-based load balancers. A subnetwork with purpose set to 'PRIVATE_SERVICE_CONNECT' reserves the subnet for hosting a Private Service Connect published service. A subnetwork with purpose set to 'PRIVATE_NAT' is used as source range for Private NAT gateways. Note that 'REGIONAL_MANAGED_PROXY' is the preferred setting for all regional Envoy load balancers. If unspecified, the purpose defaults to 'PRIVATE_RFC_1918'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#purpose ComputeSubnetwork#purpose}
- Specified by:
getPurposein interfaceComputeSubnetworkConfig
-
getRegion
public final String getRegion()
Description copied from interface:ComputeSubnetworkConfigThe GCP region for this subnetwork.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#region ComputeSubnetwork#region}
- Specified by:
getRegionin interfaceComputeSubnetworkConfig
-
getRole
public final String getRole()
Description copied from interface:ComputeSubnetworkConfigThe role of subnetwork.Currently, this field is only used when 'purpose' is 'REGIONAL_MANAGED_PROXY'. The value can be set to 'ACTIVE' or 'BACKUP'. An 'ACTIVE' subnetwork is one that is currently being used for Envoy-based load balancers in a region. A 'BACKUP' subnetwork is one that is ready to be promoted to 'ACTIVE' or is currently draining. Possible values: ["ACTIVE", "BACKUP"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#role ComputeSubnetwork#role}
- Specified by:
getRolein interfaceComputeSubnetworkConfig
-
getSecondaryIpRange
public final Object getSecondaryIpRange()
Description copied from interface:ComputeSubnetworkConfigAn array of configurations for secondary IP ranges for VM instances contained in this subnetwork.The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. **Note**: This field uses [attr-as-block mode](https://www.terraform.io/docs/configuration/attr-as-blocks.html) to avoid breaking users during the 0.12 upgrade. To explicitly send a list of zero objects, set 'send_secondary_ip_range_if_empty = true' Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#secondary_ip_range ComputeSubnetwork#secondary_ip_range}
- Specified by:
getSecondaryIpRangein interfaceComputeSubnetworkConfig
-
getSendSecondaryIpRangeIfEmpty
public final Object getSendSecondaryIpRangeIfEmpty()
Description copied from interface:ComputeSubnetworkConfigControls the removal behavior of secondary_ip_range.When false, removing secondary_ip_range from config will not produce a diff as the provider will default to the API's value. When true, the provider will treat removing secondary_ip_range as sending an empty list of secondary IP ranges to the API. Defaults to false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#send_secondary_ip_range_if_empty ComputeSubnetwork#send_secondary_ip_range_if_empty}
- Specified by:
getSendSecondaryIpRangeIfEmptyin interfaceComputeSubnetworkConfig
-
getStackType
public final String getStackType()
Description copied from interface:ComputeSubnetworkConfigThe stack type for this subnet to identify whether the IPv6 feature is enabled or not.If not specified IPV4_ONLY will be used. Possible values: ["IPV4_ONLY", "IPV4_IPV6"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#stack_type ComputeSubnetwork#stack_type}
- Specified by:
getStackTypein interfaceComputeSubnetworkConfig
-
getTimeouts
public final ComputeSubnetworkTimeouts getTimeouts()
Description copied from interface:ComputeSubnetworkConfigtimeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_subnetwork#timeouts ComputeSubnetwork#timeouts}
- Specified by:
getTimeoutsin interfaceComputeSubnetworkConfig
-
getConnection
public final Object getConnection()
- Specified by:
getConnectionin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getCount
public final Object getCount()
- Specified by:
getCountin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getDependsOn
public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
- Specified by:
getDependsOnin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getForEach
public final com.hashicorp.cdktf.ITerraformIterator getForEach()
- Specified by:
getForEachin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getLifecycle
public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
- Specified by:
getLifecyclein interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvider
public final com.hashicorp.cdktf.TerraformProvider getProvider()
- Specified by:
getProviderin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvisioners
public final List<Object> getProvisioners()
- Specified by:
getProvisionersin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-