Class: Google::Cloud::GkeHub::V1beta1::OnPremCluster

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gkehub/v1beta1/membership.rb

Overview

OnPremCluster contains information specific to GKE On-Prem clusters.

Defined Under Namespace

Modules: ClusterType

Instance Attribute Summary collapse

Instance Attribute Details

#admin_cluster::Boolean

Returns Immutable. Whether the cluster is an admin cluster.

Returns:

  • (::Boolean)

    Immutable. Whether the cluster is an admin cluster.



279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 279

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

  # ClusterType describes on prem cluster's type.
  module ClusterType
    # The ClusterType is not set.
    CLUSTERTYPE_UNSPECIFIED = 0

    # The ClusterType is bootstrap cluster.
    BOOTSTRAP = 1

    # The ClusterType is baremetal hybrid cluster.
    HYBRID = 2

    # The ClusterType is baremetal standalone cluster.
    STANDALONE = 3

    # The ClusterType is user cluster.
    USER = 4
  end
end

#cluster_missing::Boolean (readonly)

Returns Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.

Returns:

  • (::Boolean)

    Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.



279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 279

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

  # ClusterType describes on prem cluster's type.
  module ClusterType
    # The ClusterType is not set.
    CLUSTERTYPE_UNSPECIFIED = 0

    # The ClusterType is bootstrap cluster.
    BOOTSTRAP = 1

    # The ClusterType is baremetal hybrid cluster.
    HYBRID = 2

    # The ClusterType is baremetal standalone cluster.
    STANDALONE = 3

    # The ClusterType is user cluster.
    USER = 4
  end
end

#cluster_type::Google::Cloud::GkeHub::V1beta1::OnPremCluster::ClusterType

Returns Immutable. The on prem cluster's type.

Returns:



279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 279

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

  # ClusterType describes on prem cluster's type.
  module ClusterType
    # The ClusterType is not set.
    CLUSTERTYPE_UNSPECIFIED = 0

    # The ClusterType is bootstrap cluster.
    BOOTSTRAP = 1

    # The ClusterType is baremetal hybrid cluster.
    HYBRID = 2

    # The ClusterType is baremetal standalone cluster.
    STANDALONE = 3

    # The ClusterType is user cluster.
    USER = 4
  end
end

Returns Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example:

//gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster.

Returns:

  • (::String)

    Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example:

    //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster



279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
# File 'proto_docs/google/cloud/gkehub/v1beta1/membership.rb', line 279

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

  # ClusterType describes on prem cluster's type.
  module ClusterType
    # The ClusterType is not set.
    CLUSTERTYPE_UNSPECIFIED = 0

    # The ClusterType is bootstrap cluster.
    BOOTSTRAP = 1

    # The ClusterType is baremetal hybrid cluster.
    HYBRID = 2

    # The ClusterType is baremetal standalone cluster.
    STANDALONE = 3

    # The ClusterType is user cluster.
    USER = 4
  end
end