CreateVolumeGroupBackupDetails¶
-
class
oci.core.models.
CreateVolumeGroupBackupDetails
(**kwargs)¶ Bases:
object
CreateVolumeGroupBackupDetails model.
Attributes
TYPE_FULL
A constant which can be used with the type property of a CreateVolumeGroupBackupDetails. TYPE_INCREMENTAL
A constant which can be used with the type property of a CreateVolumeGroupBackupDetails. compartment_id
Gets the compartment_id of this CreateVolumeGroupBackupDetails. defined_tags
Gets the defined_tags of this CreateVolumeGroupBackupDetails. display_name
Gets the display_name of this CreateVolumeGroupBackupDetails. freeform_tags
Gets the freeform_tags of this CreateVolumeGroupBackupDetails. type
Gets the type of this CreateVolumeGroupBackupDetails. volume_group_id
[Required] Gets the volume_group_id of this CreateVolumeGroupBackupDetails. Methods
__init__
(**kwargs)Initializes a new CreateVolumeGroupBackupDetails object with values from keyword arguments. -
TYPE_FULL
= 'FULL'¶ A constant which can be used with the type property of a CreateVolumeGroupBackupDetails. This constant has a value of “FULL”
-
TYPE_INCREMENTAL
= 'INCREMENTAL'¶ A constant which can be used with the type property of a CreateVolumeGroupBackupDetails. This constant has a value of “INCREMENTAL”
-
__init__
(**kwargs)¶ Initializes a new CreateVolumeGroupBackupDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this CreateVolumeGroupBackupDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateVolumeGroupBackupDetails.
- display_name (str) – The value to assign to the display_name property of this CreateVolumeGroupBackupDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateVolumeGroupBackupDetails.
- type (str) – The value to assign to the type property of this CreateVolumeGroupBackupDetails. Allowed values for this property are: “FULL”, “INCREMENTAL”
- volume_group_id (str) – The value to assign to the volume_group_id property of this CreateVolumeGroupBackupDetails.
-
compartment_id
¶ Gets the compartment_id of this CreateVolumeGroupBackupDetails. The OCID of the compartment that will contain the volume group backup. This parameter is optional, by default backup will be created in the same compartment and source volume group.
Returns: The compartment_id of this CreateVolumeGroupBackupDetails. Return type: str
Gets the defined_tags of this CreateVolumeGroupBackupDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this CreateVolumeGroupBackupDetails. Return type: dict(str, dict(str, object))
-
display_name
¶ Gets the display_name of this CreateVolumeGroupBackupDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this CreateVolumeGroupBackupDetails. Return type: str
Gets the freeform_tags of this CreateVolumeGroupBackupDetails. 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 CreateVolumeGroupBackupDetails. Return type: dict(str, str)
-
type
¶ Gets the type of this CreateVolumeGroupBackupDetails. The type of backup to create. If omitted, defaults to incremental.
Allowed values for this property are: “FULL”, “INCREMENTAL”
Returns: The type of this CreateVolumeGroupBackupDetails. Return type: str
-
volume_group_id
¶ [Required] Gets the volume_group_id of this CreateVolumeGroupBackupDetails. The OCID of the volume group that needs to be backed up.
Returns: The volume_group_id of this CreateVolumeGroupBackupDetails. Return type: str
-