1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Opsi
  5. HostInsight
Oracle Cloud Infrastructure v1.27.0 published on Friday, Mar 15, 2024 by Pulumi

oci.Opsi.HostInsight

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.27.0 published on Friday, Mar 15, 2024 by Pulumi

    This resource provides the Host Insight resource in Oracle Cloud Infrastructure Opsi service.

    Create a Host Insight resource for a host in Operations Insights. The host will be enabled in Operations Insights. Host metric collection and analysis will be started.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testHostInsight = new oci.opsi.HostInsight("testHostInsight", {
        compartmentId: _var.compartment_id,
        entitySource: _var.host_insight_entity_source,
        computeId: oci_opsi_compute.test_compute.id,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        enterpriseManagerBridgeId: oci_opsi_enterprise_manager_bridge.test_enterprise_manager_bridge.id,
        enterpriseManagerEntityIdentifier: _var.host_insight_enterprise_manager_entity_identifier,
        enterpriseManagerIdentifier: _var.host_insight_enterprise_manager_identifier,
        exadataInsightId: oci_opsi_exadata_insight.test_exadata_insight.id,
        freeformTags: {
            "bar-key": "value",
        },
        managementAgentId: oci_management_agent_management_agent.test_management_agent.id,
        status: "DISABLED",
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_host_insight = oci.opsi.HostInsight("testHostInsight",
        compartment_id=var["compartment_id"],
        entity_source=var["host_insight_entity_source"],
        compute_id=oci_opsi_compute["test_compute"]["id"],
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        enterprise_manager_bridge_id=oci_opsi_enterprise_manager_bridge["test_enterprise_manager_bridge"]["id"],
        enterprise_manager_entity_identifier=var["host_insight_enterprise_manager_entity_identifier"],
        enterprise_manager_identifier=var["host_insight_enterprise_manager_identifier"],
        exadata_insight_id=oci_opsi_exadata_insight["test_exadata_insight"]["id"],
        freeform_tags={
            "bar-key": "value",
        },
        management_agent_id=oci_management_agent_management_agent["test_management_agent"]["id"],
        status="DISABLED")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Opsi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Opsi.NewHostInsight(ctx, "testHostInsight", &Opsi.HostInsightArgs{
    			CompartmentId: pulumi.Any(_var.Compartment_id),
    			EntitySource:  pulumi.Any(_var.Host_insight_entity_source),
    			ComputeId:     pulumi.Any(oci_opsi_compute.Test_compute.Id),
    			DefinedTags: pulumi.Map{
    				"foo-namespace.bar-key": pulumi.Any("value"),
    			},
    			EnterpriseManagerBridgeId:         pulumi.Any(oci_opsi_enterprise_manager_bridge.Test_enterprise_manager_bridge.Id),
    			EnterpriseManagerEntityIdentifier: pulumi.Any(_var.Host_insight_enterprise_manager_entity_identifier),
    			EnterpriseManagerIdentifier:       pulumi.Any(_var.Host_insight_enterprise_manager_identifier),
    			ExadataInsightId:                  pulumi.Any(oci_opsi_exadata_insight.Test_exadata_insight.Id),
    			FreeformTags: pulumi.Map{
    				"bar-key": pulumi.Any("value"),
    			},
    			ManagementAgentId: pulumi.Any(oci_management_agent_management_agent.Test_management_agent.Id),
    			Status:            pulumi.String("DISABLED"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testHostInsight = new Oci.Opsi.HostInsight("testHostInsight", new()
        {
            CompartmentId = @var.Compartment_id,
            EntitySource = @var.Host_insight_entity_source,
            ComputeId = oci_opsi_compute.Test_compute.Id,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            EnterpriseManagerBridgeId = oci_opsi_enterprise_manager_bridge.Test_enterprise_manager_bridge.Id,
            EnterpriseManagerEntityIdentifier = @var.Host_insight_enterprise_manager_entity_identifier,
            EnterpriseManagerIdentifier = @var.Host_insight_enterprise_manager_identifier,
            ExadataInsightId = oci_opsi_exadata_insight.Test_exadata_insight.Id,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            ManagementAgentId = oci_management_agent_management_agent.Test_management_agent.Id,
            Status = "DISABLED",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Opsi.HostInsight;
    import com.pulumi.oci.Opsi.HostInsightArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testHostInsight = new HostInsight("testHostInsight", HostInsightArgs.builder()        
                .compartmentId(var_.compartment_id())
                .entitySource(var_.host_insight_entity_source())
                .computeId(oci_opsi_compute.test_compute().id())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .enterpriseManagerBridgeId(oci_opsi_enterprise_manager_bridge.test_enterprise_manager_bridge().id())
                .enterpriseManagerEntityIdentifier(var_.host_insight_enterprise_manager_entity_identifier())
                .enterpriseManagerIdentifier(var_.host_insight_enterprise_manager_identifier())
                .exadataInsightId(oci_opsi_exadata_insight.test_exadata_insight().id())
                .freeformTags(Map.of("bar-key", "value"))
                .managementAgentId(oci_management_agent_management_agent.test_management_agent().id())
                .status("DISABLED")
                .build());
    
        }
    }
    
    resources:
      testHostInsight:
        type: oci:Opsi:HostInsight
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          entitySource: ${var.host_insight_entity_source}
          #Optional
          computeId: ${oci_opsi_compute.test_compute.id}
          definedTags:
            foo-namespace.bar-key: value
          enterpriseManagerBridgeId: ${oci_opsi_enterprise_manager_bridge.test_enterprise_manager_bridge.id}
          enterpriseManagerEntityIdentifier: ${var.host_insight_enterprise_manager_entity_identifier}
          enterpriseManagerIdentifier: ${var.host_insight_enterprise_manager_identifier}
          exadataInsightId: ${oci_opsi_exadata_insight.test_exadata_insight.id}
          freeformTags:
            bar-key: value
          managementAgentId: ${oci_management_agent_management_agent.test_management_agent.id}
          status: DISABLED
    

    Create HostInsight Resource

    new HostInsight(name: string, args: HostInsightArgs, opts?: CustomResourceOptions);
    @overload
    def HostInsight(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    compartment_id: Optional[str] = None,
                    compute_id: Optional[str] = None,
                    defined_tags: Optional[Mapping[str, Any]] = None,
                    enterprise_manager_bridge_id: Optional[str] = None,
                    enterprise_manager_entity_identifier: Optional[str] = None,
                    enterprise_manager_identifier: Optional[str] = None,
                    entity_source: Optional[str] = None,
                    exadata_insight_id: Optional[str] = None,
                    freeform_tags: Optional[Mapping[str, Any]] = None,
                    management_agent_id: Optional[str] = None,
                    status: Optional[str] = None)
    @overload
    def HostInsight(resource_name: str,
                    args: HostInsightArgs,
                    opts: Optional[ResourceOptions] = None)
    func NewHostInsight(ctx *Context, name string, args HostInsightArgs, opts ...ResourceOption) (*HostInsight, error)
    public HostInsight(string name, HostInsightArgs args, CustomResourceOptions? opts = null)
    public HostInsight(String name, HostInsightArgs args)
    public HostInsight(String name, HostInsightArgs args, CustomResourceOptions options)
    
    type: oci:Opsi:HostInsight
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args HostInsightArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args HostInsightArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args HostInsightArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HostInsightArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HostInsightArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    HostInsight Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The HostInsight resource accepts the following input properties:

    CompartmentId string
    (Updatable) Compartment Identifier of host
    EntitySource string
    (Updatable) Source of the host entity.
    ComputeId string
    The OCID of the Compute Instance
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    EnterpriseManagerBridgeId string
    OPSI Enterprise Manager Bridge OCID
    EnterpriseManagerEntityIdentifier string
    Enterprise Manager Entity Unique Identifier
    EnterpriseManagerIdentifier string
    Enterprise Manager Unique Identifier
    ExadataInsightId string
    The OCID of the Exadata insight.
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    ManagementAgentId string

    The OCID 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.

    Status string
    (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"
    CompartmentId string
    (Updatable) Compartment Identifier of host
    EntitySource string
    (Updatable) Source of the host entity.
    ComputeId string
    The OCID of the Compute Instance
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    EnterpriseManagerBridgeId string
    OPSI Enterprise Manager Bridge OCID
    EnterpriseManagerEntityIdentifier string
    Enterprise Manager Entity Unique Identifier
    EnterpriseManagerIdentifier string
    Enterprise Manager Unique Identifier
    ExadataInsightId string
    The OCID of the Exadata insight.
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    ManagementAgentId string

    The OCID 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.

    Status string
    (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"
    compartmentId String
    (Updatable) Compartment Identifier of host
    entitySource String
    (Updatable) Source of the host entity.
    computeId String
    The OCID of the Compute Instance
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    enterpriseManagerBridgeId String
    OPSI Enterprise Manager Bridge OCID
    enterpriseManagerEntityIdentifier String
    Enterprise Manager Entity Unique Identifier
    enterpriseManagerIdentifier String
    Enterprise Manager Unique Identifier
    exadataInsightId String
    The OCID of the Exadata insight.
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    managementAgentId String

    The OCID 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.

    status String
    (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"
    compartmentId string
    (Updatable) Compartment Identifier of host
    entitySource string
    (Updatable) Source of the host entity.
    computeId string
    The OCID of the Compute Instance
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    enterpriseManagerBridgeId string
    OPSI Enterprise Manager Bridge OCID
    enterpriseManagerEntityIdentifier string
    Enterprise Manager Entity Unique Identifier
    enterpriseManagerIdentifier string
    Enterprise Manager Unique Identifier
    exadataInsightId string
    The OCID of the Exadata insight.
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    managementAgentId string

    The OCID 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.

    status string
    (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"
    compartment_id str
    (Updatable) Compartment Identifier of host
    entity_source str
    (Updatable) Source of the host entity.
    compute_id str
    The OCID of the Compute Instance
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    enterprise_manager_bridge_id str
    OPSI Enterprise Manager Bridge OCID
    enterprise_manager_entity_identifier str
    Enterprise Manager Entity Unique Identifier
    enterprise_manager_identifier str
    Enterprise Manager Unique Identifier
    exadata_insight_id str
    The OCID of the Exadata insight.
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    management_agent_id str

    The OCID 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.

    status str
    (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"
    compartmentId String
    (Updatable) Compartment Identifier of host
    entitySource String
    (Updatable) Source of the host entity.
    computeId String
    The OCID of the Compute Instance
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    enterpriseManagerBridgeId String
    OPSI Enterprise Manager Bridge OCID
    enterpriseManagerEntityIdentifier String
    Enterprise Manager Entity Unique Identifier
    enterpriseManagerIdentifier String
    Enterprise Manager Unique Identifier
    exadataInsightId String
    The OCID of the Exadata insight.
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    managementAgentId String

    The OCID 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.

    status String
    (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"

    Outputs

    All input properties are implicitly available as output properties. Additionally, the HostInsight resource produces the following output properties:

    EnterpriseManagerEntityDisplayName string
    Enterprise Manager Entity Display Name
    EnterpriseManagerEntityName string
    Enterprise Manager Entity Name
    EnterpriseManagerEntityType string
    Enterprise Manager Entity Type
    HostDisplayName string
    The user-friendly name for the host. The name does not have to be unique.
    HostName string
    The host name. The host name is unique amongst the hosts managed by the same management agent.
    HostType string
    Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    PlatformName string
    Platform name.
    PlatformType string
    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].
    PlatformVersion string
    Platform version.
    ProcessorCount int
    Processor count.
    State string
    The current state of the host.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the the host insight was first enabled. An RFC3339 formatted datetime string
    TimeUpdated string
    The time the host insight was updated. An RFC3339 formatted datetime string
    EnterpriseManagerEntityDisplayName string
    Enterprise Manager Entity Display Name
    EnterpriseManagerEntityName string
    Enterprise Manager Entity Name
    EnterpriseManagerEntityType string
    Enterprise Manager Entity Type
    HostDisplayName string
    The user-friendly name for the host. The name does not have to be unique.
    HostName string
    The host name. The host name is unique amongst the hosts managed by the same management agent.
    HostType string
    Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    PlatformName string
    Platform name.
    PlatformType string
    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].
    PlatformVersion string
    Platform version.
    ProcessorCount int
    Processor count.
    State string
    The current state of the host.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the the host insight was first enabled. An RFC3339 formatted datetime string
    TimeUpdated string
    The time the host insight was updated. An RFC3339 formatted datetime string
    enterpriseManagerEntityDisplayName String
    Enterprise Manager Entity Display Name
    enterpriseManagerEntityName String
    Enterprise Manager Entity Name
    enterpriseManagerEntityType String
    Enterprise Manager Entity Type
    hostDisplayName String
    The user-friendly name for the host. The name does not have to be unique.
    hostName String
    The host name. The host name is unique amongst the hosts managed by the same management agent.
    hostType String
    Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    platformName String
    Platform name.
    platformType String
    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].
    platformVersion String
    Platform version.
    processorCount Integer
    Processor count.
    state String
    The current state of the host.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the the host insight was first enabled. An RFC3339 formatted datetime string
    timeUpdated String
    The time the host insight was updated. An RFC3339 formatted datetime string
    enterpriseManagerEntityDisplayName string
    Enterprise Manager Entity Display Name
    enterpriseManagerEntityName string
    Enterprise Manager Entity Name
    enterpriseManagerEntityType string
    Enterprise Manager Entity Type
    hostDisplayName string
    The user-friendly name for the host. The name does not have to be unique.
    hostName string
    The host name. The host name is unique amongst the hosts managed by the same management agent.
    hostType string
    Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    platformName string
    Platform name.
    platformType string
    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].
    platformVersion string
    Platform version.
    processorCount number
    Processor count.
    state string
    The current state of the host.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the the host insight was first enabled. An RFC3339 formatted datetime string
    timeUpdated string
    The time the host insight was updated. An RFC3339 formatted datetime string
    enterprise_manager_entity_display_name str
    Enterprise Manager Entity Display Name
    enterprise_manager_entity_name str
    Enterprise Manager Entity Name
    enterprise_manager_entity_type str
    Enterprise Manager Entity Type
    host_display_name str
    The user-friendly name for the host. The name does not have to be unique.
    host_name str
    The host name. The host name is unique amongst the hosts managed by the same management agent.
    host_type str
    Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    platform_name str
    Platform name.
    platform_type str
    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].
    platform_version str
    Platform version.
    processor_count int
    Processor count.
    state str
    The current state of the host.
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time the the host insight was first enabled. An RFC3339 formatted datetime string
    time_updated str
    The time the host insight was updated. An RFC3339 formatted datetime string
    enterpriseManagerEntityDisplayName String
    Enterprise Manager Entity Display Name
    enterpriseManagerEntityName String
    Enterprise Manager Entity Name
    enterpriseManagerEntityType String
    Enterprise Manager Entity Type
    hostDisplayName String
    The user-friendly name for the host. The name does not have to be unique.
    hostName String
    The host name. The host name is unique amongst the hosts managed by the same management agent.
    hostType String
    Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    platformName String
    Platform name.
    platformType String
    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].
    platformVersion String
    Platform version.
    processorCount Number
    Processor count.
    state String
    The current state of the host.
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the the host insight was first enabled. An RFC3339 formatted datetime string
    timeUpdated String
    The time the host insight was updated. An RFC3339 formatted datetime string

    Look up Existing HostInsight Resource

    Get an existing HostInsight resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: HostInsightState, opts?: CustomResourceOptions): HostInsight
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            compute_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            enterprise_manager_bridge_id: Optional[str] = None,
            enterprise_manager_entity_display_name: Optional[str] = None,
            enterprise_manager_entity_identifier: Optional[str] = None,
            enterprise_manager_entity_name: Optional[str] = None,
            enterprise_manager_entity_type: Optional[str] = None,
            enterprise_manager_identifier: Optional[str] = None,
            entity_source: Optional[str] = None,
            exadata_insight_id: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            host_display_name: Optional[str] = None,
            host_name: Optional[str] = None,
            host_type: Optional[str] = None,
            lifecycle_details: Optional[str] = None,
            management_agent_id: Optional[str] = None,
            platform_name: Optional[str] = None,
            platform_type: Optional[str] = None,
            platform_version: Optional[str] = None,
            processor_count: Optional[int] = None,
            state: Optional[str] = None,
            status: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> HostInsight
    func GetHostInsight(ctx *Context, name string, id IDInput, state *HostInsightState, opts ...ResourceOption) (*HostInsight, error)
    public static HostInsight Get(string name, Input<string> id, HostInsightState? state, CustomResourceOptions? opts = null)
    public static HostInsight get(String name, Output<String> id, HostInsightState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) Compartment Identifier of host
    ComputeId string
    The OCID of the Compute Instance
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    EnterpriseManagerBridgeId string
    OPSI Enterprise Manager Bridge OCID
    EnterpriseManagerEntityDisplayName string
    Enterprise Manager Entity Display Name
    EnterpriseManagerEntityIdentifier string
    Enterprise Manager Entity Unique Identifier
    EnterpriseManagerEntityName string
    Enterprise Manager Entity Name
    EnterpriseManagerEntityType string
    Enterprise Manager Entity Type
    EnterpriseManagerIdentifier string
    Enterprise Manager Unique Identifier
    EntitySource string
    (Updatable) Source of the host entity.
    ExadataInsightId string
    The OCID of the Exadata insight.
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    HostDisplayName string
    The user-friendly name for the host. The name does not have to be unique.
    HostName string
    The host name. The host name is unique amongst the hosts managed by the same management agent.
    HostType string
    Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    ManagementAgentId string

    The OCID 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.

    PlatformName string
    Platform name.
    PlatformType string
    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].
    PlatformVersion string
    Platform version.
    ProcessorCount int
    Processor count.
    State string
    The current state of the host.
    Status string
    (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"
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the the host insight was first enabled. An RFC3339 formatted datetime string
    TimeUpdated string
    The time the host insight was updated. An RFC3339 formatted datetime string
    CompartmentId string
    (Updatable) Compartment Identifier of host
    ComputeId string
    The OCID of the Compute Instance
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    EnterpriseManagerBridgeId string
    OPSI Enterprise Manager Bridge OCID
    EnterpriseManagerEntityDisplayName string
    Enterprise Manager Entity Display Name
    EnterpriseManagerEntityIdentifier string
    Enterprise Manager Entity Unique Identifier
    EnterpriseManagerEntityName string
    Enterprise Manager Entity Name
    EnterpriseManagerEntityType string
    Enterprise Manager Entity Type
    EnterpriseManagerIdentifier string
    Enterprise Manager Unique Identifier
    EntitySource string
    (Updatable) Source of the host entity.
    ExadataInsightId string
    The OCID of the Exadata insight.
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    HostDisplayName string
    The user-friendly name for the host. The name does not have to be unique.
    HostName string
    The host name. The host name is unique amongst the hosts managed by the same management agent.
    HostType string
    Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    ManagementAgentId string

    The OCID 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.

    PlatformName string
    Platform name.
    PlatformType string
    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].
    PlatformVersion string
    Platform version.
    ProcessorCount int
    Processor count.
    State string
    The current state of the host.
    Status string
    (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"
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the the host insight was first enabled. An RFC3339 formatted datetime string
    TimeUpdated string
    The time the host insight was updated. An RFC3339 formatted datetime string
    compartmentId String
    (Updatable) Compartment Identifier of host
    computeId String
    The OCID of the Compute Instance
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    enterpriseManagerBridgeId String
    OPSI Enterprise Manager Bridge OCID
    enterpriseManagerEntityDisplayName String
    Enterprise Manager Entity Display Name
    enterpriseManagerEntityIdentifier String
    Enterprise Manager Entity Unique Identifier
    enterpriseManagerEntityName String
    Enterprise Manager Entity Name
    enterpriseManagerEntityType String
    Enterprise Manager Entity Type
    enterpriseManagerIdentifier String
    Enterprise Manager Unique Identifier
    entitySource String
    (Updatable) Source of the host entity.
    exadataInsightId String
    The OCID of the Exadata insight.
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hostDisplayName String
    The user-friendly name for the host. The name does not have to be unique.
    hostName String
    The host name. The host name is unique amongst the hosts managed by the same management agent.
    hostType String
    Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    managementAgentId String

    The OCID 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.

    platformName String
    Platform name.
    platformType String
    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].
    platformVersion String
    Platform version.
    processorCount Integer
    Processor count.
    state String
    The current state of the host.
    status String
    (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"
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the the host insight was first enabled. An RFC3339 formatted datetime string
    timeUpdated String
    The time the host insight was updated. An RFC3339 formatted datetime string
    compartmentId string
    (Updatable) Compartment Identifier of host
    computeId string
    The OCID of the Compute Instance
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    enterpriseManagerBridgeId string
    OPSI Enterprise Manager Bridge OCID
    enterpriseManagerEntityDisplayName string
    Enterprise Manager Entity Display Name
    enterpriseManagerEntityIdentifier string
    Enterprise Manager Entity Unique Identifier
    enterpriseManagerEntityName string
    Enterprise Manager Entity Name
    enterpriseManagerEntityType string
    Enterprise Manager Entity Type
    enterpriseManagerIdentifier string
    Enterprise Manager Unique Identifier
    entitySource string
    (Updatable) Source of the host entity.
    exadataInsightId string
    The OCID of the Exadata insight.
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hostDisplayName string
    The user-friendly name for the host. The name does not have to be unique.
    hostName string
    The host name. The host name is unique amongst the hosts managed by the same management agent.
    hostType string
    Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
    lifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    managementAgentId string

    The OCID 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.

    platformName string
    Platform name.
    platformType string
    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].
    platformVersion string
    Platform version.
    processorCount number
    Processor count.
    state string
    The current state of the host.
    status string
    (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"
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the the host insight was first enabled. An RFC3339 formatted datetime string
    timeUpdated string
    The time the host insight was updated. An RFC3339 formatted datetime string
    compartment_id str
    (Updatable) Compartment Identifier of host
    compute_id str
    The OCID of the Compute Instance
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    enterprise_manager_bridge_id str
    OPSI Enterprise Manager Bridge OCID
    enterprise_manager_entity_display_name str
    Enterprise Manager Entity Display Name
    enterprise_manager_entity_identifier str
    Enterprise Manager Entity Unique Identifier
    enterprise_manager_entity_name str
    Enterprise Manager Entity Name
    enterprise_manager_entity_type str
    Enterprise Manager Entity Type
    enterprise_manager_identifier str
    Enterprise Manager Unique Identifier
    entity_source str
    (Updatable) Source of the host entity.
    exadata_insight_id str
    The OCID of the Exadata insight.
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    host_display_name str
    The user-friendly name for the host. The name does not have to be unique.
    host_name str
    The host name. The host name is unique amongst the hosts managed by the same management agent.
    host_type str
    Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
    lifecycle_details str
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    management_agent_id str

    The OCID 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.

    platform_name str
    Platform name.
    platform_type str
    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].
    platform_version str
    Platform version.
    processor_count int
    Processor count.
    state str
    The current state of the host.
    status str
    (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"
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time the the host insight was first enabled. An RFC3339 formatted datetime string
    time_updated str
    The time the host insight was updated. An RFC3339 formatted datetime string
    compartmentId String
    (Updatable) Compartment Identifier of host
    computeId String
    The OCID of the Compute Instance
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    enterpriseManagerBridgeId String
    OPSI Enterprise Manager Bridge OCID
    enterpriseManagerEntityDisplayName String
    Enterprise Manager Entity Display Name
    enterpriseManagerEntityIdentifier String
    Enterprise Manager Entity Unique Identifier
    enterpriseManagerEntityName String
    Enterprise Manager Entity Name
    enterpriseManagerEntityType String
    Enterprise Manager Entity Type
    enterpriseManagerIdentifier String
    Enterprise Manager Unique Identifier
    entitySource String
    (Updatable) Source of the host entity.
    exadataInsightId String
    The OCID of the Exadata insight.
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hostDisplayName String
    The user-friendly name for the host. The name does not have to be unique.
    hostName String
    The host name. The host name is unique amongst the hosts managed by the same management agent.
    hostType String
    Operations Insights internal representation of the host type. Possible value is EXTERNAL-HOST.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    managementAgentId String

    The OCID 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.

    platformName String
    Platform name.
    platformType String
    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].
    platformVersion String
    Platform version.
    processorCount Number
    Processor count.
    state String
    The current state of the host.
    status String
    (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"
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the the host insight was first enabled. An RFC3339 formatted datetime string
    timeUpdated String
    The time the host insight was updated. An RFC3339 formatted datetime string

    Import

    HostInsights can be imported using the id, e.g.

    $ pulumi import oci:Opsi/hostInsight:HostInsight test_host_insight "id"
    

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.27.0 published on Friday, Mar 15, 2024 by Pulumi