import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Dedicated Vm Hosts in Oracle Cloud Infrastructure Core service. * * Returns the list of dedicated virtual machine hosts that match the specified criteria in the specified compartment. * * You can limit the list by specifying a dedicated virtual machine host display name. The list will include all the identically-named * dedicated virtual machine hosts in the compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDedicatedVmHosts = oci.core.getDedicatedVmHosts({ * compartmentId: compartmentId, * availabilityDomain: dedicatedVmHostAvailabilityDomain, * displayName: dedicatedVmHostDisplayName, * instanceShapeName: dedicatedVmHostInstanceShapeName, * isMemoryEncryptionEnabled: dedicatedVmHostIsMemoryEncryptionEnabled === "true", * remainingLocalVolumeInGbsGreaterThanOrEqualTo: dedicatedVmHostRemainingLocalVolumeInGbsGreaterThanOrEqualTo, * remainingMemoryInGbsGreaterThanOrEqualTo: dedicatedVmHostRemainingMemoryInGbsGreaterThanOrEqualTo, * remainingOcpusGreaterThanOrEqualTo: dedicatedVmHostRemainingOcpusGreaterThanOrEqualTo, * state: dedicatedVmHostState, * }); * ``` */ export declare function getDedicatedVmHosts(args: GetDedicatedVmHostsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDedicatedVmHosts. */ export interface GetDedicatedVmHostsArgs { /** * The name of the availability domain. Example: `Uocm:PHX-AD-1` */ availabilityDomain?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * A filter to return only resources that match the given display name exactly. */ displayName?: string; filters?: inputs.Core.GetDedicatedVmHostsFilter[]; /** * The name for the instance's shape. */ instanceShapeName?: string; /** * A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM instances on DVMH. */ isMemoryEncryptionEnabled?: boolean; /** * The remaining local volume of the dedicated VM host, in GBs. */ remainingLocalVolumeInGbsGreaterThanOrEqualTo?: number; /** * The remaining memory of the dedicated VM host, in GBs. */ remainingMemoryInGbsGreaterThanOrEqualTo?: number; /** * The available OCPUs of the dedicated VM host. */ remainingOcpusGreaterThanOrEqualTo?: number; /** * A filter to only return resources that match the given lifecycle state. */ state?: string; } /** * A collection of values returned by getDedicatedVmHosts. */ export interface GetDedicatedVmHostsResult { /** * The availability domain the dedicated virtual machine host is running in. Example: `Uocm:PHX-AD-1` */ readonly availabilityDomain?: string; /** * The OCID of the compartment that contains the dedicated virtual machine host. */ readonly compartmentId: string; /** * The list of dedicated_vm_hosts. */ readonly dedicatedVmHosts: outputs.Core.GetDedicatedVmHostsDedicatedVmHost[]; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.Core.GetDedicatedVmHostsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceShapeName?: 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; readonly remainingLocalVolumeInGbsGreaterThanOrEqualTo?: number; readonly remainingMemoryInGbsGreaterThanOrEqualTo?: number; readonly remainingOcpusGreaterThanOrEqualTo?: number; /** * The current state of the dedicated VM host. */ readonly state?: string; } /** * This data source provides the list of Dedicated Vm Hosts in Oracle Cloud Infrastructure Core service. * * Returns the list of dedicated virtual machine hosts that match the specified criteria in the specified compartment. * * You can limit the list by specifying a dedicated virtual machine host display name. The list will include all the identically-named * dedicated virtual machine hosts in the compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDedicatedVmHosts = oci.core.getDedicatedVmHosts({ * compartmentId: compartmentId, * availabilityDomain: dedicatedVmHostAvailabilityDomain, * displayName: dedicatedVmHostDisplayName, * instanceShapeName: dedicatedVmHostInstanceShapeName, * isMemoryEncryptionEnabled: dedicatedVmHostIsMemoryEncryptionEnabled === "true", * remainingLocalVolumeInGbsGreaterThanOrEqualTo: dedicatedVmHostRemainingLocalVolumeInGbsGreaterThanOrEqualTo, * remainingMemoryInGbsGreaterThanOrEqualTo: dedicatedVmHostRemainingMemoryInGbsGreaterThanOrEqualTo, * remainingOcpusGreaterThanOrEqualTo: dedicatedVmHostRemainingOcpusGreaterThanOrEqualTo, * state: dedicatedVmHostState, * }); * ``` */ export declare function getDedicatedVmHostsOutput(args: GetDedicatedVmHostsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDedicatedVmHosts. */ export interface GetDedicatedVmHostsOutputArgs { /** * The name of the availability domain. Example: `Uocm:PHX-AD-1` */ availabilityDomain?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The name for the instance's shape. */ instanceShapeName?: pulumi.Input; /** * A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM instances on DVMH. */ isMemoryEncryptionEnabled?: pulumi.Input; /** * The remaining local volume of the dedicated VM host, in GBs. */ remainingLocalVolumeInGbsGreaterThanOrEqualTo?: pulumi.Input; /** * The remaining memory of the dedicated VM host, in GBs. */ remainingMemoryInGbsGreaterThanOrEqualTo?: pulumi.Input; /** * The available OCPUs of the dedicated VM host. */ remainingOcpusGreaterThanOrEqualTo?: pulumi.Input; /** * A filter to only return resources that match the given lifecycle state. */ state?: pulumi.Input; } //# sourceMappingURL=getDedicatedVmHosts.d.ts.map