import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Dedicated Vm Host resource in Oracle Cloud Infrastructure Core service. * * Gets information about the specified dedicated virtual machine host. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDedicatedVmHost = oci.core.getDedicatedVmHost({ * dedicatedVmHostId: testDedicatedVmHostOciCoreDedicatedVmHost.id, * }); * ``` */ export declare function getDedicatedVmHost(args: GetDedicatedVmHostArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDedicatedVmHost. */ export interface GetDedicatedVmHostArgs { /** * The OCID of the dedicated VM host. */ dedicatedVmHostId: string; } /** * A collection of values returned by getDedicatedVmHost. */ export interface GetDedicatedVmHostResult { /** * The availability domain the dedicated virtual machine host is running in. Example: `Uocm:PHX-AD-1` */ readonly availabilityDomain: string; /** * A list of total and remaining CPU, memory, and local volume per capacity bucket. */ readonly capacityBins: outputs.Core.GetDedicatedVmHostCapacityBin[]; /** * The capacity configuration selected to be configured for the Dedicated Virtual Machine host. Run [ListDedicatedVmHostShapes](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/DedicatedVmHostShapeSummary/ListDedicatedVmHostShapes) API to see details of this capacity configuration. */ readonly capacityConfig: string; /** * The OCID of the compartment that contains the dedicated virtual machine host. */ readonly compartmentId: string; /** * The OCID of the compute bare metal host. This is only available for dedicated capacity customers. */ readonly computeBareMetalHostId: string; readonly dedicatedVmHostId: string; /** * The dedicated virtual machine host shape. The shape determines the number of CPUs and other resources available for VMs. */ readonly dedicatedVmHostShape: 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; }; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName: string; /** * The fault domain for the dedicated virtual machine host's assigned instances. For more information, see [Fault Domains](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm#fault). */ readonly faultDomain: 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated VM host. */ readonly id: string; /** * Specifies if the Dedicated Virtual Machine Host (DVMH) is restricted to running only Confidential VMs. If `true`, only Confidential VMs can be launched. If `false`, Confidential VMs cannot be launched. */ readonly isMemoryEncryptionEnabled: boolean; /** * The details for providing placement constraints. */ readonly placementConstraintDetails: outputs.Core.GetDedicatedVmHostPlacementConstraintDetail[]; /** * The current available local volume of the dedicated VM host, in GBs. */ readonly remainingLocalVolumeInGbs: number; /** * The current available memory of the dedicated VM host, in GBs. */ readonly remainingMemoryInGbs: number; /** * The current available OCPUs of the dedicated VM host. */ readonly remainingOcpus: number; /** * The current state of the dedicated VM host. */ readonly state: string; /** * The date and time the dedicated VM 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 current total local volume of the dedicated VM host, in GBs. */ readonly totalLocalVolumeInGbs: number; /** * The current total memory of the dedicated VM host, in GBs. */ readonly totalMemoryInGbs: number; /** * The current total OCPUs of the dedicated VM host. */ readonly totalOcpus: number; } /** * This data source provides details about a specific Dedicated Vm Host resource in Oracle Cloud Infrastructure Core service. * * Gets information about the specified dedicated virtual machine host. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDedicatedVmHost = oci.core.getDedicatedVmHost({ * dedicatedVmHostId: testDedicatedVmHostOciCoreDedicatedVmHost.id, * }); * ``` */ export declare function getDedicatedVmHostOutput(args: GetDedicatedVmHostOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDedicatedVmHost. */ export interface GetDedicatedVmHostOutputArgs { /** * The OCID of the dedicated VM host. */ dedicatedVmHostId: pulumi.Input; } //# sourceMappingURL=getDedicatedVmHost.d.ts.map