Oracle Cloud Infrastructure
getLogAnalyticsEntitiesSummary
This data source provides details about a specific Log Analytics Entities Summary resource in Oracle Cloud Infrastructure Log Analytics service.
Returns log analytics entities count summary report.
Example Usage
using Pulumi;
using Oci = Pulumi.Oci;
class MyStack : Stack
{
public MyStack()
{
var testLogAnalyticsEntitiesSummary = Output.Create(Oci.LogAnalytics.GetLogAnalyticsEntitiesSummary.InvokeAsync(new Oci.LogAnalytics.GetLogAnalyticsEntitiesSummaryArgs
{
CompartmentId = @var.Compartment_id,
Namespace = @var.Log_analytics_entities_summary_namespace,
}));
}
}
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.GetLogAnalyticsEntitiesSummary(ctx, &loganalytics.GetLogAnalyticsEntitiesSummaryArgs{
CompartmentId: _var.Compartment_id,
Namespace: _var.Log_analytics_entities_summary_namespace,
}, nil)
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_oci as oci
test_log_analytics_entities_summary = oci.LogAnalytics.get_log_analytics_entities_summary(compartment_id=var["compartment_id"],
namespace=var["log_analytics_entities_summary_namespace"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testLogAnalyticsEntitiesSummary = oci.LogAnalytics.getLogAnalyticsEntitiesSummary({
compartmentId: _var.compartment_id,
namespace: _var.log_analytics_entities_summary_namespace,
});
Coming soon!
Using getLogAnalyticsEntitiesSummary
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 getLogAnalyticsEntitiesSummary(args: GetLogAnalyticsEntitiesSummaryArgs, opts?: InvokeOptions): Promise<GetLogAnalyticsEntitiesSummaryResult>
function getLogAnalyticsEntitiesSummaryOutput(args: GetLogAnalyticsEntitiesSummaryOutputArgs, opts?: InvokeOptions): Output<GetLogAnalyticsEntitiesSummaryResult>
def get_log_analytics_entities_summary(compartment_id: Optional[str] = None,
namespace: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLogAnalyticsEntitiesSummaryResult
def get_log_analytics_entities_summary_output(compartment_id: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLogAnalyticsEntitiesSummaryResult]
func GetLogAnalyticsEntitiesSummary(ctx *Context, args *GetLogAnalyticsEntitiesSummaryArgs, opts ...InvokeOption) (*GetLogAnalyticsEntitiesSummaryResult, error)
func GetLogAnalyticsEntitiesSummaryOutput(ctx *Context, args *GetLogAnalyticsEntitiesSummaryOutputArgs, opts ...InvokeOption) GetLogAnalyticsEntitiesSummaryResultOutput
> Note: This function is named GetLogAnalyticsEntitiesSummary
in the Go SDK.
public static class GetLogAnalyticsEntitiesSummary
{
public static Task<GetLogAnalyticsEntitiesSummaryResult> InvokeAsync(GetLogAnalyticsEntitiesSummaryArgs args, InvokeOptions? opts = null)
public static Output<GetLogAnalyticsEntitiesSummaryResult> Invoke(GetLogAnalyticsEntitiesSummaryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLogAnalyticsEntitiesSummaryResult> getLogAnalyticsEntitiesSummary(GetLogAnalyticsEntitiesSummaryArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: oci:LogAnalytics/getLogAnalyticsEntitiesSummary:getLogAnalyticsEntitiesSummary
Arguments:
# Arguments dictionary
The following arguments are supported:
- Compartment
Id string The ID of the compartment in which to list resources.
- Namespace string
The Logging Analytics namespace used for the request.
- Compartment
Id string The ID of the compartment in which to list resources.
- Namespace string
The Logging Analytics namespace used for the request.
- compartment
Id String The ID of the compartment in which to list resources.
- namespace String
The Logging Analytics namespace used for the request.
- compartment
Id string The ID of the compartment in which to list resources.
- namespace string
The Logging Analytics namespace used for the request.
- compartment_
id str The ID of the compartment in which to list resources.
- namespace str
The Logging Analytics namespace used for the request.
- compartment
Id String The ID of the compartment in which to list resources.
- namespace String
The Logging Analytics namespace used for the request.
getLogAnalyticsEntitiesSummary Result
The following output properties are available:
- Active
Entities intCount Total number of ACTIVE entities
- Compartment
Id string Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Entities
With intHas Logs Collected Count Entities with log collection enabled
- Entities
With intManagement Agent Count Entities with management agent
- Id string
The provider-assigned unique ID for this managed resource.
- Namespace string
- Active
Entities intCount Total number of ACTIVE entities
- Compartment
Id string Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Entities
With intHas Logs Collected Count Entities with log collection enabled
- Entities
With intManagement Agent Count Entities with management agent
- Id string
The provider-assigned unique ID for this managed resource.
- Namespace string
- active
Entities IntegerCount Total number of ACTIVE entities
- compartment
Id String Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- entities
With IntegerHas Logs Collected Count Entities with log collection enabled
- entities
With IntegerManagement Agent Count Entities with management agent
- id String
The provider-assigned unique ID for this managed resource.
- namespace String
- active
Entities numberCount Total number of ACTIVE entities
- compartment
Id string Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- entities
With numberHas Logs Collected Count Entities with log collection enabled
- entities
With numberManagement Agent Count Entities with management agent
- id string
The provider-assigned unique ID for this managed resource.
- namespace string
- active_
entities_ intcount Total number of ACTIVE entities
- compartment_
id str Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- entities_
with_ inthas_ logs_ collected_ count Entities with log collection enabled
- entities_
with_ intmanagement_ agent_ count Entities with management agent
- id str
The provider-assigned unique ID for this managed resource.
- namespace str
- active
Entities NumberCount Total number of ACTIVE entities
- compartment
Id String Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- entities
With NumberHas Logs Collected Count Entities with log collection enabled
- entities
With NumberManagement Agent Count Entities with management agent
- id String
The provider-assigned unique ID for this managed resource.
- namespace String
Package Details
- Repository
- https://github.com/pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.