KubernetesClusterDataSourceSummaryItem

class oci.management_agent.models.KubernetesClusterDataSourceSummaryItem(**kwargs)

Bases: oci.management_agent.models.data_source_summary_item.DataSourceSummaryItem

A Kubernetes collection data source summary.

Attributes

TYPE_KUBERNETES_CLUSTER str(object=’’) -> str
TYPE_PROMETHEUS_EMITTER str(object=’’) -> str
is_daemon_set Gets the is_daemon_set of this KubernetesClusterDataSourceSummaryItem.
key [Required] Gets the key of this DataSourceSummaryItem.
name [Required] Gets the name of this DataSourceSummaryItem.
type [Required] Gets the type of this DataSourceSummaryItem.

Methods

__init__(**kwargs) Initializes a new KubernetesClusterDataSourceSummaryItem object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
TYPE_KUBERNETES_CLUSTER = 'KUBERNETES_CLUSTER'
TYPE_PROMETHEUS_EMITTER = 'PROMETHEUS_EMITTER'
__init__(**kwargs)

Initializes a new KubernetesClusterDataSourceSummaryItem object with values from keyword arguments. The default value of the type attribute of this class is KUBERNETES_CLUSTER and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • key (str) – The value to assign to the key property of this KubernetesClusterDataSourceSummaryItem.
  • type (str) – The value to assign to the type property of this KubernetesClusterDataSourceSummaryItem. Allowed values for this property are: “KUBERNETES_CLUSTER”, “PROMETHEUS_EMITTER”
  • name (str) – The value to assign to the name property of this KubernetesClusterDataSourceSummaryItem.
  • is_daemon_set (bool) – The value to assign to the is_daemon_set property of this KubernetesClusterDataSourceSummaryItem.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

is_daemon_set

Gets the is_daemon_set of this KubernetesClusterDataSourceSummaryItem. true if the Kubernetes cluster type is Daemon set

Returns:The is_daemon_set of this KubernetesClusterDataSourceSummaryItem.
Return type:bool
key

[Required] Gets the key of this DataSourceSummaryItem. Data source type and name identifier.

Returns:The key of this DataSourceSummaryItem.
Return type:str
name

[Required] Gets the name of this DataSourceSummaryItem. Unique name of the dataSource.

Returns:The name of this DataSourceSummaryItem.
Return type:str
type

[Required] Gets the type of this DataSourceSummaryItem. The type of the dataSource.

Allowed values for this property are: “KUBERNETES_CLUSTER”, “PROMETHEUS_EMITTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this DataSourceSummaryItem.
Return type:str