ScanLibraryTaskDetails

class oci.jms.models.ScanLibraryTaskDetails(**kwargs)

Bases: TaskDetails

The task details with library scan related information.

Attributes:

TASK_TYPE_ADD_INSTALLATION_SITE

A constant which can be used with the task_type property of a TaskDetails.

TASK_TYPE_CRYPTO

A constant which can be used with the task_type property of a TaskDetails.

TASK_TYPE_DEPLOYED_APPLICATION_MIGRATION

A constant which can be used with the task_type property of a TaskDetails.

TASK_TYPE_JAVA_MIGRATION

A constant which can be used with the task_type property of a TaskDetails.

TASK_TYPE_JFR

A constant which can be used with the task_type property of a TaskDetails.

TASK_TYPE_PERFORMANCE_TUNING

A constant which can be used with the task_type property of a TaskDetails.

TASK_TYPE_REMOVE_INSTALLATION_SITE

A constant which can be used with the task_type property of a TaskDetails.

TASK_TYPE_SCAN_JAVA_SERVER

A constant which can be used with the task_type property of a TaskDetails.

TASK_TYPE_SCAN_LIBRARY

A constant which can be used with the task_type property of a TaskDetails.

scan_library_task_request

Gets the scan_library_task_request of this ScanLibraryTaskDetails.

task_type

[Required] Gets the task_type of this TaskDetails.

Methods:

__init__(**kwargs)

Initializes a new ScanLibraryTaskDetails 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.

TASK_TYPE_ADD_INSTALLATION_SITE = 'ADD_INSTALLATION_SITE'

A constant which can be used with the task_type property of a TaskDetails. This constant has a value of “ADD_INSTALLATION_SITE”

TASK_TYPE_CRYPTO = 'CRYPTO'

A constant which can be used with the task_type property of a TaskDetails. This constant has a value of “CRYPTO”

TASK_TYPE_DEPLOYED_APPLICATION_MIGRATION = 'DEPLOYED_APPLICATION_MIGRATION'

A constant which can be used with the task_type property of a TaskDetails. This constant has a value of “DEPLOYED_APPLICATION_MIGRATION”

TASK_TYPE_JAVA_MIGRATION = 'JAVA_MIGRATION'

A constant which can be used with the task_type property of a TaskDetails. This constant has a value of “JAVA_MIGRATION”

TASK_TYPE_JFR = 'JFR'

A constant which can be used with the task_type property of a TaskDetails. This constant has a value of “JFR”

TASK_TYPE_PERFORMANCE_TUNING = 'PERFORMANCE_TUNING'

A constant which can be used with the task_type property of a TaskDetails. This constant has a value of “PERFORMANCE_TUNING”

TASK_TYPE_REMOVE_INSTALLATION_SITE = 'REMOVE_INSTALLATION_SITE'

A constant which can be used with the task_type property of a TaskDetails. This constant has a value of “REMOVE_INSTALLATION_SITE”

TASK_TYPE_SCAN_JAVA_SERVER = 'SCAN_JAVA_SERVER'

A constant which can be used with the task_type property of a TaskDetails. This constant has a value of “SCAN_JAVA_SERVER”

TASK_TYPE_SCAN_LIBRARY = 'SCAN_LIBRARY'

A constant which can be used with the task_type property of a TaskDetails. This constant has a value of “SCAN_LIBRARY”

__init__(**kwargs)

Initializes a new ScanLibraryTaskDetails object with values from keyword arguments. The default value of the task_type attribute of this class is SCAN_LIBRARY and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • task_type (str) – The value to assign to the task_type property of this ScanLibraryTaskDetails. Allowed values for this property are: “CRYPTO”, “JFR”, “SCAN_LIBRARY”, “SCAN_JAVA_SERVER”, “JAVA_MIGRATION”, “DEPLOYED_APPLICATION_MIGRATION”, “PERFORMANCE_TUNING”, “ADD_INSTALLATION_SITE”, “REMOVE_INSTALLATION_SITE”

  • scan_library_task_request (oci.jms.models.ScanLibraryUsageDetails) – The value to assign to the scan_library_task_request property of this ScanLibraryTaskDetails.

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.

property scan_library_task_request

Gets the scan_library_task_request of this ScanLibraryTaskDetails.

Returns

The scan_library_task_request of this ScanLibraryTaskDetails.

Return type

oci.jms.models.ScanLibraryUsageDetails

property task_type

[Required] Gets the task_type of this TaskDetails. Type of task.

Allowed values for this property are: “CRYPTO”, “JFR”, “SCAN_LIBRARY”, “SCAN_JAVA_SERVER”, “JAVA_MIGRATION”, “DEPLOYED_APPLICATION_MIGRATION”, “PERFORMANCE_TUNING”, “ADD_INSTALLATION_SITE”, “REMOVE_INSTALLATION_SITE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The task_type of this TaskDetails.

Return type

str