CreateDesktopPoolShapeConfigDetails

class oci.desktops.models.CreateDesktopPoolShapeConfigDetails(**kwargs)

Bases: object

The compute instance shape configuration requested for each desktop in the desktop pool.

Attributes

BASELINE_OCPU_UTILIZATION_BASELINE_1_1 A constant which can be used with the baseline_ocpu_utilization property of a CreateDesktopPoolShapeConfigDetails.
BASELINE_OCPU_UTILIZATION_BASELINE_1_2 A constant which can be used with the baseline_ocpu_utilization property of a CreateDesktopPoolShapeConfigDetails.
BASELINE_OCPU_UTILIZATION_BASELINE_1_8 A constant which can be used with the baseline_ocpu_utilization property of a CreateDesktopPoolShapeConfigDetails.
baseline_ocpu_utilization Gets the baseline_ocpu_utilization of this CreateDesktopPoolShapeConfigDetails.
memory_in_gbs Gets the memory_in_gbs of this CreateDesktopPoolShapeConfigDetails.
ocpus Gets the ocpus of this CreateDesktopPoolShapeConfigDetails.

Methods

__init__(**kwargs) Initializes a new CreateDesktopPoolShapeConfigDetails object with values from keyword arguments.
BASELINE_OCPU_UTILIZATION_BASELINE_1_1 = 'BASELINE_1_1'

A constant which can be used with the baseline_ocpu_utilization property of a CreateDesktopPoolShapeConfigDetails. This constant has a value of “BASELINE_1_1”

BASELINE_OCPU_UTILIZATION_BASELINE_1_2 = 'BASELINE_1_2'

A constant which can be used with the baseline_ocpu_utilization property of a CreateDesktopPoolShapeConfigDetails. This constant has a value of “BASELINE_1_2”

BASELINE_OCPU_UTILIZATION_BASELINE_1_8 = 'BASELINE_1_8'

A constant which can be used with the baseline_ocpu_utilization property of a CreateDesktopPoolShapeConfigDetails. This constant has a value of “BASELINE_1_8”

__init__(**kwargs)

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

Parameters:
  • ocpus (int) – The value to assign to the ocpus property of this CreateDesktopPoolShapeConfigDetails.
  • memory_in_gbs (int) – The value to assign to the memory_in_gbs property of this CreateDesktopPoolShapeConfigDetails.
  • baseline_ocpu_utilization (str) – The value to assign to the baseline_ocpu_utilization property of this CreateDesktopPoolShapeConfigDetails. Allowed values for this property are: “BASELINE_1_8”, “BASELINE_1_2”, “BASELINE_1_1”
baseline_ocpu_utilization

Gets the baseline_ocpu_utilization of this CreateDesktopPoolShapeConfigDetails. The baseline OCPU utilization for a subcore burstable VM instance used for each desktop compute instance in the desktop pool. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with BASELINE_1_1.

The following values are supported: - BASELINE_1_8 - baseline usage is 1/8 of an OCPU. - BASELINE_1_2 - baseline usage is 1/2 of an OCPU. - BASELINE_1_1 - baseline usage is the entire OCPU. This represents a non-burstable instance.

Allowed values for this property are: “BASELINE_1_8”, “BASELINE_1_2”, “BASELINE_1_1”

Returns:The baseline_ocpu_utilization of this CreateDesktopPoolShapeConfigDetails.
Return type:str
memory_in_gbs

Gets the memory_in_gbs of this CreateDesktopPoolShapeConfigDetails. The total amount of memory available in gigabytes for each desktop compute instance in the desktop pool.

Returns:The memory_in_gbs of this CreateDesktopPoolShapeConfigDetails.
Return type:int
ocpus

Gets the ocpus of this CreateDesktopPoolShapeConfigDetails. The total number of OCPUs available for each desktop compute instance in the desktop pool.

Returns:The ocpus of this CreateDesktopPoolShapeConfigDetails.
Return type:int