public sealed class Subnet : IMessage<Subnet>, IEquatable<Subnet>, IDeepCloneable<Subnet>, IBufferMessage, IMessage
Reference documentation and code samples for the VMware Engine v1 API class Subnet.
Subnet in a private cloud. Either management
subnets (such as vMotion) that
are read-only, or userDefined
, which can also be updated.
Namespace
Google.Cloud.VmwareEngine.V1Assembly
Google.Cloud.VmwareEngine.V1.dll
Constructors
Subnet()
public Subnet()
Subnet(Subnet)
public Subnet(Subnet other)
Parameter | |
---|---|
Name | Description |
other |
Subnet |
Properties
GatewayIp
public string GatewayIp { get; set; }
The IP address of the gateway of this subnet. Must fall within the IP prefix defined above.
Property Value | |
---|---|
Type | Description |
string |
IpCidrRange
public string IpCidrRange { get; set; }
The IP address range of the subnet in CIDR format '10.0.0.0/24'.
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Output only. The resource name of this subnet.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet
Property Value | |
---|---|
Type | Description |
string |
State
public Subnet.Types.State State { get; set; }
Output only. The state of the resource.
Property Value | |
---|---|
Type | Description |
SubnetTypesState |
SubnetName
public SubnetName SubnetName { get; set; }
SubnetName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
SubnetName |
Type
public string Type { get; set; }
Output only. The type of the subnet. For example "management" or "userDefined".
Property Value | |
---|---|
Type | Description |
string |
VlanId
public int VlanId { get; set; }
Output only. VLAN ID of the VLAN on which the subnet is configured
Property Value | |
---|---|
Type | Description |
int |