CreateWorkloadMappingDetails¶
-
class
oci.container_engine.models.
CreateWorkloadMappingDetails
(**kwargs)¶ Bases:
object
The properties that define a workloadMapping
Methods
__init__
(**kwargs)Initializes a new CreateWorkloadMappingDetails object with values from keyword arguments. Attributes
defined_tags
Gets the defined_tags of this CreateWorkloadMappingDetails. freeform_tags
Gets the freeform_tags of this CreateWorkloadMappingDetails. mapped_compartment_id
[Required] Gets the mapped_compartment_id of this CreateWorkloadMappingDetails. namespace
[Required] Gets the namespace of this CreateWorkloadMappingDetails. -
__init__
(**kwargs)¶ Initializes a new CreateWorkloadMappingDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - namespace (str) – The value to assign to the namespace property of this CreateWorkloadMappingDetails.
- mapped_compartment_id (str) – The value to assign to the mapped_compartment_id property of this CreateWorkloadMappingDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateWorkloadMappingDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateWorkloadMappingDetails.
Gets the defined_tags of this CreateWorkloadMappingDetails. 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 CreateWorkloadMappingDetails. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this CreateWorkloadMappingDetails. 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 CreateWorkloadMappingDetails. Return type: dict(str, str)
-
mapped_compartment_id
¶ [Required] Gets the mapped_compartment_id of this CreateWorkloadMappingDetails. The OCID of the mapped customer compartment.
Returns: The mapped_compartment_id of this CreateWorkloadMappingDetails. Return type: str
-
namespace
¶ [Required] Gets the namespace of this CreateWorkloadMappingDetails. The namespace of the workloadMapping.
Returns: The namespace of this CreateWorkloadMappingDetails. Return type: str
-