Storage¶
- class oci.cloud_migrations.models.Storage(**kwargs)¶
Bases:
objectHost storage information
Attributes:
A constant which can be used with the nfs_version property of a Storage.
A constant which can be used with the nfs_version property of a Storage.
A constant which can be used with the nfs_version property of a Storage.
A constant which can be used with the nfs_version property of a Storage.
A constant which can be used with the nfs_version property of a Storage.
A constant which can be used with the nfs_version property of a Storage.
A constant which can be used with the type property of a Storage.
A constant which can be used with the type property of a Storage.
A constant which can be used with the type property of a Storage.
A constant which can be used with the type property of a Storage.
A constant which can be used with the type property of a Storage.
A constant which can be used with the type property of a Storage.
A constant which can be used with the type property of a Storage.
A constant which can be used with the type property of a Storage.
A constant which can be used with the type property of a Storage.
Gets the address of this Storage.
Gets the comment of this Storage.
Gets the driver_options of this Storage.
Gets the driver_sensitive_options of this Storage.
Gets the id of this Storage.
Gets the is_override_luns of this Storage.
Gets the logical_units of this Storage.
Gets the mount_options of this Storage.
Gets the nfs_retrans of this Storage.
Gets the nfs_timeo of this Storage.
Gets the nfs_version of this Storage.
Gets the password of this Storage.
Gets the paths of this Storage.
Gets the port of this Storage.
Gets the portal of this Storage.
Gets the storage_description of this Storage.
Gets the target of this Storage.
Gets the type of this Storage.
Gets the username of this Storage.
Gets the vfs_type of this Storage.
Gets the volume_group of this Storage.
Methods:
__init__(**kwargs)Initializes a new Storage object with values from keyword arguments.
- NFS_VERSION_AUTO = 'AUTO'¶
A constant which can be used with the nfs_version property of a Storage. This constant has a value of “AUTO”
- NFS_VERSION_V3 = 'V3'¶
A constant which can be used with the nfs_version property of a Storage. This constant has a value of “V3”
- NFS_VERSION_V4 = 'V4'¶
A constant which can be used with the nfs_version property of a Storage. This constant has a value of “V4”
- NFS_VERSION_V4_0 = 'V4_0'¶
A constant which can be used with the nfs_version property of a Storage. This constant has a value of “V4_0”
- NFS_VERSION_V4_1 = 'V4_1'¶
A constant which can be used with the nfs_version property of a Storage. This constant has a value of “V4_1”
- NFS_VERSION_V4_2 = 'V4_2'¶
A constant which can be used with the nfs_version property of a Storage. This constant has a value of “V4_2”
- TYPE_CINDER = 'CINDER'¶
A constant which can be used with the type property of a Storage. This constant has a value of “CINDER”
- TYPE_FCP = 'FCP'¶
A constant which can be used with the type property of a Storage. This constant has a value of “FCP”
- TYPE_GLANCE = 'GLANCE'¶
A constant which can be used with the type property of a Storage. This constant has a value of “GLANCE”
- TYPE_GLUSTERFS = 'GLUSTERFS'¶
A constant which can be used with the type property of a Storage. This constant has a value of “GLUSTERFS”
- TYPE_ISCSI = 'ISCSI'¶
A constant which can be used with the type property of a Storage. This constant has a value of “ISCSI”
- TYPE_LOCALFS = 'LOCALFS'¶
A constant which can be used with the type property of a Storage. This constant has a value of “LOCALFS”
- TYPE_MANAGED_BLOCK_STORAGE = 'MANAGED_BLOCK_STORAGE'¶
A constant which can be used with the type property of a Storage. This constant has a value of “MANAGED_BLOCK_STORAGE”
- TYPE_NFS = 'NFS'¶
A constant which can be used with the type property of a Storage. This constant has a value of “NFS”
- TYPE_POSIXFS = 'POSIXFS'¶
A constant which can be used with the type property of a Storage. This constant has a value of “POSIXFS”
- __init__(**kwargs)¶
Initializes a new Storage object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this Storage.
address (str) – The value to assign to the address property of this Storage.
comment (str) – The value to assign to the comment property of this Storage.
storage_description (str) – The value to assign to the storage_description property of this Storage.
driver_options (list[oci.cloud_migrations.models.OlvmProperty]) – The value to assign to the driver_options property of this Storage.
driver_sensitive_options (list[oci.cloud_migrations.models.OlvmProperty]) – The value to assign to the driver_sensitive_options property of this Storage.
logical_units (list[oci.cloud_migrations.models.LogicalUnit]) – The value to assign to the logical_units property of this Storage.
mount_options (str) – The value to assign to the mount_options property of this Storage.
nfs_retrans (int) – The value to assign to the nfs_retrans property of this Storage.
nfs_timeo (int) – The value to assign to the nfs_timeo property of this Storage.
nfs_version (str) – The value to assign to the nfs_version property of this Storage. Allowed values for this property are: “AUTO”, “V3”, “V4”, “V4_0”, “V4_1”, “V4_2”
is_override_luns (bool) – The value to assign to the is_override_luns property of this Storage.
password (str) – The value to assign to the password property of this Storage.
paths (int) – The value to assign to the paths property of this Storage.
port (int) – The value to assign to the port property of this Storage.
portal (str) – The value to assign to the portal property of this Storage.
target (str) – The value to assign to the target property of this Storage.
username (str) – The value to assign to the username property of this Storage.
type (str) – The value to assign to the type property of this Storage. Allowed values for this property are: “CINDER”, “FCP”, “GLANCE”, “GLUSTERFS”, “ISCSI”, “LOCALFS”, “MANAGED_BLOCK_STORAGE”, “NFS”, “POSIXFS”
vfs_type (str) – The value to assign to the vfs_type property of this Storage.
volume_group (oci.cloud_migrations.models.VolumeGroup) – The value to assign to the volume_group property of this Storage.
- property address¶
Gets the address of this Storage. Address of storage domain.
- Returns
The address of this Storage.
- Return type
str
- property comment¶
Gets the comment of this Storage. Free text containing comments about this object.
- Returns
The comment of this Storage.
- Return type
str
- property driver_options¶
Gets the driver_options of this Storage. The options to be passed when creating a storage domain using a cinder driver.
- Returns
The driver_options of this Storage.
- Return type
- property driver_sensitive_options¶
Gets the driver_sensitive_options of this Storage. The options containing sensitive information to be passed when creating a storage domain using a cinder driver.
- Returns
The driver_sensitive_options of this Storage.
- Return type
- property id¶
Gets the id of this Storage. A unique identifier.
- Returns
The id of this Storage.
- Return type
str
- property is_override_luns¶
Gets the is_override_luns of this Storage. Whether to override LUNs
- Returns
The is_override_luns of this Storage.
- Return type
bool
- property logical_units¶
Gets the logical_units of this Storage. Logical Units of the host storage
- Returns
The logical_units of this Storage.
- Return type
- property mount_options¶
Gets the mount_options of this Storage. Mount options
- Returns
The mount_options of this Storage.
- Return type
str
- property nfs_retrans¶
Gets the nfs_retrans of this Storage. The number of times to retry a request before attempting further recovery actions.
- Returns
The nfs_retrans of this Storage.
- Return type
int
- property nfs_timeo¶
Gets the nfs_timeo of this Storage. The time in tenths of a second to wait for a response before retrying NFS requests.
- Returns
The nfs_timeo of this Storage.
- Return type
int
- property nfs_version¶
Gets the nfs_version of this Storage. Version of NFS used.
Allowed values for this property are: “AUTO”, “V3”, “V4”, “V4_0”, “V4_1”, “V4_2”
- Returns
The nfs_version of this Storage.
- Return type
str
- property password¶
Gets the password of this Storage. Password of the host storage.
- Returns
The password of this Storage.
- Return type
str
- property paths¶
Gets the paths of this Storage. Paths of the host storage.
- Returns
The paths of this Storage.
- Return type
int
- property port¶
Gets the port of this Storage. Port of the host storage.
- Returns
The port of this Storage.
- Return type
int
- property portal¶
Gets the portal of this Storage. Portal of the host storage.
- Returns
The portal of this Storage.
- Return type
str
- property storage_description¶
Gets the storage_description of this Storage. A human-readable description in plain text.
- Returns
The storage_description of this Storage.
- Return type
str
- property target¶
Gets the target of this Storage. Target of the host storage.
- Returns
The target of this Storage.
- Return type
str
- property type¶
Gets the type of this Storage. Type representing a storage domain type.
Allowed values for this property are: “CINDER”, “FCP”, “GLANCE”, “GLUSTERFS”, “ISCSI”, “LOCALFS”, “MANAGED_BLOCK_STORAGE”, “NFS”, “POSIXFS”
- Returns
The type of this Storage.
- Return type
str
- property username¶
Gets the username of this Storage. Username of the host storage.
- Returns
The username of this Storage.
- Return type
str
- property vfs_type¶
Gets the vfs_type of this Storage. Type of VFS
- Returns
The vfs_type of this Storage.
- Return type
str
- property volume_group¶
Gets the volume_group of this Storage.
- Returns
The volume_group of this Storage.
- Return type