1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Ocvp
  5. getExsiHosts
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.Ocvp.getExsiHosts

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This data source provides the list of Esxi Hosts in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service.

    Lists the ESXi hosts in the specified SDDC. The list can be filtered by Compute instance OCID or ESXi display name.

    Remember that in terms of implementation, an ESXi host is a Compute instance that is configured with the chosen bundle of VMware software. Each EsxiHost object has its own OCID (id), and a separate attribute for the OCID of the Compute instance (computeInstanceId). When filtering the list of ESXi hosts, you can specify the OCID of the Compute instance, not the ESXi host OCID.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testEsxiHosts = oci.Ocvp.getExsiHosts({
        clusterId: testCluster.id,
        compartmentId: compartmentId,
        computeInstanceId: testInstance.id,
        displayName: esxiHostDisplayName,
        isBillingDonorsOnly: esxiHostIsBillingDonorsOnly,
        isSwapBillingOnly: esxiHostIsSwapBillingOnly,
        sddcId: testSddc.id,
        state: esxiHostState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_esxi_hosts = oci.Ocvp.get_exsi_hosts(cluster_id=test_cluster["id"],
        compartment_id=compartment_id,
        compute_instance_id=test_instance["id"],
        display_name=esxi_host_display_name,
        is_billing_donors_only=esxi_host_is_billing_donors_only,
        is_swap_billing_only=esxi_host_is_swap_billing_only,
        sddc_id=test_sddc["id"],
        state=esxi_host_state)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Ocvp"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Ocvp.GetExsiHosts(ctx, &ocvp.GetExsiHostsArgs{
    			ClusterId:           pulumi.StringRef(testCluster.Id),
    			CompartmentId:       pulumi.StringRef(compartmentId),
    			ComputeInstanceId:   pulumi.StringRef(testInstance.Id),
    			DisplayName:         pulumi.StringRef(esxiHostDisplayName),
    			IsBillingDonorsOnly: pulumi.BoolRef(esxiHostIsBillingDonorsOnly),
    			IsSwapBillingOnly:   pulumi.BoolRef(esxiHostIsSwapBillingOnly),
    			SddcId:              pulumi.StringRef(testSddc.Id),
    			State:               pulumi.StringRef(esxiHostState),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testEsxiHosts = Oci.Ocvp.GetExsiHosts.Invoke(new()
        {
            ClusterId = testCluster.Id,
            CompartmentId = compartmentId,
            ComputeInstanceId = testInstance.Id,
            DisplayName = esxiHostDisplayName,
            IsBillingDonorsOnly = esxiHostIsBillingDonorsOnly,
            IsSwapBillingOnly = esxiHostIsSwapBillingOnly,
            SddcId = testSddc.Id,
            State = esxiHostState,
        });
    
    });
    
    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.GetExsiHostsArgs;
    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 testEsxiHosts = OcvpFunctions.getExsiHosts(GetExsiHostsArgs.builder()
                .clusterId(testCluster.id())
                .compartmentId(compartmentId)
                .computeInstanceId(testInstance.id())
                .displayName(esxiHostDisplayName)
                .isBillingDonorsOnly(esxiHostIsBillingDonorsOnly)
                .isSwapBillingOnly(esxiHostIsSwapBillingOnly)
                .sddcId(testSddc.id())
                .state(esxiHostState)
                .build());
    
        }
    }
    
    variables:
      testEsxiHosts:
        fn::invoke:
          Function: oci:Ocvp:getExsiHosts
          Arguments:
            clusterId: ${testCluster.id}
            compartmentId: ${compartmentId}
            computeInstanceId: ${testInstance.id}
            displayName: ${esxiHostDisplayName}
            isBillingDonorsOnly: ${esxiHostIsBillingDonorsOnly}
            isSwapBillingOnly: ${esxiHostIsSwapBillingOnly}
            sddcId: ${testSddc.id}
            state: ${esxiHostState}
    

    Using getExsiHosts

    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 getExsiHosts(args: GetExsiHostsArgs, opts?: InvokeOptions): Promise<GetExsiHostsResult>
    function getExsiHostsOutput(args: GetExsiHostsOutputArgs, opts?: InvokeOptions): Output<GetExsiHostsResult>
    def get_exsi_hosts(cluster_id: Optional[str] = None,
                       compartment_id: Optional[str] = None,
                       compute_instance_id: Optional[str] = None,
                       display_name: Optional[str] = None,
                       filters: Optional[Sequence[_ocvp.GetExsiHostsFilter]] = None,
                       is_billing_donors_only: Optional[bool] = None,
                       is_swap_billing_only: Optional[bool] = None,
                       sddc_id: Optional[str] = None,
                       state: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetExsiHostsResult
    def get_exsi_hosts_output(cluster_id: Optional[pulumi.Input[str]] = None,
                       compartment_id: Optional[pulumi.Input[str]] = None,
                       compute_instance_id: Optional[pulumi.Input[str]] = None,
                       display_name: Optional[pulumi.Input[str]] = None,
                       filters: Optional[pulumi.Input[Sequence[pulumi.Input[_ocvp.GetExsiHostsFilterArgs]]]] = None,
                       is_billing_donors_only: Optional[pulumi.Input[bool]] = None,
                       is_swap_billing_only: Optional[pulumi.Input[bool]] = None,
                       sddc_id: Optional[pulumi.Input[str]] = None,
                       state: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetExsiHostsResult]
    func GetExsiHosts(ctx *Context, args *GetExsiHostsArgs, opts ...InvokeOption) (*GetExsiHostsResult, error)
    func GetExsiHostsOutput(ctx *Context, args *GetExsiHostsOutputArgs, opts ...InvokeOption) GetExsiHostsResultOutput

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

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

    The following arguments are supported:

    ClusterId string
    The OCID of the SDDC Cluster.
    CompartmentId string
    The OCID of the compartment as optional parameter.
    ComputeInstanceId string
    The OCID of the Compute instance.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters List<GetExsiHostsFilter>
    IsBillingDonorsOnly bool
    If this flag/param is set to True, we return only deleted hosts with LeftOver billingCycle.
    IsSwapBillingOnly bool
    If this flag/param is set to True, we return only active hosts.
    SddcId string
    The OCID of the SDDC.
    State string
    The lifecycle state of the resource.
    ClusterId string
    The OCID of the SDDC Cluster.
    CompartmentId string
    The OCID of the compartment as optional parameter.
    ComputeInstanceId string
    The OCID of the Compute instance.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters []GetExsiHostsFilter
    IsBillingDonorsOnly bool
    If this flag/param is set to True, we return only deleted hosts with LeftOver billingCycle.
    IsSwapBillingOnly bool
    If this flag/param is set to True, we return only active hosts.
    SddcId string
    The OCID of the SDDC.
    State string
    The lifecycle state of the resource.
    clusterId String
    The OCID of the SDDC Cluster.
    compartmentId String
    The OCID of the compartment as optional parameter.
    computeInstanceId String
    The OCID of the Compute instance.
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<GetExsiHostsFilter>
    isBillingDonorsOnly Boolean
    If this flag/param is set to True, we return only deleted hosts with LeftOver billingCycle.
    isSwapBillingOnly Boolean
    If this flag/param is set to True, we return only active hosts.
    sddcId String
    The OCID of the SDDC.
    state String
    The lifecycle state of the resource.
    clusterId string
    The OCID of the SDDC Cluster.
    compartmentId string
    The OCID of the compartment as optional parameter.
    computeInstanceId string
    The OCID of the Compute instance.
    displayName string
    A filter to return only resources that match the given display name exactly.
    filters GetExsiHostsFilter[]
    isBillingDonorsOnly boolean
    If this flag/param is set to True, we return only deleted hosts with LeftOver billingCycle.
    isSwapBillingOnly boolean
    If this flag/param is set to True, we return only active hosts.
    sddcId string
    The OCID of the SDDC.
    state string
    The lifecycle state of the resource.
    cluster_id str
    The OCID of the SDDC Cluster.
    compartment_id str
    The OCID of the compartment as optional parameter.
    compute_instance_id str
    The OCID of the Compute instance.
    display_name str
    A filter to return only resources that match the given display name exactly.
    filters Sequence[ocvp.GetExsiHostsFilter]
    is_billing_donors_only bool
    If this flag/param is set to True, we return only deleted hosts with LeftOver billingCycle.
    is_swap_billing_only bool
    If this flag/param is set to True, we return only active hosts.
    sddc_id str
    The OCID of the SDDC.
    state str
    The lifecycle state of the resource.
    clusterId String
    The OCID of the SDDC Cluster.
    compartmentId String
    The OCID of the compartment as optional parameter.
    computeInstanceId String
    The OCID of the Compute instance.
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<Property Map>
    isBillingDonorsOnly Boolean
    If this flag/param is set to True, we return only deleted hosts with LeftOver billingCycle.
    isSwapBillingOnly Boolean
    If this flag/param is set to True, we return only active hosts.
    sddcId String
    The OCID of the SDDC.
    state String
    The lifecycle state of the resource.

    getExsiHosts Result

    The following output properties are available:

    EsxiHostCollections List<GetExsiHostsEsxiHostCollection>
    The list of esxi_host_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    ClusterId string
    The OCID of the Cluster that the ESXi host belongs to.
    CompartmentId string
    The OCID of the compartment that contains the Cluster.
    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.
    DisplayName string
    A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    Filters List<GetExsiHostsFilter>
    IsBillingDonorsOnly bool
    IsSwapBillingOnly bool
    SddcId string
    The OCID of the SDDC that the ESXi host belongs to.
    State string
    The current state of the ESXi host.
    EsxiHostCollections []GetExsiHostsEsxiHostCollection
    The list of esxi_host_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    ClusterId string
    The OCID of the Cluster that the ESXi host belongs to.
    CompartmentId string
    The OCID of the compartment that contains the Cluster.
    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.
    DisplayName string
    A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    Filters []GetExsiHostsFilter
    IsBillingDonorsOnly bool
    IsSwapBillingOnly bool
    SddcId string
    The OCID of the SDDC that the ESXi host belongs to.
    State string
    The current state of the ESXi host.
    esxiHostCollections List<GetExsiHostsEsxiHostCollection>
    The list of esxi_host_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    clusterId String
    The OCID of the Cluster that the ESXi host belongs to.
    compartmentId String
    The OCID of the compartment that contains the Cluster.
    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.
    displayName String
    A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters List<GetExsiHostsFilter>
    isBillingDonorsOnly Boolean
    isSwapBillingOnly Boolean
    sddcId String
    The OCID of the SDDC that the ESXi host belongs to.
    state String
    The current state of the ESXi host.
    esxiHostCollections GetExsiHostsEsxiHostCollection[]
    The list of esxi_host_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    clusterId string
    The OCID of the Cluster that the ESXi host belongs to.
    compartmentId string
    The OCID of the compartment that contains the Cluster.
    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.
    displayName string
    A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters GetExsiHostsFilter[]
    isBillingDonorsOnly boolean
    isSwapBillingOnly boolean
    sddcId string
    The OCID of the SDDC that the ESXi host belongs to.
    state string
    The current state of the ESXi host.
    esxi_host_collections Sequence[ocvp.GetExsiHostsEsxiHostCollection]
    The list of esxi_host_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    cluster_id str
    The OCID of the Cluster that the ESXi host belongs to.
    compartment_id str
    The OCID of the compartment that contains the Cluster.
    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.
    display_name str
    A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters Sequence[ocvp.GetExsiHostsFilter]
    is_billing_donors_only bool
    is_swap_billing_only bool
    sddc_id str
    The OCID of the SDDC that the ESXi host belongs to.
    state str
    The current state of the ESXi host.
    esxiHostCollections List<Property Map>
    The list of esxi_host_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    clusterId String
    The OCID of the Cluster that the ESXi host belongs to.
    compartmentId String
    The OCID of the compartment that contains the Cluster.
    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.
    displayName String
    A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters List<Property Map>
    isBillingDonorsOnly Boolean
    isSwapBillingOnly Boolean
    sddcId String
    The OCID of the SDDC that the ESXi host belongs to.
    state String
    The current state of the ESXi host.

    Supporting Types

    GetExsiHostsEsxiHostCollection

    BillingContractEndDate string
    Current billing cycle end date. If the value in currentCommitment and nextCommitment are different, the value specified in nextCommitment becomes the new currentCommitment when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z
    BillingDonorHostId string
    The OCID of the deleted ESXi Host with LeftOver billing cycle.

    Deprecated: This 'billing_donor_host_id' argument has been deprecated and will be computed only.

    CapacityReservationId string
    The OCID of the Capacity Reservation.
    ClusterId string
    The OCID of the SDDC Cluster.
    CompartmentId string
    The OCID of the compartment as optional parameter.
    ComputeAvailabilityDomain string
    The availability domain of the ESXi host.
    ComputeInstanceId string
    The OCID of the Compute instance.
    CurrentCommitment string
    The billing option currently used by the ESXi host. ListSupportedCommitments.
    CurrentSku string
    (Deprecated) The billing option currently used by the ESXi host. ListSupportedSkus. Deprecated. Please use current_commitment instead.

    Deprecated: The 'current_sku' field has been deprecated. It is no longer supported.

    DefinedTags Dictionary<string, string>
    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 filter to return only resources that match the given display name exactly.
    EsxiSoftwareVersion string
    The version of ESXi software that Oracle Cloud VMware Solution installed on the ESXi hosts.
    FailedEsxiHostId string
    The OCID of the ESXi host that failed.

    Deprecated: This 'failed_esxi_host_id' argument has been deprecated and will be computed only.

    FreeformTags Dictionary<string, string>
    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.
    IsBillingContinuationInProgress bool
    Indicates whether this host is in the progress of billing continuation.
    IsBillingSwappingInProgress bool
    Indicates whether this host is in the progress of swapping billing.
    NextCommitment string
    The billing option to switch to after the current billing cycle ends. If nextCommitment is null or empty, currentCommitment continues to the next billing cycle. ListSupportedCommitments.
    NextSku string
    (Deprecated) 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. Deprecated. Please use next_commitment instead.

    Deprecated: The 'next_sku' field has been deprecated. It is no longer supported.

    NonUpgradedEsxiHostId string
    The OCID of the ESXi host that will be upgraded.

    Deprecated: This 'non_upgraded_esxi_host_id' argument has been deprecated and will be computed only.

    ReplacementEsxiHostId string
    The OCID of the esxi host that is newly created to replace the failed node.
    SddcId string
    The OCID of the SDDC.

    Deprecated: The 'sddc_id' field has been deprecated. Please use 'cluster_id' instead.

    State string
    The lifecycle state of the resource.
    SwapBillingHostId string
    The OCID of the active ESXi Host to swap billing with current 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 Oracle Cloud VMware Solution installed on the ESXi hosts.
    BillingContractEndDate string
    Current billing cycle end date. If the value in currentCommitment and nextCommitment are different, the value specified in nextCommitment becomes the new currentCommitment when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z
    BillingDonorHostId string
    The OCID of the deleted ESXi Host with LeftOver billing cycle.

    Deprecated: This 'billing_donor_host_id' argument has been deprecated and will be computed only.

    CapacityReservationId string
    The OCID of the Capacity Reservation.
    ClusterId string
    The OCID of the SDDC Cluster.
    CompartmentId string
    The OCID of the compartment as optional parameter.
    ComputeAvailabilityDomain string
    The availability domain of the ESXi host.
    ComputeInstanceId string
    The OCID of the Compute instance.
    CurrentCommitment string
    The billing option currently used by the ESXi host. ListSupportedCommitments.
    CurrentSku string
    (Deprecated) The billing option currently used by the ESXi host. ListSupportedSkus. Deprecated. Please use current_commitment instead.

    Deprecated: The 'current_sku' field has been deprecated. It is no longer supported.

    DefinedTags map[string]string
    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 filter to return only resources that match the given display name exactly.
    EsxiSoftwareVersion string
    The version of ESXi software that Oracle Cloud VMware Solution installed on the ESXi hosts.
    FailedEsxiHostId string
    The OCID of the ESXi host that failed.

    Deprecated: This 'failed_esxi_host_id' argument has been deprecated and will be computed only.

    FreeformTags map[string]string
    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.
    IsBillingContinuationInProgress bool
    Indicates whether this host is in the progress of billing continuation.
    IsBillingSwappingInProgress bool
    Indicates whether this host is in the progress of swapping billing.
    NextCommitment string
    The billing option to switch to after the current billing cycle ends. If nextCommitment is null or empty, currentCommitment continues to the next billing cycle. ListSupportedCommitments.
    NextSku string
    (Deprecated) 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. Deprecated. Please use next_commitment instead.

    Deprecated: The 'next_sku' field has been deprecated. It is no longer supported.

    NonUpgradedEsxiHostId string
    The OCID of the ESXi host that will be upgraded.

    Deprecated: This 'non_upgraded_esxi_host_id' argument has been deprecated and will be computed only.

    ReplacementEsxiHostId string
    The OCID of the esxi host that is newly created to replace the failed node.
    SddcId string
    The OCID of the SDDC.

    Deprecated: The 'sddc_id' field has been deprecated. Please use 'cluster_id' instead.

    State string
    The lifecycle state of the resource.
    SwapBillingHostId string
    The OCID of the active ESXi Host to swap billing with current 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 Oracle Cloud VMware Solution installed on the ESXi hosts.
    billingContractEndDate String
    Current billing cycle end date. If the value in currentCommitment and nextCommitment are different, the value specified in nextCommitment becomes the new currentCommitment when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z
    billingDonorHostId String
    The OCID of the deleted ESXi Host with LeftOver billing cycle.

    Deprecated: This 'billing_donor_host_id' argument has been deprecated and will be computed only.

    capacityReservationId String
    The OCID of the Capacity Reservation.
    clusterId String
    The OCID of the SDDC Cluster.
    compartmentId String
    The OCID of the compartment as optional parameter.
    computeAvailabilityDomain String
    The availability domain of the ESXi host.
    computeInstanceId String
    The OCID of the Compute instance.
    currentCommitment String
    The billing option currently used by the ESXi host. ListSupportedCommitments.
    currentSku String
    (Deprecated) The billing option currently used by the ESXi host. ListSupportedSkus. Deprecated. Please use current_commitment instead.

    Deprecated: The 'current_sku' field has been deprecated. It is no longer supported.

    definedTags Map<String,String>
    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 filter to return only resources that match the given display name exactly.
    esxiSoftwareVersion String
    The version of ESXi software that Oracle Cloud VMware Solution installed on the ESXi hosts.
    failedEsxiHostId String
    The OCID of the ESXi host that failed.

    Deprecated: This 'failed_esxi_host_id' argument has been deprecated and will be computed only.

    freeformTags Map<String,String>
    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.
    isBillingContinuationInProgress Boolean
    Indicates whether this host is in the progress of billing continuation.
    isBillingSwappingInProgress Boolean
    Indicates whether this host is in the progress of swapping billing.
    nextCommitment String
    The billing option to switch to after the current billing cycle ends. If nextCommitment is null or empty, currentCommitment continues to the next billing cycle. ListSupportedCommitments.
    nextSku String
    (Deprecated) 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. Deprecated. Please use next_commitment instead.

    Deprecated: The 'next_sku' field has been deprecated. It is no longer supported.

    nonUpgradedEsxiHostId String
    The OCID of the ESXi host that will be upgraded.

    Deprecated: This 'non_upgraded_esxi_host_id' argument has been deprecated and will be computed only.

    replacementEsxiHostId String
    The OCID of the esxi host that is newly created to replace the failed node.
    sddcId String
    The OCID of the SDDC.

    Deprecated: The 'sddc_id' field has been deprecated. Please use 'cluster_id' instead.

    state String
    The lifecycle state of the resource.
    swapBillingHostId String
    The OCID of the active ESXi Host to swap billing with current 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 Oracle Cloud VMware Solution installed on the ESXi hosts.
    billingContractEndDate string
    Current billing cycle end date. If the value in currentCommitment and nextCommitment are different, the value specified in nextCommitment becomes the new currentCommitment when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z
    billingDonorHostId string
    The OCID of the deleted ESXi Host with LeftOver billing cycle.

    Deprecated: This 'billing_donor_host_id' argument has been deprecated and will be computed only.

    capacityReservationId string
    The OCID of the Capacity Reservation.
    clusterId string
    The OCID of the SDDC Cluster.
    compartmentId string
    The OCID of the compartment as optional parameter.
    computeAvailabilityDomain string
    The availability domain of the ESXi host.
    computeInstanceId string
    The OCID of the Compute instance.
    currentCommitment string
    The billing option currently used by the ESXi host. ListSupportedCommitments.
    currentSku string
    (Deprecated) The billing option currently used by the ESXi host. ListSupportedSkus. Deprecated. Please use current_commitment instead.

    Deprecated: The 'current_sku' field has been deprecated. It is no longer supported.

    definedTags {[key: string]: string}
    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 filter to return only resources that match the given display name exactly.
    esxiSoftwareVersion string
    The version of ESXi software that Oracle Cloud VMware Solution installed on the ESXi hosts.
    failedEsxiHostId string
    The OCID of the ESXi host that failed.

    Deprecated: This 'failed_esxi_host_id' argument has been deprecated and will be computed only.

    freeformTags {[key: string]: string}
    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.
    isBillingContinuationInProgress boolean
    Indicates whether this host is in the progress of billing continuation.
    isBillingSwappingInProgress boolean
    Indicates whether this host is in the progress of swapping billing.
    nextCommitment string
    The billing option to switch to after the current billing cycle ends. If nextCommitment is null or empty, currentCommitment continues to the next billing cycle. ListSupportedCommitments.
    nextSku string
    (Deprecated) 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. Deprecated. Please use next_commitment instead.

    Deprecated: The 'next_sku' field has been deprecated. It is no longer supported.

    nonUpgradedEsxiHostId string
    The OCID of the ESXi host that will be upgraded.

    Deprecated: This 'non_upgraded_esxi_host_id' argument has been deprecated and will be computed only.

    replacementEsxiHostId string
    The OCID of the esxi host that is newly created to replace the failed node.
    sddcId string
    The OCID of the SDDC.

    Deprecated: The 'sddc_id' field has been deprecated. Please use 'cluster_id' instead.

    state string
    The lifecycle state of the resource.
    swapBillingHostId string
    The OCID of the active ESXi Host to swap billing with current 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 Oracle Cloud VMware Solution installed on the ESXi hosts.
    billing_contract_end_date str
    Current billing cycle end date. If the value in currentCommitment and nextCommitment are different, the value specified in nextCommitment becomes the new currentCommitment when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z
    billing_donor_host_id str
    The OCID of the deleted ESXi Host with LeftOver billing cycle.

    Deprecated: This 'billing_donor_host_id' argument has been deprecated and will be computed only.

    capacity_reservation_id str
    The OCID of the Capacity Reservation.
    cluster_id str
    The OCID of the SDDC Cluster.
    compartment_id str
    The OCID of the compartment as optional parameter.
    compute_availability_domain str
    The availability domain of the ESXi host.
    compute_instance_id str
    The OCID of the Compute instance.
    current_commitment str
    The billing option currently used by the ESXi host. ListSupportedCommitments.
    current_sku str
    (Deprecated) The billing option currently used by the ESXi host. ListSupportedSkus. Deprecated. Please use current_commitment instead.

    Deprecated: The 'current_sku' field has been deprecated. It is no longer supported.

    defined_tags Mapping[str, str]
    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 filter to return only resources that match the given display name exactly.
    esxi_software_version str
    The version of ESXi software that Oracle Cloud VMware Solution installed on the ESXi hosts.
    failed_esxi_host_id str
    The OCID of the ESXi host that failed.

    Deprecated: This 'failed_esxi_host_id' argument has been deprecated and will be computed only.

    freeform_tags Mapping[str, str]
    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.
    is_billing_continuation_in_progress bool
    Indicates whether this host is in the progress of billing continuation.
    is_billing_swapping_in_progress bool
    Indicates whether this host is in the progress of swapping billing.
    next_commitment str
    The billing option to switch to after the current billing cycle ends. If nextCommitment is null or empty, currentCommitment continues to the next billing cycle. ListSupportedCommitments.
    next_sku str
    (Deprecated) 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. Deprecated. Please use next_commitment instead.

    Deprecated: The 'next_sku' field has been deprecated. It is no longer supported.

    non_upgraded_esxi_host_id str
    The OCID of the ESXi host that will be upgraded.

    Deprecated: This 'non_upgraded_esxi_host_id' argument has been deprecated and will be computed only.

    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.

    Deprecated: The 'sddc_id' field has been deprecated. Please use 'cluster_id' instead.

    state str
    The lifecycle state of the resource.
    swap_billing_host_id str
    The OCID of the active ESXi Host to swap billing with current 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 Oracle Cloud VMware Solution installed on the ESXi hosts.
    billingContractEndDate String
    Current billing cycle end date. If the value in currentCommitment and nextCommitment are different, the value specified in nextCommitment becomes the new currentCommitment when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z
    billingDonorHostId String
    The OCID of the deleted ESXi Host with LeftOver billing cycle.

    Deprecated: This 'billing_donor_host_id' argument has been deprecated and will be computed only.

    capacityReservationId String
    The OCID of the Capacity Reservation.
    clusterId String
    The OCID of the SDDC Cluster.
    compartmentId String
    The OCID of the compartment as optional parameter.
    computeAvailabilityDomain String
    The availability domain of the ESXi host.
    computeInstanceId String
    The OCID of the Compute instance.
    currentCommitment String
    The billing option currently used by the ESXi host. ListSupportedCommitments.
    currentSku String
    (Deprecated) The billing option currently used by the ESXi host. ListSupportedSkus. Deprecated. Please use current_commitment instead.

    Deprecated: The 'current_sku' field has been deprecated. It is no longer supported.

    definedTags Map<String>
    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 filter to return only resources that match the given display name exactly.
    esxiSoftwareVersion String
    The version of ESXi software that Oracle Cloud VMware Solution installed on the ESXi hosts.
    failedEsxiHostId String
    The OCID of the ESXi host that failed.

    Deprecated: This 'failed_esxi_host_id' argument has been deprecated and will be computed only.

    freeformTags Map<String>
    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.
    isBillingContinuationInProgress Boolean
    Indicates whether this host is in the progress of billing continuation.
    isBillingSwappingInProgress Boolean
    Indicates whether this host is in the progress of swapping billing.
    nextCommitment String
    The billing option to switch to after the current billing cycle ends. If nextCommitment is null or empty, currentCommitment continues to the next billing cycle. ListSupportedCommitments.
    nextSku String
    (Deprecated) 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. Deprecated. Please use next_commitment instead.

    Deprecated: The 'next_sku' field has been deprecated. It is no longer supported.

    nonUpgradedEsxiHostId String
    The OCID of the ESXi host that will be upgraded.

    Deprecated: This 'non_upgraded_esxi_host_id' argument has been deprecated and will be computed only.

    replacementEsxiHostId String
    The OCID of the esxi host that is newly created to replace the failed node.
    sddcId String
    The OCID of the SDDC.

    Deprecated: The 'sddc_id' field has been deprecated. Please use 'cluster_id' instead.

    state String
    The lifecycle state of the resource.
    swapBillingHostId String
    The OCID of the active ESXi Host to swap billing with current 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 Oracle Cloud VMware Solution installed on the ESXi hosts.

    GetExsiHostsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi