CreateVolumeBackupPolicyDetails¶
- class oci.core.models.CreateVolumeBackupPolicyDetails(**kwargs)¶
Bases:
objectSpecifies the properties for creating user defined backup policy. For more information about user defined backup policies, see User Defined Policies in Policy-Based Backups.
Methods:
__init__(**kwargs)Initializes a new CreateVolumeBackupPolicyDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this CreateVolumeBackupPolicyDetails.
Gets the defined_tags of this CreateVolumeBackupPolicyDetails.
Gets the destination_region of this CreateVolumeBackupPolicyDetails.
Gets the display_name of this CreateVolumeBackupPolicyDetails.
Gets the freeform_tags of this CreateVolumeBackupPolicyDetails.
Gets the schedules of this CreateVolumeBackupPolicyDetails.
- __init__(**kwargs)¶
Initializes a new CreateVolumeBackupPolicyDetails 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 CreateVolumeBackupPolicyDetails.
display_name (str) – The value to assign to the display_name property of this CreateVolumeBackupPolicyDetails.
destination_region (str) – The value to assign to the destination_region property of this CreateVolumeBackupPolicyDetails.
schedules (list[oci.core.models.VolumeBackupSchedule]) – The value to assign to the schedules property of this CreateVolumeBackupPolicyDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateVolumeBackupPolicyDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateVolumeBackupPolicyDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateVolumeBackupPolicyDetails. The OCID of the compartment.
- Returns
The compartment_id of this CreateVolumeBackupPolicyDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateVolumeBackupPolicyDetails. 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 CreateVolumeBackupPolicyDetails.
- Return type
dict(str, dict(str, object))
- property destination_region¶
Gets the destination_region of this CreateVolumeBackupPolicyDetails. The paired destination region for copying scheduled backups to. Example: us-ashburn-1. See Region Pairs for details about paired regions.
- Returns
The destination_region of this CreateVolumeBackupPolicyDetails.
- Return type
str
- property display_name¶
Gets the display_name of this CreateVolumeBackupPolicyDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this CreateVolumeBackupPolicyDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateVolumeBackupPolicyDetails. 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 CreateVolumeBackupPolicyDetails.
- Return type
dict(str, str)
- property schedules¶
Gets the schedules of this CreateVolumeBackupPolicyDetails. The collection of schedules for the volume backup policy. See see Schedules in Policy-Based Backups for more information.
- Returns
The schedules of this CreateVolumeBackupPolicyDetails.
- Return type