SqlPlanBaselineJobSummary¶
- class oci.database_management.models.SqlPlanBaselineJobSummary(**kwargs)¶
Bases:
objectA summary of the database job used for loading and evolving SQL plan baselines.
Attributes:
A constant which can be used with the status property of a SqlPlanBaselineJobSummary.
A constant which can be used with the status property of a SqlPlanBaselineJobSummary.
A constant which can be used with the status property of a SqlPlanBaselineJobSummary.
A constant which can be used with the type property of a SqlPlanBaselineJobSummary.
[Required] Gets the name of this SqlPlanBaselineJobSummary.
[Required] Gets the status of this SqlPlanBaselineJobSummary.
Gets the time_created of this SqlPlanBaselineJobSummary.
[Required] Gets the type of this SqlPlanBaselineJobSummary.
Methods:
__init__(**kwargs)Initializes a new SqlPlanBaselineJobSummary object with values from keyword arguments.
- STATUS_FAILED = 'FAILED'¶
A constant which can be used with the status property of a SqlPlanBaselineJobSummary. This constant has a value of “FAILED”
- STATUS_SCHEDULED = 'SCHEDULED'¶
A constant which can be used with the status property of a SqlPlanBaselineJobSummary. This constant has a value of “SCHEDULED”
- STATUS_SUCCEEDED = 'SUCCEEDED'¶
A constant which can be used with the status property of a SqlPlanBaselineJobSummary. This constant has a value of “SUCCEEDED”
- TYPE_LOAD = 'LOAD'¶
A constant which can be used with the type property of a SqlPlanBaselineJobSummary. This constant has a value of “LOAD”
- __init__(**kwargs)¶
Initializes a new SqlPlanBaselineJobSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this SqlPlanBaselineJobSummary.
type (str) – The value to assign to the type property of this SqlPlanBaselineJobSummary. Allowed values for this property are: “LOAD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
status (str) – The value to assign to the status property of this SqlPlanBaselineJobSummary. Allowed values for this property are: “SUCCEEDED”, “SCHEDULED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
time_created (datetime) – The value to assign to the time_created property of this SqlPlanBaselineJobSummary.
- property name¶
[Required] Gets the name of this SqlPlanBaselineJobSummary. The name of the job.
- Returns
The name of this SqlPlanBaselineJobSummary.
- Return type
str
- property status¶
[Required] Gets the status of this SqlPlanBaselineJobSummary. The status of the job.
Allowed values for this property are: “SUCCEEDED”, “SCHEDULED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The status of this SqlPlanBaselineJobSummary.
- Return type
str
- property time_created¶
Gets the time_created of this SqlPlanBaselineJobSummary. The date and time the job was created.
- Returns
The time_created of this SqlPlanBaselineJobSummary.
- Return type
datetime
- property type¶
[Required] Gets the type of this SqlPlanBaselineJobSummary. The type of the job.
Allowed values for this property are: “LOAD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this SqlPlanBaselineJobSummary.
- Return type
str