CreateRecoveryApplianceBackupDestinationDetails¶
- class oci.database.models.CreateRecoveryApplianceBackupDestinationDetails(**kwargs)¶
Bases:
CreateBackupDestinationDetailsUsed for creating Recovery Appliance backup destinations.
Attributes:
A constant which can be used with the type property of a CreateBackupDestinationDetails.
A constant which can be used with the type property of a CreateBackupDestinationDetails.
[Required] Gets the compartment_id of this CreateBackupDestinationDetails.
[Required] Gets the connection_string of this CreateRecoveryApplianceBackupDestinationDetails.
Gets the defined_tags of this CreateBackupDestinationDetails.
[Required] Gets the display_name of this CreateBackupDestinationDetails.
Gets the freeform_tags of this CreateBackupDestinationDetails.
[Required] Gets the type of this CreateBackupDestinationDetails.
[Required] Gets the vpc_users of this CreateRecoveryApplianceBackupDestinationDetails.
Methods:
__init__(**kwargs)Initializes a new CreateRecoveryApplianceBackupDestinationDetails object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- TYPE_NFS = 'NFS'¶
A constant which can be used with the type property of a CreateBackupDestinationDetails. This constant has a value of “NFS”
- TYPE_RECOVERY_APPLIANCE = 'RECOVERY_APPLIANCE'¶
A constant which can be used with the type property of a CreateBackupDestinationDetails. This constant has a value of “RECOVERY_APPLIANCE”
- __init__(**kwargs)¶
Initializes a new CreateRecoveryApplianceBackupDestinationDetails object with values from keyword arguments. The default value of the
typeattribute of this class isRECOVERY_APPLIANCEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
display_name (str) – The value to assign to the display_name property of this CreateRecoveryApplianceBackupDestinationDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateRecoveryApplianceBackupDestinationDetails.
type (str) – The value to assign to the type property of this CreateRecoveryApplianceBackupDestinationDetails. Allowed values for this property are: “NFS”, “RECOVERY_APPLIANCE”
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateRecoveryApplianceBackupDestinationDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateRecoveryApplianceBackupDestinationDetails.
connection_string (str) – The value to assign to the connection_string property of this CreateRecoveryApplianceBackupDestinationDetails.
vpc_users (list[str]) – The value to assign to the vpc_users property of this CreateRecoveryApplianceBackupDestinationDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateBackupDestinationDetails. The OCID of the compartment.
- Returns
The compartment_id of this CreateBackupDestinationDetails.
- Return type
str
- property connection_string¶
[Required] Gets the connection_string of this CreateRecoveryApplianceBackupDestinationDetails. The connection string for connecting to the Recovery Appliance.
- Returns
The connection_string of this CreateRecoveryApplianceBackupDestinationDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateBackupDestinationDetails. 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 CreateBackupDestinationDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this CreateBackupDestinationDetails. The user-provided name of the backup destination.
- Returns
The display_name of this CreateBackupDestinationDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateBackupDestinationDetails. 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 CreateBackupDestinationDetails.
- Return type
dict(str, str)
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property type¶
[Required] Gets the type of this CreateBackupDestinationDetails. Type of the backup destination.
Allowed values for this property are: “NFS”, “RECOVERY_APPLIANCE”
- Returns
The type of this CreateBackupDestinationDetails.
- Return type
str
- property vpc_users¶
[Required] Gets the vpc_users of this CreateRecoveryApplianceBackupDestinationDetails. The Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.
- Returns
The vpc_users of this CreateRecoveryApplianceBackupDestinationDetails.
- Return type
list[str]