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.



284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 284

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

    # Changes requested in the last operation are being propagated.
    RECONCILING = 5

    # Last operation on the subnet did not succeed. Subnet's payload is
    # reverted back to its most recent working state.
    FAILED = 6
  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'.



284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 284

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

    # Changes requested in the last operation are being propagated.
    RECONCILING = 5

    # Last operation on the subnet did not succeed. Subnet's payload is
    # reverted back to its most recent working state.
    FAILED = 6
  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



284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 284

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

    # Changes requested in the last operation are being propagated.
    RECONCILING = 5

    # Last operation on the subnet did not succeed. Subnet's payload is
    # reverted back to its most recent working state.
    FAILED = 6
  end
end

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

Returns Output only. The state of the resource.

Returns:



284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 284

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

    # Changes requested in the last operation are being propagated.
    RECONCILING = 5

    # Last operation on the subnet did not succeed. Subnet's payload is
    # reverted back to its most recent working state.
    FAILED = 6
  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".



284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 284

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

    # Changes requested in the last operation are being propagated.
    RECONCILING = 5

    # Last operation on the subnet did not succeed. Subnet's payload is
    # reverted back to its most recent working state.
    FAILED = 6
  end
end