Class SqlTuningSetAdminActionStatus
The status of a Sql tuning set admin action.
Inherited Members
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class SqlTuningSetAdminActionStatus
Properties
ErrorCode
Declaration
[JsonProperty(PropertyName = "errorCode")]
public int? ErrorCode { get; set; }
Property Value
Type | Description |
---|---|
int? | The error code that denotes failure if the Sql tuning set admin action is not successful. The error code is "null" if the admin action is successful. |
ErrorMessage
Declaration
[JsonProperty(PropertyName = "errorMessage")]
public string ErrorMessage { get; set; }
Property Value
Type | Description |
---|---|
string | The error message that indicates the reason for failure if the Sql tuning set admin action is not successful. The error message is "null" if the admin action is successful. |
ShowSqlOnly
Declaration
[JsonProperty(PropertyName = "showSqlOnly")]
public int? ShowSqlOnly { get; set; }
Property Value
Type | Description |
---|---|
int? | Flag to indicate whether to create the Sql tuning set or just display the plsql used for the selected user action. |
SqlStatement
Declaration
[JsonProperty(PropertyName = "sqlStatement")]
public string SqlStatement { get; set; }
Property Value
Type | Description |
---|---|
string | When showSqlOnly is set to 1, this attribute displays the plsql generated for the selected user action. When showSqlOnly is set to 0, this attribute will not be returned. |
Status
Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SqlTuningSetAdminActionStatus.StatusEnum? Status { get; set; }
Property Value
Type | Description |
---|---|
SqlTuningSetAdminActionStatus.StatusEnum? | The status of a Sql tuning set admin action. |
Remarks
Required
SuccessMessage
Declaration
[JsonProperty(PropertyName = "successMessage")]
public string SuccessMessage { get; set; }
Property Value
Type | Description |
---|---|
string | The success message of the Sql tuning set admin action. The success message is "null" if the admin action is non successful. |