KubernetesClusterDataSourceSummary¶
- class oci.management_agent.models.KubernetesClusterDataSourceSummary(**kwargs)¶
Bases:
DataSourceSummaryA Kubernetes collection data source summary.
Attributes:
A constant which can be used with the type property of a DataSourceSummary.
A constant which can be used with the type property of a DataSourceSummary.
Gets the is_daemon_set of this KubernetesClusterDataSourceSummary.
[Required] Gets the key of this DataSourceSummary.
[Required] Gets the name of this DataSourceSummary.
[Required] Gets the type of this DataSourceSummary.
Methods:
__init__(**kwargs)Initializes a new KubernetesClusterDataSourceSummary 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'¶
A constant which can be used with the type property of a DataSourceSummary. This constant has a value of “KUBERNETES_CLUSTER”
- TYPE_PROMETHEUS_EMITTER = 'PROMETHEUS_EMITTER'¶
A constant which can be used with the type property of a DataSourceSummary. This constant has a value of “PROMETHEUS_EMITTER”
- __init__(**kwargs)¶
Initializes a new KubernetesClusterDataSourceSummary object with values from keyword arguments. The default value of the
typeattribute of this class isKUBERNETES_CLUSTERand 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 KubernetesClusterDataSourceSummary.
type (str) – The value to assign to the type property of this KubernetesClusterDataSourceSummary. Allowed values for this property are: “KUBERNETES_CLUSTER”, “PROMETHEUS_EMITTER”
name (str) – The value to assign to the name property of this KubernetesClusterDataSourceSummary.
is_daemon_set (bool) – The value to assign to the is_daemon_set property of this KubernetesClusterDataSourceSummary.
- 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.
- property is_daemon_set¶
Gets the is_daemon_set of this KubernetesClusterDataSourceSummary. true if the Kubernetes cluster type is Daemon set
- Returns
The is_daemon_set of this KubernetesClusterDataSourceSummary.
- Return type
bool
- property key¶
[Required] Gets the key of this DataSourceSummary. Data source type and name identifier.
- Returns
The key of this DataSourceSummary.
- Return type
str
- property name¶
[Required] Gets the name of this DataSourceSummary. Unique name of the dataSource.
- Returns
The name of this DataSourceSummary.
- Return type
str
- property type¶
[Required] Gets the type of this DataSourceSummary. 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 DataSourceSummary.
- Return type
str