CloneSqlTuningTaskDetails

class oci.database_management.models.CloneSqlTuningTaskDetails(**kwargs)

Bases: object

The request to clone and run a SQL tuning task. The new task uses the same inputs as the one being cloned. It takes either credentialDetails or databaseCredential. It’s recommended to provide databaseCredential

Methods

__init__(**kwargs) Initializes a new CloneSqlTuningTaskDetails object with values from keyword arguments.

Attributes

credential_details Gets the credential_details of this CloneSqlTuningTaskDetails.
database_credential Gets the database_credential of this CloneSqlTuningTaskDetails.
original_task_id [Required] Gets the original_task_id of this CloneSqlTuningTaskDetails.
task_description Gets the task_description of this CloneSqlTuningTaskDetails.
task_name [Required] Gets the task_name of this CloneSqlTuningTaskDetails.
__init__(**kwargs)

Initializes a new CloneSqlTuningTaskDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • task_name (str) – The value to assign to the task_name property of this CloneSqlTuningTaskDetails.
  • original_task_id (int) – The value to assign to the original_task_id property of this CloneSqlTuningTaskDetails.
  • task_description (str) – The value to assign to the task_description property of this CloneSqlTuningTaskDetails.
  • credential_details (oci.database_management.models.SqlTuningTaskCredentialDetails) – The value to assign to the credential_details property of this CloneSqlTuningTaskDetails.
  • database_credential (oci.database_management.models.DatabaseCredentialDetails) – The value to assign to the database_credential property of this CloneSqlTuningTaskDetails.
credential_details

Gets the credential_details of this CloneSqlTuningTaskDetails.

Returns:The credential_details of this CloneSqlTuningTaskDetails.
Return type:oci.database_management.models.SqlTuningTaskCredentialDetails
database_credential

Gets the database_credential of this CloneSqlTuningTaskDetails.

Returns:The database_credential of this CloneSqlTuningTaskDetails.
Return type:oci.database_management.models.DatabaseCredentialDetails
original_task_id

[Required] Gets the original_task_id of this CloneSqlTuningTaskDetails. The identifier of the SQL tuning task being cloned. This is not the OCID. It can be retrieved from the following endpoint list_sql_tuning_advisor_tasks().

Returns:The original_task_id of this CloneSqlTuningTaskDetails.
Return type:int
task_description

Gets the task_description of this CloneSqlTuningTaskDetails. The description of the SQL tuning task.

Returns:The task_description of this CloneSqlTuningTaskDetails.
Return type:str
task_name

[Required] Gets the task_name of this CloneSqlTuningTaskDetails. The name of the SQL tuning task. The name is unique per user in a database, and it is case-sensitive.

Returns:The task_name of this CloneSqlTuningTaskDetails.
Return type:str