1. Packages
  2. Dynatrace
  3. API Docs
  4. LogBuckets
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

dynatrace.LogBuckets

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

    Create LogBuckets Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new LogBuckets(name: string, args: LogBucketsArgs, opts?: CustomResourceOptions);
    @overload
    def LogBuckets(resource_name: str,
                   args: LogBucketsArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def LogBuckets(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   bucket_name: Optional[str] = None,
                   enabled: Optional[bool] = None,
                   matcher: Optional[str] = None,
                   rule_name: Optional[str] = None)
    func NewLogBuckets(ctx *Context, name string, args LogBucketsArgs, opts ...ResourceOption) (*LogBuckets, error)
    public LogBuckets(string name, LogBucketsArgs args, CustomResourceOptions? opts = null)
    public LogBuckets(String name, LogBucketsArgs args)
    public LogBuckets(String name, LogBucketsArgs args, CustomResourceOptions options)
    
    type: dynatrace:LogBuckets
    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 LogBucketsArgs
    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 LogBucketsArgs
    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 LogBucketsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LogBucketsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LogBucketsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var logBucketsResource = new Dynatrace.LogBuckets("logBucketsResource", new()
    {
        BucketName = "string",
        Enabled = false,
        Matcher = "string",
        RuleName = "string",
    });
    
    example, err := dynatrace.NewLogBuckets(ctx, "logBucketsResource", &dynatrace.LogBucketsArgs{
    	BucketName: pulumi.String("string"),
    	Enabled:    pulumi.Bool(false),
    	Matcher:    pulumi.String("string"),
    	RuleName:   pulumi.String("string"),
    })
    
    var logBucketsResource = new LogBuckets("logBucketsResource", LogBucketsArgs.builder()        
        .bucketName("string")
        .enabled(false)
        .matcher("string")
        .ruleName("string")
        .build());
    
    log_buckets_resource = dynatrace.LogBuckets("logBucketsResource",
        bucket_name="string",
        enabled=False,
        matcher="string",
        rule_name="string")
    
    const logBucketsResource = new dynatrace.LogBuckets("logBucketsResource", {
        bucketName: "string",
        enabled: false,
        matcher: "string",
        ruleName: "string",
    });
    
    type: dynatrace:LogBuckets
    properties:
        bucketName: string
        enabled: false
        matcher: string
        ruleName: string
    

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

    BucketName string
    A 'bucket' is the length of time your logs will be stored. Select the bucket that's best for you.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Matcher string
    Matcher (DQL)
    RuleName string
    Rule name
    BucketName string
    A 'bucket' is the length of time your logs will be stored. Select the bucket that's best for you.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Matcher string
    Matcher (DQL)
    RuleName string
    Rule name
    bucketName String
    A 'bucket' is the length of time your logs will be stored. Select the bucket that's best for you.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    matcher String
    Matcher (DQL)
    ruleName String
    Rule name
    bucketName string
    A 'bucket' is the length of time your logs will be stored. Select the bucket that's best for you.
    enabled boolean
    This setting is enabled (true) or disabled (false)
    matcher string
    Matcher (DQL)
    ruleName string
    Rule name
    bucket_name str
    A 'bucket' is the length of time your logs will be stored. Select the bucket that's best for you.
    enabled bool
    This setting is enabled (true) or disabled (false)
    matcher str
    Matcher (DQL)
    rule_name str
    Rule name
    bucketName String
    A 'bucket' is the length of time your logs will be stored. Select the bucket that's best for you.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    matcher String
    Matcher (DQL)
    ruleName String
    Rule name

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing LogBuckets Resource

    Get an existing LogBuckets 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?: LogBucketsState, opts?: CustomResourceOptions): LogBuckets
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bucket_name: Optional[str] = None,
            enabled: Optional[bool] = None,
            matcher: Optional[str] = None,
            rule_name: Optional[str] = None) -> LogBuckets
    func GetLogBuckets(ctx *Context, name string, id IDInput, state *LogBucketsState, opts ...ResourceOption) (*LogBuckets, error)
    public static LogBuckets Get(string name, Input<string> id, LogBucketsState? state, CustomResourceOptions? opts = null)
    public static LogBuckets get(String name, Output<String> id, LogBucketsState 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:
    BucketName string
    A 'bucket' is the length of time your logs will be stored. Select the bucket that's best for you.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Matcher string
    Matcher (DQL)
    RuleName string
    Rule name
    BucketName string
    A 'bucket' is the length of time your logs will be stored. Select the bucket that's best for you.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Matcher string
    Matcher (DQL)
    RuleName string
    Rule name
    bucketName String
    A 'bucket' is the length of time your logs will be stored. Select the bucket that's best for you.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    matcher String
    Matcher (DQL)
    ruleName String
    Rule name
    bucketName string
    A 'bucket' is the length of time your logs will be stored. Select the bucket that's best for you.
    enabled boolean
    This setting is enabled (true) or disabled (false)
    matcher string
    Matcher (DQL)
    ruleName string
    Rule name
    bucket_name str
    A 'bucket' is the length of time your logs will be stored. Select the bucket that's best for you.
    enabled bool
    This setting is enabled (true) or disabled (false)
    matcher str
    Matcher (DQL)
    rule_name str
    Rule name
    bucketName String
    A 'bucket' is the length of time your logs will be stored. Select the bucket that's best for you.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    matcher String
    Matcher (DQL)
    ruleName String
    Rule name

    Package Details

    Repository
    dynatrace lbrlabs/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs