import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Compute Host resource in Oracle Cloud Infrastructure Core service. * * Gets information about the specified compute host * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testComputeHost = oci.core.getComputeHost({ * computeHostId: testComputeHostOciCoreComputeHost.id, * }); * ``` */ export declare function getComputeHost(args: GetComputeHostArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getComputeHost. */ export interface GetComputeHostArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host. */ computeHostId: string; } /** * A collection of values returned by getComputeHost. */ export interface GetComputeHostResult { /** * Additional data that can be exposed to the customer. Will include raw fault codes for strategic customers */ readonly additionalData: string; /** * The availability domain of the compute host. Example: `Uocm:US-CHICAGO-1-AD-2` */ readonly availabilityDomain: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Capacity Reserver that is currently on host */ readonly capacityReservationId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the compartment. This should always be the root compartment. */ readonly compartmentId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host group this host was attached to at the time of recycle. */ readonly computeHostGroupId: string; readonly computeHostId: string; /** * Compute Host Configuration Data */ readonly configurationDatas: outputs.Core.GetComputeHostConfigurationData[]; /** * Configuration state of the Compute Bare Metal Host. */ readonly configurationState: 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; /** * A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains. */ readonly faultDomain: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Customer-unique firmware bundle associated with the Host. */ readonly firmwareBundleId: 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) for Customer-unique GPU Memory Fabric */ readonly gpuMemoryFabricId: string; /** * The heathy state of the host */ readonly health: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique HPC Island */ readonly hpcIslandId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A list that contains impacted components related to an unhealthy host. An impacted component will be a free-form structure of key values pairs that will provide more or less details based on data tiering */ readonly impactedComponentDetails: string; /** * The public [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Virtual Machine or Bare Metal instance */ readonly instanceId: string; /** * A free-form description detailing why the host is in its current state. */ readonly lifecycleDetails: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique Local Block */ readonly localBlockId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique Network Block */ readonly networkBlockId: string; /** * The platform of the host */ readonly platform: string; /** * Shows details about the last recycle performed on this host. */ readonly recycleDetails: outputs.Core.GetComputeHostRecycleDetail[]; /** * The shape of host */ readonly shape: string; /** * The lifecycle state of the host */ readonly state: string; /** * The date and time that the compute bare metal host configuration check was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeConfigurationCheck: string; /** * The date and time that the compute host record 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 that the compute host record was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeUpdated: string; } /** * This data source provides details about a specific Compute Host resource in Oracle Cloud Infrastructure Core service. * * Gets information about the specified compute host * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testComputeHost = oci.core.getComputeHost({ * computeHostId: testComputeHostOciCoreComputeHost.id, * }); * ``` */ export declare function getComputeHostOutput(args: GetComputeHostOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getComputeHost. */ export interface GetComputeHostOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host. */ computeHostId: pulumi.Input; } //# sourceMappingURL=getComputeHost.d.ts.map