AutomatedMountDetails¶
-
class
oci.database.models.AutomatedMountDetails(**kwargs)¶ Bases:
oci.database.models.mount_type_details.MountTypeDetailsUsed for creating NFS Auto Mount backup destinations for autonomous on ExaCC.
Attributes
MOUNT_TYPE_AUTOMATED_MOUNTstr(object=’’) -> str MOUNT_TYPE_SELF_MOUNTstr(object=’’) -> str mount_type[Required] Gets the mount_type of this MountTypeDetails. nfs_server[Required] Gets the nfs_server of this AutomatedMountDetails. nfs_server_export[Required] Gets the nfs_server_export of this AutomatedMountDetails. Methods
__init__(**kwargs)Initializes a new AutomatedMountDetails 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. -
MOUNT_TYPE_AUTOMATED_MOUNT= 'AUTOMATED_MOUNT'¶
-
MOUNT_TYPE_SELF_MOUNT= 'SELF_MOUNT'¶
-
__init__(**kwargs)¶ Initializes a new AutomatedMountDetails object with values from keyword arguments. The default value of the
mount_typeattribute of this class isAUTOMATED_MOUNTand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - mount_type (str) – The value to assign to the mount_type property of this AutomatedMountDetails. Allowed values for this property are: “SELF_MOUNT”, “AUTOMATED_MOUNT”
- nfs_server (list[str]) – The value to assign to the nfs_server property of this AutomatedMountDetails.
- nfs_server_export (str) – The value to assign to the nfs_server_export property of this AutomatedMountDetails.
-
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.
-
mount_type¶ [Required] Gets the mount_type of this MountTypeDetails. Mount type for backup destination.
Allowed values for this property are: “SELF_MOUNT”, “AUTOMATED_MOUNT”
Returns: The mount_type of this MountTypeDetails. Return type: str
-
nfs_server¶ [Required] Gets the nfs_server of this AutomatedMountDetails. IP addresses for NFS Auto mount.
Returns: The nfs_server of this AutomatedMountDetails. Return type: list[str]
-
nfs_server_export¶ [Required] Gets the nfs_server_export of this AutomatedMountDetails. Specifies the directory on which to mount the file system
Returns: The nfs_server_export of this AutomatedMountDetails. Return type: str
-