Reference documentation and code samples for the Google Cloud VMware Engine V1 API class Google::Cloud::VmwareEngine::V1::Subnet.
Subnet in a private cloud. Either management
subnets (such as vMotion) that
are read-only, or userDefined
, which can also be updated.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#gateway_ip
def gateway_ip() -> ::String
Returns
- (::String) — The IP address of the gateway of this subnet. Must fall within the IP prefix defined above.
#gateway_ip=
def gateway_ip=(value) -> ::String
Parameter
- value (::String) — The IP address of the gateway of this subnet. Must fall within the IP prefix defined above.
Returns
- (::String) — The IP address of the gateway of this subnet. Must fall within the IP prefix defined above.
#ip_cidr_range
def ip_cidr_range() -> ::String
Returns
- (::String) — The IP address range of the subnet in CIDR format '10.0.0.0/24'.
#ip_cidr_range=
def ip_cidr_range=(value) -> ::String
Parameter
- value (::String) — The IP address range of the subnet in CIDR format '10.0.0.0/24'.
Returns
- (::String) — The IP address range of the subnet in CIDR format '10.0.0.0/24'.
#name
def name() -> ::String
Returns
-
(::String) — 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
#state
def state() -> ::Google::Cloud::VmwareEngine::V1::Subnet::State
Returns
- (::Google::Cloud::VmwareEngine::V1::Subnet::State) — Output only. The state of the resource.
#type
def type() -> ::String
Returns
- (::String) — Output only. The type of the subnet. For example "management" or "userDefined".
#vlan_id
def vlan_id() -> ::Integer
Returns
- (::Integer) — Output only. VLAN ID of the VLAN on which the subnet is configured