ImportSourceDetails

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

Bases: oci.application_migration.models.source_details.SourceDetails

/ 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

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
bucket [Required] Gets the bucket of this ImportSourceDetails.
manifest [Required] Gets the manifest of this ImportSourceDetails.
namespace [Required] Gets the namespace of this ImportSourceDetails.
object_name [Required] Gets the object_name of this ImportSourceDetails.
type [Required] Gets the type of this SourceDetails.

Methods

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

[Required] Gets the bucket of this ImportSourceDetails. the bucket wherein the export archive exists in object storage

Returns:The bucket of this ImportSourceDetails.
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.

manifest

[Required] Gets the manifest of this ImportSourceDetails.

Returns:The manifest of this ImportSourceDetails.
Return type:oci.application_migration.models.ImportManifest
namespace

[Required] Gets the namespace of this ImportSourceDetails. the object storage namespace where the bucket and uploaded object resides

Returns:The namespace of this ImportSourceDetails.
Return type:str
object_name

[Required] Gets the object_name of this ImportSourceDetails. the name of the archive as it exists in object storage

Returns:The object_name of this ImportSourceDetails.
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