OccAuthorizationDetails

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

Bases: oci.application_migration.models.authorization_details.AuthorizationDetails

Credentials to access Oracle Cloud@Customer, 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 OccAuthorizationDetails.
type [Required] Gets the type of this AuthorizationDetails.
username [Required] Gets the username of this OccAuthorizationDetails.

Methods

__init__(**kwargs) Initializes a new OccAuthorizationDetails 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 OccAuthorizationDetails 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 OccAuthorizationDetails. 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 OccAuthorizationDetails.
  • password (str) – The value to assign to the password property of this OccAuthorizationDetails.
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 OccAuthorizationDetails. Password for this user.

Returns:The password of this OccAuthorizationDetails.
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 OccAuthorizationDetails. User with Compute Operations role in Oracle Cloud@Customer.

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