OlvmSpm

class oci.cloud_migrations.models.OlvmSpm(**kwargs)

Bases: object

The host storage pool manager (SPM) status and definition.

Attributes

SPM_STATUS_CONTENDING A constant which can be used with the spm_status property of a OlvmSpm.
SPM_STATUS_NONE A constant which can be used with the spm_status property of a OlvmSpm.
SPM_STATUS_SPM A constant which can be used with the spm_status property of a OlvmSpm.
priority Gets the priority of this OlvmSpm.
spm_status Gets the spm_status of this OlvmSpm.

Methods

__init__(**kwargs) Initializes a new OlvmSpm object with values from keyword arguments.
SPM_STATUS_CONTENDING = 'CONTENDING'

A constant which can be used with the spm_status property of a OlvmSpm. This constant has a value of “CONTENDING”

SPM_STATUS_NONE = 'NONE'

A constant which can be used with the spm_status property of a OlvmSpm. This constant has a value of “NONE”

SPM_STATUS_SPM = 'SPM'

A constant which can be used with the spm_status property of a OlvmSpm. This constant has a value of “SPM”

__init__(**kwargs)

Initializes a new OlvmSpm object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • priority (int) – The value to assign to the priority property of this OlvmSpm.
  • spm_status (str) – The value to assign to the spm_status property of this OlvmSpm. Allowed values for this property are: “CONTENDING”, “NONE”, “SPM”
priority

Gets the priority of this OlvmSpm. Priority of this SPM.

Returns:The priority of this OlvmSpm.
Return type:int
spm_status

Gets the spm_status of this OlvmSpm. Status of this SPM.

Allowed values for this property are: “CONTENDING”, “NONE”, “SPM”

Returns:The spm_status of this OlvmSpm.
Return type:str