CreateNFSBackupDestinationDetails

class oci.database.models.CreateNFSBackupDestinationDetails(**kwargs)

Bases: oci.database.models.create_backup_destination_details.CreateBackupDestinationDetails

Used for creating NFS backup destinations.

Attributes

TYPE_NFS str(object=’’) -> str
TYPE_RECOVERY_APPLIANCE str(object=’’) -> str
compartment_id [Required] Gets the compartment_id of this CreateBackupDestinationDetails.
defined_tags Gets the defined_tags of this CreateBackupDestinationDetails.
display_name [Required] Gets the display_name of this CreateBackupDestinationDetails.
freeform_tags Gets the freeform_tags of this CreateBackupDestinationDetails.
local_mount_point_path Gets the local_mount_point_path of this CreateNFSBackupDestinationDetails.
mount_type_details Gets the mount_type_details of this CreateNFSBackupDestinationDetails.
type [Required] Gets the type of this CreateBackupDestinationDetails.

Methods

__init__(**kwargs) Initializes a new CreateNFSBackupDestinationDetails 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'
TYPE_RECOVERY_APPLIANCE = 'RECOVERY_APPLIANCE'
__init__(**kwargs)

Initializes a new CreateNFSBackupDestinationDetails object with values from keyword arguments. The default value of the type attribute of this class is NFS and 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 CreateNFSBackupDestinationDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateNFSBackupDestinationDetails.
  • type (str) – The value to assign to the type property of this CreateNFSBackupDestinationDetails. 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 CreateNFSBackupDestinationDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateNFSBackupDestinationDetails.
  • local_mount_point_path (str) – The value to assign to the local_mount_point_path property of this CreateNFSBackupDestinationDetails.
  • mount_type_details (oci.database.models.MountTypeDetails) – The value to assign to the mount_type_details property of this CreateNFSBackupDestinationDetails.
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
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))
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
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.

local_mount_point_path

Gets the local_mount_point_path of this CreateNFSBackupDestinationDetails. Deprecated. The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes. This field is deprecated. Use the mountTypeDetails field instead to specify the mount type for NFS.

Returns:The local_mount_point_path of this CreateNFSBackupDestinationDetails.
Return type:str
mount_type_details

Gets the mount_type_details of this CreateNFSBackupDestinationDetails.

Returns:The mount_type_details of this CreateNFSBackupDestinationDetails.
Return type:oci.database.models.MountTypeDetails
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