OcicSourceDetails

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

Bases: oci.application_migration.models.source_details.SourceDetails

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

Attributes

TYPE_IMPORT str(object=’’) -> str
TYPE_INTERNAL_COMPUTE str(object=’’) -> str
TYPE_OCC str(object=’’) -> str
TYPE_OCIC str(object=’’) -> str
TYPE_OCIC_IDCS str(object=’’) -> str
compute_account [Required] Gets the compute_account of this OcicSourceDetails.
region [Required] Gets the region of this OcicSourceDetails.
type [Required] Gets the type of this SourceDetails.

Methods

__init__(**kwargs) Initializes a new OcicSourceDetails 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.
TYPE_IMPORT = 'IMPORT'
TYPE_INTERNAL_COMPUTE = 'INTERNAL_COMPUTE'
TYPE_OCC = 'OCC'
TYPE_OCIC = 'OCIC'
TYPE_OCIC_IDCS = 'OCIC_IDCS'
__init__(**kwargs)

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

Parameters:
  • type (str) – The value to assign to the type property of this OcicSourceDetails. Allowed values for this property are: “OCIC”, “INTERNAL_COMPUTE”, “OCC”, “OCIC_IDCS”, “IMPORT”
  • region (str) – The value to assign to the region property of this OcicSourceDetails.
  • compute_account (str) – The value to assign to the compute_account property of this OcicSourceDetails.
compute_account

[Required] Gets the compute_account of this OcicSourceDetails. 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.

Returns:The compute_account of this OcicSourceDetails.
Return type:str
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.

region

[Required] Gets the region of this OcicSourceDetails. The Oracle Cloud Infrastructure - Classic region from which you want to migrate your applications. For example, uscom-east-1 or uscom-central-1.

Returns:The region of this OcicSourceDetails.
Return type:str
type

[Required] Gets the type of this SourceDetails. The type of source environment.

Allowed values for this property are: “OCIC”, “INTERNAL_COMPUTE”, “OCC”, “OCIC_IDCS”, “IMPORT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this SourceDetails.
Return type:str