oci.LogAnalytics.getLogAnalyticsEntityTopology
This data source provides details about a specific Log Analytics Entity Topology resource in Oracle Cloud Infrastructure Log Analytics service.
Return a log analytics entity topology collection that contains a set of log analytics entities and a set of relationships between those, for the input source entity.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testLogAnalyticsEntityTopology = Oci.LogAnalytics.GetLogAnalyticsEntityTopology.Invoke(new()
{
LogAnalyticsEntityId = oci_log_analytics_log_analytics_entity.Test_log_analytics_entity.Id,
Namespace = @var.Log_analytics_entity_topology_namespace,
State = @var.Log_analytics_entity_topology_state,
});
});
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.GetLogAnalyticsEntityTopology(ctx, &loganalytics.GetLogAnalyticsEntityTopologyArgs{
LogAnalyticsEntityId: oci_log_analytics_log_analytics_entity.Test_log_analytics_entity.Id,
Namespace: _var.Log_analytics_entity_topology_namespace,
State: pulumi.StringRef(_var.Log_analytics_entity_topology_state),
}, nil)
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.LogAnalyticsFunctions;
import com.pulumi.oci.LogAnalytics.inputs.GetLogAnalyticsEntityTopologyArgs;
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 testLogAnalyticsEntityTopology = LogAnalyticsFunctions.getLogAnalyticsEntityTopology(GetLogAnalyticsEntityTopologyArgs.builder()
.logAnalyticsEntityId(oci_log_analytics_log_analytics_entity.test_log_analytics_entity().id())
.namespace(var_.log_analytics_entity_topology_namespace())
.state(var_.log_analytics_entity_topology_state())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_log_analytics_entity_topology = oci.LogAnalytics.get_log_analytics_entity_topology(log_analytics_entity_id=oci_log_analytics_log_analytics_entity["test_log_analytics_entity"]["id"],
namespace=var["log_analytics_entity_topology_namespace"],
state=var["log_analytics_entity_topology_state"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testLogAnalyticsEntityTopology = oci.LogAnalytics.getLogAnalyticsEntityTopology({
logAnalyticsEntityId: oci_log_analytics_log_analytics_entity.test_log_analytics_entity.id,
namespace: _var.log_analytics_entity_topology_namespace,
state: _var.log_analytics_entity_topology_state,
});
variables:
testLogAnalyticsEntityTopology:
fn::invoke:
Function: oci:LogAnalytics:getLogAnalyticsEntityTopology
Arguments:
logAnalyticsEntityId: ${oci_log_analytics_log_analytics_entity.test_log_analytics_entity.id}
namespace: ${var.log_analytics_entity_topology_namespace}
state: ${var.log_analytics_entity_topology_state}
Using getLogAnalyticsEntityTopology
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 getLogAnalyticsEntityTopology(args: GetLogAnalyticsEntityTopologyArgs, opts?: InvokeOptions): Promise<GetLogAnalyticsEntityTopologyResult>
function getLogAnalyticsEntityTopologyOutput(args: GetLogAnalyticsEntityTopologyOutputArgs, opts?: InvokeOptions): Output<GetLogAnalyticsEntityTopologyResult>
def get_log_analytics_entity_topology(log_analytics_entity_id: Optional[str] = None,
namespace: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLogAnalyticsEntityTopologyResult
def get_log_analytics_entity_topology_output(log_analytics_entity_id: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLogAnalyticsEntityTopologyResult]
func GetLogAnalyticsEntityTopology(ctx *Context, args *GetLogAnalyticsEntityTopologyArgs, opts ...InvokeOption) (*GetLogAnalyticsEntityTopologyResult, error)
func GetLogAnalyticsEntityTopologyOutput(ctx *Context, args *GetLogAnalyticsEntityTopologyOutputArgs, opts ...InvokeOption) GetLogAnalyticsEntityTopologyResultOutput
> Note: This function is named GetLogAnalyticsEntityTopology
in the Go SDK.
public static class GetLogAnalyticsEntityTopology
{
public static Task<GetLogAnalyticsEntityTopologyResult> InvokeAsync(GetLogAnalyticsEntityTopologyArgs args, InvokeOptions? opts = null)
public static Output<GetLogAnalyticsEntityTopologyResult> Invoke(GetLogAnalyticsEntityTopologyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLogAnalyticsEntityTopologyResult> getLogAnalyticsEntityTopology(GetLogAnalyticsEntityTopologyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:LogAnalytics/getLogAnalyticsEntityTopology:getLogAnalyticsEntityTopology
arguments:
# arguments dictionary
The following arguments are supported:
- Log
Analytics stringEntity Id The log analytics entity OCID.
- Namespace string
The Logging Analytics namespace used for the request.
- State string
A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- Log
Analytics stringEntity Id The log analytics entity OCID.
- Namespace string
The Logging Analytics namespace used for the request.
- State string
A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- log
Analytics StringEntity Id The log analytics entity OCID.
- namespace String
The Logging Analytics namespace used for the request.
- state String
A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- log
Analytics stringEntity Id The log analytics entity OCID.
- namespace string
The Logging Analytics namespace used for the request.
- state string
A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- log_
analytics_ strentity_ id The log analytics entity OCID.
- namespace str
The Logging Analytics namespace used for the request.
- state str
A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- log
Analytics StringEntity Id The log analytics entity OCID.
- namespace String
The Logging Analytics namespace used for the request.
- state String
A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
getLogAnalyticsEntityTopology Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Items
List<Get
Log Analytics Entity Topology Item> Array of log analytics entity summary.
- Log
Analytics stringEntity Id - Namespace string
- State string
The current state of the log analytics entity.
- Id string
The provider-assigned unique ID for this managed resource.
- Items
[]Get
Log Analytics Entity Topology Item Array of log analytics entity summary.
- Log
Analytics stringEntity Id - Namespace string
- State string
The current state of the log analytics entity.
- id String
The provider-assigned unique ID for this managed resource.
- items
List<Get
Entity Topology Item> Array of log analytics entity summary.
- log
Analytics StringEntity Id - namespace String
- state String
The current state of the log analytics entity.
- id string
The provider-assigned unique ID for this managed resource.
- items
Get
Log Analytics Entity Topology Item[] Array of log analytics entity summary.
- log
Analytics stringEntity Id - namespace string
- state string
The current state of the log analytics entity.
- id str
The provider-assigned unique ID for this managed resource.
- items
Get
Log Analytics Entity Topology Item] Array of log analytics entity summary.
- log_
analytics_ strentity_ id - namespace str
- state str
The current state of the log analytics entity.
- id String
The provider-assigned unique ID for this managed resource.
- items List<Property Map>
Array of log analytics entity summary.
- log
Analytics StringEntity Id - namespace String
- state String
The current state of the log analytics entity.
Supporting Types
GetLogAnalyticsEntityTopologyItem
- Links
List<Get
Log Analytics Entity Topology Item Link> Collection of log analytics entity relationship links.
- Nodes
List<Get
Log Analytics Entity Topology Item Node> Collection of log analytics entities.
- Links
[]Get
Log Analytics Entity Topology Item Link Collection of log analytics entity relationship links.
- Nodes
[]Get
Log Analytics Entity Topology Item Node Collection of log analytics entities.
- links
List<Get
Entity Topology Item Link> Collection of log analytics entity relationship links.
- nodes
List<Get
Entity Topology Item Node> Collection of log analytics entities.
- links
Get
Log Analytics Entity Topology Item Link[] Collection of log analytics entity relationship links.
- nodes
Get
Log Analytics Entity Topology Item Node[] Collection of log analytics entities.
- links
Get
Log Analytics Entity Topology Item Link] Collection of log analytics entity relationship links.
- nodes
Get
Log Analytics Entity Topology Item Node] Collection of log analytics entities.
- links List<Property Map>
Collection of log analytics entity relationship links.
- nodes List<Property Map>
Collection of log analytics entities.
GetLogAnalyticsEntityTopologyItemLink
- Items
List<Get
Log Analytics Entity Topology Item Link Item> Array of log analytics entity summary.
- Items
[]Get
Log Analytics Entity Topology Item Link Item Array of log analytics entity summary.
- items
List<Get
Entity Topology Item Link Item> Array of log analytics entity summary.
- items
Get
Log Analytics Entity Topology Item Link Item[] Array of log analytics entity summary.
- items
Get
Log Analytics Entity Topology Item Link Item] Array of log analytics entity summary.
- items List<Property Map>
Array of log analytics entity summary.
GetLogAnalyticsEntityTopologyItemLinkItem
- Destination
Entity stringId The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- Source
Entity stringId The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- Destination
Entity stringId The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- Source
Entity stringId The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- destination
Entity StringId The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- source
Entity StringId The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- destination
Entity stringId The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- source
Entity stringId The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- destination_
entity_ strid The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- source_
entity_ strid The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- destination
Entity StringId The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- source
Entity StringId The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
GetLogAnalyticsEntityTopologyItemNode
- Items
List<Get
Log Analytics Entity Topology Item Node Item> Array of log analytics entity summary.
- Items
[]Get
Log Analytics Entity Topology Item Node Item Array of log analytics entity summary.
- items
List<Get
Entity Topology Item Node Item> Array of log analytics entity summary.
- items
Get
Log Analytics Entity Topology Item Node Item[] Array of log analytics entity summary.
- items
Get
Log Analytics Entity Topology Item Node Item] Array of log analytics entity summary.
- items List<Property Map>
Array of log analytics entity summary.
GetLogAnalyticsEntityTopologyItemNodeItem
- 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 Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Dictionary<string, object>
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>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- Lifecycle
Details string lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- Management
Agent stringId The OCID of the Management Agent.
- Name string
Log analytics entity name.
- Source
Id string This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
- State string
A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- 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 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 Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- map[string]interface{}
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{}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- Lifecycle
Details string lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- Management
Agent stringId The OCID of the Management Agent.
- Name string
Log analytics entity name.
- Source
Id string This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
- State string
A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- 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 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 Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Map<String,Object>
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>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- lifecycle
Details String lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- management
Agent StringId The OCID of the Management Agent.
- name String
Log analytics entity name.
- source
Id String This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
- state String
A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- 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 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 Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- {[key: string]: any}
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}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id string
The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- lifecycle
Details string lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- management
Agent stringId The OCID of the Management Agent.
- name string
Log analytics entity name.
- source
Id string This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
- state string
A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- 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 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 Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Mapping[str, Any]
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]
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id str
The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- lifecycle_
details str lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- management_
agent_ strid The OCID of the Management Agent.
- name str
Log analytics entity name.
- source_
id str This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
- state str
A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- 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 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 Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Map<Any>
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>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
- lifecycle
Details String lifecycleDetails has additional information regarding substeps such as management agent plugin deployment.
- management
Agent StringId The OCID of the Management Agent.
- name String
Log analytics entity name.
- source
Id String This indicates the type of source. It is primarily for Enterprise Manager Repository ID.
- state String
A filter to return only those log analytics entities with the specified lifecycle state. The state value is case-insensitive.
- 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 The timezone region of the log analytics entity.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.