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.



432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 432

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



432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 432

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



432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 432

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:



432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 432

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



432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 432

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

#vlan_id::Integer (readonly)

Returns Output only. VLAN ID of the VLAN on which the subnet is configured.

Returns:

  • (::Integer)

    Output only. VLAN ID of the VLAN on which the subnet is configured



432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 432

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