AutomatedMountDetails

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

Bases: MountTypeDetails

Used for creating NFS Auto Mount backup destinations for autonomous on ExaCC.

Attributes:

MOUNT_TYPE_AUTOMATED_MOUNT

A constant which can be used with the mount_type property of a MountTypeDetails.

MOUNT_TYPE_SELF_MOUNT

A constant which can be used with the mount_type property of a MountTypeDetails.

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'

A constant which can be used with the mount_type property of a MountTypeDetails. This constant has a value of “AUTOMATED_MOUNT”

MOUNT_TYPE_SELF_MOUNT = 'SELF_MOUNT'

A constant which can be used with the mount_type property of a MountTypeDetails. This constant has a value of “SELF_MOUNT”

__init__(**kwargs)

Initializes a new AutomatedMountDetails object with values from keyword arguments. The default value of the mount_type attribute of this class is AUTOMATED_MOUNT and 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.

property 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

property 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]

property 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