Class CloneSqlTuningTaskDetails
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
Inherited Members
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class CloneSqlTuningTaskDetails
Properties
CredentialDetails
Declaration
[JsonProperty(PropertyName = "credentialDetails")]
public SqlTuningTaskCredentialDetails CredentialDetails { get; set; }
Property Value
Type | Description |
---|---|
SqlTuningTaskCredentialDetails |
DatabaseCredential
Declaration
[JsonProperty(PropertyName = "databaseCredential")]
public DatabaseCredentialDetails DatabaseCredential { get; set; }
Property Value
Type | Description |
---|---|
DatabaseCredentialDetails |
OriginalTaskId
Declaration
[Required(ErrorMessage = "OriginalTaskId is required.")]
[JsonProperty(PropertyName = "originalTaskId")]
public long? OriginalTaskId { get; set; }
Property Value
Type | Description |
---|---|
long? | The identifier of the SQL tuning task being cloned. This is not the OCID. It can be retrieved from the following endpoint {@link #listSqlTuningAdvisorTasks(ListSqlTuningAdvisorTasksRequest) listSqlTuningAdvisorTasks}. |
Remarks
Required
TaskDescription
Declaration
[JsonProperty(PropertyName = "taskDescription")]
public string TaskDescription { get; set; }
Property Value
Type | Description |
---|---|
string | The description of the SQL tuning task. |
TaskName
Declaration
[Required(ErrorMessage = "TaskName is required.")]
[JsonProperty(PropertyName = "taskName")]
public string TaskName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the SQL tuning task. The name is unique per user in a database, and it is case-sensitive. |
Remarks
Required