import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * 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 * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testEsxiHost = oci.ocvp.getExsiHost({ * esxiHostId: testEsxiHostOciOcvpEsxiHost.id, * }); * ``` */ export declare function getExsiHost(args: GetExsiHostArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getExsiHost. */ export interface GetExsiHostArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host. */ esxiHostId: string; } /** * A collection of values returned by getExsiHost. */ export interface GetExsiHostResult { readonly attachDatastoreClusterIds: 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` */ readonly billingContractEndDate: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the deleted ESXi Host with LeftOver billing cycle. * * @deprecated This 'billing_donor_host_id' argument has been deprecated and will be computed only. */ readonly billingDonorHostId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Capacity Reservation. */ readonly capacityReservationId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster that the ESXi host belongs to. */ readonly clusterId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Cluster. */ readonly compartmentId: string; /** * The availability domain of the ESXi host. */ readonly computeAvailabilityDomain: 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of that Compute instance. */ readonly computeInstanceId: string; /** * The billing option currently used by the ESXi host. [ListSupportedCommitments](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20230701/SupportedCommitmentSummary/ListSupportedCommitments). */ readonly currentCommitment: string; /** * (**Deprecated**) The billing option currently used by the ESXi host. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). **Deprecated**. Please use `currentCommitment` instead. * * @deprecated The 'current_sku' field has been deprecated. It is no longer supported. */ readonly currentSku: string; /** * List of DatastoreAttachment objects containing information about attachment details */ readonly datastoreAttachments: outputs.Ocvp.GetExsiHostDatastoreAttachment[]; /** * A list of datastore clusters. */ readonly datastoreClusterIds: string[]; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; readonly detachDatastoreClusterIds: string[]; /** * A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName: string; readonly esxiHostId: string; /** * The version of ESXi software that Oracle Cloud VMware Solution installed on the ESXi hosts. */ readonly esxiSoftwareVersion: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host that failed. * * @deprecated This 'failed_esxi_host_id' argument has been deprecated and will be computed only. */ readonly failedEsxiHostId: 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The date and time when the new esxi host should start billing cycle. [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2021-07-25T21:10:29.600Z` */ readonly gracePeriodEndDate: string; /** * The OCPU count of the ESXi host. */ readonly hostOcpuCount: number; /** * The compute shape name of the ESXi host. [ListSupportedHostShapes](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20230701/SupportedHostShapes/ListSupportedHostShapes). */ readonly hostShapeName: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host. */ readonly id: string; /** * Indicates whether this host is in the progress of billing continuation. */ readonly isBillingContinuationInProgress: boolean; /** * Indicates whether this host is in the progress of swapping billing. */ readonly isBillingSwappingInProgress: boolean; /** * Indicates whether this host embedded VMware vSAN with BYOL Allocation. */ readonly isVsanByolEnabled: boolean; /** * 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](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20230701/SupportedCommitmentSummary/ListSupportedCommitments). */ readonly nextCommitment: 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](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). **Deprecated**. Please use `nextCommitment` instead. * * @deprecated The 'next_sku' field has been deprecated. It is no longer supported. */ readonly nextSku: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host that will be upgraded. * * @deprecated This 'non_upgraded_esxi_host_id' argument has been deprecated and will be computed only. */ readonly nonUpgradedEsxiHostId: string; readonly primaryVnicMacAddress: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the esxi host that is newly created to replace the failed node. */ readonly replacementEsxiHostId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC that the ESXi host belongs to. * * @deprecated The 'sddc_id' field has been deprecated. Please use 'cluster_id' instead. */ readonly sddcId: string; /** * The current state of the ESXi host. */ readonly state: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the active ESXi Host to swap billing with current host. */ readonly swapBillingHostId: string; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{orcl-cloud: {free-tier-retain: true}}` */ readonly systemTags: { [key: string]: string; }; /** * The date and time the ESXi host was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: string; /** * The date and time the ESXi host was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeUpdated: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host that is newly created to upgrade the original host. */ readonly upgradedReplacementEsxiHostId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Byol Allocation for VCF (VMware Cloud Foundation) deployment. */ readonly vcfByolAllocationId: string; /** * The version of VMware software that Oracle Cloud VMware Solution installed on the ESXi hosts. */ readonly vmwareSoftwareVersion: string; } /** * 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 * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testEsxiHost = oci.ocvp.getExsiHost({ * esxiHostId: testEsxiHostOciOcvpEsxiHost.id, * }); * ``` */ export declare function getExsiHostOutput(args: GetExsiHostOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getExsiHost. */ export interface GetExsiHostOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host. */ esxiHostId: pulumi.Input; } //# sourceMappingURL=getExsiHost.d.ts.map