DropSqlPlanBaselinesDetails¶
-
class
oci.database_management.models.DropSqlPlanBaselinesDetails(**kwargs)¶ Bases:
objectThe details required to drop SQL plan baselines. It takes either credentials or databaseCredential. It’s recommended to provide databaseCredential
Methods
__init__(**kwargs)Initializes a new DropSqlPlanBaselinesDetails object with values from keyword arguments. Attributes
credentialsGets the credentials of this DropSqlPlanBaselinesDetails. database_credentialGets the database_credential of this DropSqlPlanBaselinesDetails. plan_nameGets the plan_name of this DropSqlPlanBaselinesDetails. sql_handleGets the sql_handle of this DropSqlPlanBaselinesDetails. -
__init__(**kwargs)¶ Initializes a new DropSqlPlanBaselinesDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - sql_handle (str) – The value to assign to the sql_handle property of this DropSqlPlanBaselinesDetails.
- plan_name (str) – The value to assign to the plan_name property of this DropSqlPlanBaselinesDetails.
- credentials (oci.database_management.models.ManagedDatabaseCredential) – The value to assign to the credentials property of this DropSqlPlanBaselinesDetails.
- database_credential (oci.database_management.models.DatabaseCredentialDetails) – The value to assign to the database_credential property of this DropSqlPlanBaselinesDetails.
-
credentials¶ Gets the credentials of this DropSqlPlanBaselinesDetails.
Returns: The credentials of this DropSqlPlanBaselinesDetails. Return type: oci.database_management.models.ManagedDatabaseCredential
-
database_credential¶ Gets the database_credential of this DropSqlPlanBaselinesDetails.
Returns: The database_credential of this DropSqlPlanBaselinesDetails. Return type: oci.database_management.models.DatabaseCredentialDetails
-
plan_name¶ Gets the plan_name of this DropSqlPlanBaselinesDetails. The plan name. It identifies a specific plan. If `null’ then all plans associated with the SQL statement identified by `sqlHandle’ are dropped.
Returns: The plan_name of this DropSqlPlanBaselinesDetails. Return type: str
-
sql_handle¶ Gets the sql_handle of this DropSqlPlanBaselinesDetails. The SQL statement handle. It identifies plans associated with a SQL statement that are to be dropped. If null then planName must be specified.
Returns: The sql_handle of this DropSqlPlanBaselinesDetails. Return type: str
-