QueryDiagnosisSummaryDetails¶
- class oci.cluster_health.models.QueryDiagnosisSummaryDetails(**kwargs)¶
Bases:
objectQuery filters for retrieving diagnosis summaries.
Attributes:
A constant which can be used with the test_type property of a QueryDiagnosisSummaryDetails.
A constant which can be used with the test_type property of a QueryDiagnosisSummaryDetails.
[Required] Gets the instance_ids of this QueryDiagnosisSummaryDetails.
Gets the test_type of this QueryDiagnosisSummaryDetails.
Gets the time_test_run_interval_end of this QueryDiagnosisSummaryDetails.
Gets the time_test_run_interval_start of this QueryDiagnosisSummaryDetails.
Methods:
__init__(**kwargs)Initializes a new QueryDiagnosisSummaryDetails object with values from keyword arguments.
- TEST_TYPE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the test_type property of a QueryDiagnosisSummaryDetails. This constant has a value of “ACTIVE”
- TEST_TYPE_PASSIVE = 'PASSIVE'¶
A constant which can be used with the test_type property of a QueryDiagnosisSummaryDetails. This constant has a value of “PASSIVE”
- __init__(**kwargs)¶
Initializes a new QueryDiagnosisSummaryDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
instance_ids (list[str]) – The value to assign to the instance_ids property of this QueryDiagnosisSummaryDetails.
test_type (str) – The value to assign to the test_type property of this QueryDiagnosisSummaryDetails. Allowed values for this property are: “PASSIVE”, “ACTIVE”
time_test_run_interval_start (datetime) – The value to assign to the time_test_run_interval_start property of this QueryDiagnosisSummaryDetails.
time_test_run_interval_end (datetime) – The value to assign to the time_test_run_interval_end property of this QueryDiagnosisSummaryDetails.
- property instance_ids¶
[Required] Gets the instance_ids of this QueryDiagnosisSummaryDetails. A list of instance OCIDs to match.
- Returns
The instance_ids of this QueryDiagnosisSummaryDetails.
- Return type
list[str]
- property test_type¶
Gets the test_type of this QueryDiagnosisSummaryDetails. The test type, PASSIVE or ACTIVE
Allowed values for this property are: “PASSIVE”, “ACTIVE”
- Returns
The test_type of this QueryDiagnosisSummaryDetails.
- Return type
str
- property time_test_run_interval_end¶
Gets the time_test_run_interval_end of this QueryDiagnosisSummaryDetails. End of the time range for tests run, in RFC 3339 format.
- Returns
The time_test_run_interval_end of this QueryDiagnosisSummaryDetails.
- Return type
datetime
- property time_test_run_interval_start¶
Gets the time_test_run_interval_start of this QueryDiagnosisSummaryDetails. Start of the time range for tests run, in RFC 3339 format.
- Returns
The time_test_run_interval_start of this QueryDiagnosisSummaryDetails.
- Return type
datetime