import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Dedicated Vm Host resource in Oracle Cloud Infrastructure Core service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/iaas/latest/DedicatedVmHost
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/
 *
 * Creates a new dedicated virtual machine host in the specified compartment and the specified availability domain.
 * Dedicated virtual machine hosts enable you to run your Compute virtual machine (VM) instances on dedicated servers
 * that are a single tenant and not shared with other customers.
 * For more information, see [Dedicated Virtual Machine Hosts](https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/dedicatedvmhosts.htm).
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testDedicatedVmHost = new oci.core.DedicatedVmHost("test_dedicated_vm_host", {
 *     availabilityDomain: dedicatedVmHostAvailabilityDomain,
 *     compartmentId: compartmentId,
 *     dedicatedVmHostShape: dedicatedVmHostDedicatedVmHostShape,
 *     capacityConfig: dedicatedVmHostCapacityConfig,
 *     definedTags: {
 *         "Operations.CostCenter": "42",
 *     },
 *     displayName: dedicatedVmHostDisplayName,
 *     faultDomain: dedicatedVmHostFaultDomain,
 *     freeformTags: {
 *         Department: "Finance",
 *     },
 *     isMemoryEncryptionEnabled: dedicatedVmHostIsMemoryEncryptionEnabled === "true",
 *     placementConstraintDetails: {
 *         type: dedicatedVmHostPlacementConstraintDetailsType,
 *         computeBareMetalHostId: testComputeBareMetalHost.id,
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * DedicatedVmHosts can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:Core/dedicatedVmHost:DedicatedVmHost test_dedicated_vm_host "id"
 * ```
 */
export declare class DedicatedVmHost extends pulumi.CustomResource {
    /**
     * Get an existing DedicatedVmHost resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DedicatedVmHostState, opts?: pulumi.CustomResourceOptions): DedicatedVmHost;
    /**
     * Returns true if the given object is an instance of DedicatedVmHost.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is DedicatedVmHost;
    /**
     * The availability domain of the dedicated virtual machine host.  Example: `Uocm:PHX-AD-1`
     */
    readonly availabilityDomain: pulumi.Output<string>;
    readonly capacityBins: pulumi.Output<outputs.Core.DedicatedVmHostCapacityBin[]>;
    /**
     * 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 first to see the capacity configuration options.
     */
    readonly capacityConfig: pulumi.Output<string>;
    /**
     * (Updatable) The OCID of the compartment.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
     */
    readonly computeBareMetalHostId: pulumi.Output<string>;
    /**
     * The dedicated virtual machine host shape. The shape determines the number of CPUs and other resources available for VM instances launched on the dedicated virtual machine host.
     */
    readonly dedicatedVmHostShape: pulumi.Output<string>;
    /**
     * (Updatable) 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: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
     */
    readonly displayName: pulumi.Output<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). If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host, delete it and create a new dedicated virtual machine host in the preferred fault domain.
     *
     * To get a list of fault domains, use the `ListFaultDomains` operation in the [Identity and Access Management Service API](https://docs.cloud.oracle.com/iaas/api/#/en/identity/20160918/).
     *
     * Example: `FAULT-DOMAIN-1`
     */
    readonly faultDomain: pulumi.Output<string>;
    /**
     * (Updatable) 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: pulumi.Output<{
        [key: string]: 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: pulumi.Output<boolean>;
    /**
     * The details for providing placement constraints.
     */
    readonly placementConstraintDetails: pulumi.Output<outputs.Core.DedicatedVmHostPlacementConstraintDetails>;
    /**
     * The current available memory of the dedicated VM host, in GBs.
     */
    readonly remainingMemoryInGbs: pulumi.Output<number>;
    /**
     * The current available OCPUs of the dedicated VM host.
     */
    readonly remainingOcpus: pulumi.Output<number>;
    /**
     * The current state of the dedicated VM host.
     */
    readonly state: pulumi.Output<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: pulumi.Output<string>;
    /**
     * The current total memory of the dedicated VM host, in GBs.
     */
    readonly totalMemoryInGbs: pulumi.Output<number>;
    /**
     * The current total OCPUs of the dedicated VM host.
     */
    readonly totalOcpus: pulumi.Output<number>;
    /**
     * Create a DedicatedVmHost resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: DedicatedVmHostArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering DedicatedVmHost resources.
 */
export interface DedicatedVmHostState {
    /**
     * The availability domain of the dedicated virtual machine host.  Example: `Uocm:PHX-AD-1`
     */
    availabilityDomain?: pulumi.Input<string | undefined>;
    capacityBins?: pulumi.Input<pulumi.Input<inputs.Core.DedicatedVmHostCapacityBin>[] | undefined>;
    /**
     * 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 first to see the capacity configuration options.
     */
    capacityConfig?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The OCID of the compartment.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the compute bare metal host. This is only available for dedicated capacity customers.
     */
    computeBareMetalHostId?: pulumi.Input<string | undefined>;
    /**
     * The dedicated virtual machine host shape. The shape determines the number of CPUs and other resources available for VM instances launched on the dedicated virtual machine host.
     */
    dedicatedVmHostShape?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) 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"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * 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). If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host, delete it and create a new dedicated virtual machine host in the preferred fault domain.
     *
     * To get a list of fault domains, use the `ListFaultDomains` operation in the [Identity and Access Management Service API](https://docs.cloud.oracle.com/iaas/api/#/en/identity/20160918/).
     *
     * Example: `FAULT-DOMAIN-1`
     */
    faultDomain?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) 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"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * 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.
     */
    isMemoryEncryptionEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * The details for providing placement constraints.
     */
    placementConstraintDetails?: pulumi.Input<inputs.Core.DedicatedVmHostPlacementConstraintDetails | undefined>;
    /**
     * The current available memory of the dedicated VM host, in GBs.
     */
    remainingMemoryInGbs?: pulumi.Input<number | undefined>;
    /**
     * The current available OCPUs of the dedicated VM host.
     */
    remainingOcpus?: pulumi.Input<number | undefined>;
    /**
     * The current state of the dedicated VM host.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * 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`
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The current total memory of the dedicated VM host, in GBs.
     */
    totalMemoryInGbs?: pulumi.Input<number | undefined>;
    /**
     * The current total OCPUs of the dedicated VM host.
     */
    totalOcpus?: pulumi.Input<number | undefined>;
}
/**
 * The set of arguments for constructing a DedicatedVmHost resource.
 */
export interface DedicatedVmHostArgs {
    /**
     * The availability domain of the dedicated virtual machine host.  Example: `Uocm:PHX-AD-1`
     */
    availabilityDomain: pulumi.Input<string>;
    /**
     * 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 first to see the capacity configuration options.
     */
    capacityConfig?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The OCID of the compartment.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * The dedicated virtual machine host shape. The shape determines the number of CPUs and other resources available for VM instances launched on the dedicated virtual machine host.
     */
    dedicatedVmHostShape: pulumi.Input<string>;
    /**
     * (Updatable) 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"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * 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). If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host, delete it and create a new dedicated virtual machine host in the preferred fault domain.
     *
     * To get a list of fault domains, use the `ListFaultDomains` operation in the [Identity and Access Management Service API](https://docs.cloud.oracle.com/iaas/api/#/en/identity/20160918/).
     *
     * Example: `FAULT-DOMAIN-1`
     */
    faultDomain?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) 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"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * 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.
     */
    isMemoryEncryptionEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * The details for providing placement constraints.
     */
    placementConstraintDetails?: pulumi.Input<inputs.Core.DedicatedVmHostPlacementConstraintDetails | undefined>;
}
//# sourceMappingURL=dedicatedVmHost.d.ts.map