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:
- Compartment
Id string (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Entity
Type stringName Log analytics entity type name.
- Namespace string
The Logging Analytics namespace used for the request.
- Cloud
Resource stringId 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.
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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.- Management
Agent stringId (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.
- Source
Id string This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
- Timezone
Region string (Updatable) The timezone region of the log analytics entity.
- Compartment
Id string (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Entity
Type stringName Log analytics entity type name.
- Namespace string
The Logging Analytics namespace used for the request.
- Cloud
Resource stringId 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.
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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.- Management
Agent stringId (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.
- Source
Id string This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
- Timezone
Region string (Updatable) The timezone region of the log analytics entity.
- compartment
Id String (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- entity
Type StringName Log analytics entity type name.
- namespace String
The Logging Analytics namespace used for the request.
- cloud
Resource StringId 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.
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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.- management
Agent StringId (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.
- source
Id String This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
- timezone
Region String (Updatable) The timezone region of the log analytics entity.
- compartment
Id string (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- entity
Type stringName Log analytics entity type name.
- namespace string
The Logging Analytics namespace used for the request.
- cloud
Resource stringId 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.
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- {[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.- management
Agent stringId (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.
- source
Id string This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
- timezone
Region 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_ strname Log analytics entity type name.
- namespace str
The Logging Analytics namespace used for the request.
- cloud_
resource_ strid 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.
- Mapping[str, Any]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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_ strid (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.
- compartment
Id String (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- entity
Type StringName Log analytics entity type name.
- namespace String
The Logging Analytics namespace used for the request.
- cloud
Resource StringId 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.
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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.- management
Agent StringId (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.
- source
Id String This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
- timezone
Region 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:
- Are
Logs boolCollected The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
- Entity
Type stringInternal Name Internal name for the log analytics entity type.
- Id string
The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- Management
Agent stringCompartment Id Management agent (management-agents resource kind) compartment OCID
- Management
Agent stringDisplay Name Management agent (management-agents resource kind) display name
- State string
The current state of the log analytics entity.
- Time
Created string The date and time the resource was created, in the format defined by RFC3339.
- Time
Updated string The date and time the resource was last updated, in the format defined by RFC3339.
- Are
Logs boolCollected The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
- Entity
Type stringInternal Name Internal name for the log analytics entity type.
- Id string
The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- Management
Agent stringCompartment Id Management agent (management-agents resource kind) compartment OCID
- Management
Agent stringDisplay Name Management agent (management-agents resource kind) display name
- State string
The current state of the log analytics entity.
- Time
Created string The date and time the resource was created, in the format defined by RFC3339.
- Time
Updated string The date and time the resource was last updated, in the format defined by RFC3339.
- are
Logs BooleanCollected The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
- entity
Type StringInternal Name Internal name for the log analytics entity type.
- id String
The provider-assigned unique ID for this managed resource.
- lifecycle
Details String lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- management
Agent StringCompartment Id Management agent (management-agents resource kind) compartment OCID
- management
Agent StringDisplay Name Management agent (management-agents resource kind) display name
- state String
The current state of the log analytics entity.
- time
Created String The date and time the resource was created, in the format defined by RFC3339.
- time
Updated String The date and time the resource was last updated, in the format defined by RFC3339.
- are
Logs booleanCollected The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
- entity
Type stringInternal Name Internal name for the log analytics entity type.
- id string
The provider-assigned unique ID for this managed resource.
- lifecycle
Details string lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- management
Agent stringCompartment Id Management agent (management-agents resource kind) compartment OCID
- management
Agent stringDisplay Name Management agent (management-agents resource kind) display name
- state string
The current state of the log analytics entity.
- time
Created string The date and time the resource was created, in the format defined by RFC3339.
- time
Updated string The date and time the resource was last updated, in the format defined by RFC3339.
- are_
logs_ boolcollected The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
- entity_
type_ strinternal_ name 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_ strcompartment_ id Management agent (management-agents resource kind) compartment OCID
- management_
agent_ strdisplay_ name 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.
- are
Logs BooleanCollected The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
- entity
Type StringInternal Name Internal name for the log analytics entity type.
- id String
The provider-assigned unique ID for this managed resource.
- lifecycle
Details String lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- management
Agent StringCompartment Id Management agent (management-agents resource kind) compartment OCID
- management
Agent StringDisplay Name Management agent (management-agents resource kind) display name
- state String
The current state of the log analytics entity.
- time
Created String The date and time the resource was created, in the format defined by RFC3339.
- time
Updated 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.
- Are
Logs boolCollected The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
- Cloud
Resource stringId 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 string (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Entity
Type stringInternal Name Internal name for the log analytics entity type.
- Entity
Type stringName Log analytics entity type name.
- 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.- Lifecycle
Details string lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- Management
Agent stringCompartment Id Management agent (management-agents resource kind) compartment OCID
- Management
Agent stringDisplay Name Management agent (management-agents resource kind) display name
- Management
Agent stringId (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.
- Source
Id 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.
- Time
Created string The date and time the resource was created, in the format defined by RFC3339.
- Time
Updated string The date and time the resource was last updated, in the format defined by RFC3339.
- Timezone
Region string (Updatable) The timezone region of the log analytics entity.
- Are
Logs boolCollected The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
- Cloud
Resource stringId 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 string (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Entity
Type stringInternal Name Internal name for the log analytics entity type.
- Entity
Type stringName Log analytics entity type name.
- 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.- Lifecycle
Details string lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- Management
Agent stringCompartment Id Management agent (management-agents resource kind) compartment OCID
- Management
Agent stringDisplay Name Management agent (management-agents resource kind) display name
- Management
Agent stringId (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.
- Source
Id 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.
- Time
Created string The date and time the resource was created, in the format defined by RFC3339.
- Time
Updated string The date and time the resource was last updated, in the format defined by RFC3339.
- Timezone
Region string (Updatable) The timezone region of the log analytics entity.
- are
Logs BooleanCollected The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
- cloud
Resource StringId 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 String (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- entity
Type StringInternal Name Internal name for the log analytics entity type.
- entity
Type StringName Log analytics entity type name.
- 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.- lifecycle
Details String lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- management
Agent StringCompartment Id Management agent (management-agents resource kind) compartment OCID
- management
Agent StringDisplay Name Management agent (management-agents resource kind) display name
- management
Agent StringId (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.
- source
Id 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.
- time
Created String The date and time the resource was created, in the format defined by RFC3339.
- time
Updated String The date and time the resource was last updated, in the format defined by RFC3339.
- timezone
Region String (Updatable) The timezone region of the log analytics entity.
- are
Logs booleanCollected The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
- cloud
Resource stringId 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 string (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- entity
Type stringInternal Name Internal name for the log analytics entity type.
- entity
Type stringName Log analytics entity type name.
- {[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.- lifecycle
Details string lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- management
Agent stringCompartment Id Management agent (management-agents resource kind) compartment OCID
- management
Agent stringDisplay Name Management agent (management-agents resource kind) display name
- management
Agent stringId (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.
- source
Id 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.
- time
Created string The date and time the resource was created, in the format defined by RFC3339.
- time
Updated string The date and time the resource was last updated, in the format defined by RFC3339.
- timezone
Region string (Updatable) The timezone region of the log analytics entity.
- are_
logs_ boolcollected The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
- cloud_
resource_ strid 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).
- 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_ strinternal_ name Internal name for the log analytics entity type.
- entity_
type_ strname Log analytics entity type name.
- 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_ strcompartment_ id Management agent (management-agents resource kind) compartment OCID
- management_
agent_ strdisplay_ name Management agent (management-agents resource kind) display name
- management_
agent_ strid (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.
- are
Logs BooleanCollected The Boolean flag to indicate if logs are collected for an entity for log analytics usage.
- cloud
Resource StringId 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 String (Updatable) Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- entity
Type StringInternal Name Internal name for the log analytics entity type.
- entity
Type StringName Log analytics entity type name.
- 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.- lifecycle
Details String lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- management
Agent StringCompartment Id Management agent (management-agents resource kind) compartment OCID
- management
Agent StringDisplay Name Management agent (management-agents resource kind) display name
- management
Agent StringId (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.
- source
Id 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.
- time
Created String The date and time the resource was created, in the format defined by RFC3339.
- time
Updated String The date and time the resource was last updated, in the format defined by RFC3339.
- timezone
Region 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.