oci logo
Oracle Cloud Infrastructure v0.12.0, Mar 17 23

oci.LogAnalytics.LogAnalyticsEntity

This resource provides the Log Analytics Entity resource in Oracle Cloud Infrastructure Log Analytics service.

Create a new log analytics entity.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testLogAnalyticsEntity = new Oci.LogAnalytics.LogAnalyticsEntity("testLogAnalyticsEntity", new()
    {
        CompartmentId = @var.Compartment_id,
        EntityTypeName = @var.Log_analytics_entity_entity_type_name,
        Namespace = @var.Log_analytics_entity_namespace,
        CloudResourceId = oci_log_analytics_cloud_resource.Test_cloud_resource.Id,
        DefinedTags = 
        {
            { "foo-namespace.bar-key", "value" },
        },
        FreeformTags = 
        {
            { "bar-key", "value" },
        },
        Hostname = @var.Log_analytics_entity_hostname,
        ManagementAgentId = oci_management_agent_management_agent.Test_management_agent.Id,
        Properties = @var.Log_analytics_entity_properties,
        SourceId = oci_log_analytics_source.Test_source.Id,
        TimezoneRegion = @var.Log_analytics_entity_timezone_region,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/LogAnalytics"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := LogAnalytics.NewLogAnalyticsEntity(ctx, "testLogAnalyticsEntity", &LogAnalytics.LogAnalyticsEntityArgs{
			CompartmentId:   pulumi.Any(_var.Compartment_id),
			EntityTypeName:  pulumi.Any(_var.Log_analytics_entity_entity_type_name),
			Namespace:       pulumi.Any(_var.Log_analytics_entity_namespace),
			CloudResourceId: pulumi.Any(oci_log_analytics_cloud_resource.Test_cloud_resource.Id),
			DefinedTags: pulumi.AnyMap{
				"foo-namespace.bar-key": pulumi.Any("value"),
			},
			FreeformTags: pulumi.AnyMap{
				"bar-key": pulumi.Any("value"),
			},
			Hostname:          pulumi.Any(_var.Log_analytics_entity_hostname),
			ManagementAgentId: pulumi.Any(oci_management_agent_management_agent.Test_management_agent.Id),
			Properties:        pulumi.Any(_var.Log_analytics_entity_properties),
			SourceId:          pulumi.Any(oci_log_analytics_source.Test_source.Id),
			TimezoneRegion:    pulumi.Any(_var.Log_analytics_entity_timezone_region),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.LogAnalytics.LogAnalyticsEntity;
import com.pulumi.oci.LogAnalytics.LogAnalyticsEntityArgs;
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) {
        var testLogAnalyticsEntity = new LogAnalyticsEntity("testLogAnalyticsEntity", LogAnalyticsEntityArgs.builder()        
            .compartmentId(var_.compartment_id())
            .entityTypeName(var_.log_analytics_entity_entity_type_name())
            .namespace(var_.log_analytics_entity_namespace())
            .cloudResourceId(oci_log_analytics_cloud_resource.test_cloud_resource().id())
            .definedTags(Map.of("foo-namespace.bar-key", "value"))
            .freeformTags(Map.of("bar-key", "value"))
            .hostname(var_.log_analytics_entity_hostname())
            .managementAgentId(oci_management_agent_management_agent.test_management_agent().id())
            .properties(var_.log_analytics_entity_properties())
            .sourceId(oci_log_analytics_source.test_source().id())
            .timezoneRegion(var_.log_analytics_entity_timezone_region())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_log_analytics_entity = oci.log_analytics.LogAnalyticsEntity("testLogAnalyticsEntity",
    compartment_id=var["compartment_id"],
    entity_type_name=var["log_analytics_entity_entity_type_name"],
    namespace=var["log_analytics_entity_namespace"],
    cloud_resource_id=oci_log_analytics_cloud_resource["test_cloud_resource"]["id"],
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    freeform_tags={
        "bar-key": "value",
    },
    hostname=var["log_analytics_entity_hostname"],
    management_agent_id=oci_management_agent_management_agent["test_management_agent"]["id"],
    properties=var["log_analytics_entity_properties"],
    source_id=oci_log_analytics_source["test_source"]["id"],
    timezone_region=var["log_analytics_entity_timezone_region"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testLogAnalyticsEntity = new oci.loganalytics.LogAnalyticsEntity("testLogAnalyticsEntity", {
    compartmentId: _var.compartment_id,
    entityTypeName: _var.log_analytics_entity_entity_type_name,
    namespace: _var.log_analytics_entity_namespace,
    cloudResourceId: oci_log_analytics_cloud_resource.test_cloud_resource.id,
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    freeformTags: {
        "bar-key": "value",
    },
    hostname: _var.log_analytics_entity_hostname,
    managementAgentId: oci_management_agent_management_agent.test_management_agent.id,
    properties: _var.log_analytics_entity_properties,
    sourceId: oci_log_analytics_source.test_source.id,
    timezoneRegion: _var.log_analytics_entity_timezone_region,
});
resources:
  testLogAnalyticsEntity:
    type: oci:LogAnalytics:LogAnalyticsEntity
    properties:
      #Required
      compartmentId: ${var.compartment_id}
      entityTypeName: ${var.log_analytics_entity_entity_type_name}
      namespace: ${var.log_analytics_entity_namespace}
      #Optional
      cloudResourceId: ${oci_log_analytics_cloud_resource.test_cloud_resource.id}
      definedTags:
        foo-namespace.bar-key: value
      freeformTags:
        bar-key: value
      hostname: ${var.log_analytics_entity_hostname}
      managementAgentId: ${oci_management_agent_management_agent.test_management_agent.id}
      properties: ${var.log_analytics_entity_properties}
      sourceId: ${oci_log_analytics_source.test_source.id}
      timezoneRegion: ${var.log_analytics_entity_timezone_region}

Create LogAnalyticsEntity Resource

new LogAnalyticsEntity(name: string, args: LogAnalyticsEntityArgs, opts?: CustomResourceOptions);
@overload
def LogAnalyticsEntity(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       cloud_resource_id: Optional[str] = None,
                       compartment_id: Optional[str] = None,
                       defined_tags: Optional[Mapping[str, Any]] = None,
                       entity_type_name: Optional[str] = None,
                       freeform_tags: Optional[Mapping[str, Any]] = None,
                       hostname: Optional[str] = None,
                       management_agent_id: Optional[str] = None,
                       name: Optional[str] = None,
                       namespace: Optional[str] = None,
                       properties: Optional[Mapping[str, Any]] = None,
                       source_id: Optional[str] = None,
                       timezone_region: Optional[str] = None)
@overload
def LogAnalyticsEntity(resource_name: str,
                       args: LogAnalyticsEntityArgs,
                       opts: Optional[ResourceOptions] = None)
func NewLogAnalyticsEntity(ctx *Context, name string, args LogAnalyticsEntityArgs, opts ...ResourceOption) (*LogAnalyticsEntity, error)
public LogAnalyticsEntity(string name, LogAnalyticsEntityArgs args, CustomResourceOptions? opts = null)
public LogAnalyticsEntity(String name, LogAnalyticsEntityArgs args)
public LogAnalyticsEntity(String name, LogAnalyticsEntityArgs args, CustomResourceOptions options)
type: oci:LogAnalytics:LogAnalyticsEntity
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args LogAnalyticsEntityArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args LogAnalyticsEntityArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args LogAnalyticsEntityArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args LogAnalyticsEntityArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args LogAnalyticsEntityArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

LogAnalyticsEntity Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The LogAnalyticsEntity resource accepts the following input properties:

CompartmentId string

(Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

EntityTypeName string

Log analytics entity type name.

Namespace string

The Logging Analytics namespace used for the request.

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.

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

FreeformTags Dictionary<string, object>

(Updatable) 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

(Updatable) 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.

ManagementAgentId string

(Updatable) The OCID of the Management Agent.

Name string

(Updatable) Log analytics entity name.

Properties Dictionary<string, object>

(Updatable) The name/value pairs for parameter values to be used in file patterns specified in log sources.

SourceId string

This indicates the type of source. It is primarily for Enterprise Manager Repository ID.

TimezoneRegion string

(Updatable) The timezone region of the log analytics entity.

CompartmentId string

(Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

EntityTypeName string

Log analytics entity type name.

Namespace string

The Logging Analytics namespace used for the request.

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.

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

FreeformTags map[string]interface{}

(Updatable) 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

(Updatable) 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.

ManagementAgentId string

(Updatable) The OCID of the Management Agent.

Name string

(Updatable) Log analytics entity name.

Properties map[string]interface{}

(Updatable) The name/value pairs for parameter values to be used in file patterns specified in log sources.

SourceId string

This indicates the type of source. It is primarily for Enterprise Manager Repository ID.

TimezoneRegion string

(Updatable) The timezone region of the log analytics entity.

compartmentId String

(Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

entityTypeName String

Log analytics entity type name.

namespace String

The Logging Analytics namespace used for the request.

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.

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

freeformTags Map<String,Object>

(Updatable) 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

(Updatable) 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.

managementAgentId String

(Updatable) The OCID of the Management Agent.

name String

(Updatable) Log analytics entity name.

properties Map<String,Object>

(Updatable) The name/value pairs for parameter values to be used in file patterns specified in log sources.

sourceId String

This indicates the type of source. It is primarily for Enterprise Manager Repository ID.

timezoneRegion String

(Updatable) The timezone region of the log analytics entity.

compartmentId string

(Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

entityTypeName string

Log analytics entity type name.

namespace string

The Logging Analytics namespace used for the request.

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.

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

freeformTags {[key: string]: any}

(Updatable) 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

(Updatable) 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.

managementAgentId string

(Updatable) The OCID of the Management Agent.

name string

(Updatable) Log analytics entity name.

properties {[key: string]: any}

(Updatable) The name/value pairs for parameter values to be used in file patterns specified in log sources.

sourceId string

This indicates the type of source. It is primarily for Enterprise Manager Repository ID.

timezoneRegion string

(Updatable) The timezone region of the log analytics entity.

compartment_id str

(Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

entity_type_name str

Log analytics entity type name.

namespace str

The Logging Analytics namespace used for the request.

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.

defined_tags Mapping[str, Any]

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

freeform_tags Mapping[str, Any]

(Updatable) 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

(Updatable) 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.

management_agent_id str

(Updatable) The OCID of the Management Agent.

name str

(Updatable) Log analytics entity name.

properties Mapping[str, Any]

(Updatable) The name/value pairs for parameter values to be used in file patterns specified in log sources.

source_id str

This indicates the type of source. It is primarily for Enterprise Manager Repository ID.

timezone_region str

(Updatable) The timezone region of the log analytics entity.

compartmentId String

(Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

entityTypeName String

Log analytics entity type name.

namespace String

The Logging Analytics namespace used for the request.

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.

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

freeformTags Map<Any>

(Updatable) 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

(Updatable) 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.

managementAgentId String

(Updatable) The OCID of the Management Agent.

name String

(Updatable) Log analytics entity name.

properties Map<Any>

(Updatable) The name/value pairs for parameter values to be used in file patterns specified in log sources.

sourceId String

This indicates the type of source. It is primarily for Enterprise Manager Repository ID.

timezoneRegion String

(Updatable) The timezone region of the log analytics entity.

Outputs

All input properties are implicitly available as output properties. Additionally, the LogAnalyticsEntity resource produces the following output properties:

AreLogsCollected bool

The Boolean flag to indicate if logs are collected for an entity for log analytics usage.

EntityTypeInternalName string

Internal name for the log analytics entity type.

Id string

The provider-assigned unique ID for this managed resource.

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

State string

The current state of the log analytics entity.

TimeCreated string

The date and time the resource was created, in the format defined by RFC3339.

TimeUpdated string

The date and time the resource was last updated, in the format defined by RFC3339.

AreLogsCollected bool

The Boolean flag to indicate if logs are collected for an entity for log analytics usage.

EntityTypeInternalName string

Internal name for the log analytics entity type.

Id string

The provider-assigned unique ID for this managed resource.

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

State string

The current state of the log analytics entity.

TimeCreated string

The date and time the resource was created, in the format defined by RFC3339.

TimeUpdated string

The date and time the resource was last updated, in the format defined by RFC3339.

areLogsCollected Boolean

The Boolean flag to indicate if logs are collected for an entity for log analytics usage.

entityTypeInternalName String

Internal name for the log analytics entity type.

id String

The provider-assigned unique ID for this managed resource.

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

state String

The current state of the log analytics entity.

timeCreated String

The date and time the resource was created, in the format defined by RFC3339.

timeUpdated String

The date and time the resource was last updated, in the format defined by RFC3339.

areLogsCollected boolean

The Boolean flag to indicate if logs are collected for an entity for log analytics usage.

entityTypeInternalName string

Internal name for the log analytics entity type.

id string

The provider-assigned unique ID for this managed resource.

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

state string

The current state of the log analytics entity.

timeCreated string

The date and time the resource was created, in the format defined by RFC3339.

timeUpdated string

The date and time the resource was last updated, in the format defined by RFC3339.

are_logs_collected bool

The Boolean flag to indicate if logs are collected for an entity for log analytics usage.

entity_type_internal_name str

Internal name for the log analytics entity type.

id str

The provider-assigned unique ID for this managed resource.

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

state str

The current state of the log analytics entity.

time_created str

The date and time the resource was created, in the format defined by RFC3339.

time_updated str

The date and time the resource was last updated, in the format defined by RFC3339.

areLogsCollected Boolean

The Boolean flag to indicate if logs are collected for an entity for log analytics usage.

entityTypeInternalName String

Internal name for the log analytics entity type.

id String

The provider-assigned unique ID for this managed resource.

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

state String

The current state of the log analytics entity.

timeCreated String

The date and time the resource was created, in the format defined by RFC3339.

timeUpdated String

The date and time the resource was last updated, in the format defined by RFC3339.

Look up Existing LogAnalyticsEntity Resource

Get an existing LogAnalyticsEntity resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: LogAnalyticsEntityState, opts?: CustomResourceOptions): LogAnalyticsEntity
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        are_logs_collected: Optional[bool] = None,
        cloud_resource_id: Optional[str] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, Any]] = None,
        entity_type_internal_name: Optional[str] = None,
        entity_type_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        hostname: Optional[str] = None,
        lifecycle_details: Optional[str] = None,
        management_agent_compartment_id: Optional[str] = None,
        management_agent_display_name: Optional[str] = None,
        management_agent_id: Optional[str] = None,
        name: Optional[str] = None,
        namespace: Optional[str] = None,
        properties: Optional[Mapping[str, Any]] = None,
        source_id: Optional[str] = None,
        state: Optional[str] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None,
        timezone_region: Optional[str] = None) -> LogAnalyticsEntity
func GetLogAnalyticsEntity(ctx *Context, name string, id IDInput, state *LogAnalyticsEntityState, opts ...ResourceOption) (*LogAnalyticsEntity, error)
public static LogAnalyticsEntity Get(string name, Input<string> id, LogAnalyticsEntityState? state, CustomResourceOptions? opts = null)
public static LogAnalyticsEntity get(String name, Output<String> id, LogAnalyticsEntityState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AreLogsCollected bool

The Boolean flag to indicate if logs are collected for an entity for log analytics usage.

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.

CompartmentId string

(Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

DefinedTags Dictionary<string, object>

(Updatable) 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

Log analytics entity type name.

FreeformTags Dictionary<string, object>

(Updatable) 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

(Updatable) 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.

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

(Updatable) The OCID of the Management Agent.

Name string

(Updatable) Log analytics entity name.

Namespace string

The Logging Analytics namespace used for the request.

Properties Dictionary<string, object>

(Updatable) The name/value pairs for parameter values to be used in file patterns specified in log sources.

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.

TimeCreated string

The date and time the resource was created, 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

(Updatable) 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

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.

CompartmentId string

(Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

DefinedTags map[string]interface{}

(Updatable) 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

Log analytics entity type name.

FreeformTags map[string]interface{}

(Updatable) 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

(Updatable) 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.

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

(Updatable) The OCID of the Management Agent.

Name string

(Updatable) Log analytics entity name.

Namespace string

The Logging Analytics namespace used for the request.

Properties map[string]interface{}

(Updatable) The name/value pairs for parameter values to be used in file patterns specified in log sources.

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.

TimeCreated string

The date and time the resource was created, 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

(Updatable) 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

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.

compartmentId String

(Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

definedTags Map<String,Object>

(Updatable) 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

Log analytics entity type name.

freeformTags Map<String,Object>

(Updatable) 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

(Updatable) 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.

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

(Updatable) The OCID of the Management Agent.

name String

(Updatable) Log analytics entity name.

namespace String

The Logging Analytics namespace used for the request.

properties Map<String,Object>

(Updatable) The name/value pairs for parameter values to be used in file patterns specified in log sources.

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.

timeCreated String

The date and time the resource was created, 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

(Updatable) 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

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.

compartmentId string

(Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

definedTags {[key: string]: any}

(Updatable) 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

Log analytics entity type name.

freeformTags {[key: string]: any}

(Updatable) 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

(Updatable) 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.

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

(Updatable) The OCID of the Management Agent.

name string

(Updatable) Log analytics entity name.

namespace string

The Logging Analytics namespace used for the request.

properties {[key: string]: any}

(Updatable) The name/value pairs for parameter values to be used in file patterns specified in log sources.

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.

timeCreated string

The date and time the resource was created, 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

(Updatable) 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

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.

compartment_id str

(Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

defined_tags Mapping[str, Any]

(Updatable) 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

Log analytics entity type name.

freeform_tags Mapping[str, Any]

(Updatable) 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

(Updatable) 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.

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

(Updatable) The OCID of the Management Agent.

name str

(Updatable) Log analytics entity name.

namespace str

The Logging Analytics namespace used for the request.

properties Mapping[str, Any]

(Updatable) The name/value pairs for parameter values to be used in file patterns specified in log sources.

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.

time_created str

The date and time the resource was created, 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

(Updatable) 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

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.

compartmentId String

(Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

definedTags Map<Any>

(Updatable) 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

Log analytics entity type name.

freeformTags Map<Any>

(Updatable) 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

(Updatable) 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.

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

(Updatable) The OCID of the Management Agent.

name String

(Updatable) Log analytics entity name.

namespace String

The Logging Analytics namespace used for the request.

properties Map<Any>

(Updatable) The name/value pairs for parameter values to be used in file patterns specified in log sources.

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.

timeCreated String

The date and time the resource was created, 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

(Updatable) The timezone region of the log analytics entity.

Import

LogAnalyticsEntities can be imported using the id, e.g.

 $ pulumi import oci:LogAnalytics/logAnalyticsEntity:LogAnalyticsEntity test_log_analytics_entity "namespaces/{namespaceName}/logAnalyticsEntities/{logAnalyticsEntityId}"

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.