Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.LogAnalytics.getLogAnalyticsEntityTypes
This data source provides the list of Log Analytics Entity Types in Oracle Cloud Infrastructure Log Analytics service.
Return a list of log analytics entity types.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testLogAnalyticsEntityTypes = oci.LogAnalytics.getLogAnalyticsEntityTypes({
    namespace: logAnalyticsEntityTypeNamespace,
    cloudType: logAnalyticsEntityTypeCloudType,
    name: logAnalyticsEntityTypeName,
    nameContains: logAnalyticsEntityTypeNameContains,
    state: logAnalyticsEntityTypeState,
});
import pulumi
import pulumi_oci as oci
test_log_analytics_entity_types = oci.LogAnalytics.get_log_analytics_entity_types(namespace=log_analytics_entity_type_namespace,
    cloud_type=log_analytics_entity_type_cloud_type,
    name=log_analytics_entity_type_name,
    name_contains=log_analytics_entity_type_name_contains,
    state=log_analytics_entity_type_state)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/loganalytics"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := loganalytics.GetLogAnalyticsEntityTypes(ctx, &loganalytics.GetLogAnalyticsEntityTypesArgs{
			Namespace:    logAnalyticsEntityTypeNamespace,
			CloudType:    pulumi.StringRef(logAnalyticsEntityTypeCloudType),
			Name:         pulumi.StringRef(logAnalyticsEntityTypeName),
			NameContains: pulumi.StringRef(logAnalyticsEntityTypeNameContains),
			State:        pulumi.StringRef(logAnalyticsEntityTypeState),
		}, 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 testLogAnalyticsEntityTypes = Oci.LogAnalytics.GetLogAnalyticsEntityTypes.Invoke(new()
    {
        Namespace = logAnalyticsEntityTypeNamespace,
        CloudType = logAnalyticsEntityTypeCloudType,
        Name = logAnalyticsEntityTypeName,
        NameContains = logAnalyticsEntityTypeNameContains,
        State = logAnalyticsEntityTypeState,
    });
});
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.GetLogAnalyticsEntityTypesArgs;
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 testLogAnalyticsEntityTypes = LogAnalyticsFunctions.getLogAnalyticsEntityTypes(GetLogAnalyticsEntityTypesArgs.builder()
            .namespace(logAnalyticsEntityTypeNamespace)
            .cloudType(logAnalyticsEntityTypeCloudType)
            .name(logAnalyticsEntityTypeName)
            .nameContains(logAnalyticsEntityTypeNameContains)
            .state(logAnalyticsEntityTypeState)
            .build());
    }
}
variables:
  testLogAnalyticsEntityTypes:
    fn::invoke:
      function: oci:LogAnalytics:getLogAnalyticsEntityTypes
      arguments:
        namespace: ${logAnalyticsEntityTypeNamespace}
        cloudType: ${logAnalyticsEntityTypeCloudType}
        name: ${logAnalyticsEntityTypeName}
        nameContains: ${logAnalyticsEntityTypeNameContains}
        state: ${logAnalyticsEntityTypeState}
Using getLogAnalyticsEntityTypes
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 getLogAnalyticsEntityTypes(args: GetLogAnalyticsEntityTypesArgs, opts?: InvokeOptions): Promise<GetLogAnalyticsEntityTypesResult>
function getLogAnalyticsEntityTypesOutput(args: GetLogAnalyticsEntityTypesOutputArgs, opts?: InvokeOptions): Output<GetLogAnalyticsEntityTypesResult>def get_log_analytics_entity_types(cloud_type: Optional[str] = None,
                                   filters: Optional[Sequence[GetLogAnalyticsEntityTypesFilter]] = None,
                                   name: Optional[str] = None,
                                   name_contains: Optional[str] = None,
                                   namespace: Optional[str] = None,
                                   state: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetLogAnalyticsEntityTypesResult
def get_log_analytics_entity_types_output(cloud_type: Optional[pulumi.Input[str]] = None,
                                   filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetLogAnalyticsEntityTypesFilterArgs]]]] = None,
                                   name: Optional[pulumi.Input[str]] = None,
                                   name_contains: Optional[pulumi.Input[str]] = None,
                                   namespace: Optional[pulumi.Input[str]] = None,
                                   state: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetLogAnalyticsEntityTypesResult]func GetLogAnalyticsEntityTypes(ctx *Context, args *GetLogAnalyticsEntityTypesArgs, opts ...InvokeOption) (*GetLogAnalyticsEntityTypesResult, error)
func GetLogAnalyticsEntityTypesOutput(ctx *Context, args *GetLogAnalyticsEntityTypesOutputArgs, opts ...InvokeOption) GetLogAnalyticsEntityTypesResultOutput> Note: This function is named GetLogAnalyticsEntityTypes in the Go SDK.
public static class GetLogAnalyticsEntityTypes 
{
    public static Task<GetLogAnalyticsEntityTypesResult> InvokeAsync(GetLogAnalyticsEntityTypesArgs args, InvokeOptions? opts = null)
    public static Output<GetLogAnalyticsEntityTypesResult> Invoke(GetLogAnalyticsEntityTypesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLogAnalyticsEntityTypesResult> getLogAnalyticsEntityTypes(GetLogAnalyticsEntityTypesArgs args, InvokeOptions options)
public static Output<GetLogAnalyticsEntityTypesResult> getLogAnalyticsEntityTypes(GetLogAnalyticsEntityTypesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:LogAnalytics/getLogAnalyticsEntityTypes:getLogAnalyticsEntityTypes
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Namespace string
- The Logging Analytics namespace used for the request.
- CloudType string
- A filter to return CLOUD or NON_CLOUD entity types.
- Filters
List<GetLog Analytics Entity Types Filter> 
- Name string
- A filter to return only log analytics entity types whose name matches the entire name given. The match is case-insensitive.
- NameContains string
- A filter to return only log analytics entity types whose name or internalName contains name given. The match is case-insensitive.
- State string
- A filter to return only those log analytics entity types with the specified lifecycle state. The state value is case-insensitive.
- Namespace string
- The Logging Analytics namespace used for the request.
- CloudType string
- A filter to return CLOUD or NON_CLOUD entity types.
- Filters
[]GetLog Analytics Entity Types Filter 
- Name string
- A filter to return only log analytics entity types whose name matches the entire name given. The match is case-insensitive.
- NameContains string
- A filter to return only log analytics entity types whose name or internalName contains name given. The match is case-insensitive.
- State string
- A filter to return only those log analytics entity types with the specified lifecycle state. The state value is case-insensitive.
- namespace String
- The Logging Analytics namespace used for the request.
- cloudType String
- A filter to return CLOUD or NON_CLOUD entity types.
- filters
List<GetEntity Types Filter> 
- name String
- A filter to return only log analytics entity types whose name matches the entire name given. The match is case-insensitive.
- nameContains String
- A filter to return only log analytics entity types whose name or internalName contains name given. The match is case-insensitive.
- state String
- A filter to return only those log analytics entity types with the specified lifecycle state. The state value is case-insensitive.
- namespace string
- The Logging Analytics namespace used for the request.
- cloudType string
- A filter to return CLOUD or NON_CLOUD entity types.
- filters
GetLog Analytics Entity Types Filter[] 
- name string
- A filter to return only log analytics entity types whose name matches the entire name given. The match is case-insensitive.
- nameContains string
- A filter to return only log analytics entity types whose name or internalName contains name given. The match is case-insensitive.
- state string
- A filter to return only those log analytics entity types with the specified lifecycle state. The state value is case-insensitive.
- namespace str
- The Logging Analytics namespace used for the request.
- cloud_type str
- A filter to return CLOUD or NON_CLOUD entity types.
- filters
Sequence[GetLog Analytics Entity Types Filter] 
- name str
- A filter to return only log analytics entity types whose name matches the entire name given. The match is case-insensitive.
- name_contains str
- A filter to return only log analytics entity types whose name or internalName contains name given. The match is case-insensitive.
- state str
- A filter to return only those log analytics entity types with the specified lifecycle state. The state value is case-insensitive.
- namespace String
- The Logging Analytics namespace used for the request.
- cloudType String
- A filter to return CLOUD or NON_CLOUD entity types.
- filters List<Property Map>
- name String
- A filter to return only log analytics entity types whose name matches the entire name given. The match is case-insensitive.
- nameContains String
- A filter to return only log analytics entity types whose name or internalName contains name given. The match is case-insensitive.
- state String
- A filter to return only those log analytics entity types with the specified lifecycle state. The state value is case-insensitive.
getLogAnalyticsEntityTypes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- LogAnalytics List<GetEntity Type Collections Log Analytics Entity Types Log Analytics Entity Type Collection> 
- The list of log_analytics_entity_type_collection.
- Namespace string
- CloudType string
- Log analytics entity type group. This can be CLOUD (OCI) or NON_CLOUD otherwise.
- Filters
List<GetLog Analytics Entity Types Filter> 
- Name string
- Log analytics entity type name.
- NameContains string
- State string
- The current lifecycle state of the log analytics entity type.
- Id string
- The provider-assigned unique ID for this managed resource.
- LogAnalytics []GetEntity Type Collections Log Analytics Entity Types Log Analytics Entity Type Collection 
- The list of log_analytics_entity_type_collection.
- Namespace string
- CloudType string
- Log analytics entity type group. This can be CLOUD (OCI) or NON_CLOUD otherwise.
- Filters
[]GetLog Analytics Entity Types Filter 
- Name string
- Log analytics entity type name.
- NameContains string
- State string
- The current lifecycle state of the log analytics entity type.
- id String
- The provider-assigned unique ID for this managed resource.
- logAnalytics List<GetEntity Type Collections Entity Types Entity Type Collection> 
- The list of log_analytics_entity_type_collection.
- namespace String
- cloudType String
- Log analytics entity type group. This can be CLOUD (OCI) or NON_CLOUD otherwise.
- filters
List<GetEntity Types Filter> 
- name String
- Log analytics entity type name.
- nameContains String
- state String
- The current lifecycle state of the log analytics entity type.
- id string
- The provider-assigned unique ID for this managed resource.
- logAnalytics GetEntity Type Collections Log Analytics Entity Types Log Analytics Entity Type Collection[] 
- The list of log_analytics_entity_type_collection.
- namespace string
- cloudType string
- Log analytics entity type group. This can be CLOUD (OCI) or NON_CLOUD otherwise.
- filters
GetLog Analytics Entity Types Filter[] 
- name string
- Log analytics entity type name.
- nameContains string
- state string
- The current lifecycle state of the log analytics entity type.
- id str
- The provider-assigned unique ID for this managed resource.
- log_analytics_ Sequence[Getentity_ type_ collections Log Analytics Entity Types Log Analytics Entity Type Collection] 
- The list of log_analytics_entity_type_collection.
- namespace str
- cloud_type str
- Log analytics entity type group. This can be CLOUD (OCI) or NON_CLOUD otherwise.
- filters
Sequence[GetLog Analytics Entity Types Filter] 
- name str
- Log analytics entity type name.
- name_contains str
- state str
- The current lifecycle state of the log analytics entity type.
- id String
- The provider-assigned unique ID for this managed resource.
- logAnalytics List<Property Map>Entity Type Collections 
- The list of log_analytics_entity_type_collection.
- namespace String
- cloudType String
- Log analytics entity type group. This can be CLOUD (OCI) or NON_CLOUD otherwise.
- filters List<Property Map>
- name String
- Log analytics entity type name.
- nameContains String
- state String
- The current lifecycle state of the log analytics entity type.
Supporting Types
GetLogAnalyticsEntityTypesFilter     
GetLogAnalyticsEntityTypesLogAnalyticsEntityTypeCollection         
- Items
List<GetLog Analytics Entity Types Log Analytics Entity Type Collection Item> 
- Array of log analytics entity type summary.
- Items
[]GetLog Analytics Entity Types Log Analytics Entity Type Collection Item 
- Array of log analytics entity type summary.
- items
List<GetEntity Types Entity Type Collection Item> 
- Array of log analytics entity type summary.
- items
GetLog Analytics Entity Types Log Analytics Entity Type Collection Item[] 
- Array of log analytics entity type summary.
- items
Sequence[GetLog Analytics Entity Types Log Analytics Entity Type Collection Item] 
- Array of log analytics entity type summary.
- items List<Property Map>
- Array of log analytics entity type summary.
GetLogAnalyticsEntityTypesLogAnalyticsEntityTypeCollectionItem          
- Category string
- Log analytics entity type category. Category will be used for grouping and filtering.
- CloudType string
- A filter to return CLOUD or NON_CLOUD entity types.
- InternalName string
- Internal name for the log analytics entity type.
- ManagementAgent stringEligibility Status 
- Name string
- A filter to return only log analytics entity types whose name matches the entire name given. The match is case-insensitive.
- Namespace string
- The Logging Analytics namespace used for the request.
- Properties
List<GetLog Analytics Entity Types Log Analytics Entity Type Collection Item Property> 
- State string
- A filter to return only those log analytics entity types with the specified lifecycle state. The state value is case-insensitive.
- TimeCreated string
- Time the log analytics entity type was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- Time the log analytics entity type was updated. An RFC3339 formatted datetime string.
- Category string
- Log analytics entity type category. Category will be used for grouping and filtering.
- CloudType string
- A filter to return CLOUD or NON_CLOUD entity types.
- InternalName string
- Internal name for the log analytics entity type.
- ManagementAgent stringEligibility Status 
- Name string
- A filter to return only log analytics entity types whose name matches the entire name given. The match is case-insensitive.
- Namespace string
- The Logging Analytics namespace used for the request.
- Properties
[]GetLog Analytics Entity Types Log Analytics Entity Type Collection Item Property 
- State string
- A filter to return only those log analytics entity types with the specified lifecycle state. The state value is case-insensitive.
- TimeCreated string
- Time the log analytics entity type was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- Time the log analytics entity type was updated. An RFC3339 formatted datetime string.
- category String
- Log analytics entity type category. Category will be used for grouping and filtering.
- cloudType String
- A filter to return CLOUD or NON_CLOUD entity types.
- internalName String
- Internal name for the log analytics entity type.
- managementAgent StringEligibility Status 
- name String
- A filter to return only log analytics entity types whose name matches the entire name given. The match is case-insensitive.
- namespace String
- The Logging Analytics namespace used for the request.
- properties
List<GetEntity Types Entity Type Collection Item Property> 
- state String
- A filter to return only those log analytics entity types with the specified lifecycle state. The state value is case-insensitive.
- timeCreated String
- Time the log analytics entity type was created. An RFC3339 formatted datetime string.
- timeUpdated String
- Time the log analytics entity type was updated. An RFC3339 formatted datetime string.
- category string
- Log analytics entity type category. Category will be used for grouping and filtering.
- cloudType string
- A filter to return CLOUD or NON_CLOUD entity types.
- internalName string
- Internal name for the log analytics entity type.
- managementAgent stringEligibility Status 
- name string
- A filter to return only log analytics entity types whose name matches the entire name given. The match is case-insensitive.
- namespace string
- The Logging Analytics namespace used for the request.
- properties
GetLog Analytics Entity Types Log Analytics Entity Type Collection Item Property[] 
- state string
- A filter to return only those log analytics entity types with the specified lifecycle state. The state value is case-insensitive.
- timeCreated string
- Time the log analytics entity type was created. An RFC3339 formatted datetime string.
- timeUpdated string
- Time the log analytics entity type was updated. An RFC3339 formatted datetime string.
- category str
- Log analytics entity type category. Category will be used for grouping and filtering.
- cloud_type str
- A filter to return CLOUD or NON_CLOUD entity types.
- internal_name str
- Internal name for the log analytics entity type.
- management_agent_ streligibility_ status 
- name str
- A filter to return only log analytics entity types whose name matches the entire name given. The match is case-insensitive.
- namespace str
- The Logging Analytics namespace used for the request.
- properties
Sequence[GetLog Analytics Entity Types Log Analytics Entity Type Collection Item Property] 
- state str
- A filter to return only those log analytics entity types with the specified lifecycle state. The state value is case-insensitive.
- time_created str
- Time the log analytics entity type was created. An RFC3339 formatted datetime string.
- time_updated str
- Time the log analytics entity type was updated. An RFC3339 formatted datetime string.
- category String
- Log analytics entity type category. Category will be used for grouping and filtering.
- cloudType String
- A filter to return CLOUD or NON_CLOUD entity types.
- internalName String
- Internal name for the log analytics entity type.
- managementAgent StringEligibility Status 
- name String
- A filter to return only log analytics entity types whose name matches the entire name given. The match is case-insensitive.
- namespace String
- The Logging Analytics namespace used for the request.
- properties List<Property Map>
- state String
- A filter to return only those log analytics entity types with the specified lifecycle state. The state value is case-insensitive.
- timeCreated String
- Time the log analytics entity type was created. An RFC3339 formatted datetime string.
- timeUpdated String
- Time the log analytics entity type was updated. An RFC3339 formatted datetime string.
GetLogAnalyticsEntityTypesLogAnalyticsEntityTypeCollectionItemProperty           
- Description string
- Name string
- A filter to return only log analytics entity types whose name matches the entire name given. The match is case-insensitive.
- Description string
- Name string
- A filter to return only log analytics entity types whose name matches the entire name given. The match is case-insensitive.
- description String
- name String
- A filter to return only log analytics entity types whose name matches the entire name given. The match is case-insensitive.
- description string
- name string
- A filter to return only log analytics entity types whose name matches the entire name given. The match is case-insensitive.
- description str
- name str
- A filter to return only log analytics entity types whose name matches the entire name given. The match is case-insensitive.
- description String
- name String
- A filter to return only log analytics entity types whose name matches the entire name given. The match is case-insensitive.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.
