oci.Database.DatabaseSnapshotStandby
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDatabaseSnapshotStandby = new oci.database.DatabaseSnapshotStandby("test_database_snapshot_standby", {
databaseAdminPassword: databaseSnapshotStandbyDatabaseAdminPassword,
databaseId: testDatabase.id,
standbyConversionType: databaseSnapshotStandbyStandbyConversionType,
snapshotDurationInDays: databaseSnapshotStandbySnapshotDurationInDays,
});
import pulumi
import pulumi_oci as oci
test_database_snapshot_standby = oci.database.DatabaseSnapshotStandby("test_database_snapshot_standby",
database_admin_password=database_snapshot_standby_database_admin_password,
database_id=test_database["id"],
standby_conversion_type=database_snapshot_standby_standby_conversion_type,
snapshot_duration_in_days=database_snapshot_standby_snapshot_duration_in_days)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/database"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := database.NewDatabaseSnapshotStandby(ctx, "test_database_snapshot_standby", &database.DatabaseSnapshotStandbyArgs{
DatabaseAdminPassword: pulumi.Any(databaseSnapshotStandbyDatabaseAdminPassword),
DatabaseId: pulumi.Any(testDatabase.Id),
StandbyConversionType: pulumi.Any(databaseSnapshotStandbyStandbyConversionType),
SnapshotDurationInDays: pulumi.Any(databaseSnapshotStandbySnapshotDurationInDays),
})
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 testDatabaseSnapshotStandby = new Oci.Database.DatabaseSnapshotStandby("test_database_snapshot_standby", new()
{
DatabaseAdminPassword = databaseSnapshotStandbyDatabaseAdminPassword,
DatabaseId = testDatabase.Id,
StandbyConversionType = databaseSnapshotStandbyStandbyConversionType,
SnapshotDurationInDays = databaseSnapshotStandbySnapshotDurationInDays,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.DatabaseSnapshotStandby;
import com.pulumi.oci.Database.DatabaseSnapshotStandbyArgs;
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 testDatabaseSnapshotStandby = new DatabaseSnapshotStandby("testDatabaseSnapshotStandby", DatabaseSnapshotStandbyArgs.builder()
.databaseAdminPassword(databaseSnapshotStandbyDatabaseAdminPassword)
.databaseId(testDatabase.id())
.standbyConversionType(databaseSnapshotStandbyStandbyConversionType)
.snapshotDurationInDays(databaseSnapshotStandbySnapshotDurationInDays)
.build());
}
}
resources:
testDatabaseSnapshotStandby:
type: oci:Database:DatabaseSnapshotStandby
name: test_database_snapshot_standby
properties:
databaseAdminPassword: ${databaseSnapshotStandbyDatabaseAdminPassword}
databaseId: ${testDatabase.id}
standbyConversionType: ${databaseSnapshotStandbyStandbyConversionType}
snapshotDurationInDays: ${databaseSnapshotStandbySnapshotDurationInDays}
Create DatabaseSnapshotStandby Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DatabaseSnapshotStandby(name: string, args: DatabaseSnapshotStandbyArgs, opts?: CustomResourceOptions);@overload
def DatabaseSnapshotStandby(resource_name: str,
args: DatabaseSnapshotStandbyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DatabaseSnapshotStandby(resource_name: str,
opts: Optional[ResourceOptions] = None,
database_admin_password: Optional[str] = None,
database_id: Optional[str] = None,
standby_conversion_type: Optional[str] = None,
snapshot_duration_in_days: Optional[int] = None)func NewDatabaseSnapshotStandby(ctx *Context, name string, args DatabaseSnapshotStandbyArgs, opts ...ResourceOption) (*DatabaseSnapshotStandby, error)public DatabaseSnapshotStandby(string name, DatabaseSnapshotStandbyArgs args, CustomResourceOptions? opts = null)
public DatabaseSnapshotStandby(String name, DatabaseSnapshotStandbyArgs args)
public DatabaseSnapshotStandby(String name, DatabaseSnapshotStandbyArgs args, CustomResourceOptions options)
type: oci:Database:DatabaseSnapshotStandby
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DatabaseSnapshotStandbyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DatabaseSnapshotStandbyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DatabaseSnapshotStandbyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatabaseSnapshotStandbyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DatabaseSnapshotStandbyArgs
- 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 databaseSnapshotStandbyResource = new Oci.Database.DatabaseSnapshotStandby("databaseSnapshotStandbyResource", new()
{
DatabaseAdminPassword = "string",
DatabaseId = "string",
StandbyConversionType = "string",
SnapshotDurationInDays = 0,
});
example, err := database.NewDatabaseSnapshotStandby(ctx, "databaseSnapshotStandbyResource", &database.DatabaseSnapshotStandbyArgs{
DatabaseAdminPassword: pulumi.String("string"),
DatabaseId: pulumi.String("string"),
StandbyConversionType: pulumi.String("string"),
SnapshotDurationInDays: pulumi.Int(0),
})
var databaseSnapshotStandbyResource = new DatabaseSnapshotStandby("databaseSnapshotStandbyResource", DatabaseSnapshotStandbyArgs.builder()
.databaseAdminPassword("string")
.databaseId("string")
.standbyConversionType("string")
.snapshotDurationInDays(0)
.build());
database_snapshot_standby_resource = oci.database.DatabaseSnapshotStandby("databaseSnapshotStandbyResource",
database_admin_password="string",
database_id="string",
standby_conversion_type="string",
snapshot_duration_in_days=0)
const databaseSnapshotStandbyResource = new oci.database.DatabaseSnapshotStandby("databaseSnapshotStandbyResource", {
databaseAdminPassword: "string",
databaseId: "string",
standbyConversionType: "string",
snapshotDurationInDays: 0,
});
type: oci:Database:DatabaseSnapshotStandby
properties:
databaseAdminPassword: string
databaseId: string
snapshotDurationInDays: 0
standbyConversionType: string
DatabaseSnapshotStandby 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 DatabaseSnapshotStandby resource accepts the following input properties:
- Database
Admin stringPassword The administrator password of the primary database in this Data Guard association.
The password MUST be the same as the primary admin password.
- Database
Id string - The database OCID.
- Standby
Conversion stringType Defines the conversion type of the standby database. Specify this to convert a physical standby to a snapshot standby and vice versa.
Valid standbyConversionType:
- SNAPSHOT
- PHYSICAL
** 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
- Snapshot
Duration intIn Days SnapshotDurationInDays is the duration in day(s) after which the Snapshot Standby Database will get converted back to Physical Standby. The minimum value of snapshotDurationInDays is 3 days and maximum value is 14 days. Default value will be 7 days if not provided in the Request.
This field is only applicable if the requested database role is snapshot standby.
- Database
Admin stringPassword The administrator password of the primary database in this Data Guard association.
The password MUST be the same as the primary admin password.
- Database
Id string - The database OCID.
- Standby
Conversion stringType Defines the conversion type of the standby database. Specify this to convert a physical standby to a snapshot standby and vice versa.
Valid standbyConversionType:
- SNAPSHOT
- PHYSICAL
** 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
- Snapshot
Duration intIn Days SnapshotDurationInDays is the duration in day(s) after which the Snapshot Standby Database will get converted back to Physical Standby. The minimum value of snapshotDurationInDays is 3 days and maximum value is 14 days. Default value will be 7 days if not provided in the Request.
This field is only applicable if the requested database role is snapshot standby.
- database
Admin StringPassword The administrator password of the primary database in this Data Guard association.
The password MUST be the same as the primary admin password.
- database
Id String - The database OCID.
- standby
Conversion StringType Defines the conversion type of the standby database. Specify this to convert a physical standby to a snapshot standby and vice versa.
Valid standbyConversionType:
- SNAPSHOT
- PHYSICAL
** 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
- snapshot
Duration IntegerIn Days SnapshotDurationInDays is the duration in day(s) after which the Snapshot Standby Database will get converted back to Physical Standby. The minimum value of snapshotDurationInDays is 3 days and maximum value is 14 days. Default value will be 7 days if not provided in the Request.
This field is only applicable if the requested database role is snapshot standby.
- database
Admin stringPassword The administrator password of the primary database in this Data Guard association.
The password MUST be the same as the primary admin password.
- database
Id string - The database OCID.
- standby
Conversion stringType Defines the conversion type of the standby database. Specify this to convert a physical standby to a snapshot standby and vice versa.
Valid standbyConversionType:
- SNAPSHOT
- PHYSICAL
** 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
- snapshot
Duration numberIn Days SnapshotDurationInDays is the duration in day(s) after which the Snapshot Standby Database will get converted back to Physical Standby. The minimum value of snapshotDurationInDays is 3 days and maximum value is 14 days. Default value will be 7 days if not provided in the Request.
This field is only applicable if the requested database role is snapshot standby.
- database_
admin_ strpassword The administrator password of the primary database in this Data Guard association.
The password MUST be the same as the primary admin password.
- database_
id str - The database OCID.
- standby_
conversion_ strtype Defines the conversion type of the standby database. Specify this to convert a physical standby to a snapshot standby and vice versa.
Valid standbyConversionType:
- SNAPSHOT
- PHYSICAL
** 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
- snapshot_
duration_ intin_ days SnapshotDurationInDays is the duration in day(s) after which the Snapshot Standby Database will get converted back to Physical Standby. The minimum value of snapshotDurationInDays is 3 days and maximum value is 14 days. Default value will be 7 days if not provided in the Request.
This field is only applicable if the requested database role is snapshot standby.
- database
Admin StringPassword The administrator password of the primary database in this Data Guard association.
The password MUST be the same as the primary admin password.
- database
Id String - The database OCID.
- standby
Conversion StringType Defines the conversion type of the standby database. Specify this to convert a physical standby to a snapshot standby and vice versa.
Valid standbyConversionType:
- SNAPSHOT
- PHYSICAL
** 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
- snapshot
Duration NumberIn Days SnapshotDurationInDays is the duration in day(s) after which the Snapshot Standby Database will get converted back to Physical Standby. The minimum value of snapshotDurationInDays is 3 days and maximum value is 14 days. Default value will be 7 days if not provided in the Request.
This field is only applicable if the requested database role is snapshot standby.
Outputs
All input properties are implicitly available as output properties. Additionally, the DatabaseSnapshotStandby resource produces the following output properties:
- Character
Set string - The character set for the database.
- Compartment
Id string - The OCID of the compartment.
- Connection
Strings List<DatabaseSnapshot Standby Connection String> - The Connection strings used to connect to the Oracle Database.
- Data
Guard List<DatabaseGroups Snapshot Standby Data Guard Group> - Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
- Database
Management List<DatabaseConfigs Snapshot Standby Database Management Config> - The configuration of the Database Management service.
- Database
Software stringImage Id - The database software image OCID
- Db
Backup List<DatabaseConfigs Snapshot Standby Db Backup Config> - Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
- Db
Home stringId - The OCID of the Database Home.
- Db
Name string - The database name.
- Db
System stringId - The OCID of the DB system.
- Db
Unique stringName - A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
- Db
Workload string - Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Cdb bool - True if the database is a container database.
- Key
Store stringId - The OCID of the key store of Oracle Vault.
- Key
Store stringWallet Name - The wallet name for Oracle Key Vault.
- Kms
Key stringId - The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
- Kms
Key stringVersion Id - The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
- Last
Backup intDuration In Seconds - The duration when the latest database backup created.
- Last
Backup stringTimestamp - The date and time when the latest database backup was created.
- Last
Failed stringBackup Timestamp - The date and time when the latest database backup failed.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Ncharacter
Set string - The national character set for the database.
- Pdb
Name string - The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
- Sid
Prefix string - Specifies a prefix for the
Oracle SIDof the database to be created. - Source
Database stringPoint In Time Recovery Timestamp - Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in RFC 3339
- State string
- The current state of the database.
- Time
Created string - The date and time the database was created.
- Vault
Id string - The OCID of the Oracle Cloud Infrastructure vault. This parameter and
secretIdare required for Customer Managed Keys. - Vm
Cluster stringId - The OCID of the VM cluster.
- Character
Set string - The character set for the database.
- Compartment
Id string - The OCID of the compartment.
- Connection
Strings []DatabaseSnapshot Standby Connection String - The Connection strings used to connect to the Oracle Database.
- Data
Guard []DatabaseGroups Snapshot Standby Data Guard Group - Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
- Database
Management []DatabaseConfigs Snapshot Standby Database Management Config - The configuration of the Database Management service.
- Database
Software stringImage Id - The database software image OCID
- Db
Backup []DatabaseConfigs Snapshot Standby Db Backup Config - Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
- Db
Home stringId - The OCID of the Database Home.
- Db
Name string - The database name.
- Db
System stringId - The OCID of the DB system.
- Db
Unique stringName - A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
- Db
Workload string - Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Cdb bool - True if the database is a container database.
- Key
Store stringId - The OCID of the key store of Oracle Vault.
- Key
Store stringWallet Name - The wallet name for Oracle Key Vault.
- Kms
Key stringId - The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
- Kms
Key stringVersion Id - The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
- Last
Backup intDuration In Seconds - The duration when the latest database backup created.
- Last
Backup stringTimestamp - The date and time when the latest database backup was created.
- Last
Failed stringBackup Timestamp - The date and time when the latest database backup failed.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Ncharacter
Set string - The national character set for the database.
- Pdb
Name string - The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
- Sid
Prefix string - Specifies a prefix for the
Oracle SIDof the database to be created. - Source
Database stringPoint In Time Recovery Timestamp - Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in RFC 3339
- State string
- The current state of the database.
- Time
Created string - The date and time the database was created.
- Vault
Id string - The OCID of the Oracle Cloud Infrastructure vault. This parameter and
secretIdare required for Customer Managed Keys. - Vm
Cluster stringId - The OCID of the VM cluster.
- character
Set String - The character set for the database.
- compartment
Id String - The OCID of the compartment.
- connection
Strings List<SnapshotStandby Connection String> - The Connection strings used to connect to the Oracle Database.
- data
Guard List<SnapshotGroups Standby Data Guard Group> - Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
- database
Management List<SnapshotConfigs Standby Management Config> - The configuration of the Database Management service.
- database
Software StringImage Id - The database software image OCID
- db
Backup List<SnapshotConfigs Standby Db Backup Config> - Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
- db
Home StringId - The OCID of the Database Home.
- db
Name String - The database name.
- db
System StringId - The OCID of the DB system.
- db
Unique StringName - A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
- db
Workload String - Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The provider-assigned unique ID for this managed resource.
- is
Cdb Boolean - True if the database is a container database.
- key
Store StringId - The OCID of the key store of Oracle Vault.
- key
Store StringWallet Name - The wallet name for Oracle Key Vault.
- kms
Key StringId - The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
- kms
Key StringVersion Id - The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
- last
Backup IntegerDuration In Seconds - The duration when the latest database backup created.
- last
Backup StringTimestamp - The date and time when the latest database backup was created.
- last
Failed StringBackup Timestamp - The date and time when the latest database backup failed.
- lifecycle
Details String - Additional information about the current lifecycle state.
- ncharacter
Set String - The national character set for the database.
- pdb
Name String - The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
- sid
Prefix String - Specifies a prefix for the
Oracle SIDof the database to be created. - source
Database StringPoint In Time Recovery Timestamp - Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in RFC 3339
- state String
- The current state of the database.
- time
Created String - The date and time the database was created.
- vault
Id String - The OCID of the Oracle Cloud Infrastructure vault. This parameter and
secretIdare required for Customer Managed Keys. - vm
Cluster StringId - The OCID of the VM cluster.
- character
Set string - The character set for the database.
- compartment
Id string - The OCID of the compartment.
- connection
Strings DatabaseSnapshot Standby Connection String[] - The Connection strings used to connect to the Oracle Database.
- data
Guard DatabaseGroups Snapshot Standby Data Guard Group[] - Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
- database
Management DatabaseConfigs Snapshot Standby Database Management Config[] - The configuration of the Database Management service.
- database
Software stringImage Id - The database software image OCID
- db
Backup DatabaseConfigs Snapshot Standby Db Backup Config[] - Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
- db
Home stringId - The OCID of the Database Home.
- db
Name string - The database name.
- db
System stringId - The OCID of the DB system.
- db
Unique stringName - A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
- db
Workload string - Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id string
- The provider-assigned unique ID for this managed resource.
- is
Cdb boolean - True if the database is a container database.
- key
Store stringId - The OCID of the key store of Oracle Vault.
- key
Store stringWallet Name - The wallet name for Oracle Key Vault.
- kms
Key stringId - The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
- kms
Key stringVersion Id - The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
- last
Backup numberDuration In Seconds - The duration when the latest database backup created.
- last
Backup stringTimestamp - The date and time when the latest database backup was created.
- last
Failed stringBackup Timestamp - The date and time when the latest database backup failed.
- lifecycle
Details string - Additional information about the current lifecycle state.
- ncharacter
Set string - The national character set for the database.
- pdb
Name string - The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
- sid
Prefix string - Specifies a prefix for the
Oracle SIDof the database to be created. - source
Database stringPoint In Time Recovery Timestamp - Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in RFC 3339
- state string
- The current state of the database.
- time
Created string - The date and time the database was created.
- vault
Id string - The OCID of the Oracle Cloud Infrastructure vault. This parameter and
secretIdare required for Customer Managed Keys. - vm
Cluster stringId - The OCID of the VM cluster.
- character_
set str - The character set for the database.
- compartment_
id str - The OCID of the compartment.
- connection_
strings Sequence[DatabaseSnapshot Standby Connection String] - The Connection strings used to connect to the Oracle Database.
- data_
guard_ Sequence[Databasegroups Snapshot Standby Data Guard Group] - Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
- database_
management_ Sequence[Databaseconfigs Snapshot Standby Database Management Config] - The configuration of the Database Management service.
- database_
software_ strimage_ id - The database software image OCID
- db_
backup_ Sequence[Databaseconfigs Snapshot Standby Db Backup Config] - Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
- db_
home_ strid - The OCID of the Database Home.
- db_
name str - The database name.
- db_
system_ strid - The OCID of the DB system.
- db_
unique_ strname - A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
- db_
workload str - Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id str
- The provider-assigned unique ID for this managed resource.
- is_
cdb bool - True if the database is a container database.
- key_
store_ strid - The OCID of the key store of Oracle Vault.
- key_
store_ strwallet_ name - The wallet name for Oracle Key Vault.
- kms_
key_ strid - The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
- kms_
key_ strversion_ id - The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
- last_
backup_ intduration_ in_ seconds - The duration when the latest database backup created.
- last_
backup_ strtimestamp - The date and time when the latest database backup was created.
- last_
failed_ strbackup_ timestamp - The date and time when the latest database backup failed.
- lifecycle_
details str - Additional information about the current lifecycle state.
- ncharacter_
set str - The national character set for the database.
- pdb_
name str - The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
- sid_
prefix str - Specifies a prefix for the
Oracle SIDof the database to be created. - source_
database_ strpoint_ in_ time_ recovery_ timestamp - Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in RFC 3339
- state str
- The current state of the database.
- time_
created str - The date and time the database was created.
- vault_
id str - The OCID of the Oracle Cloud Infrastructure vault. This parameter and
secretIdare required for Customer Managed Keys. - vm_
cluster_ strid - The OCID of the VM cluster.
- character
Set String - The character set for the database.
- compartment
Id String - The OCID of the compartment.
- connection
Strings List<Property Map> - The Connection strings used to connect to the Oracle Database.
- data
Guard List<Property Map>Groups - Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
- database
Management List<Property Map>Configs - The configuration of the Database Management service.
- database
Software StringImage Id - The database software image OCID
- db
Backup List<Property Map>Configs - Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
- db
Home StringId - The OCID of the Database Home.
- db
Name String - The database name.
- db
System StringId - The OCID of the DB system.
- db
Unique StringName - A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
- db
Workload String - Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The provider-assigned unique ID for this managed resource.
- is
Cdb Boolean - True if the database is a container database.
- key
Store StringId - The OCID of the key store of Oracle Vault.
- key
Store StringWallet Name - The wallet name for Oracle Key Vault.
- kms
Key StringId - The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
- kms
Key StringVersion Id - The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
- last
Backup NumberDuration In Seconds - The duration when the latest database backup created.
- last
Backup StringTimestamp - The date and time when the latest database backup was created.
- last
Failed StringBackup Timestamp - The date and time when the latest database backup failed.
- lifecycle
Details String - Additional information about the current lifecycle state.
- ncharacter
Set String - The national character set for the database.
- pdb
Name String - The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
- sid
Prefix String - Specifies a prefix for the
Oracle SIDof the database to be created. - source
Database StringPoint In Time Recovery Timestamp - Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in RFC 3339
- state String
- The current state of the database.
- time
Created String - The date and time the database was created.
- vault
Id String - The OCID of the Oracle Cloud Infrastructure vault. This parameter and
secretIdare required for Customer Managed Keys. - vm
Cluster StringId - The OCID of the VM cluster.
Look up Existing DatabaseSnapshotStandby Resource
Get an existing DatabaseSnapshotStandby 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?: DatabaseSnapshotStandbyState, opts?: CustomResourceOptions): DatabaseSnapshotStandby@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
character_set: Optional[str] = None,
compartment_id: Optional[str] = None,
connection_strings: Optional[Sequence[DatabaseSnapshotStandbyConnectionStringArgs]] = None,
data_guard_groups: Optional[Sequence[DatabaseSnapshotStandbyDataGuardGroupArgs]] = None,
database_admin_password: Optional[str] = None,
database_id: Optional[str] = None,
database_management_configs: Optional[Sequence[DatabaseSnapshotStandbyDatabaseManagementConfigArgs]] = None,
database_software_image_id: Optional[str] = None,
db_backup_configs: Optional[Sequence[DatabaseSnapshotStandbyDbBackupConfigArgs]] = None,
db_home_id: Optional[str] = None,
db_name: Optional[str] = None,
db_system_id: Optional[str] = None,
db_unique_name: Optional[str] = None,
db_workload: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
is_cdb: Optional[bool] = None,
key_store_id: Optional[str] = None,
key_store_wallet_name: Optional[str] = None,
kms_key_id: Optional[str] = None,
kms_key_version_id: Optional[str] = None,
last_backup_duration_in_seconds: Optional[int] = None,
last_backup_timestamp: Optional[str] = None,
last_failed_backup_timestamp: Optional[str] = None,
lifecycle_details: Optional[str] = None,
ncharacter_set: Optional[str] = None,
pdb_name: Optional[str] = None,
sid_prefix: Optional[str] = None,
snapshot_duration_in_days: Optional[int] = None,
source_database_point_in_time_recovery_timestamp: Optional[str] = None,
standby_conversion_type: Optional[str] = None,
state: Optional[str] = None,
time_created: Optional[str] = None,
vault_id: Optional[str] = None,
vm_cluster_id: Optional[str] = None) -> DatabaseSnapshotStandbyfunc GetDatabaseSnapshotStandby(ctx *Context, name string, id IDInput, state *DatabaseSnapshotStandbyState, opts ...ResourceOption) (*DatabaseSnapshotStandby, error)public static DatabaseSnapshotStandby Get(string name, Input<string> id, DatabaseSnapshotStandbyState? state, CustomResourceOptions? opts = null)public static DatabaseSnapshotStandby get(String name, Output<String> id, DatabaseSnapshotStandbyState state, CustomResourceOptions options)resources: _: type: oci:Database:DatabaseSnapshotStandby get: id: ${id}- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Character
Set string - The character set for the database.
- Compartment
Id string - The OCID of the compartment.
- Connection
Strings List<DatabaseSnapshot Standby Connection String> - The Connection strings used to connect to the Oracle Database.
- Data
Guard List<DatabaseGroups Snapshot Standby Data Guard Group> - Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
- Database
Admin stringPassword The administrator password of the primary database in this Data Guard association.
The password MUST be the same as the primary admin password.
- Database
Id string - The database OCID.
- Database
Management List<DatabaseConfigs Snapshot Standby Database Management Config> - The configuration of the Database Management service.
- Database
Software stringImage Id - The database software image OCID
- Db
Backup List<DatabaseConfigs Snapshot Standby Db Backup Config> - Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
- Db
Home stringId - The OCID of the Database Home.
- Db
Name string - The database name.
- Db
System stringId - The OCID of the DB system.
- Db
Unique stringName - A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
- Db
Workload string - Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Is
Cdb bool - True if the database is a container database.
- Key
Store stringId - The OCID of the key store of Oracle Vault.
- Key
Store stringWallet Name - The wallet name for Oracle Key Vault.
- Kms
Key stringId - The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
- Kms
Key stringVersion Id - The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
- Last
Backup intDuration In Seconds - The duration when the latest database backup created.
- Last
Backup stringTimestamp - The date and time when the latest database backup was created.
- Last
Failed stringBackup Timestamp - The date and time when the latest database backup failed.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Ncharacter
Set string - The national character set for the database.
- Pdb
Name string - The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
- Sid
Prefix string - Specifies a prefix for the
Oracle SIDof the database to be created. - Snapshot
Duration intIn Days SnapshotDurationInDays is the duration in day(s) after which the Snapshot Standby Database will get converted back to Physical Standby. The minimum value of snapshotDurationInDays is 3 days and maximum value is 14 days. Default value will be 7 days if not provided in the Request.
This field is only applicable if the requested database role is snapshot standby.
- Source
Database stringPoint In Time Recovery Timestamp - Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in RFC 3339
- Standby
Conversion stringType Defines the conversion type of the standby database. Specify this to convert a physical standby to a snapshot standby and vice versa.
Valid standbyConversionType:
- SNAPSHOT
- PHYSICAL
** 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
- State string
- The current state of the database.
- Time
Created string - The date and time the database was created.
- Vault
Id string - The OCID of the Oracle Cloud Infrastructure vault. This parameter and
secretIdare required for Customer Managed Keys. - Vm
Cluster stringId - The OCID of the VM cluster.
- Character
Set string - The character set for the database.
- Compartment
Id string - The OCID of the compartment.
- Connection
Strings []DatabaseSnapshot Standby Connection String Args - The Connection strings used to connect to the Oracle Database.
- Data
Guard []DatabaseGroups Snapshot Standby Data Guard Group Args - Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
- Database
Admin stringPassword The administrator password of the primary database in this Data Guard association.
The password MUST be the same as the primary admin password.
- Database
Id string - The database OCID.
- Database
Management []DatabaseConfigs Snapshot Standby Database Management Config Args - The configuration of the Database Management service.
- Database
Software stringImage Id - The database software image OCID
- Db
Backup []DatabaseConfigs Snapshot Standby Db Backup Config Args - Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
- Db
Home stringId - The OCID of the Database Home.
- Db
Name string - The database name.
- Db
System stringId - The OCID of the DB system.
- Db
Unique stringName - A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
- Db
Workload string - Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Is
Cdb bool - True if the database is a container database.
- Key
Store stringId - The OCID of the key store of Oracle Vault.
- Key
Store stringWallet Name - The wallet name for Oracle Key Vault.
- Kms
Key stringId - The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
- Kms
Key stringVersion Id - The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
- Last
Backup intDuration In Seconds - The duration when the latest database backup created.
- Last
Backup stringTimestamp - The date and time when the latest database backup was created.
- Last
Failed stringBackup Timestamp - The date and time when the latest database backup failed.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Ncharacter
Set string - The national character set for the database.
- Pdb
Name string - The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
- Sid
Prefix string - Specifies a prefix for the
Oracle SIDof the database to be created. - Snapshot
Duration intIn Days SnapshotDurationInDays is the duration in day(s) after which the Snapshot Standby Database will get converted back to Physical Standby. The minimum value of snapshotDurationInDays is 3 days and maximum value is 14 days. Default value will be 7 days if not provided in the Request.
This field is only applicable if the requested database role is snapshot standby.
- Source
Database stringPoint In Time Recovery Timestamp - Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in RFC 3339
- Standby
Conversion stringType Defines the conversion type of the standby database. Specify this to convert a physical standby to a snapshot standby and vice versa.
Valid standbyConversionType:
- SNAPSHOT
- PHYSICAL
** 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
- State string
- The current state of the database.
- Time
Created string - The date and time the database was created.
- Vault
Id string - The OCID of the Oracle Cloud Infrastructure vault. This parameter and
secretIdare required for Customer Managed Keys. - Vm
Cluster stringId - The OCID of the VM cluster.
- character
Set String - The character set for the database.
- compartment
Id String - The OCID of the compartment.
- connection
Strings List<SnapshotStandby Connection String> - The Connection strings used to connect to the Oracle Database.
- data
Guard List<SnapshotGroups Standby Data Guard Group> - Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
- database
Admin StringPassword The administrator password of the primary database in this Data Guard association.
The password MUST be the same as the primary admin password.
- database
Id String - The database OCID.
- database
Management List<SnapshotConfigs Standby Management Config> - The configuration of the Database Management service.
- database
Software StringImage Id - The database software image OCID
- db
Backup List<SnapshotConfigs Standby Db Backup Config> - Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
- db
Home StringId - The OCID of the Database Home.
- db
Name String - The database name.
- db
System StringId - The OCID of the DB system.
- db
Unique StringName - A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
- db
Workload String - Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - is
Cdb Boolean - True if the database is a container database.
- key
Store StringId - The OCID of the key store of Oracle Vault.
- key
Store StringWallet Name - The wallet name for Oracle Key Vault.
- kms
Key StringId - The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
- kms
Key StringVersion Id - The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
- last
Backup IntegerDuration In Seconds - The duration when the latest database backup created.
- last
Backup StringTimestamp - The date and time when the latest database backup was created.
- last
Failed StringBackup Timestamp - The date and time when the latest database backup failed.
- lifecycle
Details String - Additional information about the current lifecycle state.
- ncharacter
Set String - The national character set for the database.
- pdb
Name String - The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
- sid
Prefix String - Specifies a prefix for the
Oracle SIDof the database to be created. - snapshot
Duration IntegerIn Days SnapshotDurationInDays is the duration in day(s) after which the Snapshot Standby Database will get converted back to Physical Standby. The minimum value of snapshotDurationInDays is 3 days and maximum value is 14 days. Default value will be 7 days if not provided in the Request.
This field is only applicable if the requested database role is snapshot standby.
- source
Database StringPoint In Time Recovery Timestamp - Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in RFC 3339
- standby
Conversion StringType Defines the conversion type of the standby database. Specify this to convert a physical standby to a snapshot standby and vice versa.
Valid standbyConversionType:
- SNAPSHOT
- PHYSICAL
** 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
- state String
- The current state of the database.
- time
Created String - The date and time the database was created.
- vault
Id String - The OCID of the Oracle Cloud Infrastructure vault. This parameter and
secretIdare required for Customer Managed Keys. - vm
Cluster StringId - The OCID of the VM cluster.
- character
Set string - The character set for the database.
- compartment
Id string - The OCID of the compartment.
- connection
Strings DatabaseSnapshot Standby Connection String[] - The Connection strings used to connect to the Oracle Database.
- data
Guard DatabaseGroups Snapshot Standby Data Guard Group[] - Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
- database
Admin stringPassword The administrator password of the primary database in this Data Guard association.
The password MUST be the same as the primary admin password.
- database
Id string - The database OCID.
- database
Management DatabaseConfigs Snapshot Standby Database Management Config[] - The configuration of the Database Management service.
- database
Software stringImage Id - The database software image OCID
- db
Backup DatabaseConfigs Snapshot Standby Db Backup Config[] - Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
- db
Home stringId - The OCID of the Database Home.
- db
Name string - The database name.
- db
System stringId - The OCID of the DB system.
- db
Unique stringName - A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
- db
Workload string - Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - is
Cdb boolean - True if the database is a container database.
- key
Store stringId - The OCID of the key store of Oracle Vault.
- key
Store stringWallet Name - The wallet name for Oracle Key Vault.
- kms
Key stringId - The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
- kms
Key stringVersion Id - The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
- last
Backup numberDuration In Seconds - The duration when the latest database backup created.
- last
Backup stringTimestamp - The date and time when the latest database backup was created.
- last
Failed stringBackup Timestamp - The date and time when the latest database backup failed.
- lifecycle
Details string - Additional information about the current lifecycle state.
- ncharacter
Set string - The national character set for the database.
- pdb
Name string - The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
- sid
Prefix string - Specifies a prefix for the
Oracle SIDof the database to be created. - snapshot
Duration numberIn Days SnapshotDurationInDays is the duration in day(s) after which the Snapshot Standby Database will get converted back to Physical Standby. The minimum value of snapshotDurationInDays is 3 days and maximum value is 14 days. Default value will be 7 days if not provided in the Request.
This field is only applicable if the requested database role is snapshot standby.
- source
Database stringPoint In Time Recovery Timestamp - Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in RFC 3339
- standby
Conversion stringType Defines the conversion type of the standby database. Specify this to convert a physical standby to a snapshot standby and vice versa.
Valid standbyConversionType:
- SNAPSHOT
- PHYSICAL
** 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
- state string
- The current state of the database.
- time
Created string - The date and time the database was created.
- vault
Id string - The OCID of the Oracle Cloud Infrastructure vault. This parameter and
secretIdare required for Customer Managed Keys. - vm
Cluster stringId - The OCID of the VM cluster.
- character_
set str - The character set for the database.
- compartment_
id str - The OCID of the compartment.
- connection_
strings Sequence[DatabaseSnapshot Standby Connection String Args] - The Connection strings used to connect to the Oracle Database.
- data_
guard_ Sequence[Databasegroups Snapshot Standby Data Guard Group Args] - Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
- database_
admin_ strpassword The administrator password of the primary database in this Data Guard association.
The password MUST be the same as the primary admin password.
- database_
id str - The database OCID.
- database_
management_ Sequence[Databaseconfigs Snapshot Standby Database Management Config Args] - The configuration of the Database Management service.
- database_
software_ strimage_ id - The database software image OCID
- db_
backup_ Sequence[Databaseconfigs Snapshot Standby Db Backup Config Args] - Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
- db_
home_ strid - The OCID of the Database Home.
- db_
name str - The database name.
- db_
system_ strid - The OCID of the DB system.
- db_
unique_ strname - A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
- db_
workload str - Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - is_
cdb bool - True if the database is a container database.
- key_
store_ strid - The OCID of the key store of Oracle Vault.
- key_
store_ strwallet_ name - The wallet name for Oracle Key Vault.
- kms_
key_ strid - The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
- kms_
key_ strversion_ id - The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
- last_
backup_ intduration_ in_ seconds - The duration when the latest database backup created.
- last_
backup_ strtimestamp - The date and time when the latest database backup was created.
- last_
failed_ strbackup_ timestamp - The date and time when the latest database backup failed.
- lifecycle_
details str - Additional information about the current lifecycle state.
- ncharacter_
set str - The national character set for the database.
- pdb_
name str - The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
- sid_
prefix str - Specifies a prefix for the
Oracle SIDof the database to be created. - snapshot_
duration_ intin_ days SnapshotDurationInDays is the duration in day(s) after which the Snapshot Standby Database will get converted back to Physical Standby. The minimum value of snapshotDurationInDays is 3 days and maximum value is 14 days. Default value will be 7 days if not provided in the Request.
This field is only applicable if the requested database role is snapshot standby.
- source_
database_ strpoint_ in_ time_ recovery_ timestamp - Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in RFC 3339
- standby_
conversion_ strtype Defines the conversion type of the standby database. Specify this to convert a physical standby to a snapshot standby and vice versa.
Valid standbyConversionType:
- SNAPSHOT
- PHYSICAL
** 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
- state str
- The current state of the database.
- time_
created str - The date and time the database was created.
- vault_
id str - The OCID of the Oracle Cloud Infrastructure vault. This parameter and
secretIdare required for Customer Managed Keys. - vm_
cluster_ strid - The OCID of the VM cluster.
- character
Set String - The character set for the database.
- compartment
Id String - The OCID of the compartment.
- connection
Strings List<Property Map> - The Connection strings used to connect to the Oracle Database.
- data
Guard List<Property Map>Groups - Details of Data Guard setup that the given database is part of. Also includes information about databases part of this Data Guard group and properties for their Data Guard configuration.
- database
Admin StringPassword The administrator password of the primary database in this Data Guard association.
The password MUST be the same as the primary admin password.
- database
Id String - The database OCID.
- database
Management List<Property Map>Configs - The configuration of the Database Management service.
- database
Software StringImage Id - The database software image OCID
- db
Backup List<Property Map>Configs - Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.
- db
Home StringId - The OCID of the Database Home.
- db
Name String - The database name.
- db
System StringId - The OCID of the DB system.
- db
Unique StringName - A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
- db
Workload String - Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service. Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - is
Cdb Boolean - True if the database is a container database.
- key
Store StringId - The OCID of the key store of Oracle Vault.
- key
Store StringWallet Name - The wallet name for Oracle Key Vault.
- kms
Key StringId - The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
- kms
Key StringVersion Id - The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
- last
Backup NumberDuration In Seconds - The duration when the latest database backup created.
- last
Backup StringTimestamp - The date and time when the latest database backup was created.
- last
Failed StringBackup Timestamp - The date and time when the latest database backup failed.
- lifecycle
Details String - Additional information about the current lifecycle state.
- ncharacter
Set String - The national character set for the database.
- pdb
Name String - The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
- sid
Prefix String - Specifies a prefix for the
Oracle SIDof the database to be created. - snapshot
Duration NumberIn Days SnapshotDurationInDays is the duration in day(s) after which the Snapshot Standby Database will get converted back to Physical Standby. The minimum value of snapshotDurationInDays is 3 days and maximum value is 14 days. Default value will be 7 days if not provided in the Request.
This field is only applicable if the requested database role is snapshot standby.
- source
Database StringPoint In Time Recovery Timestamp - Point in time recovery timeStamp of the source database at which cloned database system is cloned from the source database system, as described in RFC 3339
- standby
Conversion StringType Defines the conversion type of the standby database. Specify this to convert a physical standby to a snapshot standby and vice versa.
Valid standbyConversionType:
- SNAPSHOT
- PHYSICAL
** 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
- state String
- The current state of the database.
- time
Created String - The date and time the database was created.
- vault
Id String - The OCID of the Oracle Cloud Infrastructure vault. This parameter and
secretIdare required for Customer Managed Keys. - vm
Cluster StringId - The OCID of the VM cluster.
Supporting Types
DatabaseSnapshotStandbyConnectionString, DatabaseSnapshotStandbyConnectionStringArgs
- All
Connection Dictionary<string, string>Strings - All connection strings to use to connect to the Database.
- Cdb
Default string - Host name based CDB Connection String.
- Cdb
Ip stringDefault - IP based CDB Connection String.
- All
Connection map[string]stringStrings - All connection strings to use to connect to the Database.
- Cdb
Default string - Host name based CDB Connection String.
- Cdb
Ip stringDefault - IP based CDB Connection String.
- all
Connection Map<String,String>Strings - All connection strings to use to connect to the Database.
- cdb
Default String - Host name based CDB Connection String.
- cdb
Ip StringDefault - IP based CDB Connection String.
- all
Connection {[key: string]: string}Strings - All connection strings to use to connect to the Database.
- cdb
Default string - Host name based CDB Connection String.
- cdb
Ip stringDefault - IP based CDB Connection String.
- all_
connection_ Mapping[str, str]strings - All connection strings to use to connect to the Database.
- cdb_
default str - Host name based CDB Connection String.
- cdb_
ip_ strdefault - IP based CDB Connection String.
- all
Connection Map<String>Strings - All connection strings to use to connect to the Database.
- cdb
Default String - Host name based CDB Connection String.
- cdb
Ip StringDefault - IP based CDB Connection String.
DatabaseSnapshotStandbyDataGuardGroup, DatabaseSnapshotStandbyDataGuardGroupArgs
- Members
List<Database
Snapshot Standby Data Guard Group Member> - List of Data Guard members, representing each database that is part of Data Guard.
- Protection
Mode string - The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
- Members
[]Database
Snapshot Standby Data Guard Group Member - List of Data Guard members, representing each database that is part of Data Guard.
- Protection
Mode string - The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
- members
List<Snapshot
Standby Data Guard Group Member> - List of Data Guard members, representing each database that is part of Data Guard.
- protection
Mode String - The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
- members
Database
Snapshot Standby Data Guard Group Member[] - List of Data Guard members, representing each database that is part of Data Guard.
- protection
Mode string - The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
- members
Sequence[Database
Snapshot Standby Data Guard Group Member] - List of Data Guard members, representing each database that is part of Data Guard.
- protection_
mode str - The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
- members List<Property Map>
- List of Data Guard members, representing each database that is part of Data Guard.
- protection
Mode String - The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
DatabaseSnapshotStandbyDataGuardGroupMember, DatabaseSnapshotStandbyDataGuardGroupMemberArgs
- Apply
Lag string - The lag time between updates to the primary database and application of the redo data on the standby database, as computed by the reporting database. Example:
1 second - Apply
Rate string - The rate at which redo logs are synced between the associated databases. Example:
102.96 MByte/s - Database
Id string - The database OCID.
- Db
System stringId - The OCID of the DB system.
- Is
Active boolData Guard Enabled - True if active Data Guard is enabled.
- Role string
- The role of the reporting database in this Data Guard association.
- Transport
Lag string - The rate at which redo logs are transported between the associated databases. Example:
1 second - Transport
Lag stringRefresh - The date and time when last redo transport has been done.
- Transport
Type string - The redo transport type to use for this Data Guard association. Valid values depend on the specified
protectionMode:- MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
- MAXIMUM_PERFORMANCE - ASYNC
- MAXIMUM_PROTECTION - SYNC
- Apply
Lag string - The lag time between updates to the primary database and application of the redo data on the standby database, as computed by the reporting database. Example:
1 second - Apply
Rate string - The rate at which redo logs are synced between the associated databases. Example:
102.96 MByte/s - Database
Id string - The database OCID.
- Db
System stringId - The OCID of the DB system.
- Is
Active boolData Guard Enabled - True if active Data Guard is enabled.
- Role string
- The role of the reporting database in this Data Guard association.
- Transport
Lag string - The rate at which redo logs are transported between the associated databases. Example:
1 second - Transport
Lag stringRefresh - The date and time when last redo transport has been done.
- Transport
Type string - The redo transport type to use for this Data Guard association. Valid values depend on the specified
protectionMode:- MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
- MAXIMUM_PERFORMANCE - ASYNC
- MAXIMUM_PROTECTION - SYNC
- apply
Lag String - The lag time between updates to the primary database and application of the redo data on the standby database, as computed by the reporting database. Example:
1 second - apply
Rate String - The rate at which redo logs are synced between the associated databases. Example:
102.96 MByte/s - database
Id String - The database OCID.
- db
System StringId - The OCID of the DB system.
- is
Active BooleanData Guard Enabled - True if active Data Guard is enabled.
- role String
- The role of the reporting database in this Data Guard association.
- transport
Lag String - The rate at which redo logs are transported between the associated databases. Example:
1 second - transport
Lag StringRefresh - The date and time when last redo transport has been done.
- transport
Type String - The redo transport type to use for this Data Guard association. Valid values depend on the specified
protectionMode:- MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
- MAXIMUM_PERFORMANCE - ASYNC
- MAXIMUM_PROTECTION - SYNC
- apply
Lag string - The lag time between updates to the primary database and application of the redo data on the standby database, as computed by the reporting database. Example:
1 second - apply
Rate string - The rate at which redo logs are synced between the associated databases. Example:
102.96 MByte/s - database
Id string - The database OCID.
- db
System stringId - The OCID of the DB system.
- is
Active booleanData Guard Enabled - True if active Data Guard is enabled.
- role string
- The role of the reporting database in this Data Guard association.
- transport
Lag string - The rate at which redo logs are transported between the associated databases. Example:
1 second - transport
Lag stringRefresh - The date and time when last redo transport has been done.
- transport
Type string - The redo transport type to use for this Data Guard association. Valid values depend on the specified
protectionMode:- MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
- MAXIMUM_PERFORMANCE - ASYNC
- MAXIMUM_PROTECTION - SYNC
- apply_
lag str - The lag time between updates to the primary database and application of the redo data on the standby database, as computed by the reporting database. Example:
1 second - apply_
rate str - The rate at which redo logs are synced between the associated databases. Example:
102.96 MByte/s - database_
id str - The database OCID.
- db_
system_ strid - The OCID of the DB system.
- is_
active_ booldata_ guard_ enabled - True if active Data Guard is enabled.
- role str
- The role of the reporting database in this Data Guard association.
- transport_
lag str - The rate at which redo logs are transported between the associated databases. Example:
1 second - transport_
lag_ strrefresh - The date and time when last redo transport has been done.
- transport_
type str - The redo transport type to use for this Data Guard association. Valid values depend on the specified
protectionMode:- MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
- MAXIMUM_PERFORMANCE - ASYNC
- MAXIMUM_PROTECTION - SYNC
- apply
Lag String - The lag time between updates to the primary database and application of the redo data on the standby database, as computed by the reporting database. Example:
1 second - apply
Rate String - The rate at which redo logs are synced between the associated databases. Example:
102.96 MByte/s - database
Id String - The database OCID.
- db
System StringId - The OCID of the DB system.
- is
Active BooleanData Guard Enabled - True if active Data Guard is enabled.
- role String
- The role of the reporting database in this Data Guard association.
- transport
Lag String - The rate at which redo logs are transported between the associated databases. Example:
1 second - transport
Lag StringRefresh - The date and time when last redo transport has been done.
- transport
Type String - The redo transport type to use for this Data Guard association. Valid values depend on the specified
protectionMode:- MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
- MAXIMUM_PERFORMANCE - ASYNC
- MAXIMUM_PROTECTION - SYNC
DatabaseSnapshotStandbyDatabaseManagementConfig, DatabaseSnapshotStandbyDatabaseManagementConfigArgs
- Management
Status string - The status of the Database Management service.
- Management
Type string - The Database Management type.
- Management
Status string - The status of the Database Management service.
- Management
Type string - The Database Management type.
- management
Status String - The status of the Database Management service.
- management
Type String - The Database Management type.
- management
Status string - The status of the Database Management service.
- management
Type string - The Database Management type.
- management_
status str - The status of the Database Management service.
- management_
type str - The Database Management type.
- management
Status String - The status of the Database Management service.
- management
Type String - The Database Management type.
DatabaseSnapshotStandbyDbBackupConfig, DatabaseSnapshotStandbyDbBackupConfigArgs
- Auto
Backup boolEnabled - If set to true, configures automatic backups. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
- Auto
Backup stringWindow - Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example:
SLOT_TWO - Auto
Full stringBackup Day - Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
- Auto
Full stringBackup Window - Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example:
SLOT_TWO - Backup
Deletion stringPolicy - This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups.
- Backup
Destination List<DatabaseDetails Snapshot Standby Db Backup Config Backup Destination Detail> - Backup destination details.
- Recovery
Window intIn Days - Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
- Run
Immediate boolFull Backup - If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.
- Auto
Backup boolEnabled - If set to true, configures automatic backups. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
- Auto
Backup stringWindow - Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example:
SLOT_TWO - Auto
Full stringBackup Day - Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
- Auto
Full stringBackup Window - Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example:
SLOT_TWO - Backup
Deletion stringPolicy - This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups.
- Backup
Destination []DatabaseDetails Snapshot Standby Db Backup Config Backup Destination Detail - Backup destination details.
- Recovery
Window intIn Days - Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
- Run
Immediate boolFull Backup - If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.
- auto
Backup BooleanEnabled - If set to true, configures automatic backups. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
- auto
Backup StringWindow - Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example:
SLOT_TWO - auto
Full StringBackup Day - Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
- auto
Full StringBackup Window - Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example:
SLOT_TWO - backup
Deletion StringPolicy - This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups.
- backup
Destination List<SnapshotDetails Standby Db Backup Config Backup Destination Detail> - Backup destination details.
- recovery
Window IntegerIn Days - Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
- run
Immediate BooleanFull Backup - If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.
- auto
Backup booleanEnabled - If set to true, configures automatic backups. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
- auto
Backup stringWindow - Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example:
SLOT_TWO - auto
Full stringBackup Day - Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
- auto
Full stringBackup Window - Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example:
SLOT_TWO - backup
Deletion stringPolicy - This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups.
- backup
Destination DatabaseDetails Snapshot Standby Db Backup Config Backup Destination Detail[] - Backup destination details.
- recovery
Window numberIn Days - Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
- run
Immediate booleanFull Backup - If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.
- auto_
backup_ boolenabled - If set to true, configures automatic backups. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
- auto_
backup_ strwindow - Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example:
SLOT_TWO - auto_
full_ strbackup_ day - Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
- auto_
full_ strbackup_ window - Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example:
SLOT_TWO - backup_
deletion_ strpolicy - This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups.
- backup_
destination_ Sequence[Databasedetails Snapshot Standby Db Backup Config Backup Destination Detail] - Backup destination details.
- recovery_
window_ intin_ days - Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
- run_
immediate_ boolfull_ backup - If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.
- auto
Backup BooleanEnabled - If set to true, configures automatic backups. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
- auto
Backup StringWindow - Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example:
SLOT_TWO - auto
Full StringBackup Day - Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
- auto
Full StringBackup Window - Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example:
SLOT_TWO - backup
Deletion StringPolicy - This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups.
- backup
Destination List<Property Map>Details - Backup destination details.
- recovery
Window NumberIn Days - Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
- run
Immediate BooleanFull Backup - If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.
DatabaseSnapshotStandbyDbBackupConfigBackupDestinationDetail, DatabaseSnapshotStandbyDbBackupConfigBackupDestinationDetailArgs
- Dbrs
Policy stringId - The OCID of the DBRS policy used for backup.
- Id string
- The OCID of the database.
- Internet
Proxy string - Proxy URL to connect to object store.
- Type string
- Type of the database backup destination.
- Vpc
Password string - For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
- Vpc
User string - For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
- Dbrs
Policy stringId - The OCID of the DBRS policy used for backup.
- Id string
- The OCID of the database.
- Internet
Proxy string - Proxy URL to connect to object store.
- Type string
- Type of the database backup destination.
- Vpc
Password string - For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
- Vpc
User string - For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
- dbrs
Policy StringId - The OCID of the DBRS policy used for backup.
- id String
- The OCID of the database.
- internet
Proxy String - Proxy URL to connect to object store.
- type String
- Type of the database backup destination.
- vpc
Password String - For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
- vpc
User String - For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
- dbrs
Policy stringId - The OCID of the DBRS policy used for backup.
- id string
- The OCID of the database.
- internet
Proxy string - Proxy URL to connect to object store.
- type string
- Type of the database backup destination.
- vpc
Password string - For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
- vpc
User string - For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
- dbrs_
policy_ strid - The OCID of the DBRS policy used for backup.
- id str
- The OCID of the database.
- internet_
proxy str - Proxy URL to connect to object store.
- type str
- Type of the database backup destination.
- vpc_
password str - For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
- vpc_
user str - For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
- dbrs
Policy StringId - The OCID of the DBRS policy used for backup.
- id String
- The OCID of the database.
- internet
Proxy String - Proxy URL to connect to object store.
- type String
- Type of the database backup destination.
- vpc
Password String - For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.
- vpc
User String - For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
Import
DatabaseSnapshotStandby can be imported using the id, e.g.
$ pulumi import oci:Database/databaseSnapshotStandby:DatabaseSnapshotStandby test_database_snapshot_standby "id"
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
ociTerraform Provider.
