DataSourceSummary¶
-
class
oci.management_agent.models.DataSourceSummary(**kwargs)¶ Bases:
objectThe information about the dataSources that agent is associated to.
Attributes
TYPE_KUBERNETES_CLUSTERA constant which can be used with the type property of a DataSourceSummary. TYPE_PROMETHEUS_EMITTERA constant which can be used with the type property of a DataSourceSummary. key[Required] Gets the key of this DataSourceSummary. name[Required] Gets the name of this DataSourceSummary. type[Required] Gets the type of this DataSourceSummary. Methods
__init__(**kwargs)Initializes a new DataSourceSummary 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 DataSourceSummary object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 DataSourceSummary.
- type (str) – The value to assign to the type property of this DataSourceSummary. 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’.
- name (str) – The value to assign to the name property of this DataSourceSummary.
-
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.
-
key¶ [Required] Gets the key of this DataSourceSummary. Data source type and name identifier.
Returns: The key of this DataSourceSummary. Return type: str
-
name¶ [Required] Gets the name of this DataSourceSummary. Unique name of the dataSource.
Returns: The name of this DataSourceSummary. Return type: str
-
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
-