Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

getLogAnalyticsObjectCollectionRules

This data source provides the list of Log Analytics Object Collection Rules in Oracle Cloud Infrastructure Log Analytics service.

Gets list of configuration details of Object Storage based collection rules.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var testLogAnalyticsObjectCollectionRules = Oci.LogAnalytics.GetLogAnalyticsObjectCollectionRules.Invoke(new()
    {
        CompartmentId = @var.Compartment_id,
        Namespace = @var.Log_analytics_object_collection_rule_namespace,
        Name = @var.Log_analytics_object_collection_rule_name,
        State = @var.Log_analytics_object_collection_rule_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.GetLogAnalyticsObjectCollectionRules(ctx, &loganalytics.GetLogAnalyticsObjectCollectionRulesArgs{
			CompartmentId: _var.Compartment_id,
			Namespace:     _var.Log_analytics_object_collection_rule_namespace,
			Name:          pulumi.StringRef(_var.Log_analytics_object_collection_rule_name),
			State:         pulumi.StringRef(_var.Log_analytics_object_collection_rule_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.GetLogAnalyticsObjectCollectionRulesArgs;
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 testLogAnalyticsObjectCollectionRules = LogAnalyticsFunctions.getLogAnalyticsObjectCollectionRules(GetLogAnalyticsObjectCollectionRulesArgs.builder()
            .compartmentId(var_.compartment_id())
            .namespace(var_.log_analytics_object_collection_rule_namespace())
            .name(var_.log_analytics_object_collection_rule_name())
            .state(var_.log_analytics_object_collection_rule_state())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_log_analytics_object_collection_rules = oci.LogAnalytics.get_log_analytics_object_collection_rules(compartment_id=var["compartment_id"],
    namespace=var["log_analytics_object_collection_rule_namespace"],
    name=var["log_analytics_object_collection_rule_name"],
    state=var["log_analytics_object_collection_rule_state"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testLogAnalyticsObjectCollectionRules = oci.LogAnalytics.getLogAnalyticsObjectCollectionRules({
    compartmentId: _var.compartment_id,
    namespace: _var.log_analytics_object_collection_rule_namespace,
    name: _var.log_analytics_object_collection_rule_name,
    state: _var.log_analytics_object_collection_rule_state,
});
variables:
  testLogAnalyticsObjectCollectionRules:
    Fn::Invoke:
      Function: oci:LogAnalytics:getLogAnalyticsObjectCollectionRules
      Arguments:
        compartmentId: ${var.compartment_id}
        namespace: ${var.log_analytics_object_collection_rule_namespace}
        name: ${var.log_analytics_object_collection_rule_name}
        state: ${var.log_analytics_object_collection_rule_state}

Using getLogAnalyticsObjectCollectionRules

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 getLogAnalyticsObjectCollectionRules(args: GetLogAnalyticsObjectCollectionRulesArgs, opts?: InvokeOptions): Promise<GetLogAnalyticsObjectCollectionRulesResult>
function getLogAnalyticsObjectCollectionRulesOutput(args: GetLogAnalyticsObjectCollectionRulesOutputArgs, opts?: InvokeOptions): Output<GetLogAnalyticsObjectCollectionRulesResult>
def get_log_analytics_object_collection_rules(compartment_id: Optional[str] = None,
                                              filters: Optional[Sequence[_loganalytics.GetLogAnalyticsObjectCollectionRulesFilter]] = None,
                                              name: Optional[str] = None,
                                              namespace: Optional[str] = None,
                                              state: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetLogAnalyticsObjectCollectionRulesResult
def get_log_analytics_object_collection_rules_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                              filters: Optional[pulumi.Input[Sequence[pulumi.Input[_loganalytics.GetLogAnalyticsObjectCollectionRulesFilterArgs]]]] = None,
                                              name: Optional[pulumi.Input[str]] = None,
                                              namespace: Optional[pulumi.Input[str]] = None,
                                              state: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetLogAnalyticsObjectCollectionRulesResult]
func GetLogAnalyticsObjectCollectionRules(ctx *Context, args *GetLogAnalyticsObjectCollectionRulesArgs, opts ...InvokeOption) (*GetLogAnalyticsObjectCollectionRulesResult, error)
func GetLogAnalyticsObjectCollectionRulesOutput(ctx *Context, args *GetLogAnalyticsObjectCollectionRulesOutputArgs, opts ...InvokeOption) GetLogAnalyticsObjectCollectionRulesResultOutput

> Note: This function is named GetLogAnalyticsObjectCollectionRules in the Go SDK.

public static class GetLogAnalyticsObjectCollectionRules 
{
    public static Task<GetLogAnalyticsObjectCollectionRulesResult> InvokeAsync(GetLogAnalyticsObjectCollectionRulesArgs args, InvokeOptions? opts = null)
    public static Output<GetLogAnalyticsObjectCollectionRulesResult> Invoke(GetLogAnalyticsObjectCollectionRulesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLogAnalyticsObjectCollectionRulesResult> getLogAnalyticsObjectCollectionRules(GetLogAnalyticsObjectCollectionRulesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:LogAnalytics/getLogAnalyticsObjectCollectionRules:getLogAnalyticsObjectCollectionRules
  arguments:
    # arguments dictionary

The following arguments are supported:

CompartmentId string

The ID of the compartment in which to list resources.

Namespace string

The Logging Analytics namespace used for the request.

Filters List<GetLogAnalyticsObjectCollectionRulesFilter>
Name string

A filter to return rules only matching with this name.

State string

Lifecycle state filter.

CompartmentId string

The ID of the compartment in which to list resources.

Namespace string

The Logging Analytics namespace used for the request.

Filters []GetLogAnalyticsObjectCollectionRulesFilter
Name string

A filter to return rules only matching with this name.

State string

Lifecycle state filter.

compartmentId String

The ID of the compartment in which to list resources.

namespace String

The Logging Analytics namespace used for the request.

filters List<GetObjectCollectionRulesFilter>
name String

A filter to return rules only matching with this name.

state String

Lifecycle state filter.

compartmentId string

The ID of the compartment in which to list resources.

namespace string

The Logging Analytics namespace used for the request.

filters GetLogAnalyticsObjectCollectionRulesFilter[]
name string

A filter to return rules only matching with this name.

state string

Lifecycle state filter.

compartment_id str

The ID of the compartment in which to list resources.

namespace str

The Logging Analytics namespace used for the request.

filters GetLogAnalyticsObjectCollectionRulesFilter]
name str

A filter to return rules only matching with this name.

state str

Lifecycle state filter.

compartmentId String

The ID of the compartment in which to list resources.

namespace String

The Logging Analytics namespace used for the request.

filters List<Property Map>
name String

A filter to return rules only matching with this name.

state String

Lifecycle state filter.

getLogAnalyticsObjectCollectionRules Result

The following output properties are available:

CompartmentId string

The OCID of the compartment to which this rule belongs.

Id string

The provider-assigned unique ID for this managed resource.

LogAnalyticsObjectCollectionRuleCollections List<GetLogAnalyticsObjectCollectionRulesLogAnalyticsObjectCollectionRuleCollection>

The list of log_analytics_object_collection_rule_collection.

Namespace string
Filters List<GetLogAnalyticsObjectCollectionRulesFilter>
Name string

A unique name to the rule. The name must be unique, within the tenancy, and cannot be changed.

State string

The current state of the rule.

CompartmentId string

The OCID of the compartment to which this rule belongs.

Id string

The provider-assigned unique ID for this managed resource.

LogAnalyticsObjectCollectionRuleCollections []GetLogAnalyticsObjectCollectionRulesLogAnalyticsObjectCollectionRuleCollection

The list of log_analytics_object_collection_rule_collection.

Namespace string
Filters []GetLogAnalyticsObjectCollectionRulesFilter
Name string

A unique name to the rule. The name must be unique, within the tenancy, and cannot be changed.

State string

The current state of the rule.

compartmentId String

The OCID of the compartment to which this rule belongs.

id String

The provider-assigned unique ID for this managed resource.

logAnalyticsObjectCollectionRuleCollections List<GetObjectCollectionRulesObjectCollectionRuleCollection>

The list of log_analytics_object_collection_rule_collection.

namespace String
filters List<GetObjectCollectionRulesFilter>
name String

A unique name to the rule. The name must be unique, within the tenancy, and cannot be changed.

state String

The current state of the rule.

compartmentId string

The OCID of the compartment to which this rule belongs.

id string

The provider-assigned unique ID for this managed resource.

logAnalyticsObjectCollectionRuleCollections GetLogAnalyticsObjectCollectionRulesLogAnalyticsObjectCollectionRuleCollection[]

The list of log_analytics_object_collection_rule_collection.

namespace string
filters GetLogAnalyticsObjectCollectionRulesFilter[]
name string

A unique name to the rule. The name must be unique, within the tenancy, and cannot be changed.

state string

The current state of the rule.

compartment_id str

The OCID of the compartment to which this rule belongs.

id str

The provider-assigned unique ID for this managed resource.

log_analytics_object_collection_rule_collections GetLogAnalyticsObjectCollectionRulesLogAnalyticsObjectCollectionRuleCollection]

The list of log_analytics_object_collection_rule_collection.

namespace str
filters GetLogAnalyticsObjectCollectionRulesFilter]
name str

A unique name to the rule. The name must be unique, within the tenancy, and cannot be changed.

state str

The current state of the rule.

compartmentId String

The OCID of the compartment to which this rule belongs.

id String

The provider-assigned unique ID for this managed resource.

logAnalyticsObjectCollectionRuleCollections List<Property Map>

The list of log_analytics_object_collection_rule_collection.

namespace String
filters List<Property Map>
name String

A unique name to the rule. The name must be unique, within the tenancy, and cannot be changed.

state String

The current state of the rule.

Supporting Types

GetLogAnalyticsObjectCollectionRulesFilter

Name string

A filter to return rules only matching with this name.

Values List<string>
Regex bool
Name string

A filter to return rules only matching with this name.

Values []string
Regex bool
name String

A filter to return rules only matching with this name.

values List<String>
regex Boolean
name string

A filter to return rules only matching with this name.

values string[]
regex boolean
name str

A filter to return rules only matching with this name.

values Sequence[str]
regex bool
name String

A filter to return rules only matching with this name.

values List<String>
regex Boolean

GetLogAnalyticsObjectCollectionRulesLogAnalyticsObjectCollectionRuleCollection

GetLogAnalyticsObjectCollectionRulesLogAnalyticsObjectCollectionRuleCollectionItem

CharEncoding string

An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8589_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs.

CollectionType string

The type of collection. Supported collection types: LIVE, HISTORIC, HISTORIC_LIVE

CompartmentId string

The ID of the compartment in which to list resources.

DefinedTags Dictionary<string, object>

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

Description string

A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information.

EntityId string

Logging Analytics entity OCID to associate the processed logs with.

FreeformTags 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 OCID of this rule.

LifecycleDetails string

A detailed status of the life cycle state.

LogGroupId string

Logging Analytics Log group OCID to associate the processed logs with.

LogSourceName string

Name of the Logging Analytics Source to use for the processing.

Name string

A filter to return rules only matching with this name.

Namespace string

The Logging Analytics namespace used for the request.

ObjectNameFilters List<string>

When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see Event Filters.

OsBucketName string

Name of the Object Storage bucket.

OsNamespace string

Object Storage namespace.

Overrides List<GetLogAnalyticsObjectCollectionRulesLogAnalyticsObjectCollectionRuleCollectionItemOverride>

Use this to override some property values which are defined at bucket level to the scope of object. Supported propeties for override are, logSourceName, charEncoding. Supported matchType for override are "contains".

PollSince string

The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.

PollTill string

The oldest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. When collectionType is LIVE, specifying pollTill will result in error.

State string

Lifecycle state filter.

TimeCreated string

The time when this rule was created. An RFC3339 formatted datetime string.

TimeUpdated string

The time when this rule was last updated. An RFC3339 formatted datetime string.

CharEncoding string

An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8589_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs.

CollectionType string

The type of collection. Supported collection types: LIVE, HISTORIC, HISTORIC_LIVE

CompartmentId string

The ID of the compartment in which to list resources.

DefinedTags map[string]interface{}

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

Description string

A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information.

EntityId string

Logging Analytics entity OCID to associate the processed logs with.

FreeformTags 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 OCID of this rule.

LifecycleDetails string

A detailed status of the life cycle state.

LogGroupId string

Logging Analytics Log group OCID to associate the processed logs with.

LogSourceName string

Name of the Logging Analytics Source to use for the processing.

Name string

A filter to return rules only matching with this name.

Namespace string

The Logging Analytics namespace used for the request.

ObjectNameFilters []string

When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see Event Filters.

OsBucketName string

Name of the Object Storage bucket.

OsNamespace string

Object Storage namespace.

Overrides []GetLogAnalyticsObjectCollectionRulesLogAnalyticsObjectCollectionRuleCollectionItemOverride

Use this to override some property values which are defined at bucket level to the scope of object. Supported propeties for override are, logSourceName, charEncoding. Supported matchType for override are "contains".

PollSince string

The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.

PollTill string

The oldest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. When collectionType is LIVE, specifying pollTill will result in error.

State string

Lifecycle state filter.

TimeCreated string

The time when this rule was created. An RFC3339 formatted datetime string.

TimeUpdated string

The time when this rule was last updated. An RFC3339 formatted datetime string.

charEncoding String

An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8589_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs.

collectionType String

The type of collection. Supported collection types: LIVE, HISTORIC, HISTORIC_LIVE

compartmentId String

The ID of the compartment in which to list resources.

definedTags Map<String,Object>

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

description String

A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information.

entityId String

Logging Analytics entity OCID to associate the processed logs with.

freeformTags 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 OCID of this rule.

lifecycleDetails String

A detailed status of the life cycle state.

logGroupId String

Logging Analytics Log group OCID to associate the processed logs with.

logSourceName String

Name of the Logging Analytics Source to use for the processing.

name String

A filter to return rules only matching with this name.

namespace String

The Logging Analytics namespace used for the request.

objectNameFilters List<String>

When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see Event Filters.

osBucketName String

Name of the Object Storage bucket.

osNamespace String

Object Storage namespace.

overrides List<GetObjectCollectionRulesObjectCollectionRuleCollectionItemOverride>

Use this to override some property values which are defined at bucket level to the scope of object. Supported propeties for override are, logSourceName, charEncoding. Supported matchType for override are "contains".

pollSince String

The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.

pollTill String

The oldest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. When collectionType is LIVE, specifying pollTill will result in error.

state String

Lifecycle state filter.

timeCreated String

The time when this rule was created. An RFC3339 formatted datetime string.

timeUpdated String

The time when this rule was last updated. An RFC3339 formatted datetime string.

charEncoding string

An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8589_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs.

collectionType string

The type of collection. Supported collection types: LIVE, HISTORIC, HISTORIC_LIVE

compartmentId string

The ID of the compartment in which to list resources.

definedTags {[key: string]: any}

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

description string

A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information.

entityId string

Logging Analytics entity OCID to associate the processed logs with.

freeformTags {[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 OCID of this rule.

lifecycleDetails string

A detailed status of the life cycle state.

logGroupId string

Logging Analytics Log group OCID to associate the processed logs with.

logSourceName string

Name of the Logging Analytics Source to use for the processing.

name string

A filter to return rules only matching with this name.

namespace string

The Logging Analytics namespace used for the request.

objectNameFilters string[]

When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see Event Filters.

osBucketName string

Name of the Object Storage bucket.

osNamespace string

Object Storage namespace.

overrides GetLogAnalyticsObjectCollectionRulesLogAnalyticsObjectCollectionRuleCollectionItemOverride[]

Use this to override some property values which are defined at bucket level to the scope of object. Supported propeties for override are, logSourceName, charEncoding. Supported matchType for override are "contains".

pollSince string

The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.

pollTill string

The oldest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. When collectionType is LIVE, specifying pollTill will result in error.

state string

Lifecycle state filter.

timeCreated string

The time when this rule was created. An RFC3339 formatted datetime string.

timeUpdated string

The time when this rule was last updated. An RFC3339 formatted datetime string.

char_encoding str

An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8589_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs.

collection_type str

The type of collection. Supported collection types: LIVE, HISTORIC, HISTORIC_LIVE

compartment_id str

The ID of the compartment in which to list resources.

defined_tags Mapping[str, Any]

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

description str

A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information.

entity_id str

Logging Analytics entity OCID to associate the processed logs with.

freeform_tags 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 OCID of this rule.

lifecycle_details str

A detailed status of the life cycle state.

log_group_id str

Logging Analytics Log group OCID to associate the processed logs with.

log_source_name str

Name of the Logging Analytics Source to use for the processing.

name str

A filter to return rules only matching with this name.

namespace str

The Logging Analytics namespace used for the request.

object_name_filters Sequence[str]

When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see Event Filters.

os_bucket_name str

Name of the Object Storage bucket.

os_namespace str

Object Storage namespace.

overrides GetLogAnalyticsObjectCollectionRulesLogAnalyticsObjectCollectionRuleCollectionItemOverride]

Use this to override some property values which are defined at bucket level to the scope of object. Supported propeties for override are, logSourceName, charEncoding. Supported matchType for override are "contains".

poll_since str

The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.

poll_till str

The oldest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. When collectionType is LIVE, specifying pollTill will result in error.

state str

Lifecycle state filter.

time_created str

The time when this rule was created. An RFC3339 formatted datetime string.

time_updated str

The time when this rule was last updated. An RFC3339 formatted datetime string.

charEncoding String

An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8589_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs.

collectionType String

The type of collection. Supported collection types: LIVE, HISTORIC, HISTORIC_LIVE

compartmentId String

The ID of the compartment in which to list resources.

definedTags Map<Any>

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

description String

A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information.

entityId String

Logging Analytics entity OCID to associate the processed logs with.

freeformTags 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 OCID of this rule.

lifecycleDetails String

A detailed status of the life cycle state.

logGroupId String

Logging Analytics Log group OCID to associate the processed logs with.

logSourceName String

Name of the Logging Analytics Source to use for the processing.

name String

A filter to return rules only matching with this name.

namespace String

The Logging Analytics namespace used for the request.

objectNameFilters List<String>

When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see Event Filters.

osBucketName String

Name of the Object Storage bucket.

osNamespace String

Object Storage namespace.

overrides List<Property Map>

Use this to override some property values which are defined at bucket level to the scope of object. Supported propeties for override are, logSourceName, charEncoding. Supported matchType for override are "contains".

pollSince String

The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.

pollTill String

The oldest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. When collectionType is LIVE, specifying pollTill will result in error.

state String

Lifecycle state filter.

timeCreated String

The time when this rule was created. An RFC3339 formatted datetime string.

timeUpdated String

The time when this rule was last updated. An RFC3339 formatted datetime string.

GetLogAnalyticsObjectCollectionRulesLogAnalyticsObjectCollectionRuleCollectionItemOverride

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.