CreateByolAllocationDetails¶
-
class
oci.ocvp.models.CreateByolAllocationDetails(**kwargs)¶ Bases:
objectThe details to create a BYOL.
Methods
__init__(**kwargs)Initializes a new CreateByolAllocationDetails object with values from keyword arguments. Attributes
allocated_units[Required] Gets the allocated_units of this CreateByolAllocationDetails. byol_id[Required] Gets the byol_id of this CreateByolAllocationDetails. compartment_id[Required] Gets the compartment_id of this CreateByolAllocationDetails. defined_tagsGets the defined_tags of this CreateByolAllocationDetails. display_name[Required] Gets the display_name of this CreateByolAllocationDetails. freeform_tagsGets the freeform_tags of this CreateByolAllocationDetails. -
__init__(**kwargs)¶ Initializes a new CreateByolAllocationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - byol_id (str) – The value to assign to the byol_id property of this CreateByolAllocationDetails.
- allocated_units (int) – The value to assign to the allocated_units property of this CreateByolAllocationDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateByolAllocationDetails.
- display_name (str) – The value to assign to the display_name property of this CreateByolAllocationDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateByolAllocationDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateByolAllocationDetails.
-
allocated_units¶ [Required] Gets the allocated_units of this CreateByolAllocationDetails. The quantity of licensed units that allocated to this region.
Returns: The allocated_units of this CreateByolAllocationDetails. Return type: int
-
byol_id¶ [Required] Gets the byol_id of this CreateByolAllocationDetails. The OCID of the BYOL resource from which this BYOL Allocation is derived.
Returns: The byol_id of this CreateByolAllocationDetails. Return type: str
-
compartment_id¶ [Required] Gets the compartment_id of this CreateByolAllocationDetails. The OCID of the compartment that contains the BYOL Allocation.
Returns: The compartment_id of this CreateByolAllocationDetails. Return type: str
Gets the defined_tags of this CreateByolAllocationDetails. 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 CreateByolAllocationDetails. Return type: dict(str, dict(str, object))
-
display_name¶ [Required] Gets the display_name of this CreateByolAllocationDetails. A descriptive name for the BYOL Allocation.
Returns: The display_name of this CreateByolAllocationDetails. Return type: str
Gets the freeform_tags of this CreateByolAllocationDetails. 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 CreateByolAllocationDetails. Return type: dict(str, str)
-