CreateSourceDetails¶
-
class
oci.application_migration.models.
CreateSourceDetails
(**kwargs)¶ Bases:
object
The configuration details for creating a source.
When you create a source, provide the required information to let Application Migration access the source environment. You must also assign a name and provide a description for the source. This helps you to identify the appropriate source environment when you have multiple sources defined.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Methods
__init__
(**kwargs)Initializes a new CreateSourceDetails object with values from keyword arguments. Attributes
authorization_details
Gets the authorization_details of this CreateSourceDetails. compartment_id
[Required] Gets the compartment_id of this CreateSourceDetails. defined_tags
Gets the defined_tags of this CreateSourceDetails. description
Gets the description of this CreateSourceDetails. display_name
Gets the display_name of this CreateSourceDetails. freeform_tags
Gets the freeform_tags of this CreateSourceDetails. source_details
[Required] Gets the source_details of this CreateSourceDetails. -
__init__
(**kwargs)¶ Initializes a new CreateSourceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this CreateSourceDetails.
- display_name (str) – The value to assign to the display_name property of this CreateSourceDetails.
- description (str) – The value to assign to the description property of this CreateSourceDetails.
- source_details (oci.application_migration.models.SourceDetails) – The value to assign to the source_details property of this CreateSourceDetails.
- authorization_details (oci.application_migration.models.AuthorizationDetails) – The value to assign to the authorization_details property of this CreateSourceDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateSourceDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateSourceDetails.
Gets the authorization_details of this CreateSourceDetails.
Returns: The authorization_details of this CreateSourceDetails. Return type: oci.application_migration.models.AuthorizationDetails
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateSourceDetails. The OCID of the compartment that contains the source.
Returns: The compartment_id of this CreateSourceDetails. Return type: str
Gets the defined_tags of this CreateSourceDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this CreateSourceDetails. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this CreateSourceDetails. Description of the source. This helps you to identify the appropriate source environment when you have multiple sources defined.
Returns: The description of this CreateSourceDetails. Return type: str
-
display_name
¶ Gets the display_name of this CreateSourceDetails. Name of the source. This helps you to identify the appropriate source environment when you have multiple sources defined.
Returns: The display_name of this CreateSourceDetails. Return type: str
Gets the freeform_tags of this CreateSourceDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
Returns: The freeform_tags of this CreateSourceDetails. Return type: dict(str, str)
-
source_details
¶ [Required] Gets the source_details of this CreateSourceDetails.
Returns: The source_details of this CreateSourceDetails. Return type: oci.application_migration.models.SourceDetails
-