CreateByolDetails¶
- class oci.ocvp.models.CreateByolDetails(**kwargs)¶
Bases:
objectThe details to create a BYOL.
Methods:
__init__(**kwargs)Initializes a new CreateByolDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this CreateByolDetails.
Gets the defined_tags of this CreateByolDetails.
Gets the description of this CreateByolDetails.
[Required] Gets the display_name of this CreateByolDetails.
[Required] Gets the entitlement_key of this CreateByolDetails.
Gets the freeform_tags of this CreateByolDetails.
Gets the site_id of this CreateByolDetails.
[Required] Gets the software_type of this CreateByolDetails.
[Required] Gets the time_term_end of this CreateByolDetails.
[Required] Gets the time_term_start of this CreateByolDetails.
[Required] Gets the total_units of this CreateByolDetails.
- __init__(**kwargs)¶
Initializes a new CreateByolDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
compartment_id (str) – The value to assign to the compartment_id property of this CreateByolDetails.
display_name (str) – The value to assign to the display_name property of this CreateByolDetails.
description (str) – The value to assign to the description property of this CreateByolDetails.
software_type (str) – The value to assign to the software_type property of this CreateByolDetails.
total_units (int) – The value to assign to the total_units property of this CreateByolDetails.
time_term_start (datetime) – The value to assign to the time_term_start property of this CreateByolDetails.
time_term_end (datetime) – The value to assign to the time_term_end property of this CreateByolDetails.
entitlement_key (str) – The value to assign to the entitlement_key property of this CreateByolDetails.
site_id (str) – The value to assign to the site_id property of this CreateByolDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateByolDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateByolDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateByolDetails. The `OCID`__ of the compartment that contains the BYOL.
- Returns
The compartment_id of this CreateByolDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateByolDetails. 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 CreateByolDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this CreateByolDetails. A description of the BYOL.
- Returns
The description of this CreateByolDetails.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this CreateByolDetails. A descriptive name for the BYOL.
- Returns
The display_name of this CreateByolDetails.
- Return type
str
- property entitlement_key¶
[Required] Gets the entitlement_key of this CreateByolDetails. The Broadcom-supplied identifier of a BYOL license.
- Returns
The entitlement_key of this CreateByolDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateByolDetails. 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 CreateByolDetails.
- Return type
dict(str, str)
- property site_id¶
Gets the site_id of this CreateByolDetails. The hyperscaler identifier in Broadcom systems.
- Returns
The site_id of this CreateByolDetails.
- Return type
str
- property software_type¶
[Required] Gets the software_type of this CreateByolDetails. 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)
- Returns
The software_type of this CreateByolDetails.
- Return type
str
- property time_term_end¶
[Required] Gets the time_term_end of this CreateByolDetails. The date and time when the BYOL expires and becomes inactive. In the format defined by`RFC3339`__.
- Returns
The time_term_end of this CreateByolDetails.
- Return type
datetime
- property time_term_start¶
[Required] Gets the time_term_start of this CreateByolDetails. The date and time when the BYOL 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 CreateByolDetails.
- Return type
datetime
- property total_units¶
[Required] Gets the total_units of this CreateByolDetails. Total quantity of licensed units for the specified softwareType:
VCF, VDEFEND: number of OCPUs
VSAN: storage capacity in TiB (tebibytes)
AVI_LOAD_BALANCER: number of instances
- Returns
The total_units of this CreateByolDetails.
- Return type
int