ResetDatabaseParametersDetails

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

Bases: object

The details required to reset database parameter values. It takes either credentials or databaseCredential. It’s recommended to provide databaseCredential

Attributes

SCOPE_BOTH A constant which can be used with the scope property of a ResetDatabaseParametersDetails.
SCOPE_MEMORY A constant which can be used with the scope property of a ResetDatabaseParametersDetails.
SCOPE_SPFILE A constant which can be used with the scope property of a ResetDatabaseParametersDetails.
credentials Gets the credentials of this ResetDatabaseParametersDetails.
database_credential Gets the database_credential of this ResetDatabaseParametersDetails.
parameters [Required] Gets the parameters of this ResetDatabaseParametersDetails.
scope [Required] Gets the scope of this ResetDatabaseParametersDetails.

Methods

__init__(**kwargs) Initializes a new ResetDatabaseParametersDetails object with values from keyword arguments.
SCOPE_BOTH = 'BOTH'

A constant which can be used with the scope property of a ResetDatabaseParametersDetails. This constant has a value of “BOTH”

SCOPE_MEMORY = 'MEMORY'

A constant which can be used with the scope property of a ResetDatabaseParametersDetails. This constant has a value of “MEMORY”

SCOPE_SPFILE = 'SPFILE'

A constant which can be used with the scope property of a ResetDatabaseParametersDetails. This constant has a value of “SPFILE”

__init__(**kwargs)

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

Parameters:
  • credentials (oci.database_management.models.DatabaseCredentials) – The value to assign to the credentials property of this ResetDatabaseParametersDetails.
  • database_credential (oci.database_management.models.DatabaseCredentialDetails) – The value to assign to the database_credential property of this ResetDatabaseParametersDetails.
  • scope (str) – The value to assign to the scope property of this ResetDatabaseParametersDetails. Allowed values for this property are: “MEMORY”, “SPFILE”, “BOTH”
  • parameters (list[str]) – The value to assign to the parameters property of this ResetDatabaseParametersDetails.
credentials

Gets the credentials of this ResetDatabaseParametersDetails.

Returns:The credentials of this ResetDatabaseParametersDetails.
Return type:oci.database_management.models.DatabaseCredentials
database_credential

Gets the database_credential of this ResetDatabaseParametersDetails.

Returns:The database_credential of this ResetDatabaseParametersDetails.
Return type:oci.database_management.models.DatabaseCredentialDetails
parameters

[Required] Gets the parameters of this ResetDatabaseParametersDetails. A list of database parameter names.

Returns:The parameters of this ResetDatabaseParametersDetails.
Return type:list[str]
scope

[Required] Gets the scope of this ResetDatabaseParametersDetails. The clause used to specify when the parameter change takes effect.

Use MEMORY to make the change in memory and ensure that it takes effect immediately. Use SPFILE to make the change in the server parameter file. The change takes effect when the database is next shut down and started up again. Use BOTH to make the change in memory and in the server parameter file. The change takes effect immediately and persists after the database is shut down and started up again.

Allowed values for this property are: “MEMORY”, “SPFILE”, “BOTH”

Returns:The scope of this ResetDatabaseParametersDetails.
Return type:str