ByolRealmAllocationSummary

class oci.ocvp.models.ByolRealmAllocationSummary(**kwargs)

Bases: object

Represents a BYOL allocation for a specific region

Methods

__init__(**kwargs) Initializes a new ByolRealmAllocationSummary object with values from keyword arguments.

Attributes

allocated_units [Required] Gets the allocated_units of this ByolRealmAllocationSummary.
byol_id [Required] Gets the byol_id of this ByolRealmAllocationSummary.
compartment_id [Required] Gets the compartment_id of this ByolRealmAllocationSummary.
region [Required] Gets the region of this ByolRealmAllocationSummary.
time_created [Required] Gets the time_created of this ByolRealmAllocationSummary.
time_updated [Required] Gets the time_updated of this ByolRealmAllocationSummary.
__init__(**kwargs)

Initializes a new ByolRealmAllocationSummary 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 ByolRealmAllocationSummary.
  • region (str) – The value to assign to the region property of this ByolRealmAllocationSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this ByolRealmAllocationSummary.
  • allocated_units (int) – The value to assign to the allocated_units property of this ByolRealmAllocationSummary.
  • time_created (datetime) – The value to assign to the time_created property of this ByolRealmAllocationSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this ByolRealmAllocationSummary.
allocated_units

[Required] Gets the allocated_units of this ByolRealmAllocationSummary. The quantity of licensed units that allocated to this region.

Returns:The allocated_units of this ByolRealmAllocationSummary.
Return type:int
byol_id

[Required] Gets the byol_id of this ByolRealmAllocationSummary. The OCID of the BYOL resource from which this BYOL Allocation is derived.

Returns:The byol_id of this ByolRealmAllocationSummary.
Return type:str
compartment_id

[Required] Gets the compartment_id of this ByolRealmAllocationSummary. The OCID of the compartment that contains the BYOL Allocation.

Returns:The compartment_id of this ByolRealmAllocationSummary.
Return type:str
region

[Required] Gets the region of this ByolRealmAllocationSummary. The region name for this allocation, in the format defined by Region Identifier. Example: ap-sydney-1

Returns:The region of this ByolRealmAllocationSummary.
Return type:str
time_created

[Required] Gets the time_created of this ByolRealmAllocationSummary. The date and time the BYOL Allocation was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

Returns:The time_created of this ByolRealmAllocationSummary.
Return type:datetime
time_updated

[Required] Gets the time_updated of this ByolRealmAllocationSummary. The date and time the BYOL Allocation was updated, in the format defined by RFC3339.

Returns:The time_updated of this ByolRealmAllocationSummary.
Return type:datetime