Application Migration Common Types

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_VARCHAR2_TBL Type

Nested table type of varchar2(32767).

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_varchar2_tbl FORCE IS TABLE OF (varchar2(32767)) NOT PERSISTABLE;

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_AUTHORIZATION_DETAILS_T Type

Details of the source environment from which you want to migrate applications to Oracle Cloud Infrastructure. It also contains access credentials.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_authorization_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  l_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_authorization_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_authorization_details_t (
    l_type varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

l_type

(required) Type of the source environment from which you are migrating applications to Oracle Cloud Infrastructure.

Allowed values are: 'OCIC', 'INTERNAL_COMPUTE', 'OCC', 'OCIC_IDCS', 'IMPORT'

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_CHANGE_COMPARTMENT_DETAILS_T Type

Moves the resource to the specified compartment.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_change_compartment_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  compartment_id varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_change_compartment_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_change_compartment_details_t (
    compartment_id varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

compartment_id

(required) The OCID of the compartment to move the resource to.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_RESOURCE_FIELD_T Type

Resource object that can be used to pass details about any list of resources associated with Migrations. The List of resources are added to ConfigurationField to add the capability to pass lists of resources of any type and group.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_resource_field_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  l_group varchar2(32767),
  l_type varchar2(32767),
  value varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_resource_field_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_resource_field_t (
    name varchar2,
    l_group varchar2,
    l_type varchar2,
    value varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(optional) The display name of the resource field.

l_group

(optional) The name of the group to which this field belongs to.

l_type

(required) The type of the resource field.

value

(required) The value of the field.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_RESOURCE_FIELD_TBL Type

Nested table type of dbms_cloud_oci_application_migration_resource_field_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_resource_field_tbl FORCE IS TABLE OF (dbms_cloud_oci_application_migration_resource_field_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_CONFIGURATION_FIELD_T Type

Provide configuration information about the application in the target environment. Application Migration migrates the application to the target environment only after you provide this information. The information that you must provide varies depending on the type of application that you are migrating.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_configuration_field_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  l_group varchar2(32767),
  l_type varchar2(32767),
  value varchar2(32767),
  description varchar2(32767),
  resource_list dbms_cloud_oci_application_migration_resource_field_tbl,
  is_required number,
  is_mutable number,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_configuration_field_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_configuration_field_t (
    name varchar2,
    l_group varchar2,
    l_type varchar2,
    value varchar2,
    description varchar2,
    resource_list dbms_cloud_oci_application_migration_resource_field_tbl,
    is_required number,
    is_mutable number
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(optional) The name of the configuration field.

l_group

(optional) The name of the group to which this field belongs, if any.

l_type

(optional) The type of the configuration field.

value

(optional) The value of the field.

description

(optional) Help text to guide the user in setting the configuration value.

resource_list

(optional) A list of resources associated with a specific configuration object.

is_required

(optional) Indicates whether or not the field is required (defaults to `true`).

is_mutable

(optional) Indicates whether or not the field may be modified (defaults to `true`).

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_DISCOVERY_DETAILS_T Type

Base model for different application discovery requirements.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_discovery_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  l_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_discovery_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_discovery_details_t (
    l_type varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

l_type

(required) The type of application that you want to migrate.

Allowed values are: 'JCS', 'SOACS', 'OIC', 'OAC', 'ICS', 'PCS'

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_CREATE_MIGRATION_DETAILS_T Type

While creating a migration, specify the source and the application that you want migrate. Each migration moves a single application from a specified source to a specified Oracle Cloud Infrastructure tenancy. If required, provide the credentials of the application administrator in the source environment. Application Migration uses this information to access the application, as well as discover application artifacts, such as the complete domain configuration along with data sources and other dependencies. You must also assign a name and provide a description for the migration. This helps you to identify the appropriate source environment when you have multiple sources defined. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_create_migration_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  compartment_id varchar2(32767),
  display_name varchar2(32767),
  description varchar2(32767),
  source_id varchar2(32767),
  application_name varchar2(32767),
  discovery_details dbms_cloud_oci_application_migration_discovery_details_t,
  pre_created_target_database_type varchar2(32767),
  is_selective_migration number,
  service_config json_element_t,
  application_config json_element_t,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_create_migration_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_create_migration_details_t (
    compartment_id varchar2,
    display_name varchar2,
    description varchar2,
    source_id varchar2,
    application_name varchar2,
    discovery_details dbms_cloud_oci_application_migration_discovery_details_t,
    pre_created_target_database_type varchar2,
    is_selective_migration number,
    service_config json_element_t,
    application_config json_element_t,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

compartment_id

(required) The OCID of the compartment that contains the source.

display_name

(optional) User-friendly name of the application. This will be the name of the migrated application in Oracle Cloud Infrastructure.

description

(optional) Description of the application that you are migrating.

source_id

(required) The OCID of the source.

application_name

(required) Name of the application that you want to migrate from the source environment.

discovery_details

(required)

pre_created_target_database_type

(optional) The pre-existing database type to be used in this migration. Currently, Application migration only supports Oracle Cloud Infrastructure databases and this option is currently available only for `JAVA_CLOUD_SERVICE` and `WEBLOGIC_CLOUD_SERVICE` target instance types.

Allowed values are: 'DATABASE_SYSTEM', 'NOT_SET'

is_selective_migration

(optional) If set to `true`, Application Migration migrates the application resources selectively depending on the source.

service_config

(optional) Configuration required to migrate the application. In addition to the key and value, additional fields are provided to describe type type and purpose of each field. Only the value for each key is required when passing configuration to the CreateMigration operation.

application_config

(optional) Configuration required to migrate the application. In addition to the key and value, additional fields are provided to describe type type and purpose of each field. Only the value for each key is required when passing configuration to the CreateMigration operation.

freeform_tags

(optional) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: `{\"Department\": \"Finance\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_SOURCE_DETAILS_T Type

Specify one of the following values depending for the 'type' attribute based on the application that you want to migrate. Specify `OCIC` if you want to migrate Oracle Java Cloud Service, Oracle Analytics Cloud - Classic, Oracle Integration, and Oracle SOA Cloud Service applications from Oracle Cloud Infrastructure - Classic. Specify `INTERNAL_COMPUTE` if you have a traditional Oracle Cloud Infrastructure - Classic account and you want to migrate Oracle Process Cloud Service or Oracle Integration Cloud Service applications. Specify `OCC` if you want to migrate applications from Oracle Cloud@Customer.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_source_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  l_type varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_source_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_source_details_t (
    l_type varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE NOT FINAL;

Fields

Field Description

l_type

(required) The type of source environment.

Allowed values are: 'OCIC', 'INTERNAL_COMPUTE', 'OCC', 'OCIC_IDCS', 'IMPORT'

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_CREATE_SOURCE_DETAILS_T Type

The configuration details for creating a source. When you create a source, provide the required information to let Application Migration access the source environment. You must also assign a name and provide a description for the source. This helps you to identify the appropriate source environment when you have multiple sources defined. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_create_source_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  compartment_id varchar2(32767),
  display_name varchar2(32767),
  description varchar2(32767),
  source_details dbms_cloud_oci_application_migration_source_details_t,
  authorization_details dbms_cloud_oci_application_migration_authorization_details_t,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_create_source_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_create_source_details_t (
    compartment_id varchar2,
    display_name varchar2,
    description varchar2,
    source_details dbms_cloud_oci_application_migration_source_details_t,
    authorization_details dbms_cloud_oci_application_migration_authorization_details_t,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

compartment_id

(required) The OCID of the compartment that contains the source.

display_name

(optional) Name of the source. This helps you to identify the appropriate source environment when you have multiple sources defined.

description

(optional) Description of the source. This helps you to identify the appropriate source environment when you have multiple sources defined.

source_details

(required)

authorization_details

(optional)

freeform_tags

(optional) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: `{\"Department\": \"Finance\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_ERROR_T Type

Error that occurs during the execution of a request. It contains an error code and message which you can use to troubleshoot an API request failure.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_error_t FORCE AUTHID CURRENT_USER IS OBJECT (
  code varchar2(32767),
  message varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_error_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_error_t (
    code varchar2,
    message varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

code

(required) A short error code that defines the error, meant for programmatic parsing. For more information, see API Errors.

message

(required) A user-friendly error string.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_ICS_DISCOVERY_DETAILS_T Type

Credentials to access the Oracle Integration Cloud Service application in the source environment. Application Migration connects to the application in the source environment with the supplied credentials.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_ics_discovery_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_application_migration_discovery_details_t (
  service_instance_user varchar2(32767),
  service_instance_password varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_ics_discovery_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_ics_discovery_details_t (
    l_type varchar2,
    service_instance_user varchar2,
    service_instance_password varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_application_migration_ics_discovery_details_t is a subtype of the dbms_cloud_oci_application_migration_discovery_details_t type.

Fields

Field Description

service_instance_user

(required) Application administrator username to access the Oracle Integration Cloud Service application in the source environment.

service_instance_password

(required) Password for this user.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_IMPORT_MANIFEST_T Type

Manifest describing details about an import source

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_import_manifest_t FORCE AUTHID CURRENT_USER IS OBJECT (
  version varchar2(32767),
  export_type varchar2(32767),
  export_details json_element_t,
  l_timestamp timestamp with time zone,
  md5 varchar2(32767),
  signature varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_import_manifest_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_import_manifest_t (
    version varchar2,
    export_type varchar2,
    export_details json_element_t,
    l_timestamp timestamp with time zone,
    md5 varchar2,
    signature varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

version

(optional) the version of the export tool that was used to generate the manifest

export_type

(optional) the type of application that the export tool was executed against to generate this manifest

export_details

(optional) application specific details as parsed from various sources of the application that was exported

l_timestamp

(optional) when this manifest was generated

md5

(optional) the MD5 hash of the export artifact archive that was produced by the export tool and should be used with this manifest

signature

(optional) a sha1 hash of all the fields of this manifest (excluding the signature)

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_IMPORT_SOURCE_DETAILS_T Type

/ Basic details about the source, import manifest and object storage bucket as well as object name of the archive that should be used during import

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_import_source_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_application_migration_source_details_t (
  manifest dbms_cloud_oci_application_migration_import_manifest_t,
  namespace varchar2(32767),
  bucket varchar2(32767),
  object_name varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_import_source_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_import_source_details_t (
    l_type varchar2,
    manifest dbms_cloud_oci_application_migration_import_manifest_t,
    namespace varchar2,
    bucket varchar2,
    object_name varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_application_migration_import_source_details_t is a subtype of the dbms_cloud_oci_application_migration_source_details_t type.

Fields

Field Description

manifest

(required)

namespace

(required) the object storage namespace where the bucket and uploaded object resides

bucket

(required) the bucket wherein the export archive exists in object storage

object_name

(required) the name of the archive as it exists in object storage

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_INTERNAL_AUTHORIZATION_DETAILS_T Type

Credentials to access Oracle Cloud Infrastructure - Classic, which is the source environment from which you want to migrate the application.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_internal_authorization_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_application_migration_authorization_details_t (
  username varchar2(32767),
  password varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_internal_authorization_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_internal_authorization_details_t (
    l_type varchar2,
    username varchar2,
    password varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_application_migration_internal_authorization_details_t is a subtype of the dbms_cloud_oci_application_migration_authorization_details_t type.

Fields

Field Description

username

(required) User with Compute Operations role in Oracle Cloud Infrastructure - Classic.

password

(required) Password for this user.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_INTERNAL_SOURCE_DETAILS_T Type

Details about the Oracle Cloud Infrastructure - Classic account, the source environment from which you want to migrate the application.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_internal_source_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_application_migration_source_details_t (
  account_name varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_internal_source_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_internal_source_details_t (
    l_type varchar2,
    account_name varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_application_migration_internal_source_details_t is a subtype of the dbms_cloud_oci_application_migration_source_details_t type.

Fields

Field Description

account_name

(required) The identity domain ID of your traditional Oracle Cloud Infrastructure - Classic account.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_JCS_DISCOVERY_DETAILS_T Type

Credentials to access the Oracle Java Cloud Service application in the source environment. When you create and update a migration, Application Migration connects to the application in the source environment with the supplied credentials and exports the domain configuration.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_jcs_discovery_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_application_migration_discovery_details_t (
  weblogic_user varchar2(32767),
  weblogic_password varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_jcs_discovery_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_jcs_discovery_details_t (
    l_type varchar2,
    weblogic_user varchar2,
    weblogic_password varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_application_migration_jcs_discovery_details_t is a subtype of the dbms_cloud_oci_application_migration_discovery_details_t type.

Fields

Field Description

weblogic_user

(required) WebLogic administrator username for the Oracle Java Cloud Service application in the source environment.

weblogic_password

(required) The password of the WebLogic administrator for the Oracle Java Cloud Service application in the source environment.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_MIGRATION_T Type

The properties that define a migration. A migration represents the end-to-end workflow of moving an application from a source environment to Oracle Cloud Infrastructure. Each migration moves a single application to Oracle Cloud Infrastructure. For more information, see Manage Migrations. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_migration_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  compartment_id varchar2(32767),
  display_name varchar2(32767),
  description varchar2(32767),
  time_created timestamp with time zone,
  source_id varchar2(32767),
  application_name varchar2(32767),
  application_type varchar2(32767),
  pre_created_target_database_type varchar2(32767),
  is_selective_migration number,
  service_config json_element_t,
  application_config json_element_t,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  migration_state varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_migration_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_migration_t (
    id varchar2,
    compartment_id varchar2,
    display_name varchar2,
    description varchar2,
    time_created timestamp with time zone,
    source_id varchar2,
    application_name varchar2,
    application_type varchar2,
    pre_created_target_database_type varchar2,
    is_selective_migration number,
    service_config json_element_t,
    application_config json_element_t,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    migration_state varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(optional) The OCID of the migration.

compartment_id

(optional) The OCID of the compartment that contains the migration.

display_name

(optional) User-friendly name of the migration.

description

(optional) Description of the migration.

time_created

(optional) The date and time at which the migration was created, in the format defined by RFC3339.

source_id

(optional) The OCID of the source with which this migration is associated.

application_name

(optional) Name of the application which is being migrated. This is the name of the application in the source environment.

application_type

(optional) The type of application being migrated.

Allowed values are: 'JCS', 'SOACS', 'OIC', 'OAC', 'ICS', 'PCS'

pre_created_target_database_type

(optional) The pre-existing database type to be used in this migration. Currently, Application migration only supports Oracle Cloud Infrastructure databases and this option is currently available only for `JAVA_CLOUD_SERVICE` and `WEBLOGIC_CLOUD_SERVICE` target instance types.

Allowed values are: 'DATABASE_SYSTEM', 'NOT_SET'

is_selective_migration

(optional) If set to `true`, Application Migration migrates only the application resources that you specify. If set to `false`, Application Migration migrates the entire application. When you migrate the entire application, all the application resources are migrated to the target environment. You can selectively migrate resources only for the Oracle Integration Cloud and Oracle Integration Cloud Service applications.

service_config

(optional) Configuration required to migrate the application. In addition to the key and value, additional fields are provided to describe type type and purpose of each field. Only the value for each key is required when passing configuration to the CreateMigration operation.

application_config

(optional) Configuration required to migrate the application. In addition to the key and value, additional fields are provided to describe type type and purpose of each field. Only the value for each key is required when passing configuration to the CreateMigration operation.

lifecycle_state

(optional) The current state of the migration.

Allowed values are: 'CREATING', 'ACTIVE', 'INACTIVE', 'UPDATING', 'SUCCEEDED', 'DELETING', 'DELETED'

lifecycle_details

(optional) Details about the current lifecycle state of the migration.

migration_state

(optional) The current state of the overall migration process.

Allowed values are: 'DISCOVERING_APPLICATION', 'DISCOVERY_FAILED', 'MISSING_CONFIG_VALUES', 'READY', 'MIGRATING', 'MIGRATION_FAILED', 'MIGRATION_SUCCEEDED'

freeform_tags

(optional) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: `{\"Department\": \"Finance\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_MIGRATION_SUMMARY_T Type

Details about the migration. Each migration moves a single application from a specified source to Oracle Cloud Infrastructure.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_migration_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  compartment_id varchar2(32767),
  display_name varchar2(32767),
  description varchar2(32767),
  time_created timestamp with time zone,
  source_id varchar2(32767),
  application_name varchar2(32767),
  application_type varchar2(32767),
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  migration_state varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_migration_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_migration_summary_t (
    id varchar2,
    compartment_id varchar2,
    display_name varchar2,
    description varchar2,
    time_created timestamp with time zone,
    source_id varchar2,
    application_name varchar2,
    application_type varchar2,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    migration_state varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(optional) The OCID of the migration.

compartment_id

(optional) The OCID of the compartment that contains the migration.

display_name

(optional) User-friendly name of the migration.

description

(optional) Description of the migration.

time_created

(optional) The date and time at which the migration was created, in the format defined by RFC3339.

source_id

(optional) The OCID of the source.

application_name

(optional) Name of the application which is being migrated from the source environment.

application_type

(optional) The type of application being migrated.

Allowed values are: 'JCS', 'SOACS', 'OIC', 'OAC', 'ICS', 'PCS'

lifecycle_state

(optional) The current state of the migration.

Allowed values are: 'CREATING', 'ACTIVE', 'INACTIVE', 'UPDATING', 'SUCCEEDED', 'DELETING', 'DELETED'

lifecycle_details

(optional) Details about the current lifecycle state.

migration_state

(optional) The current state of the overall migration process.

Allowed values are: 'DISCOVERING_APPLICATION', 'DISCOVERY_FAILED', 'MISSING_CONFIG_VALUES', 'READY', 'MIGRATING', 'MIGRATION_FAILED', 'MIGRATION_SUCCEEDED'

freeform_tags

(optional) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: `{\"Department\": \"Finance\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_OAC_DISCOVERY_DETAILS_T Type

Details about the Oracle Analytics Cloud - Classic application in the source environment.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_oac_discovery_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_application_migration_discovery_details_t (
  service_instance_user varchar2(32767),
  service_instance_password varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_oac_discovery_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_oac_discovery_details_t (
    l_type varchar2,
    service_instance_user varchar2,
    service_instance_password varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_application_migration_oac_discovery_details_t is a subtype of the dbms_cloud_oci_application_migration_discovery_details_t type.

Fields

Field Description

service_instance_user

(required) This field is currently not supported. You must enter a value, such as <code>unused</code>. However, the value that you enter is ignored.

service_instance_password

(required) This field is currently not supported. You must enter a value, such as <code>unused</code>. However, the value that you enter is ignored.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_OCC_AUTHORIZATION_DETAILS_T Type

Credentials to access Oracle Cloud@Customer, which is the source environment from which you want to migrate the application.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_occ_authorization_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_application_migration_authorization_details_t (
  username varchar2(32767),
  password varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_occ_authorization_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_occ_authorization_details_t (
    l_type varchar2,
    username varchar2,
    password varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_application_migration_occ_authorization_details_t is a subtype of the dbms_cloud_oci_application_migration_authorization_details_t type.

Fields

Field Description

username

(required) User with Compute Operations role in Oracle Cloud@Customer.

password

(required) Password for this user.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_OCC_SOURCE_DETAILS_T Type

Details about the Oracle Cloud@Customer account, the source environment from which you want to migrate the application.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_occ_source_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_application_migration_source_details_t (
  compute_account varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_occ_source_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_occ_source_details_t (
    l_type varchar2,
    compute_account varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_application_migration_occ_source_details_t is a subtype of the dbms_cloud_oci_application_migration_source_details_t type.

Fields

Field Description

compute_account

(required) If you are using an Oracle Cloud@Customer account with Identity Cloud Service (IDCS), enter the service instance ID. For example, if Compute-567890123 is the account name of your Oracle Cloud@Customer Compute service entitlement, then enter 567890123.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_OCIC_AUTHORIZATION_DETAILS_T Type

Credentials to access Oracle Cloud Infrastructure - Classic, which is the source environment from which you want to migrate the application.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_ocic_authorization_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_application_migration_authorization_details_t (
  username varchar2(32767),
  password varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_ocic_authorization_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_ocic_authorization_details_t (
    l_type varchar2,
    username varchar2,
    password varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_application_migration_ocic_authorization_details_t is a subtype of the dbms_cloud_oci_application_migration_authorization_details_t type.

Fields

Field Description

username

(required) User with Compute Operations role in Oracle Cloud Infrastructure - Classic.

password

(required) Password for this user.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_OCIC_AUTHORIZATION_TOKEN_DETAILS_T Type

Auth Token and endpoint to access Oracle Cloud Infrastructure - Classic, which is the source environment from which you want to migrate the application.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_ocic_authorization_token_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_application_migration_authorization_details_t (
  client_app_url varchar2(32767),
  access_token varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_ocic_authorization_token_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_ocic_authorization_token_details_t (
    l_type varchar2,
    client_app_url varchar2,
    access_token varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_application_migration_ocic_authorization_token_details_t is a subtype of the dbms_cloud_oci_application_migration_authorization_details_t type.

Fields

Field Description

client_app_url

(required) AuthClient app url resource that the accesstoken is for.

access_token

(required) AccessToken to access the app endpoint.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_OCIC_SOURCE_DETAILS_T Type

Details about the Oracle Cloud Infrastructure Classic account, the source environment from which you want to migrate the application.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_ocic_source_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_application_migration_source_details_t (
  l_region varchar2(32767),
  compute_account varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_ocic_source_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_ocic_source_details_t (
    l_type varchar2,
    l_region varchar2,
    compute_account varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_application_migration_ocic_source_details_t is a subtype of the dbms_cloud_oci_application_migration_source_details_t type.

Fields

Field Description

l_region

(required) The Oracle Cloud Infrastructure - Classic region from which you want to migrate your applications. For example, uscom-east-1 or uscom-central-1.

compute_account

(required) If you are using an Oracle Cloud Infrastructure - Classic account with Identity Cloud Service (IDCS), enter the service instance ID. For example, if Compute-567890123 is the account name of your Oracle Cloud Infrastructure Classic Compute service entitlement, then enter 567890123. If you are using a traditional Oracle Cloud Infrastructure - Classic account, enter your identity domain ID.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_OIC_DISCOVERY_DETAILS_T Type

Credentials to access the Oracle Integration application in the source environment. Application Migration connects to the application in the source environment with the supplied credentials.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_oic_discovery_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_application_migration_discovery_details_t (
  service_instance_user varchar2(32767),
  service_instance_password varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_oic_discovery_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_oic_discovery_details_t (
    l_type varchar2,
    service_instance_user varchar2,
    service_instance_password varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_application_migration_oic_discovery_details_t is a subtype of the dbms_cloud_oci_application_migration_discovery_details_t type.

Fields

Field Description

service_instance_user

(required) Application administrator username to access the Oracle Integration Classic instance in the source environment.

service_instance_password

(required) Password for this user.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_PCS_DISCOVERY_DETAILS_T Type

Credentials to access the Oracle Process Cloud Service application in the source environment. Application Migration connects to the application in the source environment with the supplied credentials.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_pcs_discovery_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_application_migration_discovery_details_t (
  service_instance_user varchar2(32767),
  service_instance_password varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_pcs_discovery_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_pcs_discovery_details_t (
    l_type varchar2,
    service_instance_user varchar2,
    service_instance_password varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_application_migration_pcs_discovery_details_t is a subtype of the dbms_cloud_oci_application_migration_discovery_details_t type.

Fields

Field Description

service_instance_user

(required) Application administrator username to access the Oracle Process Cloud Service application in the source environment.

service_instance_password

(required) Password for this user.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_SOACS_DISCOVERY_DETAILS_T Type

Credentials to access the Oracle SOA Cloud Service application in the source environment. When you create and update a migration, Application Migration connects to the application in the source environment with the supplied credentials and exports the domain configuration.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_soacs_discovery_details_t FORCE AUTHID CURRENT_USER UNDER dbms_cloud_oci_application_migration_discovery_details_t (
  weblogic_user varchar2(32767),
  weblogic_password varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_soacs_discovery_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_soacs_discovery_details_t (
    l_type varchar2,
    weblogic_user varchar2,
    weblogic_password varchar2
  ) RETURN SELF AS RESULT
);

dbms_cloud_oci_application_migration_soacs_discovery_details_t is a subtype of the dbms_cloud_oci_application_migration_discovery_details_t type.

Fields

Field Description

weblogic_user

(required) WebLogic administrator username for the Oracle SOA Cloud Service application in the source environment.

weblogic_password

(required) Password for this user.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_SOURCE_T Type

The properties that define a source. Source refers to the source environment from which you migrate an application to Oracle Cloud Infrastructure. For more information, see Manage Sources. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_source_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  compartment_id varchar2(32767),
  display_name varchar2(32767),
  description varchar2(32767),
  time_created timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  source_details dbms_cloud_oci_application_migration_source_details_t,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_source_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_source_t (
    id varchar2,
    compartment_id varchar2,
    display_name varchar2,
    description varchar2,
    time_created timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    source_details dbms_cloud_oci_application_migration_source_details_t,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(optional) The OCID of the source.

compartment_id

(optional) The OCID of the compartment that contains the source.

display_name

(optional) Name of the source. This helps you to identify the appropriate source environment when you have multiple sources defined.

description

(optional) Description of the source. This helps you to identify the appropriate source environment when you have multiple sources defined.

time_created

(optional) The date and time at which the source was created, in the format defined by RFC3339.

lifecycle_state

(optional) The current state of the source.

Allowed values are: 'CREATING', 'DELETING', 'UPDATING', 'ACTIVE', 'INACTIVE', 'DELETED'

lifecycle_details

(optional) Details about the current lifecycle state of the source.

source_details

(optional)

freeform_tags

(optional) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: `{\"Department\": \"Finance\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_SOURCE_APPLICATION_T Type

Details about an application running in the source environment that you can migrate to Oracle Cloud Infrastructure.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_source_application_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  l_type varchar2(32767),
  source_id varchar2(32767),
  version varchar2(32767),
  state varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_source_application_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_source_application_t (
    name varchar2,
    l_type varchar2,
    source_id varchar2,
    version varchar2,
    state varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(optional) The name of the application.

l_type

(optional) The type of application.

Allowed values are: 'JCS', 'SOACS', 'OIC', 'OAC', 'ICS', 'PCS'

source_id

(optional) The OCID of the source to which the application belongs.

version

(optional) The version of the application.

state

(optional) The current state of the application.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_SOURCE_APPLICATION_SUMMARY_T Type

The properties that define an application, that is running in the source environment and which can be migrated to Oracle Cloud Infrastructure.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_source_application_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  name varchar2(32767),
  l_type varchar2(32767),
  source_id varchar2(32767),
  version varchar2(32767),
  state varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_source_application_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_source_application_summary_t (
    name varchar2,
    l_type varchar2,
    source_id varchar2,
    version varchar2,
    state varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

name

(optional) The name of the application.

l_type

(optional) The type of the application.

Allowed values are: 'JCS', 'SOACS', 'OIC', 'OAC', 'ICS', 'PCS'

source_id

(optional) The OCID of the source to which the application belongs.

version

(optional) The version of the application.

state

(optional) The current state of the application.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_SOURCE_SUMMARY_T Type

Details of the source. In Application Migration, a source refers to the environment from which the application is migrated to Oracle Cloud Infrastructure.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_source_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  id varchar2(32767),
  l_type varchar2(32767),
  compartment_id varchar2(32767),
  display_name varchar2(32767),
  description varchar2(32767),
  time_created timestamp with time zone,
  lifecycle_state varchar2(32767),
  lifecycle_details varchar2(32767),
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_source_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_source_summary_t (
    id varchar2,
    l_type varchar2,
    compartment_id varchar2,
    display_name varchar2,
    description varchar2,
    time_created timestamp with time zone,
    lifecycle_state varchar2,
    lifecycle_details varchar2,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

id

(optional) The OCID of the source.

l_type

(optional) The type of source environment.

Allowed values are: 'OCIC', 'INTERNAL_COMPUTE', 'OCC', 'OCIC_IDCS', 'IMPORT'

compartment_id

(optional) The OCID of the compartment that contains the source.

display_name

(optional) Name of the source. This helps you to identify the appropriate source environment when you have multiple sources defined.

description

(optional) Description of the source. This helps you to identify the appropriate source environment when you have multiple sources defined.

time_created

(optional) The date and time at which the source was created, in the format defined by RFC3339.

lifecycle_state

(optional) The current state of the source.

Allowed values are: 'CREATING', 'DELETING', 'UPDATING', 'ACTIVE', 'INACTIVE', 'DELETED'

lifecycle_details

(optional) Details about the current lifecycle state of the source.

freeform_tags

(optional) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: `{\"Department\": \"Finance\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_UPDATE_MIGRATION_DETAILS_T Type

Provide configuration information about the application in the target environment. Application Migration migrates the application to the target environment only after you provide this information. The information that you must provide varies depending on the type of application that you are migrating. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_update_migration_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  display_name varchar2(32767),
  description varchar2(32767),
  discovery_details dbms_cloud_oci_application_migration_discovery_details_t,
  is_selective_migration number,
  service_config json_element_t,
  application_config json_element_t,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_update_migration_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_update_migration_details_t (
    display_name varchar2,
    description varchar2,
    discovery_details dbms_cloud_oci_application_migration_discovery_details_t,
    is_selective_migration number,
    service_config json_element_t,
    application_config json_element_t,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

display_name

(optional) User-friendly name of the migration.

description

(optional) Description of the migration.

discovery_details

(optional)

is_selective_migration

(optional) If set to `true`, Application Migration migrates the application resources selectively depending on the source.

service_config

(optional) Configuration required to migrate the application. In addition to the key and value, additional fields are provided to describe type type and purpose of each field. Only the value for each key is required when passing configuration to the CreateMigration operation.

application_config

(optional) Configuration required to migrate the application. In addition to the key and value, additional fields are provided to describe type type and purpose of each field. Only the value for each key is required when passing configuration to the CreateMigration operation.

freeform_tags

(optional) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: `{\"Department\": \"Finance\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_UPDATE_SOURCE_DETAILS_T Type

You can update the authorization details to access the source environment from which you want to migrate applications to Oracle Cloud Infrastructure. You can also update the description and tags of a source.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_update_source_details_t FORCE AUTHID CURRENT_USER IS OBJECT (
  display_name varchar2(32767),
  description varchar2(32767),
  source_details dbms_cloud_oci_application_migration_source_details_t,
  authorization_details dbms_cloud_oci_application_migration_authorization_details_t,
  freeform_tags json_element_t,
  defined_tags json_element_t,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_update_source_details_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_update_source_details_t (
    display_name varchar2,
    description varchar2,
    source_details dbms_cloud_oci_application_migration_source_details_t,
    authorization_details dbms_cloud_oci_application_migration_authorization_details_t,
    freeform_tags json_element_t,
    defined_tags json_element_t
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

display_name

(optional) Name of the source. This helps you to identify the appropriate source environment when you have multiple sources defined.

description

(optional) Description of the source. This helps you to identify the appropriate source environment when you have multiple sources defined.

source_details

(optional)

authorization_details

(optional)

freeform_tags

(optional) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: `{\"Department\": \"Finance\"}`

defined_tags

(optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_WORK_REQUEST_RESOURCE_T Type

A resource that is created or operated on by an asynchronous operation that is tracked by a work request.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_work_request_resource_t FORCE AUTHID CURRENT_USER IS OBJECT (
  action_type varchar2(32767),
  entity_type varchar2(32767),
  identifier varchar2(32767),
  entity_uri varchar2(32767),
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_work_request_resource_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_work_request_resource_t (
    action_type varchar2,
    entity_type varchar2,
    identifier varchar2,
    entity_uri varchar2
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

action_type

(required) The way in which this resource was affected by the operation that spawned the work request.

Allowed values are: 'CREATED', 'UPDATED', 'DELETED', 'RELATED', 'IN_PROGRESS'

entity_type

(required) The resource type that the work request affects, source or migration.

identifier

(required) An OCID or other unique identifier for the resource.

entity_uri

(optional) The URI path that you can use for a GET request to access the resource metadata.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_WORK_REQUEST_RESOURCE_TBL Type

Nested table type of dbms_cloud_oci_application_migration_work_request_resource_t.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_work_request_resource_tbl FORCE IS TABLE OF (dbms_cloud_oci_application_migration_work_request_resource_t) NOT PERSISTABLE;

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_WORK_REQUEST_T Type

An asynchronous work request.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_work_request_t FORCE AUTHID CURRENT_USER IS OBJECT (
  operation_type varchar2(32767),
  status varchar2(32767),
  id varchar2(32767),
  compartment_id varchar2(32767),
  resources dbms_cloud_oci_application_migration_work_request_resource_tbl,
  percent_complete number,
  time_accepted timestamp with time zone,
  time_started timestamp with time zone,
  time_finished timestamp with time zone,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_work_request_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_work_request_t (
    operation_type varchar2,
    status varchar2,
    id varchar2,
    compartment_id varchar2,
    resources dbms_cloud_oci_application_migration_work_request_resource_tbl,
    percent_complete number,
    time_accepted timestamp with time zone,
    time_started timestamp with time zone,
    time_finished timestamp with time zone
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

operation_type

(required) The asynchronous operation tracked by this work request.

Allowed values are: 'CREATE_SOURCE', 'UPDATE_SOURCE', 'DELETE_SOURCE', 'CREATE_MIGRATION', 'UPDATE_MIGRATION', 'DELETE_MIGRATION', 'AUTHORIZE_SOURCE', 'DISCOVER_APPLICATION', 'MIGRATE_APPLICATION', 'CHANGE_SOURCE_COMPARTMENT', 'CHANGE_MIGRATION_COMPARTMENT'

status

(required) The status of the work request.

Allowed values are: 'ACCEPTED', 'IN_PROGRESS', 'FAILED', 'SUCCEEDED', 'CANCELING', 'CANCELED'

id

(required) The OCID of the work request.

compartment_id

(required) The OCID of the compartment that contains the work request.

resources

(required) The resources affected by this work request.

percent_complete

(required) The percentage completion of the operation relative to the total amount of work that is tracked by this work request.

time_accepted

(required) The date and time the work request was created, in the format defined by RFC3339.

time_started

(optional) The date and time the work request transitioned from `ACCEPTED` to `IN_PROGRESS`, in the format defined by RFC3339.

time_finished

(optional) The date and time the work request reached a terminal state, either `FAILED` or `SUCCEEDED`. Format is defined by RFC3339.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_WORK_REQUEST_ERROR_T Type

An error encountered while executing an operation that is tracked by a work request.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_work_request_error_t FORCE AUTHID CURRENT_USER IS OBJECT (
  code varchar2(32767),
  message varchar2(32767),
  l_timestamp timestamp with time zone,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_work_request_error_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_work_request_error_t (
    code varchar2,
    message varchar2,
    l_timestamp timestamp with time zone
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

code

(required) A machine-usable code for the error that occured.

message

(required) A user-friendly error string.

l_timestamp

(required) The date and time the error occurred.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_WORK_REQUEST_LOG_ENTRY_T Type

A log message about the execution of an operation that is tracked by a work request.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_work_request_log_entry_t FORCE AUTHID CURRENT_USER IS OBJECT (
  message varchar2(32767),
  l_timestamp timestamp with time zone,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_work_request_log_entry_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_work_request_log_entry_t (
    message varchar2,
    l_timestamp timestamp with time zone
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

message

(required) A user-friendly log message.

l_timestamp

(required) The time the log message was written.

DBMS_CLOUD_OCI_APPLICATION_MIGRATION_WORK_REQUEST_SUMMARY_T Type

A summary of the status of a work request.

Syntax

CREATE OR REPLACE NONEDITIONABLE TYPE dbms_cloud_oci_application_migration_work_request_summary_t FORCE AUTHID CURRENT_USER IS OBJECT (
  operation_type varchar2(32767),
  status varchar2(32767),
  id varchar2(32767),
  compartment_id varchar2(32767),
  percent_complete number,
  time_accepted timestamp with time zone,
  time_started timestamp with time zone,
  time_finished timestamp with time zone,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_work_request_summary_t
    RETURN SELF AS RESULT,
  CONSTRUCTOR FUNCTION dbms_cloud_oci_application_migration_work_request_summary_t (
    operation_type varchar2,
    status varchar2,
    id varchar2,
    compartment_id varchar2,
    percent_complete number,
    time_accepted timestamp with time zone,
    time_started timestamp with time zone,
    time_finished timestamp with time zone
  ) RETURN SELF AS RESULT
) NOT PERSISTABLE;

Fields

Field Description

operation_type

(required) The asynchronous operation tracked by this work request.

Allowed values are: 'CREATE_SOURCE', 'UPDATE_SOURCE', 'DELETE_SOURCE', 'CREATE_MIGRATION', 'UPDATE_MIGRATION', 'DELETE_MIGRATION', 'AUTHORIZE_SOURCE', 'DISCOVER_APPLICATION', 'MIGRATE_APPLICATION', 'CHANGE_SOURCE_COMPARTMENT', 'CHANGE_MIGRATION_COMPARTMENT'

status

(required) The status of the work request.

Allowed values are: 'ACCEPTED', 'IN_PROGRESS', 'FAILED', 'SUCCEEDED', 'CANCELING', 'CANCELED'

id

(required) The OCID of the work request.

compartment_id

(required) The OCID of the compartment containing this work request.

percent_complete

(required) The percentage completion of the operation tracked by this work request.

time_accepted

(required) The date and time the work request was created, in the format defined by RFC3339.

time_started

(optional) The date and time the work request transitioned from `ACCEPTED` to `IN_PROGRESS`, in the format defined by RFC3339.

time_finished

(optional) The date and time the work request reached a terminal state, either `FAILED` or `SUCCEEDED`. Format is defined by RFC3339.