DropSqlTuningSetDetails

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

Bases: object

The details required to drop a Sql tuning set. It takes either credentialDetails or databaseCredential. It’s recommended to provide databaseCredential

Methods

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

Attributes

credential_details Gets the credential_details of this DropSqlTuningSetDetails.
database_credential Gets the database_credential of this DropSqlTuningSetDetails.
name [Required] Gets the name of this DropSqlTuningSetDetails.
owner Gets the owner of this DropSqlTuningSetDetails.
show_sql_only Gets the show_sql_only of this DropSqlTuningSetDetails.
__init__(**kwargs)

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

Parameters:
  • credential_details (oci.database_management.models.SqlTuningSetAdminCredentialDetails) – The value to assign to the credential_details property of this DropSqlTuningSetDetails.
  • database_credential (oci.database_management.models.DatabaseCredentialDetails) – The value to assign to the database_credential property of this DropSqlTuningSetDetails.
  • name (str) – The value to assign to the name property of this DropSqlTuningSetDetails.
  • owner (str) – The value to assign to the owner property of this DropSqlTuningSetDetails.
  • show_sql_only (int) – The value to assign to the show_sql_only property of this DropSqlTuningSetDetails.
credential_details

Gets the credential_details of this DropSqlTuningSetDetails.

Returns:The credential_details of this DropSqlTuningSetDetails.
Return type:oci.database_management.models.SqlTuningSetAdminCredentialDetails
database_credential

Gets the database_credential of this DropSqlTuningSetDetails.

Returns:The database_credential of this DropSqlTuningSetDetails.
Return type:oci.database_management.models.DatabaseCredentialDetails
name

[Required] Gets the name of this DropSqlTuningSetDetails. A unique Sql tuning set name.

Returns:The name of this DropSqlTuningSetDetails.
Return type:str
owner

Gets the owner of this DropSqlTuningSetDetails. Owner of the Sql tuning set.

Returns:The owner of this DropSqlTuningSetDetails.
Return type:str
show_sql_only

Gets the show_sql_only of this DropSqlTuningSetDetails. Flag to indicate whether to drop the Sql tuning set or just display the plsql used to drop Sql tuning set.

Returns:The show_sql_only of this DropSqlTuningSetDetails.
Return type:int