Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.compute/v1.Subnetwork
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a subnetwork in the specified project using the data included in the request.
Create Subnetwork Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Subnetwork(name: string, args: SubnetworkArgs, opts?: CustomResourceOptions);
@overload
def Subnetwork(resource_name: str,
args: SubnetworkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Subnetwork(resource_name: str,
opts: Optional[ResourceOptions] = None,
region: Optional[str] = None,
ipv6_access_type: Optional[SubnetworkIpv6AccessType] = None,
network: Optional[str] = None,
ip_cidr_range: Optional[str] = None,
description: Optional[str] = None,
private_ipv6_google_access: Optional[SubnetworkPrivateIpv6GoogleAccess] = None,
name: Optional[str] = None,
external_ipv6_prefix: Optional[str] = None,
private_ip_google_access: Optional[bool] = None,
log_config: Optional[SubnetworkLogConfigArgs] = None,
project: Optional[str] = None,
purpose: Optional[SubnetworkPurpose] = None,
enable_flow_logs: Optional[bool] = None,
request_id: Optional[str] = None,
role: Optional[SubnetworkRole] = None,
secondary_ip_ranges: Optional[Sequence[SubnetworkSecondaryRangeArgs]] = None,
stack_type: Optional[SubnetworkStackType] = None)
func NewSubnetwork(ctx *Context, name string, args SubnetworkArgs, opts ...ResourceOption) (*Subnetwork, error)
public Subnetwork(string name, SubnetworkArgs args, CustomResourceOptions? opts = null)
public Subnetwork(String name, SubnetworkArgs args)
public Subnetwork(String name, SubnetworkArgs args, CustomResourceOptions options)
type: google-native:compute/v1:Subnetwork
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SubnetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SubnetworkArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SubnetworkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SubnetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SubnetworkArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var examplesubnetworkResourceResourceFromComputev1 = new GoogleNative.Compute.V1.Subnetwork("examplesubnetworkResourceResourceFromComputev1", new()
{
Region = "string",
Ipv6AccessType = GoogleNative.Compute.V1.SubnetworkIpv6AccessType.External,
Network = "string",
IpCidrRange = "string",
Description = "string",
PrivateIpv6GoogleAccess = GoogleNative.Compute.V1.SubnetworkPrivateIpv6GoogleAccess.DisableGoogleAccess,
Name = "string",
ExternalIpv6Prefix = "string",
PrivateIpGoogleAccess = false,
LogConfig = new GoogleNative.Compute.V1.Inputs.SubnetworkLogConfigArgs
{
AggregationInterval = GoogleNative.Compute.V1.SubnetworkLogConfigAggregationInterval.Interval10Min,
Enable = false,
FilterExpr = "string",
FlowSampling = 0,
Metadata = GoogleNative.Compute.V1.SubnetworkLogConfigMetadata.CustomMetadata,
MetadataFields = new[]
{
"string",
},
},
Project = "string",
Purpose = GoogleNative.Compute.V1.SubnetworkPurpose.GlobalManagedProxy,
EnableFlowLogs = false,
RequestId = "string",
Role = GoogleNative.Compute.V1.SubnetworkRole.Active,
SecondaryIpRanges = new[]
{
new GoogleNative.Compute.V1.Inputs.SubnetworkSecondaryRangeArgs
{
IpCidrRange = "string",
RangeName = "string",
},
},
StackType = GoogleNative.Compute.V1.SubnetworkStackType.Ipv4Ipv6,
});
example, err := computev1.NewSubnetwork(ctx, "examplesubnetworkResourceResourceFromComputev1", &computev1.SubnetworkArgs{
Region: pulumi.String("string"),
Ipv6AccessType: computev1.SubnetworkIpv6AccessTypeExternal,
Network: pulumi.String("string"),
IpCidrRange: pulumi.String("string"),
Description: pulumi.String("string"),
PrivateIpv6GoogleAccess: computev1.SubnetworkPrivateIpv6GoogleAccessDisableGoogleAccess,
Name: pulumi.String("string"),
ExternalIpv6Prefix: pulumi.String("string"),
PrivateIpGoogleAccess: pulumi.Bool(false),
LogConfig: &compute.SubnetworkLogConfigArgs{
AggregationInterval: computev1.SubnetworkLogConfigAggregationIntervalInterval10Min,
Enable: pulumi.Bool(false),
FilterExpr: pulumi.String("string"),
FlowSampling: pulumi.Float64(0),
Metadata: computev1.SubnetworkLogConfigMetadataCustomMetadata,
MetadataFields: pulumi.StringArray{
pulumi.String("string"),
},
},
Project: pulumi.String("string"),
Purpose: computev1.SubnetworkPurposeGlobalManagedProxy,
EnableFlowLogs: pulumi.Bool(false),
RequestId: pulumi.String("string"),
Role: computev1.SubnetworkRoleActive,
SecondaryIpRanges: compute.SubnetworkSecondaryRangeArray{
&compute.SubnetworkSecondaryRangeArgs{
IpCidrRange: pulumi.String("string"),
RangeName: pulumi.String("string"),
},
},
StackType: computev1.SubnetworkStackTypeIpv4Ipv6,
})
var examplesubnetworkResourceResourceFromComputev1 = new Subnetwork("examplesubnetworkResourceResourceFromComputev1", SubnetworkArgs.builder()
.region("string")
.ipv6AccessType("EXTERNAL")
.network("string")
.ipCidrRange("string")
.description("string")
.privateIpv6GoogleAccess("DISABLE_GOOGLE_ACCESS")
.name("string")
.externalIpv6Prefix("string")
.privateIpGoogleAccess(false)
.logConfig(SubnetworkLogConfigArgs.builder()
.aggregationInterval("INTERVAL_10_MIN")
.enable(false)
.filterExpr("string")
.flowSampling(0)
.metadata("CUSTOM_METADATA")
.metadataFields("string")
.build())
.project("string")
.purpose("GLOBAL_MANAGED_PROXY")
.enableFlowLogs(false)
.requestId("string")
.role("ACTIVE")
.secondaryIpRanges(SubnetworkSecondaryRangeArgs.builder()
.ipCidrRange("string")
.rangeName("string")
.build())
.stackType("IPV4_IPV6")
.build());
examplesubnetwork_resource_resource_from_computev1 = google_native.compute.v1.Subnetwork("examplesubnetworkResourceResourceFromComputev1",
region="string",
ipv6_access_type=google_native.compute.v1.SubnetworkIpv6AccessType.EXTERNAL,
network="string",
ip_cidr_range="string",
description="string",
private_ipv6_google_access=google_native.compute.v1.SubnetworkPrivateIpv6GoogleAccess.DISABLE_GOOGLE_ACCESS,
name="string",
external_ipv6_prefix="string",
private_ip_google_access=False,
log_config=google_native.compute.v1.SubnetworkLogConfigArgs(
aggregation_interval=google_native.compute.v1.SubnetworkLogConfigAggregationInterval.INTERVAL10_MIN,
enable=False,
filter_expr="string",
flow_sampling=0,
metadata=google_native.compute.v1.SubnetworkLogConfigMetadata.CUSTOM_METADATA,
metadata_fields=["string"],
),
project="string",
purpose=google_native.compute.v1.SubnetworkPurpose.GLOBAL_MANAGED_PROXY,
enable_flow_logs=False,
request_id="string",
role=google_native.compute.v1.SubnetworkRole.ACTIVE,
secondary_ip_ranges=[google_native.compute.v1.SubnetworkSecondaryRangeArgs(
ip_cidr_range="string",
range_name="string",
)],
stack_type=google_native.compute.v1.SubnetworkStackType.IPV4_IPV6)
const examplesubnetworkResourceResourceFromComputev1 = new google_native.compute.v1.Subnetwork("examplesubnetworkResourceResourceFromComputev1", {
region: "string",
ipv6AccessType: google_native.compute.v1.SubnetworkIpv6AccessType.External,
network: "string",
ipCidrRange: "string",
description: "string",
privateIpv6GoogleAccess: google_native.compute.v1.SubnetworkPrivateIpv6GoogleAccess.DisableGoogleAccess,
name: "string",
externalIpv6Prefix: "string",
privateIpGoogleAccess: false,
logConfig: {
aggregationInterval: google_native.compute.v1.SubnetworkLogConfigAggregationInterval.Interval10Min,
enable: false,
filterExpr: "string",
flowSampling: 0,
metadata: google_native.compute.v1.SubnetworkLogConfigMetadata.CustomMetadata,
metadataFields: ["string"],
},
project: "string",
purpose: google_native.compute.v1.SubnetworkPurpose.GlobalManagedProxy,
enableFlowLogs: false,
requestId: "string",
role: google_native.compute.v1.SubnetworkRole.Active,
secondaryIpRanges: [{
ipCidrRange: "string",
rangeName: "string",
}],
stackType: google_native.compute.v1.SubnetworkStackType.Ipv4Ipv6,
});
type: google-native:compute/v1:Subnetwork
properties:
description: string
enableFlowLogs: false
externalIpv6Prefix: string
ipCidrRange: string
ipv6AccessType: EXTERNAL
logConfig:
aggregationInterval: INTERVAL_10_MIN
enable: false
filterExpr: string
flowSampling: 0
metadata: CUSTOM_METADATA
metadataFields:
- string
name: string
network: string
privateIpGoogleAccess: false
privateIpv6GoogleAccess: DISABLE_GOOGLE_ACCESS
project: string
purpose: GLOBAL_MANAGED_PROXY
region: string
requestId: string
role: ACTIVE
secondaryIpRanges:
- ipCidrRange: string
rangeName: string
stackType: IPV4_IPV6
Subnetwork Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Subnetwork resource accepts the following input properties:
- Region string
- URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
- Description string
- An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time.
- Enable
Flow boolLogs - Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- External
Ipv6Prefix string - The external IPv6 address range that is owned by this subnetwork.
- Ip
Cidr stringRange - The 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 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange.
- Ipv6Access
Type Pulumi.Google Native. Compute. V1. Subnetwork Ipv6Access Type - The 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.
- Log
Config Pulumi.Google Native. Compute. V1. Inputs. Subnetwork Log Config - This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.
- Name string
- The 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]([-a-z0-9]*[a-z0-9])?
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 string
- The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time.
- Private
Ip boolGoogle Access - Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess.
- Private
Ipv6Google Pulumi.Access Google Native. Compute. V1. Subnetwork Private Ipv6Google Access - This field is for internal use. This field can be both set at resource creation time and updated using patch.
- Project string
- Purpose
Pulumi.
Google Native. Compute. V1. Subnetwork Purpose - The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- Request
Id string - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- Role
Pulumi.
Google Native. Compute. V1. Subnetwork Role - The role of subnetwork. Currently, this field is only used when purpose = 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. This field can be updated with a patch request.
- Secondary
Ip List<Pulumi.Ranges Google Native. Compute. V1. Inputs. Subnetwork Secondary Range> - An 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. This field can be updated with a patch request.
- Stack
Type Pulumi.Google Native. Compute. V1. Subnetwork Stack Type - The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
- Region string
- URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
- Description string
- An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time.
- Enable
Flow boolLogs - Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- External
Ipv6Prefix string - The external IPv6 address range that is owned by this subnetwork.
- Ip
Cidr stringRange - The 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 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange.
- Ipv6Access
Type SubnetworkIpv6Access Type - The 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.
- Log
Config SubnetworkLog Config Args - This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.
- Name string
- The 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]([-a-z0-9]*[a-z0-9])?
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 string
- The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time.
- Private
Ip boolGoogle Access - Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess.
- Private
Ipv6Google SubnetworkAccess Private Ipv6Google Access - This field is for internal use. This field can be both set at resource creation time and updated using patch.
- Project string
- Purpose
Subnetwork
Purpose - The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- Request
Id string - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- Role
Subnetwork
Role - The role of subnetwork. Currently, this field is only used when purpose = 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. This field can be updated with a patch request.
- Secondary
Ip []SubnetworkRanges Secondary Range Args - An 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. This field can be updated with a patch request.
- Stack
Type SubnetworkStack Type - The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
- region String
- URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
- description String
- An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time.
- enable
Flow BooleanLogs - Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- external
Ipv6Prefix String - The external IPv6 address range that is owned by this subnetwork.
- ip
Cidr StringRange - The 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 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange.
- ipv6Access
Type SubnetworkIpv6Access Type - The 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.
- log
Config SubnetworkLog Config - This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.
- name String
- The 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]([-a-z0-9]*[a-z0-9])?
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 String
- The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time.
- private
Ip BooleanGoogle Access - Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess.
- private
Ipv6Google SubnetworkAccess Private Ipv6Google Access - This field is for internal use. This field can be both set at resource creation time and updated using patch.
- project String
- purpose
Subnetwork
Purpose - The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- request
Id String - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- role
Subnetwork
Role - The role of subnetwork. Currently, this field is only used when purpose = 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. This field can be updated with a patch request.
- secondary
Ip List<SubnetworkRanges Secondary Range> - An 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. This field can be updated with a patch request.
- stack
Type SubnetworkStack Type - The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
- region string
- URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
- description string
- An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time.
- enable
Flow booleanLogs - Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- external
Ipv6Prefix string - The external IPv6 address range that is owned by this subnetwork.
- ip
Cidr stringRange - The 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 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange.
- ipv6Access
Type SubnetworkIpv6Access Type - The 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.
- log
Config SubnetworkLog Config - This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.
- name string
- The 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]([-a-z0-9]*[a-z0-9])?
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 string
- The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time.
- private
Ip booleanGoogle Access - Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess.
- private
Ipv6Google SubnetworkAccess Private Ipv6Google Access - This field is for internal use. This field can be both set at resource creation time and updated using patch.
- project string
- purpose
Subnetwork
Purpose - The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- request
Id string - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- role
Subnetwork
Role - The role of subnetwork. Currently, this field is only used when purpose = 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. This field can be updated with a patch request.
- secondary
Ip SubnetworkRanges Secondary Range[] - An 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. This field can be updated with a patch request.
- stack
Type SubnetworkStack Type - The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
- region str
- URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
- description str
- An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time.
- enable_
flow_ boollogs - Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- external_
ipv6_ strprefix - The external IPv6 address range that is owned by this subnetwork.
- ip_
cidr_ strrange - The 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 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange.
- ipv6_
access_ Subnetworktype Ipv6Access Type - The 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.
- log_
config SubnetworkLog Config Args - This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.
- name str
- The 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]([-a-z0-9]*[a-z0-9])?
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 str
- The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time.
- private_
ip_ boolgoogle_ access - Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess.
- private_
ipv6_ Subnetworkgoogle_ access Private Ipv6Google Access - This field is for internal use. This field can be both set at resource creation time and updated using patch.
- project str
- purpose
Subnetwork
Purpose - The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- request_
id str - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- role
Subnetwork
Role - The role of subnetwork. Currently, this field is only used when purpose = 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. This field can be updated with a patch request.
- secondary_
ip_ Sequence[Subnetworkranges Secondary Range Args] - An 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. This field can be updated with a patch request.
- stack_
type SubnetworkStack Type - The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
- region String
- URL of the region where the Subnetwork resides. This field can be set only at resource creation time.
- description String
- An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time.
- enable
Flow BooleanLogs - Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- external
Ipv6Prefix String - The external IPv6 address range that is owned by this subnetwork.
- ip
Cidr StringRange - The 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 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange.
- ipv6Access
Type "EXTERNAL" | "INTERNAL" - The 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.
- log
Config Property Map - This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.
- name String
- The 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]([-a-z0-9]*[a-z0-9])?
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 String
- The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time.
- private
Ip BooleanGoogle Access - Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess.
- private
Ipv6Google "DISABLE_GOOGLE_ACCESS" | "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE" | "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE"Access - This field is for internal use. This field can be both set at resource creation time and updated using patch.
- project String
- purpose "GLOBAL_MANAGED_PROXY" | "INTERNAL_HTTPS_LOAD_BALANCER" | "PRIVATE" | "PRIVATE_NAT" | "PRIVATE_RFC_1918" | "PRIVATE_SERVICE_CONNECT" | "REGIONAL_MANAGED_PROXY"
- The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- request
Id String - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- role "ACTIVE" | "BACKUP"
- The role of subnetwork. Currently, this field is only used when purpose = 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. This field can be updated with a patch request.
- secondary
Ip List<Property Map>Ranges - An 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. This field can be updated with a patch request.
- stack
Type "IPV4_IPV6" | "IPV4_ONLY" - The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
Outputs
All input properties are implicitly available as output properties. Additionally, the Subnetwork resource produces the following output properties:
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Fingerprint string
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
- Gateway
Address string - The gateway address for default routes to reach destination addresses outside this subnetwork.
- Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Ipv6Prefix string - The internal IPv6 address range that is assigned to this subnetwork.
- Ipv6Cidr
Range string - This field is for internal use.
- Kind string
- Type of the resource. Always compute#subnetwork for Subnetwork resources.
- Self
Link string - Server-defined URL for the resource.
- State string
- The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Fingerprint string
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
- Gateway
Address string - The gateway address for default routes to reach destination addresses outside this subnetwork.
- Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Ipv6Prefix string - The internal IPv6 address range that is assigned to this subnetwork.
- Ipv6Cidr
Range string - This field is for internal use.
- Kind string
- Type of the resource. Always compute#subnetwork for Subnetwork resources.
- Self
Link string - Server-defined URL for the resource.
- State string
- The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- fingerprint String
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
- gateway
Address String - The gateway address for default routes to reach destination addresses outside this subnetwork.
- id String
- The provider-assigned unique ID for this managed resource.
- internal
Ipv6Prefix String - The internal IPv6 address range that is assigned to this subnetwork.
- ipv6Cidr
Range String - This field is for internal use.
- kind String
- Type of the resource. Always compute#subnetwork for Subnetwork resources.
- self
Link String - Server-defined URL for the resource.
- state String
- The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY
- creation
Timestamp string - Creation timestamp in RFC3339 text format.
- fingerprint string
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
- gateway
Address string - The gateway address for default routes to reach destination addresses outside this subnetwork.
- id string
- The provider-assigned unique ID for this managed resource.
- internal
Ipv6Prefix string - The internal IPv6 address range that is assigned to this subnetwork.
- ipv6Cidr
Range string - This field is for internal use.
- kind string
- Type of the resource. Always compute#subnetwork for Subnetwork resources.
- self
Link string - Server-defined URL for the resource.
- state string
- The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY
- creation_
timestamp str - Creation timestamp in RFC3339 text format.
- fingerprint str
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
- gateway_
address str - The gateway address for default routes to reach destination addresses outside this subnetwork.
- id str
- The provider-assigned unique ID for this managed resource.
- internal_
ipv6_ strprefix - The internal IPv6 address range that is assigned to this subnetwork.
- ipv6_
cidr_ strrange - This field is for internal use.
- kind str
- Type of the resource. Always compute#subnetwork for Subnetwork resources.
- self_
link str - Server-defined URL for the resource.
- state str
- The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- fingerprint String
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
- gateway
Address String - The gateway address for default routes to reach destination addresses outside this subnetwork.
- id String
- The provider-assigned unique ID for this managed resource.
- internal
Ipv6Prefix String - The internal IPv6 address range that is assigned to this subnetwork.
- ipv6Cidr
Range String - This field is for internal use.
- kind String
- Type of the resource. Always compute#subnetwork for Subnetwork resources.
- self
Link String - Server-defined URL for the resource.
- state String
- The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY
Supporting Types
SubnetworkIpv6AccessType, SubnetworkIpv6AccessTypeArgs
- External
- EXTERNALVMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network.
- Internal
- INTERNALVMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network.
- Subnetwork
Ipv6Access Type External - EXTERNALVMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network.
- Subnetwork
Ipv6Access Type Internal - INTERNALVMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network.
- External
- EXTERNALVMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network.
- Internal
- INTERNALVMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network.
- External
- EXTERNALVMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network.
- Internal
- INTERNALVMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network.
- EXTERNAL
- EXTERNALVMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network.
- INTERNAL
- INTERNALVMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network.
- "EXTERNAL"
- EXTERNALVMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network.
- "INTERNAL"
- INTERNALVMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network.
SubnetworkLogConfig, SubnetworkLogConfigArgs
- Aggregation
Interval Pulumi.Google Native. Compute. V1. Subnetwork Log Config Aggregation Interval - Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection.
- Enable bool
- Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. Flow logging isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- Filter
Expr string - Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
- Flow
Sampling double - Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 unless otherwise specified by the org policy, which means half of all collected logs are reported.
- Metadata
Pulumi.
Google Native. Compute. V1. Subnetwork Log Config Metadata - Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA.
- Metadata
Fields List<string> - Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA.
- Aggregation
Interval SubnetworkLog Config Aggregation Interval - Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection.
- Enable bool
- Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. Flow logging isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- Filter
Expr string - Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
- Flow
Sampling float64 - Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 unless otherwise specified by the org policy, which means half of all collected logs are reported.
- Metadata
Subnetwork
Log Config Metadata - Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA.
- Metadata
Fields []string - Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA.
- aggregation
Interval SubnetworkLog Config Aggregation Interval - Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection.
- enable Boolean
- Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. Flow logging isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- filter
Expr String - Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
- flow
Sampling Double - Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 unless otherwise specified by the org policy, which means half of all collected logs are reported.
- metadata
Subnetwork
Log Config Metadata - Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA.
- metadata
Fields List<String> - Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA.
- aggregation
Interval SubnetworkLog Config Aggregation Interval - Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection.
- enable boolean
- Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. Flow logging isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- filter
Expr string - Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
- flow
Sampling number - Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 unless otherwise specified by the org policy, which means half of all collected logs are reported.
- metadata
Subnetwork
Log Config Metadata - Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA.
- metadata
Fields string[] - Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA.
- aggregation_
interval SubnetworkLog Config Aggregation Interval - Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection.
- enable bool
- Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. Flow logging isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- filter_
expr str - Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
- flow_
sampling float - Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 unless otherwise specified by the org policy, which means half of all collected logs are reported.
- metadata
Subnetwork
Log Config Metadata - Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA.
- metadata_
fields Sequence[str] - Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA.
- aggregation
Interval "INTERVAL_10_MIN" | "INTERVAL_15_MIN" | "INTERVAL_1_MIN" | "INTERVAL_30_SEC" | "INTERVAL_5_MIN" | "INTERVAL_5_SEC" - Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection.
- enable Boolean
- Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. Flow logging isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- filter
Expr String - Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
- flow
Sampling Number - Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 unless otherwise specified by the org policy, which means half of all collected logs are reported.
- metadata "CUSTOM_METADATA" | "EXCLUDE_ALL_METADATA" | "INCLUDE_ALL_METADATA"
- Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA.
- metadata
Fields List<String> - Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA.
SubnetworkLogConfigAggregationInterval, SubnetworkLogConfigAggregationIntervalArgs
- Interval10Min
- INTERVAL_10_MIN
- Interval15Min
- INTERVAL_15_MIN
- Interval1Min
- INTERVAL_1_MIN
- Interval30Sec
- INTERVAL_30_SEC
- Interval5Min
- INTERVAL_5_MIN
- Interval5Sec
- INTERVAL_5_SEC
- Subnetwork
Log Config Aggregation Interval Interval10Min - INTERVAL_10_MIN
- Subnetwork
Log Config Aggregation Interval Interval15Min - INTERVAL_15_MIN
- Subnetwork
Log Config Aggregation Interval Interval1Min - INTERVAL_1_MIN
- Subnetwork
Log Config Aggregation Interval Interval30Sec - INTERVAL_30_SEC
- Subnetwork
Log Config Aggregation Interval Interval5Min - INTERVAL_5_MIN
- Subnetwork
Log Config Aggregation Interval Interval5Sec - INTERVAL_5_SEC
- Interval10Min
- INTERVAL_10_MIN
- Interval15Min
- INTERVAL_15_MIN
- Interval1Min
- INTERVAL_1_MIN
- Interval30Sec
- INTERVAL_30_SEC
- Interval5Min
- INTERVAL_5_MIN
- Interval5Sec
- INTERVAL_5_SEC
- Interval10Min
- INTERVAL_10_MIN
- Interval15Min
- INTERVAL_15_MIN
- Interval1Min
- INTERVAL_1_MIN
- Interval30Sec
- INTERVAL_30_SEC
- Interval5Min
- INTERVAL_5_MIN
- Interval5Sec
- INTERVAL_5_SEC
- INTERVAL10_MIN
- INTERVAL_10_MIN
- INTERVAL15_MIN
- INTERVAL_15_MIN
- INTERVAL1_MIN
- INTERVAL_1_MIN
- INTERVAL30_SEC
- INTERVAL_30_SEC
- INTERVAL5_MIN
- INTERVAL_5_MIN
- INTERVAL5_SEC
- INTERVAL_5_SEC
- "INTERVAL_10_MIN"
- INTERVAL_10_MIN
- "INTERVAL_15_MIN"
- INTERVAL_15_MIN
- "INTERVAL_1_MIN"
- INTERVAL_1_MIN
- "INTERVAL_30_SEC"
- INTERVAL_30_SEC
- "INTERVAL_5_MIN"
- INTERVAL_5_MIN
- "INTERVAL_5_SEC"
- INTERVAL_5_SEC
SubnetworkLogConfigMetadata, SubnetworkLogConfigMetadataArgs
- Custom
Metadata - CUSTOM_METADATA
- Exclude
All Metadata - EXCLUDE_ALL_METADATA
- Include
All Metadata - INCLUDE_ALL_METADATA
- Subnetwork
Log Config Metadata Custom Metadata - CUSTOM_METADATA
- Subnetwork
Log Config Metadata Exclude All Metadata - EXCLUDE_ALL_METADATA
- Subnetwork
Log Config Metadata Include All Metadata - INCLUDE_ALL_METADATA
- Custom
Metadata - CUSTOM_METADATA
- Exclude
All Metadata - EXCLUDE_ALL_METADATA
- Include
All Metadata - INCLUDE_ALL_METADATA
- Custom
Metadata - CUSTOM_METADATA
- Exclude
All Metadata - EXCLUDE_ALL_METADATA
- Include
All Metadata - INCLUDE_ALL_METADATA
- CUSTOM_METADATA
- CUSTOM_METADATA
- EXCLUDE_ALL_METADATA
- EXCLUDE_ALL_METADATA
- INCLUDE_ALL_METADATA
- INCLUDE_ALL_METADATA
- "CUSTOM_METADATA"
- CUSTOM_METADATA
- "EXCLUDE_ALL_METADATA"
- EXCLUDE_ALL_METADATA
- "INCLUDE_ALL_METADATA"
- INCLUDE_ALL_METADATA
SubnetworkLogConfigResponse, SubnetworkLogConfigResponseArgs
- Aggregation
Interval string - Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection.
- Enable bool
- Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. Flow logging isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- Filter
Expr string - Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
- Flow
Sampling double - Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 unless otherwise specified by the org policy, which means half of all collected logs are reported.
- Metadata string
- Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA.
- Metadata
Fields List<string> - Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA.
- Aggregation
Interval string - Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection.
- Enable bool
- Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. Flow logging isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- Filter
Expr string - Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
- Flow
Sampling float64 - Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 unless otherwise specified by the org policy, which means half of all collected logs are reported.
- Metadata string
- Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA.
- Metadata
Fields []string - Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA.
- aggregation
Interval String - Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection.
- enable Boolean
- Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. Flow logging isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- filter
Expr String - Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
- flow
Sampling Double - Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 unless otherwise specified by the org policy, which means half of all collected logs are reported.
- metadata String
- Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA.
- metadata
Fields List<String> - Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA.
- aggregation
Interval string - Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection.
- enable boolean
- Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. Flow logging isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- filter
Expr string - Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
- flow
Sampling number - Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 unless otherwise specified by the org policy, which means half of all collected logs are reported.
- metadata string
- Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA.
- metadata
Fields string[] - Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA.
- aggregation_
interval str - Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection.
- enable bool
- Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. Flow logging isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- filter_
expr str - Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
- flow_
sampling float - Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 unless otherwise specified by the org policy, which means half of all collected logs are reported.
- metadata str
- Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA.
- metadata_
fields Sequence[str] - Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA.
- aggregation
Interval String - Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection.
- enable Boolean
- Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. Flow logging isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
- filter
Expr String - Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
- flow
Sampling Number - Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 unless otherwise specified by the org policy, which means half of all collected logs are reported.
- metadata String
- Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA.
- metadata
Fields List<String> - Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA.
SubnetworkPrivateIpv6GoogleAccess, SubnetworkPrivateIpv6GoogleAccessArgs
- Disable
Google Access - DISABLE_GOOGLE_ACCESSDisable private IPv6 access to/from Google services.
- Enable
Bidirectional Access To Google - ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLEBidirectional private IPv6 access to/from Google services.
- Enable
Outbound Vm Access To Google - ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLEOutbound private IPv6 access from VMs in this subnet to Google services.
- Subnetwork
Private Ipv6Google Access Disable Google Access - DISABLE_GOOGLE_ACCESSDisable private IPv6 access to/from Google services.
- Subnetwork
Private Ipv6Google Access Enable Bidirectional Access To Google - ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLEBidirectional private IPv6 access to/from Google services.
- Subnetwork
Private Ipv6Google Access Enable Outbound Vm Access To Google - ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLEOutbound private IPv6 access from VMs in this subnet to Google services.
- Disable
Google Access - DISABLE_GOOGLE_ACCESSDisable private IPv6 access to/from Google services.
- Enable
Bidirectional Access To Google - ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLEBidirectional private IPv6 access to/from Google services.
- Enable
Outbound Vm Access To Google - ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLEOutbound private IPv6 access from VMs in this subnet to Google services.
- Disable
Google Access - DISABLE_GOOGLE_ACCESSDisable private IPv6 access to/from Google services.
- Enable
Bidirectional Access To Google - ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLEBidirectional private IPv6 access to/from Google services.
- Enable
Outbound Vm Access To Google - ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLEOutbound private IPv6 access from VMs in this subnet to Google services.
- DISABLE_GOOGLE_ACCESS
- DISABLE_GOOGLE_ACCESSDisable private IPv6 access to/from Google services.
- ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE
- ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLEBidirectional private IPv6 access to/from Google services.
- ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE
- ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLEOutbound private IPv6 access from VMs in this subnet to Google services.
- "DISABLE_GOOGLE_ACCESS"
- DISABLE_GOOGLE_ACCESSDisable private IPv6 access to/from Google services.
- "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE"
- ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLEBidirectional private IPv6 access to/from Google services.
- "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE"
- ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLEOutbound private IPv6 access from VMs in this subnet to Google services.
SubnetworkPurpose, SubnetworkPurposeArgs
- Global
Managed Proxy - GLOBAL_MANAGED_PROXYSubnet reserved for Global Envoy-based Load Balancing.
- Internal
Https Load Balancer - INTERNAL_HTTPS_LOAD_BALANCERSubnet reserved for Internal HTTP(S) Load Balancing.
- Private
- PRIVATERegular user created or automatically created subnet.
- Private
Nat - PRIVATE_NATSubnetwork used as source range for Private NAT Gateways.
- Private
Rfc1918 - PRIVATE_RFC_1918Regular user created or automatically created subnet.
- Private
Service Connect - PRIVATE_SERVICE_CONNECTSubnetworks created for Private Service Connect in the producer network.
- Regional
Managed Proxy - REGIONAL_MANAGED_PROXYSubnetwork used for Regional Envoy-based Load Balancing.
- Subnetwork
Purpose Global Managed Proxy - GLOBAL_MANAGED_PROXYSubnet reserved for Global Envoy-based Load Balancing.
- Subnetwork
Purpose Internal Https Load Balancer - INTERNAL_HTTPS_LOAD_BALANCERSubnet reserved for Internal HTTP(S) Load Balancing.
- Subnetwork
Purpose Private - PRIVATERegular user created or automatically created subnet.
- Subnetwork
Purpose Private Nat - PRIVATE_NATSubnetwork used as source range for Private NAT Gateways.
- Subnetwork
Purpose Private Rfc1918 - PRIVATE_RFC_1918Regular user created or automatically created subnet.
- Subnetwork
Purpose Private Service Connect - PRIVATE_SERVICE_CONNECTSubnetworks created for Private Service Connect in the producer network.
- Subnetwork
Purpose Regional Managed Proxy - REGIONAL_MANAGED_PROXYSubnetwork used for Regional Envoy-based Load Balancing.
- Global
Managed Proxy - GLOBAL_MANAGED_PROXYSubnet reserved for Global Envoy-based Load Balancing.
- Internal
Https Load Balancer - INTERNAL_HTTPS_LOAD_BALANCERSubnet reserved for Internal HTTP(S) Load Balancing.
- Private
- PRIVATERegular user created or automatically created subnet.
- Private
Nat - PRIVATE_NATSubnetwork used as source range for Private NAT Gateways.
- Private
Rfc1918 - PRIVATE_RFC_1918Regular user created or automatically created subnet.
- Private
Service Connect - PRIVATE_SERVICE_CONNECTSubnetworks created for Private Service Connect in the producer network.
- Regional
Managed Proxy - REGIONAL_MANAGED_PROXYSubnetwork used for Regional Envoy-based Load Balancing.
- Global
Managed Proxy - GLOBAL_MANAGED_PROXYSubnet reserved for Global Envoy-based Load Balancing.
- Internal
Https Load Balancer - INTERNAL_HTTPS_LOAD_BALANCERSubnet reserved for Internal HTTP(S) Load Balancing.
- Private
- PRIVATERegular user created or automatically created subnet.
- Private
Nat - PRIVATE_NATSubnetwork used as source range for Private NAT Gateways.
- Private
Rfc1918 - PRIVATE_RFC_1918Regular user created or automatically created subnet.
- Private
Service Connect - PRIVATE_SERVICE_CONNECTSubnetworks created for Private Service Connect in the producer network.
- Regional
Managed Proxy - REGIONAL_MANAGED_PROXYSubnetwork used for Regional Envoy-based Load Balancing.
- GLOBAL_MANAGED_PROXY
- GLOBAL_MANAGED_PROXYSubnet reserved for Global Envoy-based Load Balancing.
- INTERNAL_HTTPS_LOAD_BALANCER
- INTERNAL_HTTPS_LOAD_BALANCERSubnet reserved for Internal HTTP(S) Load Balancing.
- PRIVATE
- PRIVATERegular user created or automatically created subnet.
- PRIVATE_NAT
- PRIVATE_NATSubnetwork used as source range for Private NAT Gateways.
- PRIVATE_RFC1918
- PRIVATE_RFC_1918Regular user created or automatically created subnet.
- PRIVATE_SERVICE_CONNECT
- PRIVATE_SERVICE_CONNECTSubnetworks created for Private Service Connect in the producer network.
- REGIONAL_MANAGED_PROXY
- REGIONAL_MANAGED_PROXYSubnetwork used for Regional Envoy-based Load Balancing.
- "GLOBAL_MANAGED_PROXY"
- GLOBAL_MANAGED_PROXYSubnet reserved for Global Envoy-based Load Balancing.
- "INTERNAL_HTTPS_LOAD_BALANCER"
- INTERNAL_HTTPS_LOAD_BALANCERSubnet reserved for Internal HTTP(S) Load Balancing.
- "PRIVATE"
- PRIVATERegular user created or automatically created subnet.
- "PRIVATE_NAT"
- PRIVATE_NATSubnetwork used as source range for Private NAT Gateways.
- "PRIVATE_RFC_1918"
- PRIVATE_RFC_1918Regular user created or automatically created subnet.
- "PRIVATE_SERVICE_CONNECT"
- PRIVATE_SERVICE_CONNECTSubnetworks created for Private Service Connect in the producer network.
- "REGIONAL_MANAGED_PROXY"
- REGIONAL_MANAGED_PROXYSubnetwork used for Regional Envoy-based Load Balancing.
SubnetworkRole, SubnetworkRoleArgs
- Active
- ACTIVEThe ACTIVE subnet that is currently used.
- Backup
- BACKUPThe BACKUP subnet that could be promoted to ACTIVE.
- Subnetwork
Role Active - ACTIVEThe ACTIVE subnet that is currently used.
- Subnetwork
Role Backup - BACKUPThe BACKUP subnet that could be promoted to ACTIVE.
- Active
- ACTIVEThe ACTIVE subnet that is currently used.
- Backup
- BACKUPThe BACKUP subnet that could be promoted to ACTIVE.
- Active
- ACTIVEThe ACTIVE subnet that is currently used.
- Backup
- BACKUPThe BACKUP subnet that could be promoted to ACTIVE.
- ACTIVE
- ACTIVEThe ACTIVE subnet that is currently used.
- BACKUP
- BACKUPThe BACKUP subnet that could be promoted to ACTIVE.
- "ACTIVE"
- ACTIVEThe ACTIVE subnet that is currently used.
- "BACKUP"
- BACKUPThe BACKUP subnet that could be promoted to ACTIVE.
SubnetworkSecondaryRange, SubnetworkSecondaryRangeArgs
- Ip
Cidr stringRange - The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
- Range
Name string - The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
- Ip
Cidr stringRange - The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
- Range
Name string - The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
- ip
Cidr StringRange - The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
- range
Name String - The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
- ip
Cidr stringRange - The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
- range
Name string - The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
- ip_
cidr_ strrange - The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
- range_
name str - The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
- ip
Cidr StringRange - The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
- range
Name String - The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
SubnetworkSecondaryRangeResponse, SubnetworkSecondaryRangeResponseArgs
- Ip
Cidr stringRange - The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
- Range
Name string - The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
- Ip
Cidr stringRange - The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
- Range
Name string - The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
- ip
Cidr StringRange - The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
- range
Name String - The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
- ip
Cidr stringRange - The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
- range
Name string - The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
- ip_
cidr_ strrange - The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
- range_
name str - The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
- ip
Cidr StringRange - The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
- range
Name String - The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
SubnetworkStackType, SubnetworkStackTypeArgs
- Ipv4Ipv6
- IPV4_IPV6New VMs in this subnet can have both IPv4 and IPv6 addresses.
- Ipv4Only
- IPV4_ONLYNew VMs in this subnet will only be assigned IPv4 addresses.
- Subnetwork
Stack Type Ipv4Ipv6 - IPV4_IPV6New VMs in this subnet can have both IPv4 and IPv6 addresses.
- Subnetwork
Stack Type Ipv4Only - IPV4_ONLYNew VMs in this subnet will only be assigned IPv4 addresses.
- Ipv4Ipv6
- IPV4_IPV6New VMs in this subnet can have both IPv4 and IPv6 addresses.
- Ipv4Only
- IPV4_ONLYNew VMs in this subnet will only be assigned IPv4 addresses.
- Ipv4Ipv6
- IPV4_IPV6New VMs in this subnet can have both IPv4 and IPv6 addresses.
- Ipv4Only
- IPV4_ONLYNew VMs in this subnet will only be assigned IPv4 addresses.
- IPV4_IPV6
- IPV4_IPV6New VMs in this subnet can have both IPv4 and IPv6 addresses.
- IPV4_ONLY
- IPV4_ONLYNew VMs in this subnet will only be assigned IPv4 addresses.
- "IPV4_IPV6"
- IPV4_IPV6New VMs in this subnet can have both IPv4 and IPv6 addresses.
- "IPV4_ONLY"
- IPV4_ONLYNew VMs in this subnet will only be assigned IPv4 addresses.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.