oci.LogAnalytics.LogAnalyticsUnprocessedDataBucketManagement
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testLogAnalyticsUnprocessedDataBucketManagement = new oci.loganalytics.LogAnalyticsUnprocessedDataBucketManagement("test_log_analytics_unprocessed_data_bucket_management", {
bucket: logAnalyticsUnprocessedDataBucketManagementBucket,
namespace: logAnalyticsUnprocessedDataBucketManagementNamespace,
});
import pulumi
import pulumi_oci as oci
test_log_analytics_unprocessed_data_bucket_management = oci.log_analytics.LogAnalyticsUnprocessedDataBucketManagement("test_log_analytics_unprocessed_data_bucket_management",
bucket=log_analytics_unprocessed_data_bucket_management_bucket,
namespace=log_analytics_unprocessed_data_bucket_management_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.NewLogAnalyticsUnprocessedDataBucketManagement(ctx, "test_log_analytics_unprocessed_data_bucket_management", &LogAnalytics.LogAnalyticsUnprocessedDataBucketManagementArgs{
Bucket: pulumi.Any(logAnalyticsUnprocessedDataBucketManagementBucket),
Namespace: pulumi.Any(logAnalyticsUnprocessedDataBucketManagementNamespace),
})
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 testLogAnalyticsUnprocessedDataBucketManagement = new Oci.LogAnalytics.LogAnalyticsUnprocessedDataBucketManagement("test_log_analytics_unprocessed_data_bucket_management", new()
{
Bucket = logAnalyticsUnprocessedDataBucketManagementBucket,
Namespace = logAnalyticsUnprocessedDataBucketManagementNamespace,
});
});
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(logAnalyticsUnprocessedDataBucketManagementBucket)
.namespace(logAnalyticsUnprocessedDataBucketManagementNamespace)
.build());
}
}
resources:
testLogAnalyticsUnprocessedDataBucketManagement:
type: oci:LogAnalytics:LogAnalyticsUnprocessedDataBucketManagement
name: test_log_analytics_unprocessed_data_bucket_management
properties:
bucket: ${logAnalyticsUnprocessedDataBucketManagementBucket}
namespace: ${logAnalyticsUnprocessedDataBucketManagementNamespace}
Create LogAnalyticsUnprocessedDataBucketManagement Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LogAnalyticsUnprocessedDataBucketManagement(name: string, args: LogAnalyticsUnprocessedDataBucketManagementArgs, opts?: CustomResourceOptions);
@overload
def LogAnalyticsUnprocessedDataBucketManagement(resource_name: str,
args: LogAnalyticsUnprocessedDataBucketManagementArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LogAnalyticsUnprocessedDataBucketManagement(resource_name: str,
opts: Optional[ResourceOptions] = None,
bucket: Optional[str] = None,
namespace: Optional[str] = None,
is_enabled: Optional[bool] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var logAnalyticsUnprocessedDataBucketManagementResource = new Oci.LogAnalytics.LogAnalyticsUnprocessedDataBucketManagement("logAnalyticsUnprocessedDataBucketManagementResource", new()
{
Bucket = "string",
Namespace = "string",
IsEnabled = false,
});
example, err := LogAnalytics.NewLogAnalyticsUnprocessedDataBucketManagement(ctx, "logAnalyticsUnprocessedDataBucketManagementResource", &LogAnalytics.LogAnalyticsUnprocessedDataBucketManagementArgs{
Bucket: pulumi.String("string"),
Namespace: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
})
var logAnalyticsUnprocessedDataBucketManagementResource = new LogAnalyticsUnprocessedDataBucketManagement("logAnalyticsUnprocessedDataBucketManagementResource", LogAnalyticsUnprocessedDataBucketManagementArgs.builder()
.bucket("string")
.namespace("string")
.isEnabled(false)
.build());
log_analytics_unprocessed_data_bucket_management_resource = oci.log_analytics.LogAnalyticsUnprocessedDataBucketManagement("logAnalyticsUnprocessedDataBucketManagementResource",
bucket="string",
namespace="string",
is_enabled=False)
const logAnalyticsUnprocessedDataBucketManagementResource = new oci.loganalytics.LogAnalyticsUnprocessedDataBucketManagement("logAnalyticsUnprocessedDataBucketManagementResource", {
bucket: "string",
namespace: "string",
isEnabled: false,
});
type: oci:LogAnalytics:LogAnalyticsUnprocessedDataBucketManagement
properties:
bucket: string
isEnabled: false
namespace: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- is
Enabled 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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- is
Enabled 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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- is
Enabled 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.
- Time
Created string - The time when this record is created. An RFC3339 formatted datetime string.
- Time
Updated 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.
- Time
Created string - The time when this record is created. An RFC3339 formatted datetime string.
- Time
Updated 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.
- time
Created String - The time when this record is created. An RFC3339 formatted datetime string.
- time
Updated 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.
- time
Created string - The time when this record is created. An RFC3339 formatted datetime string.
- time
Updated 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.
- time
Created String - The time when this record is created. An RFC3339 formatted datetime string.
- time
Updated 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.
- Bucket string
- Name of the Object Storage bucket.
- Is
Enabled bool - Flag that specifies if this configuration is enabled or not.
- Namespace string
The Logging Analytics namespace used for the request.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Time
Created string - The time when this record is created. An RFC3339 formatted datetime string.
- Time
Updated string - The latest time when this record is updated. An RFC3339 formatted datetime string.
- Bucket string
- Name of the Object Storage bucket.
- Is
Enabled bool - Flag that specifies if this configuration is enabled or not.
- Namespace string
The Logging Analytics namespace used for the request.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Time
Created string - The time when this record is created. An RFC3339 formatted datetime string.
- Time
Updated string - The latest time when this record is updated. An RFC3339 formatted datetime string.
- bucket String
- Name of the Object Storage bucket.
- is
Enabled Boolean - Flag that specifies if this configuration is enabled or not.
- namespace String
The Logging Analytics namespace used for the request.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Created String - The time when this record is created. An RFC3339 formatted datetime string.
- time
Updated String - The latest time when this record is updated. An RFC3339 formatted datetime string.
- bucket string
- Name of the Object Storage bucket.
- is
Enabled boolean - Flag that specifies if this configuration is enabled or not.
- namespace string
The Logging Analytics namespace used for the request.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Created string - The time when this record is created. An RFC3339 formatted datetime string.
- time
Updated 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.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- is
Enabled Boolean - Flag that specifies if this configuration is enabled or not.
- namespace String
The Logging Analytics namespace used for the request.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Created String - The time when this record is created. An RFC3339 formatted datetime string.
- time
Updated String - The latest time when this record is updated. An RFC3339 formatted datetime string.
Import
Import is not supported for LogAnalyticsUnprocessedDataBucketManagement
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.