HostAllocation¶
-
class
oci.opsi.models.
HostAllocation
(**kwargs)¶ Bases:
oci.opsi.models.database_configuration_metric_group.DatabaseConfigurationMetricGroup
Resource Allocation metric for the host
Attributes
METRIC_NAME_ASM_ENTITY
str(object=’’) -> str METRIC_NAME_DB_CONNECTION_STATUS
str(object=’’) -> str METRIC_NAME_DB_EXTERNAL_INSTANCE
str(object=’’) -> str METRIC_NAME_DB_EXTERNAL_PROPERTIES
str(object=’’) -> str METRIC_NAME_DB_OS_CONFIG_INSTANCE
str(object=’’) -> str METRIC_NAME_DB_PARAMETERS
str(object=’’) -> str METRIC_NAME_EXADATA_CELL_CONFIG
str(object=’’) -> str METRIC_NAME_HOST_RESOURCE_ALLOCATION
str(object=’’) -> str metric_name
[Required] Gets the metric_name of this DatabaseConfigurationMetricGroup. resource_name
Gets the resource_name of this HostAllocation. resource_value
Gets the resource_value of this HostAllocation. time_collected
Gets the time_collected of this DatabaseConfigurationMetricGroup. Methods
__init__
(**kwargs)Initializes a new HostAllocation 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. -
METRIC_NAME_ASM_ENTITY
= 'ASM_ENTITY'¶
-
METRIC_NAME_DB_CONNECTION_STATUS
= 'DB_CONNECTION_STATUS'¶
-
METRIC_NAME_DB_EXTERNAL_INSTANCE
= 'DB_EXTERNAL_INSTANCE'¶
-
METRIC_NAME_DB_EXTERNAL_PROPERTIES
= 'DB_EXTERNAL_PROPERTIES'¶
-
METRIC_NAME_DB_OS_CONFIG_INSTANCE
= 'DB_OS_CONFIG_INSTANCE'¶
-
METRIC_NAME_DB_PARAMETERS
= 'DB_PARAMETERS'¶
-
METRIC_NAME_EXADATA_CELL_CONFIG
= 'EXADATA_CELL_CONFIG'¶
-
METRIC_NAME_HOST_RESOURCE_ALLOCATION
= 'HOST_RESOURCE_ALLOCATION'¶
-
__init__
(**kwargs)¶ Initializes a new HostAllocation object with values from keyword arguments. The default value of the
metric_name
attribute of this class isHOST_RESOURCE_ALLOCATION
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - metric_name (str) – The value to assign to the metric_name property of this HostAllocation. Allowed values for this property are: “DB_EXTERNAL_PROPERTIES”, “DB_EXTERNAL_INSTANCE”, “DB_OS_CONFIG_INSTANCE”, “DB_PARAMETERS”, “DB_CONNECTION_STATUS”, “HOST_RESOURCE_ALLOCATION”, “ASM_ENTITY”, “EXADATA_CELL_CONFIG”
- time_collected (datetime) – The value to assign to the time_collected property of this HostAllocation.
- resource_name (str) – The value to assign to the resource_name property of this HostAllocation.
- resource_value (int) – The value to assign to the resource_value property of this HostAllocation.
-
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.
-
metric_name
¶ [Required] Gets the metric_name of this DatabaseConfigurationMetricGroup. Name of the metric group.
Allowed values for this property are: “DB_EXTERNAL_PROPERTIES”, “DB_EXTERNAL_INSTANCE”, “DB_OS_CONFIG_INSTANCE”, “DB_PARAMETERS”, “DB_CONNECTION_STATUS”, “HOST_RESOURCE_ALLOCATION”, “ASM_ENTITY”, “EXADATA_CELL_CONFIG”
Returns: The metric_name of this DatabaseConfigurationMetricGroup. Return type: str
-
resource_name
¶ Gets the resource_name of this HostAllocation. Name of the host resource
Returns: The resource_name of this HostAllocation. Return type: str
-
resource_value
¶ Gets the resource_value of this HostAllocation. Value of the host resource
Returns: The resource_value of this HostAllocation. Return type: int
-
time_collected
¶ Gets the time_collected of this DatabaseConfigurationMetricGroup. Collection timestamp Example: “2020-05-06T00:00:00.000Z”
Returns: The time_collected of this DatabaseConfigurationMetricGroup. Return type: datetime
-