CompatibilityMessage

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

Bases: object

Information about shape compatibility with the client’s current resource configuration.

Attributes

NAME_BANDWIDTH_COMPATIBILITY_WARNING A constant which can be used with the name property of a CompatibilityMessage.
NAME_CPU_COMPATIBILITY_WARNING A constant which can be used with the name property of a CompatibilityMessage.
NAME_CPU_METRIC_INFO A constant which can be used with the name property of a CompatibilityMessage.
NAME_GPU_COMPATIBILITY_WARNING A constant which can be used with the name property of a CompatibilityMessage.
NAME_INVALID_DATA A constant which can be used with the name property of a CompatibilityMessage.
NAME_MEMORY_COMPATIBILITY_WARNING A constant which can be used with the name property of a CompatibilityMessage.
NAME_MEMORY_METRIC_INFO A constant which can be used with the name property of a CompatibilityMessage.
NAME_NOT_ENOUGH_DATA A constant which can be used with the name property of a CompatibilityMessage.
NAME_OS_WARNING A constant which can be used with the name property of a CompatibilityMessage.
NAME_VNICS_COMPATIBILITY_WARNING A constant which can be used with the name property of a CompatibilityMessage.
SEVERITY_ERROR A constant which can be used with the severity property of a CompatibilityMessage.
SEVERITY_INFO A constant which can be used with the severity property of a CompatibilityMessage.
SEVERITY_WARNING A constant which can be used with the severity property of a CompatibilityMessage.
message Gets the message of this CompatibilityMessage.
name Gets the name of this CompatibilityMessage.
severity Gets the severity of this CompatibilityMessage.

Methods

__init__(**kwargs) Initializes a new CompatibilityMessage object with values from keyword arguments.
NAME_BANDWIDTH_COMPATIBILITY_WARNING = 'BANDWIDTH_COMPATIBILITY_WARNING'

A constant which can be used with the name property of a CompatibilityMessage. This constant has a value of “BANDWIDTH_COMPATIBILITY_WARNING”

NAME_CPU_COMPATIBILITY_WARNING = 'CPU_COMPATIBILITY_WARNING'

A constant which can be used with the name property of a CompatibilityMessage. This constant has a value of “CPU_COMPATIBILITY_WARNING”

NAME_CPU_METRIC_INFO = 'CPU_METRIC_INFO'

A constant which can be used with the name property of a CompatibilityMessage. This constant has a value of “CPU_METRIC_INFO”

NAME_GPU_COMPATIBILITY_WARNING = 'GPU_COMPATIBILITY_WARNING'

A constant which can be used with the name property of a CompatibilityMessage. This constant has a value of “GPU_COMPATIBILITY_WARNING”

NAME_INVALID_DATA = 'INVALID_DATA'

A constant which can be used with the name property of a CompatibilityMessage. This constant has a value of “INVALID_DATA”

NAME_MEMORY_COMPATIBILITY_WARNING = 'MEMORY_COMPATIBILITY_WARNING'

A constant which can be used with the name property of a CompatibilityMessage. This constant has a value of “MEMORY_COMPATIBILITY_WARNING”

NAME_MEMORY_METRIC_INFO = 'MEMORY_METRIC_INFO'

A constant which can be used with the name property of a CompatibilityMessage. This constant has a value of “MEMORY_METRIC_INFO”

NAME_NOT_ENOUGH_DATA = 'NOT_ENOUGH_DATA'

A constant which can be used with the name property of a CompatibilityMessage. This constant has a value of “NOT_ENOUGH_DATA”

NAME_OS_WARNING = 'OS_WARNING'

A constant which can be used with the name property of a CompatibilityMessage. This constant has a value of “OS_WARNING”

NAME_VNICS_COMPATIBILITY_WARNING = 'VNICS_COMPATIBILITY_WARNING'

A constant which can be used with the name property of a CompatibilityMessage. This constant has a value of “VNICS_COMPATIBILITY_WARNING”

SEVERITY_ERROR = 'ERROR'

A constant which can be used with the severity property of a CompatibilityMessage. This constant has a value of “ERROR”

SEVERITY_INFO = 'INFO'

A constant which can be used with the severity property of a CompatibilityMessage. This constant has a value of “INFO”

SEVERITY_WARNING = 'WARNING'

A constant which can be used with the severity property of a CompatibilityMessage. This constant has a value of “WARNING”

__init__(**kwargs)

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

Parameters:
  • severity (str) – The value to assign to the severity property of this CompatibilityMessage. Allowed values for this property are: “ERROR”, “WARNING”, “INFO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • name (str) – The value to assign to the name property of this CompatibilityMessage. Allowed values for this property are: “NOT_ENOUGH_DATA”, “INVALID_DATA”, “CPU_COMPATIBILITY_WARNING”, “CPU_METRIC_INFO”, “MEMORY_COMPATIBILITY_WARNING”, “MEMORY_METRIC_INFO”, “VNICS_COMPATIBILITY_WARNING”, “BANDWIDTH_COMPATIBILITY_WARNING”, “GPU_COMPATIBILITY_WARNING”, “OS_WARNING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • message (str) – The value to assign to the message property of this CompatibilityMessage.
message

Gets the message of this CompatibilityMessage. Detailed description of the compatibility issue.

Returns:The message of this CompatibilityMessage.
Return type:str
name

Gets the name of this CompatibilityMessage. Name of the compatibility issue.

Allowed values for this property are: “NOT_ENOUGH_DATA”, “INVALID_DATA”, “CPU_COMPATIBILITY_WARNING”, “CPU_METRIC_INFO”, “MEMORY_COMPATIBILITY_WARNING”, “MEMORY_METRIC_INFO”, “VNICS_COMPATIBILITY_WARNING”, “BANDWIDTH_COMPATIBILITY_WARNING”, “GPU_COMPATIBILITY_WARNING”, “OS_WARNING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The name of this CompatibilityMessage.
Return type:str
severity

Gets the severity of this CompatibilityMessage. Severity level of the compatibility issue.

Allowed values for this property are: “ERROR”, “WARNING”, “INFO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The severity of this CompatibilityMessage.
Return type:str