CreateSqlTuningSetDetails¶
-
class
oci.database_management.models.CreateSqlTuningSetDetails(**kwargs)¶ Bases:
objectCreate an empty Sql tuning sets. It takes either credentialDetails or databaseCredential. It’s recommended to provide databaseCredential
Methods
__init__(**kwargs)Initializes a new CreateSqlTuningSetDetails object with values from keyword arguments. Attributes
credential_detailsGets the credential_details of this CreateSqlTuningSetDetails. database_credentialGets the database_credential of this CreateSqlTuningSetDetails. descriptionGets the description of this CreateSqlTuningSetDetails. name[Required] Gets the name of this CreateSqlTuningSetDetails. ownerGets the owner of this CreateSqlTuningSetDetails. show_sql_onlyGets the show_sql_only of this CreateSqlTuningSetDetails. -
__init__(**kwargs)¶ Initializes a new CreateSqlTuningSetDetails 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 CreateSqlTuningSetDetails.
- database_credential (oci.database_management.models.DatabaseCredentialDetails) – The value to assign to the database_credential property of this CreateSqlTuningSetDetails.
- name (str) – The value to assign to the name property of this CreateSqlTuningSetDetails.
- owner (str) – The value to assign to the owner property of this CreateSqlTuningSetDetails.
- description (str) – The value to assign to the description property of this CreateSqlTuningSetDetails.
- show_sql_only (int) – The value to assign to the show_sql_only property of this CreateSqlTuningSetDetails.
-
credential_details¶ Gets the credential_details of this CreateSqlTuningSetDetails.
Returns: The credential_details of this CreateSqlTuningSetDetails. Return type: oci.database_management.models.SqlTuningSetAdminCredentialDetails
-
database_credential¶ Gets the database_credential of this CreateSqlTuningSetDetails.
Returns: The database_credential of this CreateSqlTuningSetDetails. Return type: oci.database_management.models.DatabaseCredentialDetails
-
description¶ Gets the description of this CreateSqlTuningSetDetails. The description of the Sql tuning set.
Returns: The description of this CreateSqlTuningSetDetails. Return type: str
-
name¶ [Required] Gets the name of this CreateSqlTuningSetDetails. A unique Sql tuning set name.
Returns: The name of this CreateSqlTuningSetDetails. Return type: str
-
owner¶ Gets the owner of this CreateSqlTuningSetDetails. Owner of the Sql tuning set.
Returns: The owner of this CreateSqlTuningSetDetails. Return type: str
-
show_sql_only¶ Gets the show_sql_only of this CreateSqlTuningSetDetails. Flag to indicate whether to create the Sql tuning set or just display the plsql used to create Sql tuning set.
Returns: The show_sql_only of this CreateSqlTuningSetDetails. Return type: int
-