oci logo
Oracle Cloud Infrastructure v0.13.0, Mar 28 23

oci.Ocvp.getExsiHost

This data source provides details about a specific Esxi Host resource in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service.

Gets the specified ESXi host’s information.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testEsxiHost = Oci.Ocvp.GetExsiHost.Invoke(new()
    {
        EsxiHostId = oci_ocvp_esxi_host.Test_esxi_host.Id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Ocvp"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ocvp.GetExsiHost(ctx, &ocvp.GetExsiHostArgs{
			EsxiHostId: oci_ocvp_esxi_host.Test_esxi_host.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Ocvp.OcvpFunctions;
import com.pulumi.oci.Ocvp.inputs.GetExsiHostArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var testEsxiHost = OcvpFunctions.getExsiHost(GetExsiHostArgs.builder()
            .esxiHostId(oci_ocvp_esxi_host.test_esxi_host().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_esxi_host = oci.Ocvp.get_exsi_host(esxi_host_id=oci_ocvp_esxi_host["test_esxi_host"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testEsxiHost = oci.Ocvp.getExsiHost({
    esxiHostId: oci_ocvp_esxi_host.test_esxi_host.id,
});
variables:
  testEsxiHost:
    fn::invoke:
      Function: oci:Ocvp:getExsiHost
      Arguments:
        esxiHostId: ${oci_ocvp_esxi_host.test_esxi_host.id}

Using getExsiHost

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getExsiHost(args: GetExsiHostArgs, opts?: InvokeOptions): Promise<GetExsiHostResult>
function getExsiHostOutput(args: GetExsiHostOutputArgs, opts?: InvokeOptions): Output<GetExsiHostResult>
def get_exsi_host(esxi_host_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetExsiHostResult
def get_exsi_host_output(esxi_host_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetExsiHostResult]
func GetExsiHost(ctx *Context, args *GetExsiHostArgs, opts ...InvokeOption) (*GetExsiHostResult, error)
func GetExsiHostOutput(ctx *Context, args *GetExsiHostOutputArgs, opts ...InvokeOption) GetExsiHostResultOutput

> Note: This function is named GetExsiHost in the Go SDK.

public static class GetExsiHost 
{
    public static Task<GetExsiHostResult> InvokeAsync(GetExsiHostArgs args, InvokeOptions? opts = null)
    public static Output<GetExsiHostResult> Invoke(GetExsiHostInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetExsiHostResult> getExsiHost(GetExsiHostArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:Ocvp/getExsiHost:getExsiHost
  arguments:
    # arguments dictionary

The following arguments are supported:

EsxiHostId string

The OCID of the ESXi host.

EsxiHostId string

The OCID of the ESXi host.

esxiHostId String

The OCID of the ESXi host.

esxiHostId string

The OCID of the ESXi host.

esxi_host_id str

The OCID of the ESXi host.

esxiHostId String

The OCID of the ESXi host.

getExsiHost Result

The following output properties are available:

BillingContractEndDate string

Current billing cycle end date. If the value in currentSku and nextSku are different, the value specified in nextSku becomes the new currentSKU when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z

CapacityReservationId string

The OCID of the Capacity Reservation.

CompartmentId string

The OCID of the compartment that contains the SDDC.

ComputeAvailabilityDomain string

The availability domain of the ESXi host.

ComputeInstanceId string

In terms of implementation, an ESXi host is a Compute instance that is configured with the chosen bundle of VMware software. The computeInstanceId is the OCID of that Compute instance.

CurrentSku string

The billing option currently used by the ESXi host. ListSupportedSkus.

DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information.

EsxiHostId string
FailedEsxiHostId string

The OCID of the esxi host that is failed.

FreeformTags Dictionary<string, object>

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"}

GracePeriodEndDate string

The date and time when the new esxi host should start billing cycle. RFC3339. Example: 2021-07-25T21:10:29.600Z

HostOcpuCount double

The OCPU count of the ESXi host.

HostShapeName string

The compute shape name of the ESXi host. ListSupportedHostShapes.

Id string

The OCID of the ESXi host.

NextSku string

The billing option to switch to after the current billing cycle ends. If nextSku is null or empty, currentSku continues to the next billing cycle. ListSupportedSkus.

NonUpgradedEsxiHostId string

The OCID of the ESXi host that will be upgraded.

ReplacementEsxiHostId string

The OCID of the esxi host that is newly created to replace the failed node.

SddcId string

The OCID of the SDDC that the ESXi host belongs to.

State string

The current state of the ESXi host.

TimeCreated string

The date and time the ESXi host was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

TimeUpdated string

The date and time the ESXi host was updated, in the format defined by RFC3339.

UpgradedReplacementEsxiHostId string

The OCID of the ESXi host that is newly created to upgrade the original host.

VmwareSoftwareVersion string

The version of VMware software that the Oracle Cloud VMware Solution installed on the ESXi hosts.

BillingContractEndDate string

Current billing cycle end date. If the value in currentSku and nextSku are different, the value specified in nextSku becomes the new currentSKU when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z

CapacityReservationId string

The OCID of the Capacity Reservation.

CompartmentId string

The OCID of the compartment that contains the SDDC.

ComputeAvailabilityDomain string

The availability domain of the ESXi host.

ComputeInstanceId string

In terms of implementation, an ESXi host is a Compute instance that is configured with the chosen bundle of VMware software. The computeInstanceId is the OCID of that Compute instance.

CurrentSku string

The billing option currently used by the ESXi host. ListSupportedSkus.

DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information.

EsxiHostId string
FailedEsxiHostId string

The OCID of the esxi host that is failed.

FreeformTags map[string]interface{}

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"}

GracePeriodEndDate string

The date and time when the new esxi host should start billing cycle. RFC3339. Example: 2021-07-25T21:10:29.600Z

HostOcpuCount float64

The OCPU count of the ESXi host.

HostShapeName string

The compute shape name of the ESXi host. ListSupportedHostShapes.

Id string

The OCID of the ESXi host.

NextSku string

The billing option to switch to after the current billing cycle ends. If nextSku is null or empty, currentSku continues to the next billing cycle. ListSupportedSkus.

NonUpgradedEsxiHostId string

The OCID of the ESXi host that will be upgraded.

ReplacementEsxiHostId string

The OCID of the esxi host that is newly created to replace the failed node.

SddcId string

The OCID of the SDDC that the ESXi host belongs to.

State string

The current state of the ESXi host.

TimeCreated string

The date and time the ESXi host was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

TimeUpdated string

The date and time the ESXi host was updated, in the format defined by RFC3339.

UpgradedReplacementEsxiHostId string

The OCID of the ESXi host that is newly created to upgrade the original host.

VmwareSoftwareVersion string

The version of VMware software that the Oracle Cloud VMware Solution installed on the ESXi hosts.

billingContractEndDate String

Current billing cycle end date. If the value in currentSku and nextSku are different, the value specified in nextSku becomes the new currentSKU when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z

capacityReservationId String

The OCID of the Capacity Reservation.

compartmentId String

The OCID of the compartment that contains the SDDC.

computeAvailabilityDomain String

The availability domain of the ESXi host.

computeInstanceId String

In terms of implementation, an ESXi host is a Compute instance that is configured with the chosen bundle of VMware software. The computeInstanceId is the OCID of that Compute instance.

currentSku String

The billing option currently used by the ESXi host. ListSupportedSkus.

definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information.

esxiHostId String
failedEsxiHostId String

The OCID of the esxi host that is failed.

freeformTags Map<String,Object>

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"}

gracePeriodEndDate String

The date and time when the new esxi host should start billing cycle. RFC3339. Example: 2021-07-25T21:10:29.600Z

hostOcpuCount Double

The OCPU count of the ESXi host.

hostShapeName String

The compute shape name of the ESXi host. ListSupportedHostShapes.

id String

The OCID of the ESXi host.

nextSku String

The billing option to switch to after the current billing cycle ends. If nextSku is null or empty, currentSku continues to the next billing cycle. ListSupportedSkus.

nonUpgradedEsxiHostId String

The OCID of the ESXi host that will be upgraded.

replacementEsxiHostId String

The OCID of the esxi host that is newly created to replace the failed node.

sddcId String

The OCID of the SDDC that the ESXi host belongs to.

state String

The current state of the ESXi host.

timeCreated String

The date and time the ESXi host was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

timeUpdated String

The date and time the ESXi host was updated, in the format defined by RFC3339.

upgradedReplacementEsxiHostId String

The OCID of the ESXi host that is newly created to upgrade the original host.

vmwareSoftwareVersion String

The version of VMware software that the Oracle Cloud VMware Solution installed on the ESXi hosts.

billingContractEndDate string

Current billing cycle end date. If the value in currentSku and nextSku are different, the value specified in nextSku becomes the new currentSKU when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z

capacityReservationId string

The OCID of the Capacity Reservation.

compartmentId string

The OCID of the compartment that contains the SDDC.

computeAvailabilityDomain string

The availability domain of the ESXi host.

computeInstanceId string

In terms of implementation, an ESXi host is a Compute instance that is configured with the chosen bundle of VMware software. The computeInstanceId is the OCID of that Compute instance.

currentSku string

The billing option currently used by the ESXi host. ListSupportedSkus.

definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName string

A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information.

esxiHostId string
failedEsxiHostId string

The OCID of the esxi host that is failed.

freeformTags {[key: string]: any}

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"}

gracePeriodEndDate string

The date and time when the new esxi host should start billing cycle. RFC3339. Example: 2021-07-25T21:10:29.600Z

hostOcpuCount number

The OCPU count of the ESXi host.

hostShapeName string

The compute shape name of the ESXi host. ListSupportedHostShapes.

id string

The OCID of the ESXi host.

nextSku string

The billing option to switch to after the current billing cycle ends. If nextSku is null or empty, currentSku continues to the next billing cycle. ListSupportedSkus.

nonUpgradedEsxiHostId string

The OCID of the ESXi host that will be upgraded.

replacementEsxiHostId string

The OCID of the esxi host that is newly created to replace the failed node.

sddcId string

The OCID of the SDDC that the ESXi host belongs to.

state string

The current state of the ESXi host.

timeCreated string

The date and time the ESXi host was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

timeUpdated string

The date and time the ESXi host was updated, in the format defined by RFC3339.

upgradedReplacementEsxiHostId string

The OCID of the ESXi host that is newly created to upgrade the original host.

vmwareSoftwareVersion string

The version of VMware software that the Oracle Cloud VMware Solution installed on the ESXi hosts.

billing_contract_end_date str

Current billing cycle end date. If the value in currentSku and nextSku are different, the value specified in nextSku becomes the new currentSKU when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z

capacity_reservation_id str

The OCID of the Capacity Reservation.

compartment_id str

The OCID of the compartment that contains the SDDC.

compute_availability_domain str

The availability domain of the ESXi host.

compute_instance_id str

In terms of implementation, an ESXi host is a Compute instance that is configured with the chosen bundle of VMware software. The computeInstanceId is the OCID of that Compute instance.

current_sku str

The billing option currently used by the ESXi host. ListSupportedSkus.

defined_tags Mapping[str, Any]

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

display_name str

A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information.

esxi_host_id str
failed_esxi_host_id str

The OCID of the esxi host that is failed.

freeform_tags Mapping[str, Any]

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"}

grace_period_end_date str

The date and time when the new esxi host should start billing cycle. RFC3339. Example: 2021-07-25T21:10:29.600Z

host_ocpu_count float

The OCPU count of the ESXi host.

host_shape_name str

The compute shape name of the ESXi host. ListSupportedHostShapes.

id str

The OCID of the ESXi host.

next_sku str

The billing option to switch to after the current billing cycle ends. If nextSku is null or empty, currentSku continues to the next billing cycle. ListSupportedSkus.

non_upgraded_esxi_host_id str

The OCID of the ESXi host that will be upgraded.

replacement_esxi_host_id str

The OCID of the esxi host that is newly created to replace the failed node.

sddc_id str

The OCID of the SDDC that the ESXi host belongs to.

state str

The current state of the ESXi host.

time_created str

The date and time the ESXi host was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

time_updated str

The date and time the ESXi host was updated, in the format defined by RFC3339.

upgraded_replacement_esxi_host_id str

The OCID of the ESXi host that is newly created to upgrade the original host.

vmware_software_version str

The version of VMware software that the Oracle Cloud VMware Solution installed on the ESXi hosts.

billingContractEndDate String

Current billing cycle end date. If the value in currentSku and nextSku are different, the value specified in nextSku becomes the new currentSKU when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z

capacityReservationId String

The OCID of the Capacity Reservation.

compartmentId String

The OCID of the compartment that contains the SDDC.

computeAvailabilityDomain String

The availability domain of the ESXi host.

computeInstanceId String

In terms of implementation, an ESXi host is a Compute instance that is configured with the chosen bundle of VMware software. The computeInstanceId is the OCID of that Compute instance.

currentSku String

The billing option currently used by the ESXi host. ListSupportedSkus.

definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information.

esxiHostId String
failedEsxiHostId String

The OCID of the esxi host that is failed.

freeformTags Map<Any>

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"}

gracePeriodEndDate String

The date and time when the new esxi host should start billing cycle. RFC3339. Example: 2021-07-25T21:10:29.600Z

hostOcpuCount Number

The OCPU count of the ESXi host.

hostShapeName String

The compute shape name of the ESXi host. ListSupportedHostShapes.

id String

The OCID of the ESXi host.

nextSku String

The billing option to switch to after the current billing cycle ends. If nextSku is null or empty, currentSku continues to the next billing cycle. ListSupportedSkus.

nonUpgradedEsxiHostId String

The OCID of the ESXi host that will be upgraded.

replacementEsxiHostId String

The OCID of the esxi host that is newly created to replace the failed node.

sddcId String

The OCID of the SDDC that the ESXi host belongs to.

state String

The current state of the ESXi host.

timeCreated String

The date and time the ESXi host was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

timeUpdated String

The date and time the ESXi host was updated, in the format defined by RFC3339.

upgradedReplacementEsxiHostId String

The OCID of the ESXi host that is newly created to upgrade the original host.

vmwareSoftwareVersion String

The version of VMware software that the Oracle Cloud VMware Solution installed on the ESXi hosts.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.