NfsVolume¶
-
class
oci.batch.models.NfsVolume(**kwargs)¶ Bases:
oci.batch.models.batch_task_environment_volume.BatchTaskEnvironmentVolumeA description of a NFS type of batch task environment volume.
Attributes
TYPE_NFSstr(object=’’) -> str local_mount_directory_path[Required] Gets the local_mount_directory_path of this NfsVolume. mount_target_export_path[Required] Gets the mount_target_export_path of this NfsVolume. mount_target_fqdn[Required] Gets the mount_target_fqdn of this NfsVolume. name[Required] Gets the name of this NfsVolume. type[Required] Gets the type of this BatchTaskEnvironmentVolume. Methods
__init__(**kwargs)Initializes a new NfsVolume 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'¶
-
__init__(**kwargs)¶ Initializes a new NfsVolume object with values from keyword arguments. The default value of the
typeattribute of this class isNFSand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - type (str) – The value to assign to the type property of this NfsVolume. Allowed values for this property are: “NFS”
- name (str) – The value to assign to the name property of this NfsVolume.
- mount_target_fqdn (str) – The value to assign to the mount_target_fqdn property of this NfsVolume.
- mount_target_export_path (str) – The value to assign to the mount_target_export_path property of this NfsVolume.
- local_mount_directory_path (str) – The value to assign to the local_mount_directory_path property of this NfsVolume.
-
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_directory_path¶ [Required] Gets the local_mount_directory_path of this NfsVolume. The local path to mount the NFS share to.
Returns: The local_mount_directory_path of this NfsVolume. Return type: str
-
mount_target_export_path¶ [Required] Gets the mount_target_export_path of this NfsVolume. The path to the directory on the NFS server to be mounted.
Returns: The mount_target_export_path of this NfsVolume. Return type: str
-
mount_target_fqdn¶ [Required] Gets the mount_target_fqdn of this NfsVolume. The FQDN of the NFS server to connect to.
Returns: The mount_target_fqdn of this NfsVolume. Return type: str
-
name¶ [Required] Gets the name of this NfsVolume. The name of the NfsVolume.
Returns: The name of this NfsVolume. Return type: str
-
type¶ [Required] Gets the type of this BatchTaskEnvironmentVolume. Discriminator for sub-entities.
Allowed values for this property are: “NFS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this BatchTaskEnvironmentVolume. Return type: str
-