AuthorizationDetails¶
-
class
oci.application_migration.models.
AuthorizationDetails
(**kwargs)¶ Bases:
object
Details of the source environment from which you want to migrate applications to Oracle Cloud Infrastructure. It also contains access credentials.
Attributes
TYPE_IMPORT
A constant which can be used with the type property of a AuthorizationDetails. TYPE_INTERNAL_COMPUTE
A constant which can be used with the type property of a AuthorizationDetails. TYPE_OCC
A constant which can be used with the type property of a AuthorizationDetails. TYPE_OCIC
A constant which can be used with the type property of a AuthorizationDetails. TYPE_OCIC_IDCS
A constant which can be used with the type property of a AuthorizationDetails. type
[Required] Gets the type of this AuthorizationDetails. Methods
__init__
(**kwargs)Initializes a new AuthorizationDetails 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'¶ A constant which can be used with the type property of a AuthorizationDetails. This constant has a value of “IMPORT”
-
TYPE_INTERNAL_COMPUTE
= 'INTERNAL_COMPUTE'¶ A constant which can be used with the type property of a AuthorizationDetails. This constant has a value of “INTERNAL_COMPUTE”
-
TYPE_OCC
= 'OCC'¶ A constant which can be used with the type property of a AuthorizationDetails. This constant has a value of “OCC”
-
TYPE_OCIC
= 'OCIC'¶ A constant which can be used with the type property of a AuthorizationDetails. This constant has a value of “OCIC”
-
TYPE_OCIC_IDCS
= 'OCIC_IDCS'¶ A constant which can be used with the type property of a AuthorizationDetails. This constant has a value of “OCIC_IDCS”
-
__init__
(**kwargs)¶ Initializes a new AuthorizationDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
OccAuthorizationDetails
InternalAuthorizationDetails
OcicAuthorizationTokenDetails
OcicAuthorizationDetails
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 AuthorizationDetails. Allowed values for this property are: “OCIC”, “INTERNAL_COMPUTE”, “OCC”, “OCIC_IDCS”, “IMPORT”
-
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 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
-