CloneSqlTuningTaskDetails

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

Bases: object

Request to clone and run a SQL tuning task. The new task uses same inputs as the one being cloned.

Methods

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

Attributes

credential_details [Required] Gets the credential_details 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.
credential_details

[Required] Gets the credential_details of this CloneSqlTuningTaskDetails.

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

[Required] Gets the original_task_id of this CloneSqlTuningTaskDetails. The identifier of the 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