Class SubnetworkState
Inherited Members
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class SubnetworkState : ResourceArgs
Constructors
View SourceSubnetworkState()
Declaration
public SubnetworkState()
Properties
View SourceCreationTimestamp
Creation timestamp in RFC3339 text format.
Declaration
public Input<string> CreationTimestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Fingerprint
Fingerprint of this resource. This field is used internally during updates of this resource.
Declaration
public Input<string> Fingerprint { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
GatewayAddress
The gateway address for default routes to reach destination addresses outside this subnetwork.
Declaration
public Input<string> GatewayAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
IpCidrRange
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.
Declaration
public Input<string> IpCidrRange { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LogConfig
Denotes the logging options for the subnetwork flow logs. If logging is enabled
logs will be exported to Stackdriver. This field cannot be set if the purpose of this
subnetwork is INTERNAL_HTTPS_LOAD_BALANCER Structure is documented below.
Declaration
public Input<SubnetworkLogConfigGetArgs> LogConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<SubnetworkLogConfigGetArgs> |
Name
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? 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.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Network
The network this subnet belongs to. Only networks that are in the distributed mode can have subnetworks.
Declaration
public Input<string> Network { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PrivateIpGoogleAccess
When enabled, VMs in this subnetwork without external IP addresses can access Google APIs and services by using Private Google Access.
Declaration
public Input<bool> PrivateIpGoogleAccess { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Purpose
The purpose of the resource. This field can be either PRIVATE or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE. If set to INTERNAL_HTTPS_LOAD_BALANCER you must also set the role.
Declaration
public Input<string> Purpose { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Region
URL of the GCP region for this subnetwork.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Role
The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining.
Declaration
public Input<string> Role { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SecondaryIpRanges
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. Structure is documented below.
Declaration
public InputList<SubnetworkSecondaryIpRangeGetArgs> SecondaryIpRanges { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<SubnetworkSecondaryIpRangeGetArgs> |
SelfLink
The URI of the created resource.
Declaration
public Input<string> SelfLink { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |