oci.DatabaseManagement.ManagedDatabasesChangeDatabaseParameter
Explore with Pulumi AI
This resource provides the Managed Databases Change Database Parameter resource in Oracle Cloud Infrastructure Database Management service.
Changes database parameter values. There are two kinds of database parameters:
- Dynamic parameters: They can be changed for the current Oracle Database instance. The changes take effect immediately.
- Static parameters: They cannot be changed for the current instance. You must change these parameters and then restart the database before changes take effect.
Note: If the instance is started using a text initialization parameter file, the parameter changes are applicable only for the current instance. You must update them manually to be passed to a future instance.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagedDatabasesChangeDatabaseParameter = new oci.databasemanagement.ManagedDatabasesChangeDatabaseParameter("test_managed_databases_change_database_parameter", {
managedDatabaseId: testManagedDatabase.id,
parameters: [{
name: managedDatabasesChangeDatabaseParameterParametersName,
value: managedDatabasesChangeDatabaseParameterParametersValue,
updateComment: managedDatabasesChangeDatabaseParameterParametersUpdateComment,
}],
scope: managedDatabasesChangeDatabaseParameterScope,
credentials: {
password: managedDatabasesChangeDatabaseParameterCredentialsPassword,
role: managedDatabasesChangeDatabaseParameterCredentialsRole,
secretId: testSecret.id,
userName: testUser.name,
},
databaseCredential: {
credentialType: managedDatabasesChangeDatabaseParameterDatabaseCredentialCredentialType,
namedCredentialId: testNamedCredential.id,
password: managedDatabasesChangeDatabaseParameterDatabaseCredentialPassword,
passwordSecretId: testSecret.id,
role: managedDatabasesChangeDatabaseParameterDatabaseCredentialRole,
username: managedDatabasesChangeDatabaseParameterDatabaseCredentialUsername,
},
});
import pulumi
import pulumi_oci as oci
test_managed_databases_change_database_parameter = oci.database_management.ManagedDatabasesChangeDatabaseParameter("test_managed_databases_change_database_parameter",
managed_database_id=test_managed_database["id"],
parameters=[{
"name": managed_databases_change_database_parameter_parameters_name,
"value": managed_databases_change_database_parameter_parameters_value,
"update_comment": managed_databases_change_database_parameter_parameters_update_comment,
}],
scope=managed_databases_change_database_parameter_scope,
credentials={
"password": managed_databases_change_database_parameter_credentials_password,
"role": managed_databases_change_database_parameter_credentials_role,
"secret_id": test_secret["id"],
"user_name": test_user["name"],
},
database_credential={
"credential_type": managed_databases_change_database_parameter_database_credential_credential_type,
"named_credential_id": test_named_credential["id"],
"password": managed_databases_change_database_parameter_database_credential_password,
"password_secret_id": test_secret["id"],
"role": managed_databases_change_database_parameter_database_credential_role,
"username": managed_databases_change_database_parameter_database_credential_username,
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/databasemanagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databasemanagement.NewManagedDatabasesChangeDatabaseParameter(ctx, "test_managed_databases_change_database_parameter", &databasemanagement.ManagedDatabasesChangeDatabaseParameterArgs{
ManagedDatabaseId: pulumi.Any(testManagedDatabase.Id),
Parameters: databasemanagement.ManagedDatabasesChangeDatabaseParameterParameterArray{
&databasemanagement.ManagedDatabasesChangeDatabaseParameterParameterArgs{
Name: pulumi.Any(managedDatabasesChangeDatabaseParameterParametersName),
Value: pulumi.Any(managedDatabasesChangeDatabaseParameterParametersValue),
UpdateComment: pulumi.Any(managedDatabasesChangeDatabaseParameterParametersUpdateComment),
},
},
Scope: pulumi.Any(managedDatabasesChangeDatabaseParameterScope),
Credentials: &databasemanagement.ManagedDatabasesChangeDatabaseParameterCredentialsArgs{
Password: pulumi.Any(managedDatabasesChangeDatabaseParameterCredentialsPassword),
Role: pulumi.Any(managedDatabasesChangeDatabaseParameterCredentialsRole),
SecretId: pulumi.Any(testSecret.Id),
UserName: pulumi.Any(testUser.Name),
},
DatabaseCredential: &databasemanagement.ManagedDatabasesChangeDatabaseParameterDatabaseCredentialArgs{
CredentialType: pulumi.Any(managedDatabasesChangeDatabaseParameterDatabaseCredentialCredentialType),
NamedCredentialId: pulumi.Any(testNamedCredential.Id),
Password: pulumi.Any(managedDatabasesChangeDatabaseParameterDatabaseCredentialPassword),
PasswordSecretId: pulumi.Any(testSecret.Id),
Role: pulumi.Any(managedDatabasesChangeDatabaseParameterDatabaseCredentialRole),
Username: pulumi.Any(managedDatabasesChangeDatabaseParameterDatabaseCredentialUsername),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testManagedDatabasesChangeDatabaseParameter = new Oci.DatabaseManagement.ManagedDatabasesChangeDatabaseParameter("test_managed_databases_change_database_parameter", new()
{
ManagedDatabaseId = testManagedDatabase.Id,
Parameters = new[]
{
new Oci.DatabaseManagement.Inputs.ManagedDatabasesChangeDatabaseParameterParameterArgs
{
Name = managedDatabasesChangeDatabaseParameterParametersName,
Value = managedDatabasesChangeDatabaseParameterParametersValue,
UpdateComment = managedDatabasesChangeDatabaseParameterParametersUpdateComment,
},
},
Scope = managedDatabasesChangeDatabaseParameterScope,
Credentials = new Oci.DatabaseManagement.Inputs.ManagedDatabasesChangeDatabaseParameterCredentialsArgs
{
Password = managedDatabasesChangeDatabaseParameterCredentialsPassword,
Role = managedDatabasesChangeDatabaseParameterCredentialsRole,
SecretId = testSecret.Id,
UserName = testUser.Name,
},
DatabaseCredential = new Oci.DatabaseManagement.Inputs.ManagedDatabasesChangeDatabaseParameterDatabaseCredentialArgs
{
CredentialType = managedDatabasesChangeDatabaseParameterDatabaseCredentialCredentialType,
NamedCredentialId = testNamedCredential.Id,
Password = managedDatabasesChangeDatabaseParameterDatabaseCredentialPassword,
PasswordSecretId = testSecret.Id,
Role = managedDatabasesChangeDatabaseParameterDatabaseCredentialRole,
Username = managedDatabasesChangeDatabaseParameterDatabaseCredentialUsername,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseManagement.ManagedDatabasesChangeDatabaseParameter;
import com.pulumi.oci.DatabaseManagement.ManagedDatabasesChangeDatabaseParameterArgs;
import com.pulumi.oci.DatabaseManagement.inputs.ManagedDatabasesChangeDatabaseParameterParameterArgs;
import com.pulumi.oci.DatabaseManagement.inputs.ManagedDatabasesChangeDatabaseParameterCredentialsArgs;
import com.pulumi.oci.DatabaseManagement.inputs.ManagedDatabasesChangeDatabaseParameterDatabaseCredentialArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testManagedDatabasesChangeDatabaseParameter = new ManagedDatabasesChangeDatabaseParameter("testManagedDatabasesChangeDatabaseParameter", ManagedDatabasesChangeDatabaseParameterArgs.builder()
.managedDatabaseId(testManagedDatabase.id())
.parameters(ManagedDatabasesChangeDatabaseParameterParameterArgs.builder()
.name(managedDatabasesChangeDatabaseParameterParametersName)
.value(managedDatabasesChangeDatabaseParameterParametersValue)
.updateComment(managedDatabasesChangeDatabaseParameterParametersUpdateComment)
.build())
.scope(managedDatabasesChangeDatabaseParameterScope)
.credentials(ManagedDatabasesChangeDatabaseParameterCredentialsArgs.builder()
.password(managedDatabasesChangeDatabaseParameterCredentialsPassword)
.role(managedDatabasesChangeDatabaseParameterCredentialsRole)
.secretId(testSecret.id())
.userName(testUser.name())
.build())
.databaseCredential(ManagedDatabasesChangeDatabaseParameterDatabaseCredentialArgs.builder()
.credentialType(managedDatabasesChangeDatabaseParameterDatabaseCredentialCredentialType)
.namedCredentialId(testNamedCredential.id())
.password(managedDatabasesChangeDatabaseParameterDatabaseCredentialPassword)
.passwordSecretId(testSecret.id())
.role(managedDatabasesChangeDatabaseParameterDatabaseCredentialRole)
.username(managedDatabasesChangeDatabaseParameterDatabaseCredentialUsername)
.build())
.build());
}
}
resources:
testManagedDatabasesChangeDatabaseParameter:
type: oci:DatabaseManagement:ManagedDatabasesChangeDatabaseParameter
name: test_managed_databases_change_database_parameter
properties:
managedDatabaseId: ${testManagedDatabase.id}
parameters:
- name: ${managedDatabasesChangeDatabaseParameterParametersName}
value: ${managedDatabasesChangeDatabaseParameterParametersValue}
updateComment: ${managedDatabasesChangeDatabaseParameterParametersUpdateComment}
scope: ${managedDatabasesChangeDatabaseParameterScope}
credentials:
password: ${managedDatabasesChangeDatabaseParameterCredentialsPassword}
role: ${managedDatabasesChangeDatabaseParameterCredentialsRole}
secretId: ${testSecret.id}
userName: ${testUser.name}
databaseCredential:
credentialType: ${managedDatabasesChangeDatabaseParameterDatabaseCredentialCredentialType}
namedCredentialId: ${testNamedCredential.id}
password: ${managedDatabasesChangeDatabaseParameterDatabaseCredentialPassword}
passwordSecretId: ${testSecret.id}
role: ${managedDatabasesChangeDatabaseParameterDatabaseCredentialRole}
username: ${managedDatabasesChangeDatabaseParameterDatabaseCredentialUsername}
Create ManagedDatabasesChangeDatabaseParameter Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagedDatabasesChangeDatabaseParameter(name: string, args: ManagedDatabasesChangeDatabaseParameterArgs, opts?: CustomResourceOptions);
@overload
def ManagedDatabasesChangeDatabaseParameter(resource_name: str,
args: ManagedDatabasesChangeDatabaseParameterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagedDatabasesChangeDatabaseParameter(resource_name: str,
opts: Optional[ResourceOptions] = None,
managed_database_id: Optional[str] = None,
parameters: Optional[Sequence[_databasemanagement.ManagedDatabasesChangeDatabaseParameterParameterArgs]] = None,
scope: Optional[str] = None,
credentials: Optional[_databasemanagement.ManagedDatabasesChangeDatabaseParameterCredentialsArgs] = None,
database_credential: Optional[_databasemanagement.ManagedDatabasesChangeDatabaseParameterDatabaseCredentialArgs] = None)
func NewManagedDatabasesChangeDatabaseParameter(ctx *Context, name string, args ManagedDatabasesChangeDatabaseParameterArgs, opts ...ResourceOption) (*ManagedDatabasesChangeDatabaseParameter, error)
public ManagedDatabasesChangeDatabaseParameter(string name, ManagedDatabasesChangeDatabaseParameterArgs args, CustomResourceOptions? opts = null)
public ManagedDatabasesChangeDatabaseParameter(String name, ManagedDatabasesChangeDatabaseParameterArgs args)
public ManagedDatabasesChangeDatabaseParameter(String name, ManagedDatabasesChangeDatabaseParameterArgs args, CustomResourceOptions options)
type: oci:DatabaseManagement:ManagedDatabasesChangeDatabaseParameter
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ManagedDatabasesChangeDatabaseParameterArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. ManagedDatabasesChangeDatabaseParameterArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ManagedDatabasesChangeDatabaseParameterArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ManagedDatabasesChangeDatabaseParameterArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. ManagedDatabasesChangeDatabaseParameterArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var managedDatabasesChangeDatabaseParameterResource = new Oci.DatabaseManagement.ManagedDatabasesChangeDatabaseParameter("managedDatabasesChangeDatabaseParameterResource", new()
{
ManagedDatabaseId = "string",
Parameters = new[]
{
new Oci.DatabaseManagement.Inputs.ManagedDatabasesChangeDatabaseParameterParameterArgs
{
Name = "string",
Value = "string",
UpdateComment = "string",
},
},
Scope = "string",
Credentials = new Oci.DatabaseManagement.Inputs.ManagedDatabasesChangeDatabaseParameterCredentialsArgs
{
Password = "string",
Role = "string",
SecretId = "string",
UserName = "string",
},
DatabaseCredential = new Oci.DatabaseManagement.Inputs.ManagedDatabasesChangeDatabaseParameterDatabaseCredentialArgs
{
CredentialType = "string",
NamedCredentialId = "string",
Password = "string",
PasswordSecretId = "string",
Role = "string",
Username = "string",
},
});
example, err := DatabaseManagement.NewManagedDatabasesChangeDatabaseParameter(ctx, "managedDatabasesChangeDatabaseParameterResource", &DatabaseManagement.ManagedDatabasesChangeDatabaseParameterArgs{
ManagedDatabaseId: pulumi.String("string"),
Parameters: databasemanagement.ManagedDatabasesChangeDatabaseParameterParameterArray{
&databasemanagement.ManagedDatabasesChangeDatabaseParameterParameterArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
UpdateComment: pulumi.String("string"),
},
},
Scope: pulumi.String("string"),
Credentials: &databasemanagement.ManagedDatabasesChangeDatabaseParameterCredentialsArgs{
Password: pulumi.String("string"),
Role: pulumi.String("string"),
SecretId: pulumi.String("string"),
UserName: pulumi.String("string"),
},
DatabaseCredential: &databasemanagement.ManagedDatabasesChangeDatabaseParameterDatabaseCredentialArgs{
CredentialType: pulumi.String("string"),
NamedCredentialId: pulumi.String("string"),
Password: pulumi.String("string"),
PasswordSecretId: pulumi.String("string"),
Role: pulumi.String("string"),
Username: pulumi.String("string"),
},
})
var managedDatabasesChangeDatabaseParameterResource = new ManagedDatabasesChangeDatabaseParameter("managedDatabasesChangeDatabaseParameterResource", ManagedDatabasesChangeDatabaseParameterArgs.builder()
.managedDatabaseId("string")
.parameters(ManagedDatabasesChangeDatabaseParameterParameterArgs.builder()
.name("string")
.value("string")
.updateComment("string")
.build())
.scope("string")
.credentials(ManagedDatabasesChangeDatabaseParameterCredentialsArgs.builder()
.password("string")
.role("string")
.secretId("string")
.userName("string")
.build())
.databaseCredential(ManagedDatabasesChangeDatabaseParameterDatabaseCredentialArgs.builder()
.credentialType("string")
.namedCredentialId("string")
.password("string")
.passwordSecretId("string")
.role("string")
.username("string")
.build())
.build());
managed_databases_change_database_parameter_resource = oci.database_management.ManagedDatabasesChangeDatabaseParameter("managedDatabasesChangeDatabaseParameterResource",
managed_database_id="string",
parameters=[{
"name": "string",
"value": "string",
"update_comment": "string",
}],
scope="string",
credentials={
"password": "string",
"role": "string",
"secret_id": "string",
"user_name": "string",
},
database_credential={
"credential_type": "string",
"named_credential_id": "string",
"password": "string",
"password_secret_id": "string",
"role": "string",
"username": "string",
})
const managedDatabasesChangeDatabaseParameterResource = new oci.databasemanagement.ManagedDatabasesChangeDatabaseParameter("managedDatabasesChangeDatabaseParameterResource", {
managedDatabaseId: "string",
parameters: [{
name: "string",
value: "string",
updateComment: "string",
}],
scope: "string",
credentials: {
password: "string",
role: "string",
secretId: "string",
userName: "string",
},
databaseCredential: {
credentialType: "string",
namedCredentialId: "string",
password: "string",
passwordSecretId: "string",
role: "string",
username: "string",
},
});
type: oci:DatabaseManagement:ManagedDatabasesChangeDatabaseParameter
properties:
credentials:
password: string
role: string
secretId: string
userName: string
databaseCredential:
credentialType: string
namedCredentialId: string
password: string
passwordSecretId: string
role: string
username: string
managedDatabaseId: string
parameters:
- name: string
updateComment: string
value: string
scope: string
ManagedDatabasesChangeDatabaseParameter Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ManagedDatabasesChangeDatabaseParameter resource accepts the following input properties:
- Managed
Database Id This property is required. Changes to this property will trigger replacement.
- The OCID of the Managed Database.
- Parameters
This property is required. Changes to this property will trigger replacement.
Databases Change Database Parameter Parameter> - A list of database parameters and their values.
- Scope
This property is required. Changes to this property will trigger replacement.
The clause used to specify when the parameter change takes effect.
Use
MEMORY
to make the change in memory and affect it immediately. UseSPFILE
to make the change in the server parameter file. The change takes effect when the database is next shut down and started up again. UseBOTH
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.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Credentials
Changes to this property will trigger replacement.
Databases Change Database Parameter Credentials - The database credentials used to perform management activity. Provide one of the following attribute set. (userName, password, role) OR (userName, secretId, role) OR (namedCredentialId)
- Database
Credential Changes to this property will trigger replacement.
Databases Change Database Parameter Database Credential - The credential to connect to the database to perform tablespace administration tasks.
- Managed
Database Id This property is required. Changes to this property will trigger replacement.
- The OCID of the Managed Database.
- Parameters
This property is required. Changes to this property will trigger replacement.
Databases Change Database Parameter Parameter Args - A list of database parameters and their values.
- Scope
This property is required. Changes to this property will trigger replacement.
The clause used to specify when the parameter change takes effect.
Use
MEMORY
to make the change in memory and affect it immediately. UseSPFILE
to make the change in the server parameter file. The change takes effect when the database is next shut down and started up again. UseBOTH
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.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Credentials
Changes to this property will trigger replacement.
Databases Change Database Parameter Credentials Args - The database credentials used to perform management activity. Provide one of the following attribute set. (userName, password, role) OR (userName, secretId, role) OR (namedCredentialId)
- Database
Credential Changes to this property will trigger replacement.
Databases Change Database Parameter Database Credential Args - The credential to connect to the database to perform tablespace administration tasks.
- managed
Database Id This property is required. Changes to this property will trigger replacement.
- The OCID of the Managed Database.
- parameters
This property is required. Changes to this property will trigger replacement.
Databases Change Database Parameter Parameter> - A list of database parameters and their values.
- scope
This property is required. Changes to this property will trigger replacement.
The clause used to specify when the parameter change takes effect.
Use
MEMORY
to make the change in memory and affect it immediately. UseSPFILE
to make the change in the server parameter file. The change takes effect when the database is next shut down and started up again. UseBOTH
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.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- credentials
Changes to this property will trigger replacement.
Databases Change Database Parameter Credentials - The database credentials used to perform management activity. Provide one of the following attribute set. (userName, password, role) OR (userName, secretId, role) OR (namedCredentialId)
- database
Credential Changes to this property will trigger replacement.
Databases Change Database Parameter Database Credential - The credential to connect to the database to perform tablespace administration tasks.
- managed
Database Id This property is required. Changes to this property will trigger replacement.
- The OCID of the Managed Database.
- parameters
This property is required. Changes to this property will trigger replacement.
Databases Change Database Parameter Parameter[] - A list of database parameters and their values.
- scope
This property is required. Changes to this property will trigger replacement.
The clause used to specify when the parameter change takes effect.
Use
MEMORY
to make the change in memory and affect it immediately. UseSPFILE
to make the change in the server parameter file. The change takes effect when the database is next shut down and started up again. UseBOTH
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.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- credentials
Changes to this property will trigger replacement.
Databases Change Database Parameter Credentials - The database credentials used to perform management activity. Provide one of the following attribute set. (userName, password, role) OR (userName, secretId, role) OR (namedCredentialId)
- database
Credential Changes to this property will trigger replacement.
Databases Change Database Parameter Database Credential - The credential to connect to the database to perform tablespace administration tasks.
- managed_
database_ id This property is required. Changes to this property will trigger replacement.
- The OCID of the Managed Database.
- parameters
This property is required. Changes to this property will trigger replacement.
Managed Databases Change Database Parameter Parameter Args] - A list of database parameters and their values.
- scope
This property is required. Changes to this property will trigger replacement.
The clause used to specify when the parameter change takes effect.
Use
MEMORY
to make the change in memory and affect it immediately. UseSPFILE
to make the change in the server parameter file. The change takes effect when the database is next shut down and started up again. UseBOTH
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.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- credentials
Changes to this property will trigger replacement.
Managed Databases Change Database Parameter Credentials Args - The database credentials used to perform management activity. Provide one of the following attribute set. (userName, password, role) OR (userName, secretId, role) OR (namedCredentialId)
- database_
credential Changes to this property will trigger replacement.
Managed Databases Change Database Parameter Database Credential Args - The credential to connect to the database to perform tablespace administration tasks.
- managed
Database Id This property is required. Changes to this property will trigger replacement.
- The OCID of the Managed Database.
- parameters
This property is required. Changes to this property will trigger replacement.
- A list of database parameters and their values.
- scope
This property is required. Changes to this property will trigger replacement.
The clause used to specify when the parameter change takes effect.
Use
MEMORY
to make the change in memory and affect it immediately. UseSPFILE
to make the change in the server parameter file. The change takes effect when the database is next shut down and started up again. UseBOTH
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.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- credentials
Changes to this property will trigger replacement.
- The database credentials used to perform management activity. Provide one of the following attribute set. (userName, password, role) OR (userName, secretId, role) OR (namedCredentialId)
- database
Credential Changes to this property will trigger replacement.
- The credential to connect to the database to perform tablespace administration tasks.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagedDatabasesChangeDatabaseParameter resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ManagedDatabasesChangeDatabaseParameter Resource
Get an existing ManagedDatabasesChangeDatabaseParameter resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ManagedDatabasesChangeDatabaseParameterState, opts?: CustomResourceOptions): ManagedDatabasesChangeDatabaseParameter
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
credentials: Optional[_databasemanagement.ManagedDatabasesChangeDatabaseParameterCredentialsArgs] = None,
database_credential: Optional[_databasemanagement.ManagedDatabasesChangeDatabaseParameterDatabaseCredentialArgs] = None,
managed_database_id: Optional[str] = None,
parameters: Optional[Sequence[_databasemanagement.ManagedDatabasesChangeDatabaseParameterParameterArgs]] = None,
scope: Optional[str] = None) -> ManagedDatabasesChangeDatabaseParameter
func GetManagedDatabasesChangeDatabaseParameter(ctx *Context, name string, id IDInput, state *ManagedDatabasesChangeDatabaseParameterState, opts ...ResourceOption) (*ManagedDatabasesChangeDatabaseParameter, error)
public static ManagedDatabasesChangeDatabaseParameter Get(string name, Input<string> id, ManagedDatabasesChangeDatabaseParameterState? state, CustomResourceOptions? opts = null)
public static ManagedDatabasesChangeDatabaseParameter get(String name, Output<String> id, ManagedDatabasesChangeDatabaseParameterState state, CustomResourceOptions options)
resources: _: type: oci:DatabaseManagement:ManagedDatabasesChangeDatabaseParameter get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Credentials
Changes to this property will trigger replacement.
Databases Change Database Parameter Credentials - The database credentials used to perform management activity. Provide one of the following attribute set. (userName, password, role) OR (userName, secretId, role) OR (namedCredentialId)
- Database
Credential Changes to this property will trigger replacement.
Databases Change Database Parameter Database Credential - The credential to connect to the database to perform tablespace administration tasks.
- Managed
Database Id Changes to this property will trigger replacement.
- The OCID of the Managed Database.
- Parameters
Changes to this property will trigger replacement.
Databases Change Database Parameter Parameter> - A list of database parameters and their values.
- Scope
Changes to this property will trigger replacement.
The clause used to specify when the parameter change takes effect.
Use
MEMORY
to make the change in memory and affect it immediately. UseSPFILE
to make the change in the server parameter file. The change takes effect when the database is next shut down and started up again. UseBOTH
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.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Credentials
Changes to this property will trigger replacement.
Databases Change Database Parameter Credentials Args - The database credentials used to perform management activity. Provide one of the following attribute set. (userName, password, role) OR (userName, secretId, role) OR (namedCredentialId)
- Database
Credential Changes to this property will trigger replacement.
Databases Change Database Parameter Database Credential Args - The credential to connect to the database to perform tablespace administration tasks.
- Managed
Database Id Changes to this property will trigger replacement.
- The OCID of the Managed Database.
- Parameters
Changes to this property will trigger replacement.
Databases Change Database Parameter Parameter Args - A list of database parameters and their values.
- Scope
Changes to this property will trigger replacement.
The clause used to specify when the parameter change takes effect.
Use
MEMORY
to make the change in memory and affect it immediately. UseSPFILE
to make the change in the server parameter file. The change takes effect when the database is next shut down and started up again. UseBOTH
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.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- credentials
Changes to this property will trigger replacement.
Databases Change Database Parameter Credentials - The database credentials used to perform management activity. Provide one of the following attribute set. (userName, password, role) OR (userName, secretId, role) OR (namedCredentialId)
- database
Credential Changes to this property will trigger replacement.
Databases Change Database Parameter Database Credential - The credential to connect to the database to perform tablespace administration tasks.
- managed
Database Id Changes to this property will trigger replacement.
- The OCID of the Managed Database.
- parameters
Changes to this property will trigger replacement.
Databases Change Database Parameter Parameter> - A list of database parameters and their values.
- scope
Changes to this property will trigger replacement.
The clause used to specify when the parameter change takes effect.
Use
MEMORY
to make the change in memory and affect it immediately. UseSPFILE
to make the change in the server parameter file. The change takes effect when the database is next shut down and started up again. UseBOTH
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.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- credentials
Changes to this property will trigger replacement.
Databases Change Database Parameter Credentials - The database credentials used to perform management activity. Provide one of the following attribute set. (userName, password, role) OR (userName, secretId, role) OR (namedCredentialId)
- database
Credential Changes to this property will trigger replacement.
Databases Change Database Parameter Database Credential - The credential to connect to the database to perform tablespace administration tasks.
- managed
Database Id Changes to this property will trigger replacement.
- The OCID of the Managed Database.
- parameters
Changes to this property will trigger replacement.
Databases Change Database Parameter Parameter[] - A list of database parameters and their values.
- scope
Changes to this property will trigger replacement.
The clause used to specify when the parameter change takes effect.
Use
MEMORY
to make the change in memory and affect it immediately. UseSPFILE
to make the change in the server parameter file. The change takes effect when the database is next shut down and started up again. UseBOTH
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.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- credentials
Changes to this property will trigger replacement.
Managed Databases Change Database Parameter Credentials Args - The database credentials used to perform management activity. Provide one of the following attribute set. (userName, password, role) OR (userName, secretId, role) OR (namedCredentialId)
- database_
credential Changes to this property will trigger replacement.
Managed Databases Change Database Parameter Database Credential Args - The credential to connect to the database to perform tablespace administration tasks.
- managed_
database_ id Changes to this property will trigger replacement.
- The OCID of the Managed Database.
- parameters
Changes to this property will trigger replacement.
Managed Databases Change Database Parameter Parameter Args] - A list of database parameters and their values.
- scope
Changes to this property will trigger replacement.
The clause used to specify when the parameter change takes effect.
Use
MEMORY
to make the change in memory and affect it immediately. UseSPFILE
to make the change in the server parameter file. The change takes effect when the database is next shut down and started up again. UseBOTH
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.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- credentials
Changes to this property will trigger replacement.
- The database credentials used to perform management activity. Provide one of the following attribute set. (userName, password, role) OR (userName, secretId, role) OR (namedCredentialId)
- database
Credential Changes to this property will trigger replacement.
- The credential to connect to the database to perform tablespace administration tasks.
- managed
Database Id Changes to this property will trigger replacement.
- The OCID of the Managed Database.
- parameters
Changes to this property will trigger replacement.
- A list of database parameters and their values.
- scope
Changes to this property will trigger replacement.
The clause used to specify when the parameter change takes effect.
Use
MEMORY
to make the change in memory and affect it immediately. UseSPFILE
to make the change in the server parameter file. The change takes effect when the database is next shut down and started up again. UseBOTH
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.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Supporting Types
ManagedDatabasesChangeDatabaseParameterCredentials, ManagedDatabasesChangeDatabaseParameterCredentialsArgs
- Password
Changes to this property will trigger replacement.
- The password for the database user name.
- Role
Changes to this property will trigger replacement.
- The role of the database user. Indicates whether the database user is a normal user or sysdba.
- Secret
Id Changes to this property will trigger replacement.
- The OCID of the secret containing the user password.
- User
Name Changes to this property will trigger replacement.
- The database user name used to perform management activity.
- Password
Changes to this property will trigger replacement.
- The password for the database user name.
- Role
Changes to this property will trigger replacement.
- The role of the database user. Indicates whether the database user is a normal user or sysdba.
- Secret
Id Changes to this property will trigger replacement.
- The OCID of the secret containing the user password.
- User
Name Changes to this property will trigger replacement.
- The database user name used to perform management activity.
- password
Changes to this property will trigger replacement.
- The password for the database user name.
- role
Changes to this property will trigger replacement.
- The role of the database user. Indicates whether the database user is a normal user or sysdba.
- secret
Id Changes to this property will trigger replacement.
- The OCID of the secret containing the user password.
- user
Name Changes to this property will trigger replacement.
- The database user name used to perform management activity.
- password
Changes to this property will trigger replacement.
- The password for the database user name.
- role
Changes to this property will trigger replacement.
- The role of the database user. Indicates whether the database user is a normal user or sysdba.
- secret
Id Changes to this property will trigger replacement.
- The OCID of the secret containing the user password.
- user
Name Changes to this property will trigger replacement.
- The database user name used to perform management activity.
- password
Changes to this property will trigger replacement.
- The password for the database user name.
- role
Changes to this property will trigger replacement.
- The role of the database user. Indicates whether the database user is a normal user or sysdba.
- secret_
id Changes to this property will trigger replacement.
- The OCID of the secret containing the user password.
- user_
name Changes to this property will trigger replacement.
- The database user name used to perform management activity.
- password
Changes to this property will trigger replacement.
- The password for the database user name.
- role
Changes to this property will trigger replacement.
- The role of the database user. Indicates whether the database user is a normal user or sysdba.
- secret
Id Changes to this property will trigger replacement.
- The OCID of the secret containing the user password.
- user
Name Changes to this property will trigger replacement.
- The database user name used to perform management activity.
ManagedDatabasesChangeDatabaseParameterDatabaseCredential, ManagedDatabasesChangeDatabaseParameterDatabaseCredentialArgs
- Credential
Type This property is required. Changes to this property will trigger replacement.
- The type of the credential for tablespace administration tasks.
- Named
Credential Id Changes to this property will trigger replacement.
- The OCID of the named credential where the database password metadata is stored.
- Password
Changes to this property will trigger replacement.
- The database user's password encoded using BASE64 scheme.
- Password
Secret Id Changes to this property will trigger replacement.
- The OCID of the Secret where the database password is stored.
- Role
Changes to this property will trigger replacement.
- The role of the database user.
- Username
Changes to this property will trigger replacement.
- The user to connect to the database.
- Credential
Type This property is required. Changes to this property will trigger replacement.
- The type of the credential for tablespace administration tasks.
- Named
Credential Id Changes to this property will trigger replacement.
- The OCID of the named credential where the database password metadata is stored.
- Password
Changes to this property will trigger replacement.
- The database user's password encoded using BASE64 scheme.
- Password
Secret Id Changes to this property will trigger replacement.
- The OCID of the Secret where the database password is stored.
- Role
Changes to this property will trigger replacement.
- The role of the database user.
- Username
Changes to this property will trigger replacement.
- The user to connect to the database.
- credential
Type This property is required. Changes to this property will trigger replacement.
- The type of the credential for tablespace administration tasks.
- named
Credential Id Changes to this property will trigger replacement.
- The OCID of the named credential where the database password metadata is stored.
- password
Changes to this property will trigger replacement.
- The database user's password encoded using BASE64 scheme.
- password
Secret Id Changes to this property will trigger replacement.
- The OCID of the Secret where the database password is stored.
- role
Changes to this property will trigger replacement.
- The role of the database user.
- username
Changes to this property will trigger replacement.
- The user to connect to the database.
- credential
Type This property is required. Changes to this property will trigger replacement.
- The type of the credential for tablespace administration tasks.
- named
Credential Id Changes to this property will trigger replacement.
- The OCID of the named credential where the database password metadata is stored.
- password
Changes to this property will trigger replacement.
- The database user's password encoded using BASE64 scheme.
- password
Secret Id Changes to this property will trigger replacement.
- The OCID of the Secret where the database password is stored.
- role
Changes to this property will trigger replacement.
- The role of the database user.
- username
Changes to this property will trigger replacement.
- The user to connect to the database.
- credential_
type This property is required. Changes to this property will trigger replacement.
- The type of the credential for tablespace administration tasks.
- named_
credential_ id Changes to this property will trigger replacement.
- The OCID of the named credential where the database password metadata is stored.
- password
Changes to this property will trigger replacement.
- The database user's password encoded using BASE64 scheme.
- password_
secret_ id Changes to this property will trigger replacement.
- The OCID of the Secret where the database password is stored.
- role
Changes to this property will trigger replacement.
- The role of the database user.
- username
Changes to this property will trigger replacement.
- The user to connect to the database.
- credential
Type This property is required. Changes to this property will trigger replacement.
- The type of the credential for tablespace administration tasks.
- named
Credential Id Changes to this property will trigger replacement.
- The OCID of the named credential where the database password metadata is stored.
- password
Changes to this property will trigger replacement.
- The database user's password encoded using BASE64 scheme.
- password
Secret Id Changes to this property will trigger replacement.
- The OCID of the Secret where the database password is stored.
- role
Changes to this property will trigger replacement.
- The role of the database user.
- username
Changes to this property will trigger replacement.
- The user to connect to the database.
ManagedDatabasesChangeDatabaseParameterParameter, ManagedDatabasesChangeDatabaseParameterParameterArgs
- Name
This property is required. Changes to this property will trigger replacement.
- The parameter name.
- Value
This property is required. Changes to this property will trigger replacement.
- The parameter value.
- Update
Comment Changes to this property will trigger replacement.
- A comment string to associate with the change in parameter value. It cannot contain control characters or a line break.
- Name
This property is required. Changes to this property will trigger replacement.
- The parameter name.
- Value
This property is required. Changes to this property will trigger replacement.
- The parameter value.
- Update
Comment Changes to this property will trigger replacement.
- A comment string to associate with the change in parameter value. It cannot contain control characters or a line break.
- name
This property is required. Changes to this property will trigger replacement.
- The parameter name.
- value
This property is required. Changes to this property will trigger replacement.
- The parameter value.
- update
Comment Changes to this property will trigger replacement.
- A comment string to associate with the change in parameter value. It cannot contain control characters or a line break.
- name
This property is required. Changes to this property will trigger replacement.
- The parameter name.
- value
This property is required. Changes to this property will trigger replacement.
- The parameter value.
- update
Comment Changes to this property will trigger replacement.
- A comment string to associate with the change in parameter value. It cannot contain control characters or a line break.
- name
This property is required. Changes to this property will trigger replacement.
- The parameter name.
- value
This property is required. Changes to this property will trigger replacement.
- The parameter value.
- update_
comment Changes to this property will trigger replacement.
- A comment string to associate with the change in parameter value. It cannot contain control characters or a line break.
- name
This property is required. Changes to this property will trigger replacement.
- The parameter name.
- value
This property is required. Changes to this property will trigger replacement.
- The parameter value.
- update
Comment Changes to this property will trigger replacement.
- A comment string to associate with the change in parameter value. It cannot contain control characters or a line break.
Import
Import is not supported for this resource.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.