Assessor

class oci.database_migration.models.Assessor(**kwargs)

Bases: object

Assessor resource

Attributes:

LIFECYCLE_STATE_ACCEPTED

A constant which can be used with the lifecycle_state property of a Assessor.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a Assessor.

LIFECYCLE_STATE_IN_PROGRESS

A constant which can be used with the lifecycle_state property of a Assessor.

LIFECYCLE_STATE_NEEDS_ATTENTION

A constant which can be used with the lifecycle_state property of a Assessor.

LIFECYCLE_STATE_SUCCEEDED

A constant which can be used with the lifecycle_state property of a Assessor.

actions

[Required] Gets the actions of this Assessor.

assessment_id

[Required] Gets the assessment_id of this Assessor.

assessor_group

Gets the assessor_group of this Assessor.

assessor_result

Gets the assessor_result of this Assessor.

checks_summary

Gets the checks_summary of this Assessor.

description

[Required] Gets the description of this Assessor.

display_name

[Required] Gets the display_name of this Assessor.

does_script_require_restart

Gets the does_script_require_restart of this Assessor.

has_script

Gets the has_script of this Assessor.

help_link_text

[Required] Gets the help_link_text of this Assessor.

help_link_url

[Required] Gets the help_link_url of this Assessor.

lifecycle_state

[Required] Gets the lifecycle_state of this Assessor.

name

[Required] Gets the name of this Assessor.

script

Gets the script of this Assessor.

Methods:

__init__(**kwargs)

Initializes a new Assessor object with values from keyword arguments.

LIFECYCLE_STATE_ACCEPTED = 'ACCEPTED'

A constant which can be used with the lifecycle_state property of a Assessor. This constant has a value of “ACCEPTED”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a Assessor. This constant has a value of “FAILED”

LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a Assessor. This constant has a value of “IN_PROGRESS”

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the lifecycle_state property of a Assessor. This constant has a value of “NEEDS_ATTENTION”

LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the lifecycle_state property of a Assessor. This constant has a value of “SUCCEEDED”

__init__(**kwargs)

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

Parameters
  • assessment_id (str) – The value to assign to the assessment_id property of this Assessor.

  • name (str) – The value to assign to the name property of this Assessor.

  • display_name (str) – The value to assign to the display_name property of this Assessor.

  • description (str) – The value to assign to the description property of this Assessor.

  • help_link_url (str) – The value to assign to the help_link_url property of this Assessor.

  • help_link_text (str) – The value to assign to the help_link_text property of this Assessor.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this Assessor. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “SUCCEEDED”, “NEEDS_ATTENTION”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • assessor_group (oci.database_migration.models.AssessorGroup) – The value to assign to the assessor_group property of this Assessor.

  • actions (list[oci.database_migration.models.AssessorAction]) – The value to assign to the actions property of this Assessor.

  • assessor_result (str) – The value to assign to the assessor_result property of this Assessor.

  • checks_summary (str) – The value to assign to the checks_summary property of this Assessor.

  • has_script (bool) – The value to assign to the has_script property of this Assessor.

  • script (str) – The value to assign to the script property of this Assessor.

  • does_script_require_restart (bool) – The value to assign to the does_script_require_restart property of this Assessor.

property actions

[Required] Gets the actions of this Assessor. Assessor actions.

Returns

The actions of this Assessor.

Return type

list[oci.database_migration.models.AssessorAction]

property assessment_id

[Required] Gets the assessment_id of this Assessor. The OCID of the resource being referenced.

Returns

The assessment_id of this Assessor.

Return type

str

property assessor_group

Gets the assessor_group of this Assessor.

Returns

The assessor_group of this Assessor.

Return type

oci.database_migration.models.AssessorGroup

property assessor_result

Gets the assessor_result of this Assessor. The Assessor Result text.

Returns

The assessor_result of this Assessor.

Return type

str

property checks_summary

Gets the checks_summary of this Assessor. The Summary of all Checks.

Returns

The checks_summary of this Assessor.

Return type

str

property description

[Required] Gets the description of this Assessor. A user-friendly description. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Returns

The description of this Assessor.

Return type

str

property display_name

[Required] Gets the display_name of this Assessor. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Returns

The display_name of this Assessor.

Return type

str

property does_script_require_restart

Gets the does_script_require_restart of this Assessor. True if DB restart required after running the script, false otherwise.

Returns

The does_script_require_restart of this Assessor.

Return type

bool

property has_script

Gets the has_script of this Assessor. True if script is available either from ‘script’ property of through download, false otherwise.

Returns

The has_script of this Assessor.

Return type

bool

[Required] Gets the help_link_text of this Assessor. The Help link text.

Returns

The help_link_text of this Assessor.

Return type

str

[Required] Gets the help_link_url of this Assessor. The Help URL.

Returns

The help_link_url of this Assessor.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this Assessor. The current state of the Assessor.

Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “SUCCEEDED”, “NEEDS_ATTENTION”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this Assessor.

Return type

str

property name

[Required] Gets the name of this Assessor. The Assessor Name.

Returns

The name of this Assessor.

Return type

str

property script

Gets the script of this Assessor. The generated SQL script. Can be empty if the script exceeds maxLength. In this case the property ‘hasScript’ indicates that the script is available for download.

Returns

The script of this Assessor.

Return type

str