CreateEnvironmentDetails¶
-
class
oci.cloud_bridge.models.
CreateEnvironmentDetails
(**kwargs)¶ Bases:
object
The information about the new source environment.
Methods
__init__
(**kwargs)Initializes a new CreateEnvironmentDetails object with values from keyword arguments. Attributes
compartment_id
[Required] Gets the compartment_id of this CreateEnvironmentDetails. defined_tags
Gets the defined_tags of this CreateEnvironmentDetails. display_name
Gets the display_name of this CreateEnvironmentDetails. freeform_tags
Gets the freeform_tags of this CreateEnvironmentDetails. -
__init__
(**kwargs)¶ Initializes a new CreateEnvironmentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - display_name (str) – The value to assign to the display_name property of this CreateEnvironmentDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateEnvironmentDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateEnvironmentDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateEnvironmentDetails.
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateEnvironmentDetails. Compartment identifier.
Returns: The compartment_id of this CreateEnvironmentDetails. Return type: str
Gets the defined_tags of this CreateEnvironmentDetails. The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this CreateEnvironmentDetails. Return type: dict(str, dict(str, object))
-
display_name
¶ Gets the display_name of this CreateEnvironmentDetails. Environment identifier.
Returns: The display_name of this CreateEnvironmentDetails. Return type: str
Gets the freeform_tags of this CreateEnvironmentDetails. The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {“Department”: “Finance”}
Returns: The freeform_tags of this CreateEnvironmentDetails. Return type: dict(str, str)
-