1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. LogAnalytics
  5. getLogAnalyticsUnprocessedDataBucket
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.LogAnalytics.getLogAnalyticsUnprocessedDataBucket

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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,
    });
    
    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)
    
    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
    	})
    }
    
    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,
        });
    
    });
    
    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());
    
        }
    }
    
    variables:
      testLogAnalyticsUnprocessedDataBucket:
        fn::invoke:
          Function: oci:LogAnalytics:getLogAnalyticsUnprocessedDataBucket
          Arguments:
            namespace: ${logAnalyticsUnprocessedDataBucketNamespace}
    

    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>
    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]
    func GetLogAnalyticsUnprocessedDataBucket(ctx *Context, args *GetLogAnalyticsUnprocessedDataBucketArgs, opts ...InvokeOption) (*GetLogAnalyticsUnprocessedDataBucketResult, error)
    func GetLogAnalyticsUnprocessedDataBucketOutput(ctx *Context, args *GetLogAnalyticsUnprocessedDataBucketOutputArgs, opts ...InvokeOption) GetLogAnalyticsUnprocessedDataBucketResultOutput

    > 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)
    }
    public static CompletableFuture<GetLogAnalyticsUnprocessedDataBucketResult> getLogAnalyticsUnprocessedDataBucket(GetLogAnalyticsUnprocessedDataBucketArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:LogAnalytics/getLogAnalyticsUnprocessedDataBucket:getLogAnalyticsUnprocessedDataBucket
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Namespace string
    The Logging Analytics namespace used for the request.
    Namespace string
    The Logging Analytics namespace used for the request.
    namespace String
    The Logging Analytics namespace used for the request.
    namespace string
    The Logging Analytics namespace used for the request.
    namespace str
    The Logging Analytics namespace used for the request.
    namespace 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.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi