ChangeDatabaseParametersDetails

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

Bases: object

The details required to change 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 ChangeDatabaseParametersDetails.
SCOPE_MEMORY A constant which can be used with the scope property of a ChangeDatabaseParametersDetails.
SCOPE_SPFILE A constant which can be used with the scope property of a ChangeDatabaseParametersDetails.
credentials Gets the credentials of this ChangeDatabaseParametersDetails.
database_credential Gets the database_credential of this ChangeDatabaseParametersDetails.
parameters [Required] Gets the parameters of this ChangeDatabaseParametersDetails.
scope [Required] Gets the scope of this ChangeDatabaseParametersDetails.

Methods

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

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

SCOPE_MEMORY = 'MEMORY'

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

SCOPE_SPFILE = 'SPFILE'

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

__init__(**kwargs)

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

Parameters:
credentials

Gets the credentials of this ChangeDatabaseParametersDetails.

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

Gets the database_credential of this ChangeDatabaseParametersDetails.

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

[Required] Gets the parameters of this ChangeDatabaseParametersDetails. A list of database parameters and their values.

Returns:The parameters of this ChangeDatabaseParametersDetails.
Return type:list[oci.database_management.models.ChangeDatabaseParameterDetails]
scope

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

Use MEMORY to make the change in memory and affect it 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 ChangeDatabaseParametersDetails.
Return type:str