ClusterDetails¶
-
class
oci.jms.models.ClusterDetails(**kwargs)¶ Bases:
objectThe state of the cluster during a specified time period.
Attributes
CLUSTER_TYPE_OKEA constant which can be used with the cluster_type property of a ClusterDetails. CLUSTER_TYPE_OTHERA constant which can be used with the cluster_type property of a ClusterDetails. cluster_typeGets the cluster_type of this ClusterDetails. container_countGets the container_count of this ClusterDetails. node_countGets the node_count of this ClusterDetails. pod_countGets the pod_count of this ClusterDetails. Methods
__init__(**kwargs)Initializes a new ClusterDetails object with values from keyword arguments. -
CLUSTER_TYPE_OKE= 'OKE'¶ A constant which can be used with the cluster_type property of a ClusterDetails. This constant has a value of “OKE”
-
CLUSTER_TYPE_OTHER= 'OTHER'¶ A constant which can be used with the cluster_type property of a ClusterDetails. This constant has a value of “OTHER”
-
__init__(**kwargs)¶ Initializes a new ClusterDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - cluster_type (str) – The value to assign to the cluster_type property of this ClusterDetails. Allowed values for this property are: “OKE”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- node_count (int) – The value to assign to the node_count property of this ClusterDetails.
- pod_count (int) – The value to assign to the pod_count property of this ClusterDetails.
- container_count (int) – The value to assign to the container_count property of this ClusterDetails.
-
cluster_type¶ Gets the cluster_type of this ClusterDetails. The type of the cluster.
Allowed values for this property are: “OKE”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The cluster_type of this ClusterDetails. Return type: str
-
container_count¶ Gets the container_count of this ClusterDetails. Number of containers as reported in the last cluster scan
Returns: The container_count of this ClusterDetails. Return type: int
-
node_count¶ Gets the node_count of this ClusterDetails. Number of nodes as reported in the last cluster scan
Returns: The node_count of this ClusterDetails. Return type: int
-
pod_count¶ Gets the pod_count of this ClusterDetails. Number of pods as reported in the last cluster scan
Returns: The pod_count of this ClusterDetails. Return type: int
-