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

oci.LogAnalytics.LogAnalyticsUnprocessedDataBucketManagement

This resource provides the Log Analytics Unprocessed Data Bucket Management resource in Oracle Cloud Infrastructure Log Analytics service.

This API configures a bucket to store unprocessed payloads. While processing there could be reasons a payload cannot be processed (mismatched structure, corrupted archive format, etc), if configured the payload would be uploaded to the bucket for verification.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var testLogAnalyticsUnprocessedDataBucketManagement = new Oci.LogAnalytics.LogAnalyticsUnprocessedDataBucketManagement("testLogAnalyticsUnprocessedDataBucketManagement", new()
    {
        Bucket = @var.Log_analytics_unprocessed_data_bucket_management_bucket,
        Namespace = @var.Log_analytics_unprocessed_data_bucket_management_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.NewLogAnalyticsUnprocessedDataBucketManagement(ctx, "testLogAnalyticsUnprocessedDataBucketManagement", &LogAnalytics.LogAnalyticsUnprocessedDataBucketManagementArgs{
			Bucket:    pulumi.Any(_var.Log_analytics_unprocessed_data_bucket_management_bucket),
			Namespace: pulumi.Any(_var.Log_analytics_unprocessed_data_bucket_management_namespace),
		})
		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.LogAnalyticsUnprocessedDataBucketManagement;
import com.pulumi.oci.LogAnalytics.LogAnalyticsUnprocessedDataBucketManagementArgs;
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 testLogAnalyticsUnprocessedDataBucketManagement = new LogAnalyticsUnprocessedDataBucketManagement("testLogAnalyticsUnprocessedDataBucketManagement", LogAnalyticsUnprocessedDataBucketManagementArgs.builder()        
            .bucket(var_.log_analytics_unprocessed_data_bucket_management_bucket())
            .namespace(var_.log_analytics_unprocessed_data_bucket_management_namespace())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_log_analytics_unprocessed_data_bucket_management = oci.log_analytics.LogAnalyticsUnprocessedDataBucketManagement("testLogAnalyticsUnprocessedDataBucketManagement",
    bucket=var["log_analytics_unprocessed_data_bucket_management_bucket"],
    namespace=var["log_analytics_unprocessed_data_bucket_management_namespace"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testLogAnalyticsUnprocessedDataBucketManagement = new oci.loganalytics.LogAnalyticsUnprocessedDataBucketManagement("testLogAnalyticsUnprocessedDataBucketManagement", {
    bucket: _var.log_analytics_unprocessed_data_bucket_management_bucket,
    namespace: _var.log_analytics_unprocessed_data_bucket_management_namespace,
});
resources:
  testLogAnalyticsUnprocessedDataBucketManagement:
    type: oci:LogAnalytics:LogAnalyticsUnprocessedDataBucketManagement
    properties:
      #Required
      bucket: ${var.log_analytics_unprocessed_data_bucket_management_bucket}
      namespace: ${var.log_analytics_unprocessed_data_bucket_management_namespace}

Create LogAnalyticsUnprocessedDataBucketManagement Resource

new LogAnalyticsUnprocessedDataBucketManagement(name: string, args: LogAnalyticsUnprocessedDataBucketManagementArgs, opts?: CustomResourceOptions);
@overload
def LogAnalyticsUnprocessedDataBucketManagement(resource_name: str,
                                                opts: Optional[ResourceOptions] = None,
                                                bucket: Optional[str] = None,
                                                is_enabled: Optional[bool] = None,
                                                namespace: Optional[str] = None)
@overload
def LogAnalyticsUnprocessedDataBucketManagement(resource_name: str,
                                                args: LogAnalyticsUnprocessedDataBucketManagementArgs,
                                                opts: Optional[ResourceOptions] = None)
func NewLogAnalyticsUnprocessedDataBucketManagement(ctx *Context, name string, args LogAnalyticsUnprocessedDataBucketManagementArgs, opts ...ResourceOption) (*LogAnalyticsUnprocessedDataBucketManagement, error)
public LogAnalyticsUnprocessedDataBucketManagement(string name, LogAnalyticsUnprocessedDataBucketManagementArgs args, CustomResourceOptions? opts = null)
public LogAnalyticsUnprocessedDataBucketManagement(String name, LogAnalyticsUnprocessedDataBucketManagementArgs args)
public LogAnalyticsUnprocessedDataBucketManagement(String name, LogAnalyticsUnprocessedDataBucketManagementArgs args, CustomResourceOptions options)
type: oci:LogAnalytics:LogAnalyticsUnprocessedDataBucketManagement
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args LogAnalyticsUnprocessedDataBucketManagementArgs
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 LogAnalyticsUnprocessedDataBucketManagementArgs
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 LogAnalyticsUnprocessedDataBucketManagementArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args LogAnalyticsUnprocessedDataBucketManagementArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args LogAnalyticsUnprocessedDataBucketManagementArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

LogAnalyticsUnprocessedDataBucketManagement 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 LogAnalyticsUnprocessedDataBucketManagement resource accepts the following input properties:

Bucket string

Name of the Object Storage bucket.

Namespace string

The Logging Analytics namespace used for the request.

IsEnabled bool

Flag that specifies if this configuration is enabled or not.

Bucket string

Name of the Object Storage bucket.

Namespace string

The Logging Analytics namespace used for the request.

IsEnabled bool

Flag that specifies if this configuration is enabled or not.

bucket String

Name of the Object Storage bucket.

namespace String

The Logging Analytics namespace used for the request.

isEnabled Boolean

Flag that specifies if this configuration is enabled or not.

bucket string

Name of the Object Storage bucket.

namespace string

The Logging Analytics namespace used for the request.

isEnabled boolean

Flag that specifies if this configuration is enabled or not.

bucket str

Name of the Object Storage bucket.

namespace str

The Logging Analytics namespace used for the request.

is_enabled bool

Flag that specifies if this configuration is enabled or not.

bucket String

Name of the Object Storage bucket.

namespace String

The Logging Analytics namespace used for the request.

isEnabled Boolean

Flag that specifies if this configuration is enabled or not.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

TimeCreated string

The time when this record is created. An RFC3339 formatted datetime string.

TimeUpdated string

The latest time when this record is updated. An RFC3339 formatted datetime string.

Id string

The provider-assigned unique ID for this managed resource.

TimeCreated string

The time when this record is created. An RFC3339 formatted datetime string.

TimeUpdated string

The latest time when this record is updated. An RFC3339 formatted datetime string.

id String

The provider-assigned unique ID for this managed resource.

timeCreated String

The time when this record is created. An RFC3339 formatted datetime string.

timeUpdated String

The latest time when this record is updated. An RFC3339 formatted datetime string.

id string

The provider-assigned unique ID for this managed resource.

timeCreated string

The time when this record is created. An RFC3339 formatted datetime string.

timeUpdated string

The latest time when this record is updated. An RFC3339 formatted datetime string.

id str

The provider-assigned unique ID for this managed resource.

time_created str

The time when this record is created. An RFC3339 formatted datetime string.

time_updated str

The latest time when this record is updated. An RFC3339 formatted datetime string.

id String

The provider-assigned unique ID for this managed resource.

timeCreated String

The time when this record is created. An RFC3339 formatted datetime string.

timeUpdated String

The latest time when this record is updated. An RFC3339 formatted datetime string.

Look up Existing LogAnalyticsUnprocessedDataBucketManagement Resource

Get an existing LogAnalyticsUnprocessedDataBucketManagement 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?: LogAnalyticsUnprocessedDataBucketManagementState, opts?: CustomResourceOptions): LogAnalyticsUnprocessedDataBucketManagement
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        bucket: Optional[str] = None,
        is_enabled: Optional[bool] = None,
        namespace: Optional[str] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> LogAnalyticsUnprocessedDataBucketManagement
func GetLogAnalyticsUnprocessedDataBucketManagement(ctx *Context, name string, id IDInput, state *LogAnalyticsUnprocessedDataBucketManagementState, opts ...ResourceOption) (*LogAnalyticsUnprocessedDataBucketManagement, error)
public static LogAnalyticsUnprocessedDataBucketManagement Get(string name, Input<string> id, LogAnalyticsUnprocessedDataBucketManagementState? state, CustomResourceOptions? opts = null)
public static LogAnalyticsUnprocessedDataBucketManagement get(String name, Output<String> id, LogAnalyticsUnprocessedDataBucketManagementState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Bucket string

Name of the Object Storage bucket.

IsEnabled bool

Flag that specifies if this configuration is enabled or not.

Namespace string

The Logging Analytics namespace used for the request.

TimeCreated string

The time when this record is created. An RFC3339 formatted datetime string.

TimeUpdated string

The latest time when this record is updated. An RFC3339 formatted datetime string.

Bucket string

Name of the Object Storage bucket.

IsEnabled bool

Flag that specifies if this configuration is enabled or not.

Namespace string

The Logging Analytics namespace used for the request.

TimeCreated string

The time when this record is created. An RFC3339 formatted datetime string.

TimeUpdated string

The latest time when this record is updated. An RFC3339 formatted datetime string.

bucket String

Name of the Object Storage bucket.

isEnabled Boolean

Flag that specifies if this configuration is enabled or not.

namespace String

The Logging Analytics namespace used for the request.

timeCreated String

The time when this record is created. An RFC3339 formatted datetime string.

timeUpdated String

The latest time when this record is updated. An RFC3339 formatted datetime string.

bucket string

Name of the Object Storage bucket.

isEnabled boolean

Flag that specifies if this configuration is enabled or not.

namespace string

The Logging Analytics namespace used for the request.

timeCreated string

The time when this record is created. An RFC3339 formatted datetime string.

timeUpdated string

The latest time when this record is updated. An RFC3339 formatted datetime string.

bucket str

Name of the Object Storage bucket.

is_enabled bool

Flag that specifies if this configuration is enabled or not.

namespace str

The Logging Analytics namespace used for the request.

time_created str

The time when this record is created. An RFC3339 formatted datetime string.

time_updated str

The latest time when this record is updated. An RFC3339 formatted datetime string.

bucket String

Name of the Object Storage bucket.

isEnabled Boolean

Flag that specifies if this configuration is enabled or not.

namespace String

The Logging Analytics namespace used for the request.

timeCreated String

The time when this record is created. An RFC3339 formatted datetime string.

timeUpdated String

The latest time when this record is updated. An RFC3339 formatted datetime string.

Import

Import is not supported for LogAnalyticsUnprocessedDataBucketManagement

Package Details

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

This Pulumi package is based on the oci Terraform Provider.