CreateMigrationDetails

class oci.application_migration.models.CreateMigrationDetails(**kwargs)

Bases: object

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.

Attributes

PRE_CREATED_TARGET_DATABASE_TYPE_DATABASE_SYSTEM A constant which can be used with the pre_created_target_database_type property of a CreateMigrationDetails.
PRE_CREATED_TARGET_DATABASE_TYPE_NOT_SET A constant which can be used with the pre_created_target_database_type property of a CreateMigrationDetails.
application_config Gets the application_config of this CreateMigrationDetails.
application_name [Required] Gets the application_name of this CreateMigrationDetails.
compartment_id [Required] Gets the compartment_id of this CreateMigrationDetails.
defined_tags Gets the defined_tags of this CreateMigrationDetails.
description Gets the description of this CreateMigrationDetails.
discovery_details [Required] Gets the discovery_details of this CreateMigrationDetails.
display_name Gets the display_name of this CreateMigrationDetails.
freeform_tags Gets the freeform_tags of this CreateMigrationDetails.
pre_created_target_database_type Gets the pre_created_target_database_type of this CreateMigrationDetails.
service_config Gets the service_config of this CreateMigrationDetails.
source_id [Required] Gets the source_id of this CreateMigrationDetails.

Methods

__init__(**kwargs) Initializes a new CreateMigrationDetails object with values from keyword arguments.
PRE_CREATED_TARGET_DATABASE_TYPE_DATABASE_SYSTEM = 'DATABASE_SYSTEM'

A constant which can be used with the pre_created_target_database_type property of a CreateMigrationDetails. This constant has a value of “DATABASE_SYSTEM”

PRE_CREATED_TARGET_DATABASE_TYPE_NOT_SET = 'NOT_SET'

A constant which can be used with the pre_created_target_database_type property of a CreateMigrationDetails. This constant has a value of “NOT_SET”

__init__(**kwargs)

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

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateMigrationDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateMigrationDetails.
  • description (str) – The value to assign to the description property of this CreateMigrationDetails.
  • source_id (str) – The value to assign to the source_id property of this CreateMigrationDetails.
  • application_name (str) – The value to assign to the application_name property of this CreateMigrationDetails.
  • discovery_details (oci.application_migration.models.DiscoveryDetails) – The value to assign to the discovery_details property of this CreateMigrationDetails.
  • pre_created_target_database_type (str) – The value to assign to the pre_created_target_database_type property of this CreateMigrationDetails. Allowed values for this property are: “DATABASE_SYSTEM”, “NOT_SET”
  • service_config (dict(str, ConfigurationField)) – The value to assign to the service_config property of this CreateMigrationDetails.
  • application_config (dict(str, ConfigurationField)) – The value to assign to the application_config property of this CreateMigrationDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateMigrationDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateMigrationDetails.
application_config

Gets the application_config of this CreateMigrationDetails. 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.

Returns:The application_config of this CreateMigrationDetails.
Return type:dict(str, ConfigurationField)
application_name

[Required] Gets the application_name of this CreateMigrationDetails. Name of the application that you want to migrate from the source environment.

Returns:The application_name of this CreateMigrationDetails.
Return type:str
compartment_id

[Required] Gets the compartment_id of this CreateMigrationDetails. The OCID of the compartment that contains the source.

Returns:The compartment_id of this CreateMigrationDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateMigrationDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this CreateMigrationDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateMigrationDetails. Description of the application that you are migrating.

Returns:The description of this CreateMigrationDetails.
Return type:str
discovery_details

[Required] Gets the discovery_details of this CreateMigrationDetails.

Returns:The discovery_details of this CreateMigrationDetails.
Return type:oci.application_migration.models.DiscoveryDetails
display_name

Gets the display_name of this CreateMigrationDetails. User-friendly name of the application. This will be the name of the migrated application in Oracle Cloud Infrastructure.

Returns:The display_name of this CreateMigrationDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateMigrationDetails. 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”}

Returns:The freeform_tags of this CreateMigrationDetails.
Return type:dict(str, str)
pre_created_target_database_type

Gets the pre_created_target_database_type of this CreateMigrationDetails. The pre-existing database type to be used in this migration. Currently, Application migration only supports Oracle Cloud Infrastrure databases and this option is currently available only for JAVA_CLOUD_SERVICE and WEBLOGIC_CLOUD_SERVICE target instance types.

Allowed values for this property are: “DATABASE_SYSTEM”, “NOT_SET”

Returns:The pre_created_target_database_type of this CreateMigrationDetails.
Return type:str
service_config

Gets the service_config of this CreateMigrationDetails. 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.

Returns:The service_config of this CreateMigrationDetails.
Return type:dict(str, ConfigurationField)
source_id

[Required] Gets the source_id of this CreateMigrationDetails. The OCID of the source.

Returns:The source_id of this CreateMigrationDetails.
Return type:str