Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.LogAnalytics.getLogAnalyticsEntityType
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
This data source provides details about a specific Log Analytics Entity Type resource in Oracle Cloud Infrastructure Log Analytics service.
Retrieve the log analytics entity type with the given name.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testLogAnalyticsEntityType = oci.LogAnalytics.getLogAnalyticsEntityType({
entityTypeName: logAnalyticsEntityTypeName,
namespace: logAnalyticsEntityTypeNamespace,
});
import pulumi
import pulumi_oci as oci
test_log_analytics_entity_type = oci.LogAnalytics.get_log_analytics_entity_type(entity_type_name=log_analytics_entity_type_name,
namespace=log_analytics_entity_type_namespace)
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.GetLogAnalyticsEntityType(ctx, &loganalytics.GetLogAnalyticsEntityTypeArgs{
EntityTypeName: logAnalyticsEntityTypeName,
Namespace: logAnalyticsEntityTypeNamespace,
}, 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 testLogAnalyticsEntityType = Oci.LogAnalytics.GetLogAnalyticsEntityType.Invoke(new()
{
EntityTypeName = logAnalyticsEntityTypeName,
Namespace = logAnalyticsEntityTypeNamespace,
});
});
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.GetLogAnalyticsEntityTypeArgs;
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 testLogAnalyticsEntityType = LogAnalyticsFunctions.getLogAnalyticsEntityType(GetLogAnalyticsEntityTypeArgs.builder()
.entityTypeName(logAnalyticsEntityTypeName)
.namespace(logAnalyticsEntityTypeNamespace)
.build());
}
}
variables:
testLogAnalyticsEntityType:
fn::invoke:
function: oci:LogAnalytics:getLogAnalyticsEntityType
arguments:
entityTypeName: ${logAnalyticsEntityTypeName}
namespace: ${logAnalyticsEntityTypeNamespace}
Using getLogAnalyticsEntityType
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 getLogAnalyticsEntityType(args: GetLogAnalyticsEntityTypeArgs, opts?: InvokeOptions): Promise<GetLogAnalyticsEntityTypeResult>
function getLogAnalyticsEntityTypeOutput(args: GetLogAnalyticsEntityTypeOutputArgs, opts?: InvokeOptions): Output<GetLogAnalyticsEntityTypeResult>def get_log_analytics_entity_type(entity_type_name: Optional[str] = None,
namespace: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLogAnalyticsEntityTypeResult
def get_log_analytics_entity_type_output(entity_type_name: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLogAnalyticsEntityTypeResult]func LookupLogAnalyticsEntityType(ctx *Context, args *LookupLogAnalyticsEntityTypeArgs, opts ...InvokeOption) (*LookupLogAnalyticsEntityTypeResult, error)
func LookupLogAnalyticsEntityTypeOutput(ctx *Context, args *LookupLogAnalyticsEntityTypeOutputArgs, opts ...InvokeOption) LookupLogAnalyticsEntityTypeResultOutput> Note: This function is named LookupLogAnalyticsEntityType in the Go SDK.
public static class GetLogAnalyticsEntityType
{
public static Task<GetLogAnalyticsEntityTypeResult> InvokeAsync(GetLogAnalyticsEntityTypeArgs args, InvokeOptions? opts = null)
public static Output<GetLogAnalyticsEntityTypeResult> Invoke(GetLogAnalyticsEntityTypeInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLogAnalyticsEntityTypeResult> getLogAnalyticsEntityType(GetLogAnalyticsEntityTypeArgs args, InvokeOptions options)
public static Output<GetLogAnalyticsEntityTypeResult> getLogAnalyticsEntityType(GetLogAnalyticsEntityTypeArgs args, InvokeOptions options)
fn::invoke:
function: oci:LogAnalytics/getLogAnalyticsEntityType:getLogAnalyticsEntityType
arguments:
# arguments dictionaryThe following arguments are supported:
- Entity
Type stringName - Log analytics entity type name.
- Namespace string
- The Logging Analytics namespace used for the request.
- Entity
Type stringName - Log analytics entity type name.
- Namespace string
- The Logging Analytics namespace used for the request.
- entity
Type StringName - Log analytics entity type name.
- namespace String
- The Logging Analytics namespace used for the request.
- entity
Type stringName - Log analytics entity type name.
- namespace string
- The Logging Analytics namespace used for the request.
- entity_
type_ strname - Log analytics entity type name.
- namespace str
- The Logging Analytics namespace used for the request.
- entity
Type StringName - Log analytics entity type name.
- namespace String
- The Logging Analytics namespace used for the request.
getLogAnalyticsEntityType Result
The following output properties are available:
- Category string
- Log analytics entity type category. Category will be used for grouping and filtering.
- Cloud
Type string - Log analytics entity type group. That can be CLOUD (OCI) or NON_CLOUD otherwise.
- Entity
Type stringName - Id string
- Internal
Name string - Internal name for the log analytics entity type.
- Management
Agent stringEligibility Status - Name string
- Log analytics entity type property name.
- Namespace string
- Properties
List<Get
Log Analytics Entity Type Property> - The parameters used in file patterns specified in log sources for this log analytics entity type.
- State string
- The current lifecycle state of the log analytics entity type.
- 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 - Log analytics entity type group. That can be CLOUD (OCI) or NON_CLOUD otherwise.
- Entity
Type stringName - Id string
- Internal
Name string - Internal name for the log analytics entity type.
- Management
Agent stringEligibility Status - Name string
- Log analytics entity type property name.
- Namespace string
- Properties
[]Get
Log Analytics Entity Type Property - The parameters used in file patterns specified in log sources for this log analytics entity type.
- State string
- The current lifecycle state of the log analytics entity type.
- 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 - Log analytics entity type group. That can be CLOUD (OCI) or NON_CLOUD otherwise.
- entity
Type StringName - id String
- internal
Name String - Internal name for the log analytics entity type.
- management
Agent StringEligibility Status - name String
- Log analytics entity type property name.
- namespace String
- properties
List<Get
Entity Type Property> - The parameters used in file patterns specified in log sources for this log analytics entity type.
- state String
- The current lifecycle state of the log analytics entity type.
- 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 - Log analytics entity type group. That can be CLOUD (OCI) or NON_CLOUD otherwise.
- entity
Type stringName - id string
- internal
Name string - Internal name for the log analytics entity type.
- management
Agent stringEligibility Status - name string
- Log analytics entity type property name.
- namespace string
- properties
Get
Log Analytics Entity Type Property[] - The parameters used in file patterns specified in log sources for this log analytics entity type.
- state string
- The current lifecycle state of the log analytics entity type.
- 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 - Log analytics entity type group. That can be CLOUD (OCI) or NON_CLOUD otherwise.
- entity_
type_ strname - id str
- internal_
name str - Internal name for the log analytics entity type.
- management_
agent_ streligibility_ status - name str
- Log analytics entity type property name.
- namespace str
- properties
Sequence[Get
Log Analytics Entity Type Property] - The parameters used in file patterns specified in log sources for this log analytics entity type.
- state str
- The current lifecycle state of the log analytics entity type.
- 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 - Log analytics entity type group. That can be CLOUD (OCI) or NON_CLOUD otherwise.
- entity
Type StringName - id String
- internal
Name String - Internal name for the log analytics entity type.
- management
Agent StringEligibility Status - name String
- Log analytics entity type property name.
- namespace String
- properties List<Property Map>
- The parameters used in file patterns specified in log sources for this log analytics entity type.
- state String
- The current lifecycle state of the log analytics entity type.
- 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.
Supporting Types
GetLogAnalyticsEntityTypeProperty
- Description string
- Description for the log analytics entity type property.
- Name string
- Log analytics entity type property name.
- Description string
- Description for the log analytics entity type property.
- Name string
- Log analytics entity type property name.
- description String
- Description for the log analytics entity type property.
- name String
- Log analytics entity type property name.
- description string
- Description for the log analytics entity type property.
- name string
- Log analytics entity type property name.
- description str
- Description for the log analytics entity type property.
- name str
- Log analytics entity type property name.
- description String
- Description for the log analytics entity type property.
- name String
- Log analytics entity type property name.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
