ByolAllocationSummary

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

Bases: object

An allocation of `Oracle Cloud VMware Solution`__ Bring-Your-Own-License (BYOL).

Methods

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

Attributes

allocated_units [Required] Gets the allocated_units of this ByolAllocationSummary.
available_units [Required] Gets the available_units of this ByolAllocationSummary.
byol_id [Required] Gets the byol_id of this ByolAllocationSummary.
compartment_id [Required] Gets the compartment_id of this ByolAllocationSummary.
defined_tags [Required] Gets the defined_tags of this ByolAllocationSummary.
display_name [Required] Gets the display_name of this ByolAllocationSummary.
freeform_tags [Required] Gets the freeform_tags of this ByolAllocationSummary.
id [Required] Gets the id of this ByolAllocationSummary.
lifecycle_state [Required] Gets the lifecycle_state of this ByolAllocationSummary.
software_type [Required] Gets the software_type of this ByolAllocationSummary.
system_tags [Required] Gets the system_tags of this ByolAllocationSummary.
time_created [Required] Gets the time_created of this ByolAllocationSummary.
time_term_end [Required] Gets the time_term_end of this ByolAllocationSummary.
time_term_start [Required] Gets the time_term_start of this ByolAllocationSummary.
time_updated [Required] Gets the time_updated of this ByolAllocationSummary.
__init__(**kwargs)

Initializes a new ByolAllocationSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this ByolAllocationSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this ByolAllocationSummary.
  • display_name (str) – The value to assign to the display_name property of this ByolAllocationSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ByolAllocationSummary.
  • software_type (str) – The value to assign to the software_type property of this ByolAllocationSummary.
  • allocated_units (int) – The value to assign to the allocated_units property of this ByolAllocationSummary.
  • available_units (int) – The value to assign to the available_units property of this ByolAllocationSummary.
  • time_term_start (datetime) – The value to assign to the time_term_start property of this ByolAllocationSummary.
  • time_term_end (datetime) – The value to assign to the time_term_end property of this ByolAllocationSummary.
  • byol_id (str) – The value to assign to the byol_id property of this ByolAllocationSummary.
  • time_created (datetime) – The value to assign to the time_created property of this ByolAllocationSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this ByolAllocationSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ByolAllocationSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ByolAllocationSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ByolAllocationSummary.
allocated_units

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

Returns:The allocated_units of this ByolAllocationSummary.
Return type:int
available_units

[Required] Gets the available_units of this ByolAllocationSummary. The quantity of licensed units that not yet consumed by resources.

Returns:The available_units of this ByolAllocationSummary.
Return type:int
byol_id

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

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

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

Returns:The compartment_id of this ByolAllocationSummary.
Return type:str
defined_tags

[Required] Gets the defined_tags of this ByolAllocationSummary. 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 ByolAllocationSummary.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this ByolAllocationSummary. A descriptive name for the BYOL Allocation.

Returns:The display_name of this ByolAllocationSummary.
Return type:str
freeform_tags

[Required] Gets the freeform_tags of this ByolAllocationSummary. 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 ByolAllocationSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this ByolAllocationSummary. The `OCID`__ of the BYOL Allocation.

Returns:The id of this ByolAllocationSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this ByolAllocationSummary. The current state of the BYOL Allocation. Accepted values are: - CREATING - ACTIVE - INACTIVE - UPDATING - DELETING - DELETED - FAILED

Returns:The lifecycle_state of this ByolAllocationSummary.
Return type:str
software_type

[Required] Gets the software_type of this ByolAllocationSummary. The type of VMware software the BYOL Allocation applies to. Supported values: - VCF (VMware Cloud Foundation) - VSAN (VMware vSAN) - VDEFEND (VMware vDefend Firewall) - AVI_LOAD_BALANCER (VMware Avi Load Balancer)

Returns:The software_type of this ByolAllocationSummary.
Return type:str
system_tags

[Required] Gets the system_tags of this ByolAllocationSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}}

Returns:The system_tags of this ByolAllocationSummary.
Return type:dict(str, dict(str, object))
time_created

[Required] Gets the time_created of this ByolAllocationSummary. 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 ByolAllocationSummary.
Return type:datetime
time_term_end

[Required] Gets the time_term_end of this ByolAllocationSummary. The date and time when the BYOL Allocation expires and becomes inactive. In the format defined by`RFC3339`__.

Returns:The time_term_end of this ByolAllocationSummary.
Return type:datetime
time_term_start

[Required] Gets the time_term_start of this ByolAllocationSummary. The date and time when the BYOL Allocation becomes active. VMware software functionality cannot begin before this time. In the format defined by`RFC3339`__. Example: 2016-08-25T21:10:29.600Z

Returns:The time_term_start of this ByolAllocationSummary.
Return type:datetime
time_updated

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

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