1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. LogAnalytics
  5. getLogAnalyticsUnprocessedDataBucket
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.LogAnalytics.getLogAnalyticsUnprocessedDataBucket

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

This data source provides details about a specific Log Analytics Unprocessed Data Bucket resource in Oracle Cloud Infrastructure Log Analytics service.

This API retrieves details of the configured bucket that stores unprocessed payloads.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testLogAnalyticsUnprocessedDataBucket = oci.LogAnalytics.getLogAnalyticsUnprocessedDataBucket({
    namespace: logAnalyticsUnprocessedDataBucketNamespace,
});
Copy
import pulumi
import pulumi_oci as oci

test_log_analytics_unprocessed_data_bucket = oci.LogAnalytics.get_log_analytics_unprocessed_data_bucket(namespace=log_analytics_unprocessed_data_bucket_namespace)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/loganalytics"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := loganalytics.GetLogAnalyticsUnprocessedDataBucket(ctx, &loganalytics.GetLogAnalyticsUnprocessedDataBucketArgs{
			Namespace: logAnalyticsUnprocessedDataBucketNamespace,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testLogAnalyticsUnprocessedDataBucket = Oci.LogAnalytics.GetLogAnalyticsUnprocessedDataBucket.Invoke(new()
    {
        Namespace = logAnalyticsUnprocessedDataBucketNamespace,
    });

});
Copy
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.GetLogAnalyticsUnprocessedDataBucketArgs;
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 testLogAnalyticsUnprocessedDataBucket = LogAnalyticsFunctions.getLogAnalyticsUnprocessedDataBucket(GetLogAnalyticsUnprocessedDataBucketArgs.builder()
            .namespace(logAnalyticsUnprocessedDataBucketNamespace)
            .build());

    }
}
Copy
variables:
  testLogAnalyticsUnprocessedDataBucket:
    fn::invoke:
      function: oci:LogAnalytics:getLogAnalyticsUnprocessedDataBucket
      arguments:
        namespace: ${logAnalyticsUnprocessedDataBucketNamespace}
Copy

Using getLogAnalyticsUnprocessedDataBucket

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 getLogAnalyticsUnprocessedDataBucket(args: GetLogAnalyticsUnprocessedDataBucketArgs, opts?: InvokeOptions): Promise<GetLogAnalyticsUnprocessedDataBucketResult>
function getLogAnalyticsUnprocessedDataBucketOutput(args: GetLogAnalyticsUnprocessedDataBucketOutputArgs, opts?: InvokeOptions): Output<GetLogAnalyticsUnprocessedDataBucketResult>
Copy
def get_log_analytics_unprocessed_data_bucket(namespace: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetLogAnalyticsUnprocessedDataBucketResult
def get_log_analytics_unprocessed_data_bucket_output(namespace: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetLogAnalyticsUnprocessedDataBucketResult]
Copy
func GetLogAnalyticsUnprocessedDataBucket(ctx *Context, args *GetLogAnalyticsUnprocessedDataBucketArgs, opts ...InvokeOption) (*GetLogAnalyticsUnprocessedDataBucketResult, error)
func GetLogAnalyticsUnprocessedDataBucketOutput(ctx *Context, args *GetLogAnalyticsUnprocessedDataBucketOutputArgs, opts ...InvokeOption) GetLogAnalyticsUnprocessedDataBucketResultOutput
Copy

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

public static class GetLogAnalyticsUnprocessedDataBucket 
{
    public static Task<GetLogAnalyticsUnprocessedDataBucketResult> InvokeAsync(GetLogAnalyticsUnprocessedDataBucketArgs args, InvokeOptions? opts = null)
    public static Output<GetLogAnalyticsUnprocessedDataBucketResult> Invoke(GetLogAnalyticsUnprocessedDataBucketInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetLogAnalyticsUnprocessedDataBucketResult> getLogAnalyticsUnprocessedDataBucket(GetLogAnalyticsUnprocessedDataBucketArgs args, InvokeOptions options)
public static Output<GetLogAnalyticsUnprocessedDataBucketResult> getLogAnalyticsUnprocessedDataBucket(GetLogAnalyticsUnprocessedDataBucketArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:LogAnalytics/getLogAnalyticsUnprocessedDataBucket:getLogAnalyticsUnprocessedDataBucket
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Namespace This property is required. string
The Logging Analytics namespace used for the request.
Namespace This property is required. string
The Logging Analytics namespace used for the request.
namespace This property is required. String
The Logging Analytics namespace used for the request.
namespace This property is required. string
The Logging Analytics namespace used for the request.
namespace This property is required. str
The Logging Analytics namespace used for the request.
namespace This property is required. String
The Logging Analytics namespace used for the request.

getLogAnalyticsUnprocessedDataBucket Result

The following output properties are available:

Bucket string
Name of the Object Storage bucket.
Id string
The provider-assigned unique ID for this managed resource.
IsEnabled bool
Flag that specifies if this configuration is enabled or not.
Namespace string
Object Storage namespace.
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.
Id string
The provider-assigned unique ID for this managed resource.
IsEnabled bool
Flag that specifies if this configuration is enabled or not.
Namespace string
Object Storage namespace.
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.
id String
The provider-assigned unique ID for this managed resource.
isEnabled Boolean
Flag that specifies if this configuration is enabled or not.
namespace String
Object Storage namespace.
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.
id string
The provider-assigned unique ID for this managed resource.
isEnabled boolean
Flag that specifies if this configuration is enabled or not.
namespace string
Object Storage namespace.
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.
id str
The provider-assigned unique ID for this managed resource.
is_enabled bool
Flag that specifies if this configuration is enabled or not.
namespace str
Object Storage namespace.
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.
id String
The provider-assigned unique ID for this managed resource.
isEnabled Boolean
Flag that specifies if this configuration is enabled or not.
namespace String
Object Storage namespace.
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.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi