CreateDatabaseSnapshotDetails¶
- class oci.database.models.CreateDatabaseSnapshotDetails(**kwargs)¶
Bases:
objectDetails to create a Database Snapshot.
Methods:
__init__(**kwargs)Initializes a new CreateDatabaseSnapshotDetails object with values from keyword arguments.
Attributes:
[Required] Gets the database_id of this CreateDatabaseSnapshotDetails.
Gets the defined_tags of this CreateDatabaseSnapshotDetails.
Gets the freeform_tags of this CreateDatabaseSnapshotDetails.
[Required] Gets the name of this CreateDatabaseSnapshotDetails.
- __init__(**kwargs)¶
Initializes a new CreateDatabaseSnapshotDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this CreateDatabaseSnapshotDetails.
database_id (str) – The value to assign to the database_id property of this CreateDatabaseSnapshotDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDatabaseSnapshotDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDatabaseSnapshotDetails.
- property database_id¶
[Required] Gets the database_id of this CreateDatabaseSnapshotDetails. The OCID of the Exadata Database.
- Returns
The database_id of this CreateDatabaseSnapshotDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateDatabaseSnapshotDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Returns
The defined_tags of this CreateDatabaseSnapshotDetails.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
Gets the freeform_tags of this CreateDatabaseSnapshotDetails. 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”}
- Returns
The freeform_tags of this CreateDatabaseSnapshotDetails.
- Return type
dict(str, str)
- property name¶
[Required] Gets the name of this CreateDatabaseSnapshotDetails. The user-friendly name for the Database Snapshot. The name should be unique.
- Returns
The name of this CreateDatabaseSnapshotDetails.
- Return type
str