ByolAllocation¶
-
class
oci.ocvp.models.ByolAllocation(**kwargs)¶ Bases:
objectAn allocation of `Oracle Cloud VMware Solution`__ Bring-Your-Own-License (BYOL).
Attributes
LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a ByolAllocation. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a ByolAllocation. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a ByolAllocation. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a ByolAllocation. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a ByolAllocation. LIFECYCLE_STATE_INACTIVEA constant which can be used with the lifecycle_state property of a ByolAllocation. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a ByolAllocation. SOFTWARE_TYPE_AVI_LOAD_BALANCERA constant which can be used with the software_type property of a ByolAllocation. SOFTWARE_TYPE_VCFA constant which can be used with the software_type property of a ByolAllocation. SOFTWARE_TYPE_VDEFENDA constant which can be used with the software_type property of a ByolAllocation. SOFTWARE_TYPE_VSANA constant which can be used with the software_type property of a ByolAllocation. allocated_units[Required] Gets the allocated_units of this ByolAllocation. available_units[Required] Gets the available_units of this ByolAllocation. byol_id[Required] Gets the byol_id of this ByolAllocation. compartment_id[Required] Gets the compartment_id of this ByolAllocation. defined_tags[Required] Gets the defined_tags of this ByolAllocation. display_name[Required] Gets the display_name of this ByolAllocation. entitlement_key[Required] Gets the entitlement_key of this ByolAllocation. freeform_tags[Required] Gets the freeform_tags of this ByolAllocation. id[Required] Gets the id of this ByolAllocation. lifecycle_state[Required] Gets the lifecycle_state of this ByolAllocation. software_type[Required] Gets the software_type of this ByolAllocation. system_tags[Required] Gets the system_tags of this ByolAllocation. time_created[Required] Gets the time_created of this ByolAllocation. time_term_end[Required] Gets the time_term_end of this ByolAllocation. time_term_start[Required] Gets the time_term_start of this ByolAllocation. time_updated[Required] Gets the time_updated of this ByolAllocation. Methods
__init__(**kwargs)Initializes a new ByolAllocation object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a ByolAllocation. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a ByolAllocation. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a ByolAllocation. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a ByolAllocation. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a ByolAllocation. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_INACTIVE= 'INACTIVE'¶ A constant which can be used with the lifecycle_state property of a ByolAllocation. This constant has a value of “INACTIVE”
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a ByolAllocation. This constant has a value of “UPDATING”
-
SOFTWARE_TYPE_AVI_LOAD_BALANCER= 'AVI_LOAD_BALANCER'¶ A constant which can be used with the software_type property of a ByolAllocation. This constant has a value of “AVI_LOAD_BALANCER”
-
SOFTWARE_TYPE_VCF= 'VCF'¶ A constant which can be used with the software_type property of a ByolAllocation. This constant has a value of “VCF”
-
SOFTWARE_TYPE_VDEFEND= 'VDEFEND'¶ A constant which can be used with the software_type property of a ByolAllocation. This constant has a value of “VDEFEND”
-
SOFTWARE_TYPE_VSAN= 'VSAN'¶ A constant which can be used with the software_type property of a ByolAllocation. This constant has a value of “VSAN”
-
__init__(**kwargs)¶ Initializes a new ByolAllocation 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 ByolAllocation.
- compartment_id (str) – The value to assign to the compartment_id property of this ByolAllocation.
- display_name (str) – The value to assign to the display_name property of this ByolAllocation.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ByolAllocation. Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- software_type (str) – The value to assign to the software_type property of this ByolAllocation. Allowed values for this property are: “VCF”, “VSAN”, “VDEFEND”, “AVI_LOAD_BALANCER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- allocated_units (int) – The value to assign to the allocated_units property of this ByolAllocation.
- available_units (int) – The value to assign to the available_units property of this ByolAllocation.
- time_term_start (datetime) – The value to assign to the time_term_start property of this ByolAllocation.
- time_term_end (datetime) – The value to assign to the time_term_end property of this ByolAllocation.
- byol_id (str) – The value to assign to the byol_id property of this ByolAllocation.
- entitlement_key (str) – The value to assign to the entitlement_key property of this ByolAllocation.
- time_created (datetime) – The value to assign to the time_created property of this ByolAllocation.
- time_updated (datetime) – The value to assign to the time_updated property of this ByolAllocation.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ByolAllocation.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ByolAllocation.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ByolAllocation.
-
allocated_units¶ [Required] Gets the allocated_units of this ByolAllocation. The quantity of licensed units that allocated to this region.
Returns: The allocated_units of this ByolAllocation. Return type: int
-
available_units¶ [Required] Gets the available_units of this ByolAllocation. The quantity of licensed units that not yet consumed by resources.
Returns: The available_units of this ByolAllocation. Return type: int
-
byol_id¶ [Required] Gets the byol_id of this ByolAllocation. The `OCID`__ of the BYOL resource from which this BYOL Allocation is derived.
Returns: The byol_id of this ByolAllocation. Return type: str
-
compartment_id¶ [Required] Gets the compartment_id of this ByolAllocation. The `OCID`__ of the compartment that contains the BYOL Allocation.
Returns: The compartment_id of this ByolAllocation. Return type: str
[Required] Gets the defined_tags of this ByolAllocation. 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 ByolAllocation. Return type: dict(str, dict(str, object))
-
display_name¶ [Required] Gets the display_name of this ByolAllocation. A descriptive name for the BYOL Allocation.
Returns: The display_name of this ByolAllocation. Return type: str
-
entitlement_key¶ [Required] Gets the entitlement_key of this ByolAllocation. The Broadcom-supplied identifier of a BYOL license.
Returns: The entitlement_key of this ByolAllocation. Return type: str
[Required] Gets the freeform_tags of this ByolAllocation. 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 ByolAllocation. Return type: dict(str, str)
-
id¶ [Required] Gets the id of this ByolAllocation. The `OCID`__ of the BYOL Allocation.
Returns: The id of this ByolAllocation. Return type: str
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this ByolAllocation. The current state of the BYOL Allocation.
Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this ByolAllocation. Return type: str
-
software_type¶ [Required] Gets the software_type of this ByolAllocation. The type of VMware software the BYOL applies to. Supported values: - VCF (VMware Cloud Foundation) - VSAN (VMware vSAN) - VDEFEND (VMware vDefend Firewall) - AVI_LOAD_BALANCER (VMware Avi Load Balancer)
Allowed values for this property are: “VCF”, “VSAN”, “VDEFEND”, “AVI_LOAD_BALANCER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The software_type of this ByolAllocation. Return type: str
[Required] Gets the system_tags of this ByolAllocation. 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 ByolAllocation. Return type: dict(str, dict(str, object))
-
time_created¶ [Required] Gets the time_created of this ByolAllocation. 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 ByolAllocation. Return type: datetime
-
time_term_end¶ [Required] Gets the time_term_end of this ByolAllocation. 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 ByolAllocation. Return type: datetime
-
time_term_start¶ [Required] Gets the time_term_start of this ByolAllocation. 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 ByolAllocation. Return type: datetime
-
time_updated¶ [Required] Gets the time_updated of this ByolAllocation. The date and time the BYOL Allocation was updated, in the format defined by `RFC3339`__.
Returns: The time_updated of this ByolAllocation. Return type: datetime
-