import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Host Insight resource in Oracle Cloud Infrastructure Opsi service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/operations-insights/latest/HostInsight * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/osi * * Create a Host Insight resource for a host in Ops Insights. The host will be enabled in Ops Insights. Host metric collection and analysis will be started. * * ## Import * * HostInsights can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Opsi/hostInsight:HostInsight test_host_insight "id" * ``` */ export declare class HostInsight extends pulumi.CustomResource { /** * Get an existing HostInsight 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, state?: HostInsightState, opts?: pulumi.CustomResourceOptions): HostInsight; /** * Returns true if the given object is an instance of HostInsight. 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 HostInsight; /** * (Updatable) Compartment Identifier of host */ readonly compartmentId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compute Instance */ readonly computeId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * OPSI Enterprise Manager Bridge OCID */ readonly enterpriseManagerBridgeId: pulumi.Output; /** * Enterprise Manager Entity Display Name */ readonly enterpriseManagerEntityDisplayName: pulumi.Output; /** * Enterprise Manager Entity Unique Identifier */ readonly enterpriseManagerEntityIdentifier: pulumi.Output; /** * Enterprise Manager Entity Name */ readonly enterpriseManagerEntityName: pulumi.Output; /** * Enterprise Manager Entity Type */ readonly enterpriseManagerEntityType: pulumi.Output; /** * Enterprise Manager Unique Identifier */ readonly enterpriseManagerIdentifier: pulumi.Output; /** * (Updatable) Source of the host entity. */ readonly entitySource: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight. */ readonly exadataInsightId: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * The user-friendly name for the host. The name does not have to be unique. */ readonly hostDisplayName: pulumi.Output; /** * The host name. The host name is unique amongst the hosts managed by the same management agent. */ readonly hostName: pulumi.Output; /** * Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST. */ readonly hostType: pulumi.Output; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ readonly lifecycleDetails: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values. The resource destruction here is basically a soft delete. User cannot create resource using the same Management agent OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation. */ readonly managementAgentId: pulumi.Output; /** * Platform name. */ readonly platformName: pulumi.Output; /** * Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX]. */ readonly platformType: pulumi.Output; /** * Platform version. */ readonly platformVersion: pulumi.Output; readonly processorCount: pulumi.Output; /** * The current state of the host. */ readonly state: pulumi.Output; /** * (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED" */ readonly status: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time the the host insight was first enabled. An RFC3339 formatted datetime string */ readonly timeCreated: pulumi.Output; /** * The time the host insight was updated. An RFC3339 formatted datetime string */ readonly timeUpdated: pulumi.Output; /** * Create a HostInsight 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: HostInsightArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering HostInsight resources. */ export interface HostInsightState { /** * (Updatable) Compartment Identifier of host */ compartmentId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compute Instance */ computeId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * OPSI Enterprise Manager Bridge OCID */ enterpriseManagerBridgeId?: pulumi.Input; /** * Enterprise Manager Entity Display Name */ enterpriseManagerEntityDisplayName?: pulumi.Input; /** * Enterprise Manager Entity Unique Identifier */ enterpriseManagerEntityIdentifier?: pulumi.Input; /** * Enterprise Manager Entity Name */ enterpriseManagerEntityName?: pulumi.Input; /** * Enterprise Manager Entity Type */ enterpriseManagerEntityType?: pulumi.Input; /** * Enterprise Manager Unique Identifier */ enterpriseManagerIdentifier?: pulumi.Input; /** * (Updatable) Source of the host entity. */ entitySource?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight. */ exadataInsightId?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The user-friendly name for the host. The name does not have to be unique. */ hostDisplayName?: pulumi.Input; /** * The host name. The host name is unique amongst the hosts managed by the same management agent. */ hostName?: pulumi.Input; /** * Ops Insights internal representation of the host type. Possible value is EXTERNAL-HOST. */ hostType?: pulumi.Input; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ lifecycleDetails?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values. The resource destruction here is basically a soft delete. User cannot create resource using the same Management agent OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation. */ managementAgentId?: pulumi.Input; /** * Platform name. */ platformName?: pulumi.Input; /** * Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX]. */ platformType?: pulumi.Input; /** * Platform version. */ platformVersion?: pulumi.Input; processorCount?: pulumi.Input; /** * The current state of the host. */ state?: pulumi.Input; /** * (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED" */ status?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time the the host insight was first enabled. An RFC3339 formatted datetime string */ timeCreated?: pulumi.Input; /** * The time the host insight was updated. An RFC3339 formatted datetime string */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a HostInsight resource. */ export interface HostInsightArgs { /** * (Updatable) Compartment Identifier of host */ compartmentId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compute Instance */ computeId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * OPSI Enterprise Manager Bridge OCID */ enterpriseManagerBridgeId?: pulumi.Input; /** * Enterprise Manager Entity Unique Identifier */ enterpriseManagerEntityIdentifier?: pulumi.Input; /** * Enterprise Manager Unique Identifier */ enterpriseManagerIdentifier?: pulumi.Input; /** * (Updatable) Source of the host entity. */ entitySource: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight. */ exadataInsightId?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values. The resource destruction here is basically a soft delete. User cannot create resource using the same Management agent OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation. */ managementAgentId?: pulumi.Input; /** * (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED" */ status?: pulumi.Input; } //# sourceMappingURL=hostInsight.d.ts.map