Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

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 Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testEsxiHost = Output.Create(Oci.Ocvp.GetExsiHost.InvokeAsync(new Oci.Ocvp.GetExsiHostArgs
        {
            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
	})
}

Coming soon!

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,
});

Coming soon!

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

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

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.

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.

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

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

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.

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.

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

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

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.

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.

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

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

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.

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.

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

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

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.

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.

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

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

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.

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.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.