ReplaceHostDetails¶
- class oci.ocvp.models.ReplaceHostDetails(**kwargs)¶
Bases:
objectThe details for replacing ESXi host.
Attributes:
A constant which can be used with the initial_fault_domain_host_distribution property of a ReplaceHostDetails.
A constant which can be used with the initial_fault_domain_host_distribution property of a ReplaceHostDetails.
Gets the capacity_reservation_id of this ReplaceHostDetails.
Gets the esxi_software_version of this ReplaceHostDetails.
Gets the initial_fault_domain_host_distribution of this ReplaceHostDetails.
Gets the vcf_byol_allocation_id of this ReplaceHostDetails.
Methods:
__init__(**kwargs)Initializes a new ReplaceHostDetails object with values from keyword arguments.
- INITIAL_FAULT_DOMAIN_HOST_DISTRIBUTION_EVENLY_DISTRIBUTED = 'EVENLY_DISTRIBUTED'¶
A constant which can be used with the initial_fault_domain_host_distribution property of a ReplaceHostDetails. This constant has a value of “EVENLY_DISTRIBUTED”
- INITIAL_FAULT_DOMAIN_HOST_DISTRIBUTION_UNEVENLY_DISTRIBUTED = 'UNEVENLY_DISTRIBUTED'¶
A constant which can be used with the initial_fault_domain_host_distribution property of a ReplaceHostDetails. This constant has a value of “UNEVENLY_DISTRIBUTED”
- __init__(**kwargs)¶
Initializes a new ReplaceHostDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
esxi_software_version (str) – The value to assign to the esxi_software_version property of this ReplaceHostDetails.
capacity_reservation_id (str) – The value to assign to the capacity_reservation_id property of this ReplaceHostDetails.
initial_fault_domain_host_distribution (str) – The value to assign to the initial_fault_domain_host_distribution property of this ReplaceHostDetails. Allowed values for this property are: “EVENLY_DISTRIBUTED”, “UNEVENLY_DISTRIBUTED”
vcf_byol_allocation_id (str) – The value to assign to the vcf_byol_allocation_id property of this ReplaceHostDetails.
- property capacity_reservation_id¶
Gets the capacity_reservation_id of this ReplaceHostDetails. The OCID of the Capacity Reservation.
- Returns
The capacity_reservation_id of this ReplaceHostDetails.
- Return type
str
- property esxi_software_version¶
Gets the esxi_software_version of this ReplaceHostDetails. The ESXi software bundle to install on the ESXi host. Only versions under the same vmwareSoftwareVersion and have been validate by Oracle Cloud VMware Solution will be accepted. To get a list of the available versions, use
list_supported_vmware_software_versions().- Returns
The esxi_software_version of this ReplaceHostDetails.
- Return type
str
- property initial_fault_domain_host_distribution¶
Gets the initial_fault_domain_host_distribution of this ReplaceHostDetails. Initial Fault Domain Host distribution mode for the ESXi host.
Allowed values for this property are: “EVENLY_DISTRIBUTED”, “UNEVENLY_DISTRIBUTED”
- Returns
The initial_fault_domain_host_distribution of this ReplaceHostDetails.
- Return type
str