InternalSourceDetails

class oci.application_migration.models.InternalSourceDetails(**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_INTERNAL_COMPUTE str(object=’’) -> str
TYPE_OCIC str(object=’’) -> str
account_name [Required] Gets the account_name of this InternalSourceDetails.
type [Required] Gets the type of this SourceDetails.

Methods

__init__(**kwargs) Initializes a new InternalSourceDetails 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_INTERNAL_COMPUTE = 'INTERNAL_COMPUTE'
TYPE_OCIC = 'OCIC'
__init__(**kwargs)

Initializes a new InternalSourceDetails object with values from keyword arguments. The default value of the type attribute of this class is INTERNAL_COMPUTE 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 InternalSourceDetails. Allowed values for this property are: “OCIC”, “INTERNAL_COMPUTE”
  • account_name (str) – The value to assign to the account_name property of this InternalSourceDetails.
account_name

[Required] Gets the account_name of this InternalSourceDetails. The identity domain ID of your traditional Oracle Cloud Infrastructure - Classic account.

Returns:The account_name of this InternalSourceDetails.
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.

type

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

Allowed values for this property are: “OCIC”, “INTERNAL_COMPUTE”, ‘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