Class: Google::Cloud::VmwareEngine::V1::Subnet

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb

Overview

Subnet in a private cloud. Either management subnets (such as vMotion) that are read-only, or userDefined, which can also be updated.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#gateway_ip ⇒ ::String

Returns 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.



269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 269

class Subnet
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines possible states of subnets.
  module State
    # The default value. This value should never be used.
    STATE_UNSPECIFIED = 0

    # The subnet is ready.
    ACTIVE = 1

    # The subnet is being created.
    CREATING = 2

    # The subnet is being updated.
    UPDATING = 3

    # The subnet is being deleted.
    DELETING = 4
  end
end

#ip_cidr_range ⇒ ::String

Returns 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'.



269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 269

class Subnet
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines possible states of subnets.
  module State
    # The default value. This value should never be used.
    STATE_UNSPECIFIED = 0

    # The subnet is ready.
    ACTIVE = 1

    # The subnet is being created.
    CREATING = 2

    # The subnet is being updated.
    UPDATING = 3

    # The subnet is being deleted.
    DELETING = 4
  end
end

#name ⇒ ::String (readonly)

Returns 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.

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



269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 269

class Subnet
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines possible states of subnets.
  module State
    # The default value. This value should never be used.
    STATE_UNSPECIFIED = 0

    # The subnet is ready.
    ACTIVE = 1

    # The subnet is being created.
    CREATING = 2

    # The subnet is being updated.
    UPDATING = 3

    # The subnet is being deleted.
    DELETING = 4
  end
end

#state ⇒ ::Google::Cloud::VmwareEngine::V1::Subnet::State (readonly)

Returns Output only. The state of the resource.

Returns:



269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 269

class Subnet
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines possible states of subnets.
  module State
    # The default value. This value should never be used.
    STATE_UNSPECIFIED = 0

    # The subnet is ready.
    ACTIVE = 1

    # The subnet is being created.
    CREATING = 2

    # The subnet is being updated.
    UPDATING = 3

    # The subnet is being deleted.
    DELETING = 4
  end
end

#type ⇒ ::String (readonly)

Returns Output only. The type of the subnet. For example "management" or "userDefined".

Returns:

  • (::String) —

    Output only. The type of the subnet. For example "management" or "userDefined".



269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 269

class Subnet
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines possible states of subnets.
  module State
    # The default value. This value should never be used.
    STATE_UNSPECIFIED = 0

    # The subnet is ready.
    ACTIVE = 1

    # The subnet is being created.
    CREATING = 2

    # The subnet is being updated.
    UPDATING = 3

    # The subnet is being deleted.
    DELETING = 4
  end
end