public enum Subnetwork.Types.Purpose
Reference documentation and code samples for the Compute Engine v1 API enum Subnetwork.Types.Purpose.
The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Fields |
|
---|---|
Name | Description |
GlobalManagedProxy |
Subnet reserved for Global Envoy-based Load Balancing. |
InternalHttpsLoadBalancer |
Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy purpose, please use REGIONAL_MANAGED_PROXY instead. |
Private |
Regular user created or automatically created subnet. |
PrivateNat |
Subnetwork used as source range for Private NAT Gateways. |
PrivateRfc1918 |
Regular user created or automatically created subnet. |
PrivateServiceConnect |
Subnetworks created for Private Service Connect in the producer network. |
RegionalManagedProxy |
Subnetwork used for Regional Envoy-based Load Balancing. |
UndefinedPurpose |
A value indicating that the enum field is not set. |