1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Opsi
  5. getHostInsight
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.Opsi.getHostInsight

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This data source provides details about a specific Host Insight resource in Oracle Cloud Infrastructure Opsi service.

    Gets details of a host insight.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testHostInsight = oci.Opsi.getHostInsight({
        hostInsightId: testHostInsightOciOpsiHostInsight.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_host_insight = oci.Opsi.get_host_insight(host_insight_id=test_host_insight_oci_opsi_host_insight["id"])
    
    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.GetHostInsight(ctx, &opsi.GetHostInsightArgs{
    			HostInsightId: testHostInsightOciOpsiHostInsight.Id,
    		}, nil)
    		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 = Oci.Opsi.GetHostInsight.Invoke(new()
        {
            HostInsightId = testHostInsightOciOpsiHostInsight.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Opsi.OpsiFunctions;
    import com.pulumi.oci.Opsi.inputs.GetHostInsightArgs;
    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) {
            final var testHostInsight = OpsiFunctions.getHostInsight(GetHostInsightArgs.builder()
                .hostInsightId(testHostInsightOciOpsiHostInsight.id())
                .build());
    
        }
    }
    
    variables:
      testHostInsight:
        fn::invoke:
          Function: oci:Opsi:getHostInsight
          Arguments:
            hostInsightId: ${testHostInsightOciOpsiHostInsight.id}
    

    Using getHostInsight

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getHostInsight(args: GetHostInsightArgs, opts?: InvokeOptions): Promise<GetHostInsightResult>
    function getHostInsightOutput(args: GetHostInsightOutputArgs, opts?: InvokeOptions): Output<GetHostInsightResult>
    def get_host_insight(host_insight_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetHostInsightResult
    def get_host_insight_output(host_insight_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetHostInsightResult]
    func GetHostInsight(ctx *Context, args *GetHostInsightArgs, opts ...InvokeOption) (*GetHostInsightResult, error)
    func GetHostInsightOutput(ctx *Context, args *GetHostInsightOutputArgs, opts ...InvokeOption) GetHostInsightResultOutput

    > Note: This function is named GetHostInsight in the Go SDK.

    public static class GetHostInsight 
    {
        public static Task<GetHostInsightResult> InvokeAsync(GetHostInsightArgs args, InvokeOptions? opts = null)
        public static Output<GetHostInsightResult> Invoke(GetHostInsightInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetHostInsightResult> getHostInsight(GetHostInsightArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Opsi/getHostInsight:getHostInsight
      arguments:
        # arguments dictionary

    The following arguments are supported:

    HostInsightId string
    Unique host insight identifier
    HostInsightId string
    Unique host insight identifier
    hostInsightId String
    Unique host insight identifier
    hostInsightId string
    Unique host insight identifier
    host_insight_id str
    Unique host insight identifier
    hostInsightId String
    Unique host insight identifier

    getHostInsight Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment.
    ComputeId string
    The OCID of the Compute Instance
    DefinedTags Dictionary<string, object>
    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
    Source of the host entity.
    ExadataInsightId string
    The OCID of the Exadata insight.
    FreeformTags Dictionary<string, object>
    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.
    HostInsightId string
    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 OCID of the host insight 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.
    ManagementAgentId string
    The OCID of the Management Agent
    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. This is the OCPU count for Autonomous Database and CPU core count for other database types.
    State string
    The current state of the host.
    Status string
    Indicates the status of a host insight in Operations Insights
    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
    The OCID of the compartment.
    ComputeId string
    The OCID of the Compute Instance
    DefinedTags map[string]interface{}
    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
    Source of the host entity.
    ExadataInsightId string
    The OCID of the Exadata insight.
    FreeformTags map[string]interface{}
    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.
    HostInsightId string
    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 OCID of the host insight 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.
    ManagementAgentId string
    The OCID of the Management Agent
    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. This is the OCPU count for Autonomous Database and CPU core count for other database types.
    State string
    The current state of the host.
    Status string
    Indicates the status of a host insight in Operations Insights
    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
    The OCID of the compartment.
    computeId String
    The OCID of the Compute Instance
    definedTags Map<String,Object>
    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
    Source of the host entity.
    exadataInsightId String
    The OCID of the Exadata insight.
    freeformTags Map<String,Object>
    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.
    hostInsightId String
    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 OCID of the host insight 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.
    managementAgentId String
    The OCID of the Management Agent
    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. This is the OCPU count for Autonomous Database and CPU core count for other database types.
    state String
    The current state of the host.
    status String
    Indicates the status of a host insight in Operations Insights
    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
    The OCID of the compartment.
    computeId string
    The OCID of the Compute Instance
    definedTags {[key: string]: any}
    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
    Source of the host entity.
    exadataInsightId string
    The OCID of the Exadata insight.
    freeformTags {[key: string]: any}
    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.
    hostInsightId string
    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 OCID of the host insight 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.
    managementAgentId string
    The OCID of the Management Agent
    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. This is the OCPU count for Autonomous Database and CPU core count for other database types.
    state string
    The current state of the host.
    status string
    Indicates the status of a host insight in Operations Insights
    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
    The OCID of the compartment.
    compute_id str
    The OCID of the Compute Instance
    defined_tags Mapping[str, Any]
    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
    Source of the host entity.
    exadata_insight_id str
    The OCID of the Exadata insight.
    freeform_tags Mapping[str, Any]
    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_insight_id str
    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 OCID of the host insight 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.
    management_agent_id str
    The OCID of the Management Agent
    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. This is the OCPU count for Autonomous Database and CPU core count for other database types.
    state str
    The current state of the host.
    status str
    Indicates the status of a host insight in Operations Insights
    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
    The OCID of the compartment.
    computeId String
    The OCID of the Compute Instance
    definedTags Map<Any>
    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
    Source of the host entity.
    exadataInsightId String
    The OCID of the Exadata insight.
    freeformTags Map<Any>
    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.
    hostInsightId String
    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 OCID of the host insight 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.
    managementAgentId String
    The OCID of the Management Agent
    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. This is the OCPU count for Autonomous Database and CPU core count for other database types.
    state String
    The current state of the host.
    status String
    Indicates the status of a host insight in Operations Insights
    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

    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.41.0 published on Wednesday, Jun 19, 2024 by Pulumi