1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. LogAnalytics
  5. getLogAnalyticsEntities
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.LogAnalytics.getLogAnalyticsEntities

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This data source provides the list of Log Analytics Entities in Oracle Cloud Infrastructure Log Analytics service.

    Return a list of log analytics entities.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testLogAnalyticsEntities = oci.LogAnalytics.getLogAnalyticsEntities({
        compartmentId: compartmentId,
        namespace: logAnalyticsEntityNamespace,
        cloudResourceId: testCloudResource.id,
        entityTypeNames: logAnalyticsEntityEntityTypeName,
        hostname: logAnalyticsEntityHostname,
        hostnameContains: logAnalyticsEntityHostnameContains,
        isManagementAgentIdNull: logAnalyticsEntityIsManagementAgentIdNull,
        lifecycleDetailsContains: logAnalyticsEntityLifecycleDetailsContains,
        metadataEquals: logAnalyticsEntityMetadataEquals,
        name: logAnalyticsEntityName,
        nameContains: logAnalyticsEntityNameContains,
        sourceId: testSource.id,
        state: logAnalyticsEntityState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_log_analytics_entities = oci.LogAnalytics.get_log_analytics_entities(compartment_id=compartment_id,
        namespace=log_analytics_entity_namespace,
        cloud_resource_id=test_cloud_resource["id"],
        entity_type_names=log_analytics_entity_entity_type_name,
        hostname=log_analytics_entity_hostname,
        hostname_contains=log_analytics_entity_hostname_contains,
        is_management_agent_id_null=log_analytics_entity_is_management_agent_id_null,
        lifecycle_details_contains=log_analytics_entity_lifecycle_details_contains,
        metadata_equals=log_analytics_entity_metadata_equals,
        name=log_analytics_entity_name,
        name_contains=log_analytics_entity_name_contains,
        source_id=test_source["id"],
        state=log_analytics_entity_state)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/LogAnalytics"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := LogAnalytics.GetLogAnalyticsEntities(ctx, &loganalytics.GetLogAnalyticsEntitiesArgs{
    			CompartmentId:            compartmentId,
    			Namespace:                logAnalyticsEntityNamespace,
    			CloudResourceId:          pulumi.StringRef(testCloudResource.Id),
    			EntityTypeNames:          logAnalyticsEntityEntityTypeName,
    			Hostname:                 pulumi.StringRef(logAnalyticsEntityHostname),
    			HostnameContains:         pulumi.StringRef(logAnalyticsEntityHostnameContains),
    			IsManagementAgentIdNull:  pulumi.StringRef(logAnalyticsEntityIsManagementAgentIdNull),
    			LifecycleDetailsContains: pulumi.StringRef(logAnalyticsEntityLifecycleDetailsContains),
    			MetadataEquals:           logAnalyticsEntityMetadataEquals,
    			Name:                     pulumi.StringRef(logAnalyticsEntityName),
    			NameContains:             pulumi.StringRef(logAnalyticsEntityNameContains),
    			SourceId:                 pulumi.StringRef(testSource.Id),
    			State:                    pulumi.StringRef(logAnalyticsEntityState),
    		}, 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 testLogAnalyticsEntities = Oci.LogAnalytics.GetLogAnalyticsEntities.Invoke(new()
        {
            CompartmentId = compartmentId,
            Namespace = logAnalyticsEntityNamespace,
            CloudResourceId = testCloudResource.Id,
            EntityTypeNames = logAnalyticsEntityEntityTypeName,
            Hostname = logAnalyticsEntityHostname,
            HostnameContains = logAnalyticsEntityHostnameContains,
            IsManagementAgentIdNull = logAnalyticsEntityIsManagementAgentIdNull,
            LifecycleDetailsContains = logAnalyticsEntityLifecycleDetailsContains,
            MetadataEquals = logAnalyticsEntityMetadataEquals,
            Name = logAnalyticsEntityName,
            NameContains = logAnalyticsEntityNameContains,
            SourceId = testSource.Id,
            State = logAnalyticsEntityState,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.LogAnalytics.LogAnalyticsFunctions;
    import com.pulumi.oci.LogAnalytics.inputs.GetLogAnalyticsEntitiesArgs;
    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 testLogAnalyticsEntities = LogAnalyticsFunctions.getLogAnalyticsEntities(GetLogAnalyticsEntitiesArgs.builder()
                .compartmentId(compartmentId)
                .namespace(logAnalyticsEntityNamespace)
                .cloudResourceId(testCloudResource.id())
                .entityTypeNames(logAnalyticsEntityEntityTypeName)
                .hostname(logAnalyticsEntityHostname)
                .hostnameContains(logAnalyticsEntityHostnameContains)
                .isManagementAgentIdNull(logAnalyticsEntityIsManagementAgentIdNull)
                .lifecycleDetailsContains(logAnalyticsEntityLifecycleDetailsContains)
                .metadataEquals(logAnalyticsEntityMetadataEquals)
                .name(logAnalyticsEntityName)
                .nameContains(logAnalyticsEntityNameContains)
                .sourceId(testSource.id())
                .state(logAnalyticsEntityState)
                .build());
    
        }
    }
    
    variables:
      testLogAnalyticsEntities:
        fn::invoke:
          Function: oci:LogAnalytics:getLogAnalyticsEntities
          Arguments:
            compartmentId: ${compartmentId}
            namespace: ${logAnalyticsEntityNamespace}
            cloudResourceId: ${testCloudResource.id}
            entityTypeNames: ${logAnalyticsEntityEntityTypeName}
            hostname: ${logAnalyticsEntityHostname}
            hostnameContains: ${logAnalyticsEntityHostnameContains}
            isManagementAgentIdNull: ${logAnalyticsEntityIsManagementAgentIdNull}
            lifecycleDetailsContains: ${logAnalyticsEntityLifecycleDetailsContains}
            metadataEquals: ${logAnalyticsEntityMetadataEquals}
            name: ${logAnalyticsEntityName}
            nameContains: ${logAnalyticsEntityNameContains}
            sourceId: ${testSource.id}
            state: ${logAnalyticsEntityState}
    

    Using getLogAnalyticsEntities

    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 getLogAnalyticsEntities(args: GetLogAnalyticsEntitiesArgs, opts?: InvokeOptions): Promise<GetLogAnalyticsEntitiesResult>
    function getLogAnalyticsEntitiesOutput(args: GetLogAnalyticsEntitiesOutputArgs, opts?: InvokeOptions): Output<GetLogAnalyticsEntitiesResult>
    def get_log_analytics_entities(cloud_resource_id: Optional[str] = None,
                                   compartment_id: Optional[str] = None,
                                   entity_type_names: Optional[Sequence[str]] = None,
                                   filters: Optional[Sequence[_loganalytics.GetLogAnalyticsEntitiesFilter]] = None,
                                   hostname: Optional[str] = None,
                                   hostname_contains: Optional[str] = None,
                                   is_management_agent_id_null: Optional[str] = None,
                                   lifecycle_details_contains: Optional[str] = None,
                                   metadata_equals: Optional[Sequence[str]] = None,
                                   name: Optional[str] = None,
                                   name_contains: Optional[str] = None,
                                   namespace: Optional[str] = None,
                                   source_id: Optional[str] = None,
                                   state: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetLogAnalyticsEntitiesResult
    def get_log_analytics_entities_output(cloud_resource_id: Optional[pulumi.Input[str]] = None,
                                   compartment_id: Optional[pulumi.Input[str]] = None,
                                   entity_type_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                   filters: Optional[pulumi.Input[Sequence[pulumi.Input[_loganalytics.GetLogAnalyticsEntitiesFilterArgs]]]] = None,
                                   hostname: Optional[pulumi.Input[str]] = None,
                                   hostname_contains: Optional[pulumi.Input[str]] = None,
                                   is_management_agent_id_null: Optional[pulumi.Input[str]] = None,
                                   lifecycle_details_contains: Optional[pulumi.Input[str]] = None,
                                   metadata_equals: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                   name: Optional[pulumi.Input[str]] = None,
                                   name_contains: Optional[pulumi.Input[str]] = None,
                                   namespace: Optional[pulumi.Input[str]] = None,
                                   source_id: Optional[pulumi.Input[str]] = None,
                                   state: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetLogAnalyticsEntitiesResult]
    func GetLogAnalyticsEntities(ctx *Context, args *GetLogAnalyticsEntitiesArgs, opts ...InvokeOption) (*GetLogAnalyticsEntitiesResult, error)
    func GetLogAnalyticsEntitiesOutput(ctx *Context, args *GetLogAnalyticsEntitiesOutputArgs, opts ...InvokeOption) GetLogAnalyticsEntitiesResultOutput

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

    public static class GetLogAnalyticsEntities 
    {
        public static Task<GetLogAnalyticsEntitiesResult> InvokeAsync(GetLogAnalyticsEntitiesArgs args, InvokeOptions? opts = null)
        public static Output<GetLogAnalyticsEntitiesResult> Invoke(GetLogAnalyticsEntitiesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLogAnalyticsEntitiesResult> getLogAnalyticsEntities(GetLogAnalyticsEntitiesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:LogAnalytics/getLogAnalyticsEntities:getLogAnalyticsEntities
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The ID of the compartment in which to list resources.
    Namespace string
    The Logging Analytics namespace used for the request.
    CloudResourceId string
    A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
    EntityTypeNames List<string>
    A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
    Filters List<GetLogAnalyticsEntitiesFilter>
    Hostname string
    A filter to return only log analytics entities whose hostname matches the entire hostname given.
    HostnameContains string
    A filter to return only log analytics entities whose hostname contains the substring given. The match is case-insensitive.
    IsManagementAgentIdNull string
    A filter to return only those log analytics entities whose managementAgentId is null or is not null.
    LifecycleDetailsContains string
    A filter to return only log analytics entities whose lifecycleDetails contains the specified string.
    MetadataEquals List<string>
    A filter to return only log analytics entities whose metadata name, value and type matches the specified string. Each item in the array has the format "{name}:{value}:{type}". All inputs are case-insensitive.
    Name string
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    NameContains string
    A filter to return only log analytics entities whose name contains the name given. The match is case-insensitive.
    SourceId string
    A filter to return only log analytics entities whose sourceId matches the sourceId given.
    State string
    A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
    CompartmentId string
    The ID of the compartment in which to list resources.
    Namespace string
    The Logging Analytics namespace used for the request.
    CloudResourceId string
    A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
    EntityTypeNames []string
    A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
    Filters []GetLogAnalyticsEntitiesFilter
    Hostname string
    A filter to return only log analytics entities whose hostname matches the entire hostname given.
    HostnameContains string
    A filter to return only log analytics entities whose hostname contains the substring given. The match is case-insensitive.
    IsManagementAgentIdNull string
    A filter to return only those log analytics entities whose managementAgentId is null or is not null.
    LifecycleDetailsContains string
    A filter to return only log analytics entities whose lifecycleDetails contains the specified string.
    MetadataEquals []string
    A filter to return only log analytics entities whose metadata name, value and type matches the specified string. Each item in the array has the format "{name}:{value}:{type}". All inputs are case-insensitive.
    Name string
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    NameContains string
    A filter to return only log analytics entities whose name contains the name given. The match is case-insensitive.
    SourceId string
    A filter to return only log analytics entities whose sourceId matches the sourceId given.
    State string
    A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
    compartmentId String
    The ID of the compartment in which to list resources.
    namespace String
    The Logging Analytics namespace used for the request.
    cloudResourceId String
    A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
    entityTypeNames List<String>
    A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
    filters List<GetEntitiesFilter>
    hostname String
    A filter to return only log analytics entities whose hostname matches the entire hostname given.
    hostnameContains String
    A filter to return only log analytics entities whose hostname contains the substring given. The match is case-insensitive.
    isManagementAgentIdNull String
    A filter to return only those log analytics entities whose managementAgentId is null or is not null.
    lifecycleDetailsContains String
    A filter to return only log analytics entities whose lifecycleDetails contains the specified string.
    metadataEquals List<String>
    A filter to return only log analytics entities whose metadata name, value and type matches the specified string. Each item in the array has the format "{name}:{value}:{type}". All inputs are case-insensitive.
    name String
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    nameContains String
    A filter to return only log analytics entities whose name contains the name given. The match is case-insensitive.
    sourceId String
    A filter to return only log analytics entities whose sourceId matches the sourceId given.
    state String
    A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
    compartmentId string
    The ID of the compartment in which to list resources.
    namespace string
    The Logging Analytics namespace used for the request.
    cloudResourceId string
    A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
    entityTypeNames string[]
    A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
    filters GetLogAnalyticsEntitiesFilter[]
    hostname string
    A filter to return only log analytics entities whose hostname matches the entire hostname given.
    hostnameContains string
    A filter to return only log analytics entities whose hostname contains the substring given. The match is case-insensitive.
    isManagementAgentIdNull string
    A filter to return only those log analytics entities whose managementAgentId is null or is not null.
    lifecycleDetailsContains string
    A filter to return only log analytics entities whose lifecycleDetails contains the specified string.
    metadataEquals string[]
    A filter to return only log analytics entities whose metadata name, value and type matches the specified string. Each item in the array has the format "{name}:{value}:{type}". All inputs are case-insensitive.
    name string
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    nameContains string
    A filter to return only log analytics entities whose name contains the name given. The match is case-insensitive.
    sourceId string
    A filter to return only log analytics entities whose sourceId matches the sourceId given.
    state string
    A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
    compartment_id str
    The ID of the compartment in which to list resources.
    namespace str
    The Logging Analytics namespace used for the request.
    cloud_resource_id str
    A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
    entity_type_names Sequence[str]
    A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
    filters Sequence[loganalytics.GetLogAnalyticsEntitiesFilter]
    hostname str
    A filter to return only log analytics entities whose hostname matches the entire hostname given.
    hostname_contains str
    A filter to return only log analytics entities whose hostname contains the substring given. The match is case-insensitive.
    is_management_agent_id_null str
    A filter to return only those log analytics entities whose managementAgentId is null or is not null.
    lifecycle_details_contains str
    A filter to return only log analytics entities whose lifecycleDetails contains the specified string.
    metadata_equals Sequence[str]
    A filter to return only log analytics entities whose metadata name, value and type matches the specified string. Each item in the array has the format "{name}:{value}:{type}". All inputs are case-insensitive.
    name str
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    name_contains str
    A filter to return only log analytics entities whose name contains the name given. The match is case-insensitive.
    source_id str
    A filter to return only log analytics entities whose sourceId matches the sourceId given.
    state str
    A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
    compartmentId String
    The ID of the compartment in which to list resources.
    namespace String
    The Logging Analytics namespace used for the request.
    cloudResourceId String
    A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
    entityTypeNames List<String>
    A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
    filters List<Property Map>
    hostname String
    A filter to return only log analytics entities whose hostname matches the entire hostname given.
    hostnameContains String
    A filter to return only log analytics entities whose hostname contains the substring given. The match is case-insensitive.
    isManagementAgentIdNull String
    A filter to return only those log analytics entities whose managementAgentId is null or is not null.
    lifecycleDetailsContains String
    A filter to return only log analytics entities whose lifecycleDetails contains the specified string.
    metadataEquals List<String>
    A filter to return only log analytics entities whose metadata name, value and type matches the specified string. Each item in the array has the format "{name}:{value}:{type}". All inputs are case-insensitive.
    name String
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    nameContains String
    A filter to return only log analytics entities whose name contains the name given. The match is case-insensitive.
    sourceId String
    A filter to return only log analytics entities whose sourceId matches the sourceId given.
    state String
    A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.

    getLogAnalyticsEntities Result

    The following output properties are available:

    CompartmentId string
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    Id string
    The provider-assigned unique ID for this managed resource.
    LogAnalyticsEntityCollections List<GetLogAnalyticsEntitiesLogAnalyticsEntityCollection>
    The list of log_analytics_entity_collection.
    Namespace string
    CloudResourceId string
    The OCID of the Cloud resource which this entity is a representation of. This may be blank when the entity represents a non-cloud resource that the customer may have on their premises.
    EntityTypeNames List<string>
    Log analytics entity type name.
    Filters List<GetLogAnalyticsEntitiesFilter>
    Hostname string
    The hostname where the entity represented here is actually present. This would be the output one would get if they run echo $HOSTNAME on Linux or an equivalent OS command. This may be different from management agents host since logs may be collected remotely.
    HostnameContains string
    IsManagementAgentIdNull string
    LifecycleDetailsContains string
    MetadataEquals List<string>
    Name string
    Log analytics entity name.
    NameContains string
    SourceId string
    This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
    State string
    The current state of the log analytics entity.
    CompartmentId string
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    Id string
    The provider-assigned unique ID for this managed resource.
    LogAnalyticsEntityCollections []GetLogAnalyticsEntitiesLogAnalyticsEntityCollection
    The list of log_analytics_entity_collection.
    Namespace string
    CloudResourceId string
    The OCID of the Cloud resource which this entity is a representation of. This may be blank when the entity represents a non-cloud resource that the customer may have on their premises.
    EntityTypeNames []string
    Log analytics entity type name.
    Filters []GetLogAnalyticsEntitiesFilter
    Hostname string
    The hostname where the entity represented here is actually present. This would be the output one would get if they run echo $HOSTNAME on Linux or an equivalent OS command. This may be different from management agents host since logs may be collected remotely.
    HostnameContains string
    IsManagementAgentIdNull string
    LifecycleDetailsContains string
    MetadataEquals []string
    Name string
    Log analytics entity name.
    NameContains string
    SourceId string
    This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
    State string
    The current state of the log analytics entity.
    compartmentId String
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    id String
    The provider-assigned unique ID for this managed resource.
    logAnalyticsEntityCollections List<GetEntitiesEntityCollection>
    The list of log_analytics_entity_collection.
    namespace String
    cloudResourceId String
    The OCID of the Cloud resource which this entity is a representation of. This may be blank when the entity represents a non-cloud resource that the customer may have on their premises.
    entityTypeNames List<String>
    Log analytics entity type name.
    filters List<GetEntitiesFilter>
    hostname String
    The hostname where the entity represented here is actually present. This would be the output one would get if they run echo $HOSTNAME on Linux or an equivalent OS command. This may be different from management agents host since logs may be collected remotely.
    hostnameContains String
    isManagementAgentIdNull String
    lifecycleDetailsContains String
    metadataEquals List<String>
    name String
    Log analytics entity name.
    nameContains String
    sourceId String
    This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
    state String
    The current state of the log analytics entity.
    compartmentId string
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    id string
    The provider-assigned unique ID for this managed resource.
    logAnalyticsEntityCollections GetLogAnalyticsEntitiesLogAnalyticsEntityCollection[]
    The list of log_analytics_entity_collection.
    namespace string
    cloudResourceId string
    The OCID of the Cloud resource which this entity is a representation of. This may be blank when the entity represents a non-cloud resource that the customer may have on their premises.
    entityTypeNames string[]
    Log analytics entity type name.
    filters GetLogAnalyticsEntitiesFilter[]
    hostname string
    The hostname where the entity represented here is actually present. This would be the output one would get if they run echo $HOSTNAME on Linux or an equivalent OS command. This may be different from management agents host since logs may be collected remotely.
    hostnameContains string
    isManagementAgentIdNull string
    lifecycleDetailsContains string
    metadataEquals string[]
    name string
    Log analytics entity name.
    nameContains string
    sourceId string
    This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
    state string
    The current state of the log analytics entity.
    compartment_id str
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    id str
    The provider-assigned unique ID for this managed resource.
    log_analytics_entity_collections Sequence[loganalytics.GetLogAnalyticsEntitiesLogAnalyticsEntityCollection]
    The list of log_analytics_entity_collection.
    namespace str
    cloud_resource_id str
    The OCID of the Cloud resource which this entity is a representation of. This may be blank when the entity represents a non-cloud resource that the customer may have on their premises.
    entity_type_names Sequence[str]
    Log analytics entity type name.
    filters Sequence[loganalytics.GetLogAnalyticsEntitiesFilter]
    hostname str
    The hostname where the entity represented here is actually present. This would be the output one would get if they run echo $HOSTNAME on Linux or an equivalent OS command. This may be different from management agents host since logs may be collected remotely.
    hostname_contains str
    is_management_agent_id_null str
    lifecycle_details_contains str
    metadata_equals Sequence[str]
    name str
    Log analytics entity name.
    name_contains str
    source_id str
    This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
    state str
    The current state of the log analytics entity.
    compartmentId String
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    id String
    The provider-assigned unique ID for this managed resource.
    logAnalyticsEntityCollections List<Property Map>
    The list of log_analytics_entity_collection.
    namespace String
    cloudResourceId String
    The OCID of the Cloud resource which this entity is a representation of. This may be blank when the entity represents a non-cloud resource that the customer may have on their premises.
    entityTypeNames List<String>
    Log analytics entity type name.
    filters List<Property Map>
    hostname String
    The hostname where the entity represented here is actually present. This would be the output one would get if they run echo $HOSTNAME on Linux or an equivalent OS command. This may be different from management agents host since logs may be collected remotely.
    hostnameContains String
    isManagementAgentIdNull String
    lifecycleDetailsContains String
    metadataEquals List<String>
    name String
    Log analytics entity name.
    nameContains String
    sourceId String
    This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
    state String
    The current state of the log analytics entity.

    Supporting Types

    GetLogAnalyticsEntitiesFilter

    Name string
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    Values List<string>
    Regex bool
    Name string
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    Values []string
    Regex bool
    name String
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    values List<String>
    regex Boolean
    name string
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    values string[]
    regex boolean
    name str
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    values Sequence[str]
    regex bool
    name String
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    values List<String>
    regex Boolean

    GetLogAnalyticsEntitiesLogAnalyticsEntityCollection

    items List<GetEntitiesEntityCollectionItem>
    An array of entity metadata.
    items List<Property Map>
    An array of entity metadata.

    GetLogAnalyticsEntitiesLogAnalyticsEntityCollectionItem

    AreLogsCollected bool
    The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
    CloudResourceId string
    A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
    CompartmentId string
    The ID of the compartment in which to list resources.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    EntityTypeInternalName string
    Internal name for the log analytics entity type.
    EntityTypeName string
    A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
    FreeformTags Dictionary<string, string>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Hostname string
    A filter to return only log analytics entities whose hostname matches the entire hostname given.
    Id string
    The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
    LifecycleDetails string
    lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
    ManagementAgentCompartmentId string
    Management agent (management-agents resource kind) compartment OCID
    ManagementAgentDisplayName string
    Management agent (management-agents resource kind) display name
    ManagementAgentId string
    The OCID of the Management Agent.
    Metadatas List<GetLogAnalyticsEntitiesLogAnalyticsEntityCollectionItemMetadata>
    Details of entity metadata information.
    Name string
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    Namespace string
    The Logging Analytics namespace used for the request.
    Properties Dictionary<string, string>
    The name/value pairs for parameter values to be used in file patterns specified in log sources.
    SourceId string
    A filter to return only log analytics entities whose sourceId matches the sourceId given.
    State string
    A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
    TimeCreated string
    The date and time the resource was created, in the format defined by RFC3339.
    TimeLastDiscovered string
    The date and time the resource was last discovered, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the resource was last updated, in the format defined by RFC3339.
    TimezoneRegion string
    The timezone region of the log analytics entity.
    AreLogsCollected bool
    The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
    CloudResourceId string
    A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
    CompartmentId string
    The ID of the compartment in which to list resources.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    EntityTypeInternalName string
    Internal name for the log analytics entity type.
    EntityTypeName string
    A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
    FreeformTags map[string]string
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Hostname string
    A filter to return only log analytics entities whose hostname matches the entire hostname given.
    Id string
    The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
    LifecycleDetails string
    lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
    ManagementAgentCompartmentId string
    Management agent (management-agents resource kind) compartment OCID
    ManagementAgentDisplayName string
    Management agent (management-agents resource kind) display name
    ManagementAgentId string
    The OCID of the Management Agent.
    Metadatas []GetLogAnalyticsEntitiesLogAnalyticsEntityCollectionItemMetadata
    Details of entity metadata information.
    Name string
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    Namespace string
    The Logging Analytics namespace used for the request.
    Properties map[string]string
    The name/value pairs for parameter values to be used in file patterns specified in log sources.
    SourceId string
    A filter to return only log analytics entities whose sourceId matches the sourceId given.
    State string
    A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
    TimeCreated string
    The date and time the resource was created, in the format defined by RFC3339.
    TimeLastDiscovered string
    The date and time the resource was last discovered, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the resource was last updated, in the format defined by RFC3339.
    TimezoneRegion string
    The timezone region of the log analytics entity.
    areLogsCollected Boolean
    The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
    cloudResourceId String
    A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
    compartmentId String
    The ID of the compartment in which to list resources.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    entityTypeInternalName String
    Internal name for the log analytics entity type.
    entityTypeName String
    A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
    freeformTags Map<String,String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hostname String
    A filter to return only log analytics entities whose hostname matches the entire hostname given.
    id String
    The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
    lifecycleDetails String
    lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
    managementAgentCompartmentId String
    Management agent (management-agents resource kind) compartment OCID
    managementAgentDisplayName String
    Management agent (management-agents resource kind) display name
    managementAgentId String
    The OCID of the Management Agent.
    metadatas List<GetEntitiesEntityCollectionItemMetadata>
    Details of entity metadata information.
    name String
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    namespace String
    The Logging Analytics namespace used for the request.
    properties Map<String,String>
    The name/value pairs for parameter values to be used in file patterns specified in log sources.
    sourceId String
    A filter to return only log analytics entities whose sourceId matches the sourceId given.
    state String
    A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
    timeCreated String
    The date and time the resource was created, in the format defined by RFC3339.
    timeLastDiscovered String
    The date and time the resource was last discovered, in the format defined by RFC3339.
    timeUpdated String
    The date and time the resource was last updated, in the format defined by RFC3339.
    timezoneRegion String
    The timezone region of the log analytics entity.
    areLogsCollected boolean
    The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
    cloudResourceId string
    A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
    compartmentId string
    The ID of the compartment in which to list resources.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    entityTypeInternalName string
    Internal name for the log analytics entity type.
    entityTypeName string
    A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
    freeformTags {[key: string]: string}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hostname string
    A filter to return only log analytics entities whose hostname matches the entire hostname given.
    id string
    The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
    lifecycleDetails string
    lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
    managementAgentCompartmentId string
    Management agent (management-agents resource kind) compartment OCID
    managementAgentDisplayName string
    Management agent (management-agents resource kind) display name
    managementAgentId string
    The OCID of the Management Agent.
    metadatas GetLogAnalyticsEntitiesLogAnalyticsEntityCollectionItemMetadata[]
    Details of entity metadata information.
    name string
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    namespace string
    The Logging Analytics namespace used for the request.
    properties {[key: string]: string}
    The name/value pairs for parameter values to be used in file patterns specified in log sources.
    sourceId string
    A filter to return only log analytics entities whose sourceId matches the sourceId given.
    state string
    A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
    timeCreated string
    The date and time the resource was created, in the format defined by RFC3339.
    timeLastDiscovered string
    The date and time the resource was last discovered, in the format defined by RFC3339.
    timeUpdated string
    The date and time the resource was last updated, in the format defined by RFC3339.
    timezoneRegion string
    The timezone region of the log analytics entity.
    are_logs_collected bool
    The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
    cloud_resource_id str
    A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
    compartment_id str
    The ID of the compartment in which to list resources.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    entity_type_internal_name str
    Internal name for the log analytics entity type.
    entity_type_name str
    A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
    freeform_tags Mapping[str, str]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hostname str
    A filter to return only log analytics entities whose hostname matches the entire hostname given.
    id str
    The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
    lifecycle_details str
    lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
    management_agent_compartment_id str
    Management agent (management-agents resource kind) compartment OCID
    management_agent_display_name str
    Management agent (management-agents resource kind) display name
    management_agent_id str
    The OCID of the Management Agent.
    metadatas Sequence[loganalytics.GetLogAnalyticsEntitiesLogAnalyticsEntityCollectionItemMetadata]
    Details of entity metadata information.
    name str
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    namespace str
    The Logging Analytics namespace used for the request.
    properties Mapping[str, str]
    The name/value pairs for parameter values to be used in file patterns specified in log sources.
    source_id str
    A filter to return only log analytics entities whose sourceId matches the sourceId given.
    state str
    A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
    time_created str
    The date and time the resource was created, in the format defined by RFC3339.
    time_last_discovered str
    The date and time the resource was last discovered, in the format defined by RFC3339.
    time_updated str
    The date and time the resource was last updated, in the format defined by RFC3339.
    timezone_region str
    The timezone region of the log analytics entity.
    areLogsCollected Boolean
    The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
    cloudResourceId String
    A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.
    compartmentId String
    The ID of the compartment in which to list resources.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    entityTypeInternalName String
    Internal name for the log analytics entity type.
    entityTypeName String
    A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
    freeformTags Map<String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hostname String
    A filter to return only log analytics entities whose hostname matches the entire hostname given.
    id String
    The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
    lifecycleDetails String
    lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
    managementAgentCompartmentId String
    Management agent (management-agents resource kind) compartment OCID
    managementAgentDisplayName String
    Management agent (management-agents resource kind) display name
    managementAgentId String
    The OCID of the Management Agent.
    metadatas List<Property Map>
    Details of entity metadata information.
    name String
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    namespace String
    The Logging Analytics namespace used for the request.
    properties Map<String>
    The name/value pairs for parameter values to be used in file patterns specified in log sources.
    sourceId String
    A filter to return only log analytics entities whose sourceId matches the sourceId given.
    state String
    A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
    timeCreated String
    The date and time the resource was created, in the format defined by RFC3339.
    timeLastDiscovered String
    The date and time the resource was last discovered, in the format defined by RFC3339.
    timeUpdated String
    The date and time the resource was last updated, in the format defined by RFC3339.
    timezoneRegion String
    The timezone region of the log analytics entity.

    GetLogAnalyticsEntitiesLogAnalyticsEntityCollectionItemMetadata

    items List<Property Map>
    An array of entity metadata.

    GetLogAnalyticsEntitiesLogAnalyticsEntityCollectionItemMetadataItem

    Name string
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    Type string
    The metadata type.
    Value string
    The metadata value.
    Name string
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    Type string
    The metadata type.
    Value string
    The metadata value.
    name String
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    type String
    The metadata type.
    value String
    The metadata value.
    name string
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    type string
    The metadata type.
    value string
    The metadata value.
    name str
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    type str
    The metadata type.
    value str
    The metadata value.
    name String
    A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive.
    type String
    The metadata type.
    value String
    The metadata value.

    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 v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi