InternalAuthorizationDetails

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

Methods

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

Returns:The password of this InternalAuthorizationDetails.
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”

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

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

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