OcicAuthorizationDetails

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

Bases: oci.application_migration.models.authorization_details.AuthorizationDetails

Credentials to access Oracle Cloud Infrastructure - Classic, which is 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
password [Required] Gets the password of this OcicAuthorizationDetails.
type [Required] Gets the type of this AuthorizationDetails.
username [Required] Gets the username of this OcicAuthorizationDetails.

Methods

__init__(**kwargs) Initializes a new OcicAuthorizationDetails 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 OcicAuthorizationDetails 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 OcicAuthorizationDetails. Allowed values for this property are: “OCIC”, “INTERNAL_COMPUTE”, “OCC”, “OCIC_IDCS”, “IMPORT”
  • username (str) – The value to assign to the username property of this OcicAuthorizationDetails.
  • password (str) – The value to assign to the password property of this OcicAuthorizationDetails.
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.

password

[Required] Gets the password of this OcicAuthorizationDetails. Password for this user.

Returns:The password of this OcicAuthorizationDetails.
Return type:str
type

[Required] Gets the type of this AuthorizationDetails. Type of the source environment from which you are migrating applications to Oracle Cloud Infrastructure.

Allowed values for this property are: “OCIC”, “INTERNAL_COMPUTE”, “OCC”, “OCIC_IDCS”, “IMPORT”

Returns:The type of this AuthorizationDetails.
Return type:str
username

[Required] Gets the username of this OcicAuthorizationDetails. User with Compute Operations role in Oracle Cloud Infrastructure - Classic.

Returns:The username of this OcicAuthorizationDetails.
Return type:str