DropSqlTuningTaskDetails¶
- class oci.database_management.models.DropSqlTuningTaskDetails(**kwargs)¶
Bases:
objectThe request to drop a SQL tuning task. It takes either credentialDetails or databaseCredential. It’s recommended to provide databaseCredential
Methods:
__init__(**kwargs)Initializes a new DropSqlTuningTaskDetails object with values from keyword arguments.
Attributes:
Gets the credential_details of this DropSqlTuningTaskDetails.
Gets the database_credential of this DropSqlTuningTaskDetails.
[Required] Gets the task_id of this DropSqlTuningTaskDetails.
- __init__(**kwargs)¶
Initializes a new DropSqlTuningTaskDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
task_id (int) – The value to assign to the task_id property of this DropSqlTuningTaskDetails.
credential_details (oci.database_management.models.SqlTuningTaskCredentialDetails) – The value to assign to the credential_details property of this DropSqlTuningTaskDetails.
database_credential (oci.database_management.models.DatabaseCredentialDetails) – The value to assign to the database_credential property of this DropSqlTuningTaskDetails.
- property credential_details¶
Gets the credential_details of this DropSqlTuningTaskDetails.
- Returns
The credential_details of this DropSqlTuningTaskDetails.
- Return type
oci.database_management.models.SqlTuningTaskCredentialDetails
- property database_credential¶
Gets the database_credential of this DropSqlTuningTaskDetails.
- Returns
The database_credential of this DropSqlTuningTaskDetails.
- Return type
- property task_id¶
[Required] Gets the task_id of this DropSqlTuningTaskDetails. The identifier of the SQL tuning task being dropped. This is not the OCID. It can be retrieved from the following endpoint
list_sql_tuning_advisor_tasks().- Returns
The task_id of this DropSqlTuningTaskDetails.
- Return type
int