Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi
oci.LogAnalytics.getLogAnalyticsEntityTypes
Explore with Pulumi AI
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 dictionary
The following arguments are supported:
- Namespace string
- The Logging Analytics namespace used for the request.
- Cloud
Type string - A filter to return CLOUD or NON_CLOUD entity types.
- Filters
List<Get
Log 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.
- Name
Contains 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.
- Cloud
Type string - A filter to return CLOUD or NON_CLOUD entity types.
- Filters
[]Get
Log 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.
- Name
Contains 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.
- cloud
Type String - A filter to return CLOUD or NON_CLOUD entity types.
- filters
List<Get
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.
- name
Contains 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.
- cloud
Type string - A filter to return CLOUD or NON_CLOUD entity types.
- filters
Get
Log 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.
- name
Contains 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[Get
Log 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.
- cloud
Type 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.
- name
Contains 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.
- Log
Analytics List<GetEntity Type Collections Log Analytics Entity Types Log Analytics Entity Type Collection> - The list of log_analytics_entity_type_collection.
- Namespace string
- Cloud
Type string - Log analytics entity type group. This can be CLOUD (OCI) or NON_CLOUD otherwise.
- Filters
List<Get
Log Analytics Entity Types Filter> - Name string
- Log analytics entity type name.
- Name
Contains string - State string
- The current lifecycle state of the log analytics entity type.
- Id string
- The provider-assigned unique ID for this managed resource.
- Log
Analytics []GetEntity Type Collections Log Analytics Entity Types Log Analytics Entity Type Collection - The list of log_analytics_entity_type_collection.
- Namespace string
- Cloud
Type string - Log analytics entity type group. This can be CLOUD (OCI) or NON_CLOUD otherwise.
- Filters
[]Get
Log Analytics Entity Types Filter - Name string
- Log analytics entity type name.
- Name
Contains string - State string
- The current lifecycle state of the log analytics entity type.
- id String
- The provider-assigned unique ID for this managed resource.
- log
Analytics List<GetEntity Type Collections Entity Types Entity Type Collection> - The list of log_analytics_entity_type_collection.
- namespace String
- cloud
Type String - Log analytics entity type group. This can be CLOUD (OCI) or NON_CLOUD otherwise.
- filters
List<Get
Entity Types Filter> - name String
- Log analytics entity type name.
- name
Contains String - state String
- The current lifecycle state of the log analytics entity type.
- id string
- The provider-assigned unique ID for this managed resource.
- log
Analytics GetEntity Type Collections Log Analytics Entity Types Log Analytics Entity Type Collection[] - The list of log_analytics_entity_type_collection.
- namespace string
- cloud
Type string - Log analytics entity type group. This can be CLOUD (OCI) or NON_CLOUD otherwise.
- filters
Get
Log Analytics Entity Types Filter[] - name string
- Log analytics entity type name.
- name
Contains 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[Get
Log 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.
- log
Analytics List<Property Map>Entity Type Collections - The list of log_analytics_entity_type_collection.
- namespace String
- cloud
Type 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.
- name
Contains String - state String
- The current lifecycle state of the log analytics entity type.
Supporting Types
GetLogAnalyticsEntityTypesFilter
GetLogAnalyticsEntityTypesLogAnalyticsEntityTypeCollection
- Items
List<Get
Log Analytics Entity Types Log Analytics Entity Type Collection Item> - Array of log analytics entity type summary.
- Items
[]Get
Log Analytics Entity Types Log Analytics Entity Type Collection Item - Array of log analytics entity type summary.
- items
List<Get
Entity Types Entity Type Collection Item> - Array of log analytics entity type summary.
- items
Get
Log Analytics Entity Types Log Analytics Entity Type Collection Item[] - Array of log analytics entity type summary.
- items
Sequence[Get
Log 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.
- Cloud
Type string - A filter to return CLOUD or NON_CLOUD entity types.
- Internal
Name string - Internal name for the log analytics entity type.
- Management
Agent 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<Get
Log 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.
- Time
Created string - Time the log analytics entity type was created. An RFC3339 formatted datetime string.
- Time
Updated 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.
- Cloud
Type string - A filter to return CLOUD or NON_CLOUD entity types.
- Internal
Name string - Internal name for the log analytics entity type.
- Management
Agent 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
[]Get
Log 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.
- Time
Created string - Time the log analytics entity type was created. An RFC3339 formatted datetime string.
- Time
Updated 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.
- cloud
Type String - A filter to return CLOUD or NON_CLOUD entity types.
- internal
Name String - Internal name for the log analytics entity type.
- management
Agent 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<Get
Entity 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.
- time
Created String - Time the log analytics entity type was created. An RFC3339 formatted datetime string.
- time
Updated 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.
- cloud
Type string - A filter to return CLOUD or NON_CLOUD entity types.
- internal
Name string - Internal name for the log analytics entity type.
- management
Agent 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
Get
Log 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.
- time
Created string - Time the log analytics entity type was created. An RFC3339 formatted datetime string.
- time
Updated 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[Get
Log 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.
- cloud
Type String - A filter to return CLOUD or NON_CLOUD entity types.
- internal
Name String - Internal name for the log analytics entity type.
- management
Agent 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.
- time
Created String - Time the log analytics entity type was created. An RFC3339 formatted datetime string.
- time
Updated 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
oci
Terraform Provider.