OccSourceDetails

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

Bases: oci.application_migration.models.source_details.SourceDetails

Details about the Oracle Cloud@Customer 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 OccSourceDetails.
type [Required] Gets the type of this SourceDetails.

Methods

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

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

Returns:The compute_account of this OccSourceDetails.
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”, “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