CreateDedicatedVmHostDetails

class oci.core.models.CreateDedicatedVmHostDetails(**kwargs)

Bases: object

The details for creating a new dedicated virtual machine host.

__init__(**kwargs)

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

Parameters:
  • availability_domain (str) -- The value to assign to the availability_domain property of this CreateDedicatedVmHostDetails.
  • compartment_id (str) -- The value to assign to the compartment_id property of this CreateDedicatedVmHostDetails.
  • dedicated_vm_host_shape (str) -- The value to assign to the dedicated_vm_host_shape property of this CreateDedicatedVmHostDetails.
  • defined_tags (dict(str, dict(str, object))) -- The value to assign to the defined_tags property of this CreateDedicatedVmHostDetails.
  • display_name (str) -- The value to assign to the display_name property of this CreateDedicatedVmHostDetails.
  • fault_domain (str) -- The value to assign to the fault_domain property of this CreateDedicatedVmHostDetails.
  • freeform_tags (dict(str, str)) -- The value to assign to the freeform_tags property of this CreateDedicatedVmHostDetails.
availability_domain

[Required] Gets the availability_domain of this CreateDedicatedVmHostDetails. The availability domain of the dedicated virtual machine host.

Example: Uocm:PHX-AD-1

Returns:The availability_domain of this CreateDedicatedVmHostDetails.
Return type:str
compartment_id

[Required] Gets the compartment_id of this CreateDedicatedVmHostDetails. The OCID of the compartment.

Returns:The compartment_id of this CreateDedicatedVmHostDetails.
Return type:str
dedicated_vm_host_shape

[Required] Gets the dedicated_vm_host_shape of this CreateDedicatedVmHostDetails. The dedicated virtual machine host shape. The shape determines the number of CPUs and other resources available for VM instances launched on the dedicated virtual machine host.

Returns:The dedicated_vm_host_shape of this CreateDedicatedVmHostDetails.
Return type:str
defined_tags

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

Gets the display_name of this CreateDedicatedVmHostDetails. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Example: My dedicated VM host

Returns:The display_name of this CreateDedicatedVmHostDetails.
Return type:str
fault_domain

Gets the fault_domain of this CreateDedicatedVmHostDetails. The fault domain for the dedicated virtual machine host's assigned instances. For more information, see Fault Domains. If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host, delete it and create a new dedicated virtual machine host in the preferred fault domain.

To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

Example: FAULT-DOMAIN-1

Returns:The fault_domain of this CreateDedicatedVmHostDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateDedicatedVmHostDetails. 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 CreateDedicatedVmHostDetails.
Return type:dict(str, str)