Class UsableSubnetwork
Subnetwork which the current user has compute.subnetworks.use permission on.
Implements
Inherited Members
Namespace: Google.Apis.Compute.alpha.Data
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class UsableSubnetwork : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExternalIpv6Prefix
[Output Only] The external IPv6 address range that is assigned to this subnetwork.
Declaration
[JsonProperty("externalIpv6Prefix")]
public virtual string ExternalIpv6Prefix { get; set; }
Property Value
Type | Description |
---|---|
string |
InternalIpv6Prefix
[Output Only] The internal IPv6 address range that is assigned to this subnetwork.
Declaration
[JsonProperty("internalIpv6Prefix")]
public virtual string InternalIpv6Prefix { get; set; }
Property Value
Type | Description |
---|---|
string |
IpCidrRange
The range of internal addresses that are owned by this subnetwork.
Declaration
[JsonProperty("ipCidrRange")]
public virtual string IpCidrRange { get; set; }
Property Value
Type | Description |
---|---|
string |
Ipv6AccessType
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.
Declaration
[JsonProperty("ipv6AccessType")]
public virtual string Ipv6AccessType { get; set; }
Property Value
Type | Description |
---|---|
string |
Network
Network URL.
Declaration
[JsonProperty("network")]
public virtual string Network { get; set; }
Property Value
Type | Description |
---|---|
string |
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.
Declaration
[JsonProperty("purpose")]
public virtual string Purpose { get; set; }
Property Value
Type | Description |
---|---|
string |
Role
The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or 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.
Declaration
[JsonProperty("role")]
public virtual string Role { get; set; }
Property Value
Type | Description |
---|---|
string |
SecondaryIpRanges
Secondary IP ranges.
Declaration
[JsonProperty("secondaryIpRanges")]
public virtual IList<UsableSubnetworkSecondaryRange> SecondaryIpRanges { get; set; }
Property Value
Type | Description |
---|---|
IList<UsableSubnetworkSecondaryRange> |
StackType
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.
Declaration
[JsonProperty("stackType")]
public virtual string StackType { get; set; }
Property Value
Type | Description |
---|---|
string |
Subnetwork
Subnetwork URL.
Declaration
[JsonProperty("subnetwork")]
public virtual string Subnetwork { get; set; }
Property Value
Type | Description |
---|---|
string |