1. Packages
  2. Dynatrace
  3. API Docs
  4. PlatformBucket
Dynatrace v0.27.0 published on Friday, Mar 21, 2025 by Pulumiverse

dynatrace.PlatformBucket

Explore with Pulumi AI

Create PlatformBucket Resource

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

Constructor syntax

new PlatformBucket(name: string, args: PlatformBucketArgs, opts?: CustomResourceOptions);
@overload
def PlatformBucket(resource_name: str,
                   args: PlatformBucketArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def PlatformBucket(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   retention: Optional[int] = None,
                   table: Optional[str] = None,
                   display_name: Optional[str] = None,
                   name: Optional[str] = None)
func NewPlatformBucket(ctx *Context, name string, args PlatformBucketArgs, opts ...ResourceOption) (*PlatformBucket, error)
public PlatformBucket(string name, PlatformBucketArgs args, CustomResourceOptions? opts = null)
public PlatformBucket(String name, PlatformBucketArgs args)
public PlatformBucket(String name, PlatformBucketArgs args, CustomResourceOptions options)
type: dynatrace:PlatformBucket
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. PlatformBucketArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. PlatformBucketArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. PlatformBucketArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. PlatformBucketArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. PlatformBucketArgs
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 platformBucketResource = new Dynatrace.PlatformBucket("platformBucketResource", new()
{
    Retention = 0,
    Table = "string",
    DisplayName = "string",
    Name = "string",
});
Copy
example, err := dynatrace.NewPlatformBucket(ctx, "platformBucketResource", &dynatrace.PlatformBucketArgs{
	Retention:   pulumi.Int(0),
	Table:       pulumi.String("string"),
	DisplayName: pulumi.String("string"),
	Name:        pulumi.String("string"),
})
Copy
var platformBucketResource = new PlatformBucket("platformBucketResource", PlatformBucketArgs.builder()
    .retention(0)
    .table("string")
    .displayName("string")
    .name("string")
    .build());
Copy
platform_bucket_resource = dynatrace.PlatformBucket("platformBucketResource",
    retention=0,
    table="string",
    display_name="string",
    name="string")
Copy
const platformBucketResource = new dynatrace.PlatformBucket("platformBucketResource", {
    retention: 0,
    table: "string",
    displayName: "string",
    name: "string",
});
Copy
type: dynatrace:PlatformBucket
properties:
    displayName: string
    name: string
    retention: 0
    table: string
Copy

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

Retention This property is required. int
The retention of stored data in days
Table
This property is required.
Changes to this property will trigger replacement.
string
The table the bucket definition applies to. Possible values are logs, spans, events and bizevents. Changing this attribute will result in deleting and re-creating the bucket definition
DisplayName string
The name of the bucket definition when visualized within the UI
Name Changes to this property will trigger replacement. string
The name / id of the bucket definition
Retention This property is required. int
The retention of stored data in days
Table
This property is required.
Changes to this property will trigger replacement.
string
The table the bucket definition applies to. Possible values are logs, spans, events and bizevents. Changing this attribute will result in deleting and re-creating the bucket definition
DisplayName string
The name of the bucket definition when visualized within the UI
Name Changes to this property will trigger replacement. string
The name / id of the bucket definition
retention This property is required. Integer
The retention of stored data in days
table
This property is required.
Changes to this property will trigger replacement.
String
The table the bucket definition applies to. Possible values are logs, spans, events and bizevents. Changing this attribute will result in deleting and re-creating the bucket definition
displayName String
The name of the bucket definition when visualized within the UI
name Changes to this property will trigger replacement. String
The name / id of the bucket definition
retention This property is required. number
The retention of stored data in days
table
This property is required.
Changes to this property will trigger replacement.
string
The table the bucket definition applies to. Possible values are logs, spans, events and bizevents. Changing this attribute will result in deleting and re-creating the bucket definition
displayName string
The name of the bucket definition when visualized within the UI
name Changes to this property will trigger replacement. string
The name / id of the bucket definition
retention This property is required. int
The retention of stored data in days
table
This property is required.
Changes to this property will trigger replacement.
str
The table the bucket definition applies to. Possible values are logs, spans, events and bizevents. Changing this attribute will result in deleting and re-creating the bucket definition
display_name str
The name of the bucket definition when visualized within the UI
name Changes to this property will trigger replacement. str
The name / id of the bucket definition
retention This property is required. Number
The retention of stored data in days
table
This property is required.
Changes to this property will trigger replacement.
String
The table the bucket definition applies to. Possible values are logs, spans, events and bizevents. Changing this attribute will result in deleting and re-creating the bucket definition
displayName String
The name of the bucket definition when visualized within the UI
name Changes to this property will trigger replacement. String
The name / id of the bucket definition

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Status string
The status of the bucket definition. Usually has the value active unless an update or delete is currently happening
Id string
The provider-assigned unique ID for this managed resource.
Status string
The status of the bucket definition. Usually has the value active unless an update or delete is currently happening
id String
The provider-assigned unique ID for this managed resource.
status String
The status of the bucket definition. Usually has the value active unless an update or delete is currently happening
id string
The provider-assigned unique ID for this managed resource.
status string
The status of the bucket definition. Usually has the value active unless an update or delete is currently happening
id str
The provider-assigned unique ID for this managed resource.
status str
The status of the bucket definition. Usually has the value active unless an update or delete is currently happening
id String
The provider-assigned unique ID for this managed resource.
status String
The status of the bucket definition. Usually has the value active unless an update or delete is currently happening

Look up Existing PlatformBucket Resource

Get an existing PlatformBucket 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?: PlatformBucketState, opts?: CustomResourceOptions): PlatformBucket
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        display_name: Optional[str] = None,
        name: Optional[str] = None,
        retention: Optional[int] = None,
        status: Optional[str] = None,
        table: Optional[str] = None) -> PlatformBucket
func GetPlatformBucket(ctx *Context, name string, id IDInput, state *PlatformBucketState, opts ...ResourceOption) (*PlatformBucket, error)
public static PlatformBucket Get(string name, Input<string> id, PlatformBucketState? state, CustomResourceOptions? opts = null)
public static PlatformBucket get(String name, Output<String> id, PlatformBucketState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:PlatformBucket    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
DisplayName string
The name of the bucket definition when visualized within the UI
Name Changes to this property will trigger replacement. string
The name / id of the bucket definition
Retention int
The retention of stored data in days
Status string
The status of the bucket definition. Usually has the value active unless an update or delete is currently happening
Table Changes to this property will trigger replacement. string
The table the bucket definition applies to. Possible values are logs, spans, events and bizevents. Changing this attribute will result in deleting and re-creating the bucket definition
DisplayName string
The name of the bucket definition when visualized within the UI
Name Changes to this property will trigger replacement. string
The name / id of the bucket definition
Retention int
The retention of stored data in days
Status string
The status of the bucket definition. Usually has the value active unless an update or delete is currently happening
Table Changes to this property will trigger replacement. string
The table the bucket definition applies to. Possible values are logs, spans, events and bizevents. Changing this attribute will result in deleting and re-creating the bucket definition
displayName String
The name of the bucket definition when visualized within the UI
name Changes to this property will trigger replacement. String
The name / id of the bucket definition
retention Integer
The retention of stored data in days
status String
The status of the bucket definition. Usually has the value active unless an update or delete is currently happening
table Changes to this property will trigger replacement. String
The table the bucket definition applies to. Possible values are logs, spans, events and bizevents. Changing this attribute will result in deleting and re-creating the bucket definition
displayName string
The name of the bucket definition when visualized within the UI
name Changes to this property will trigger replacement. string
The name / id of the bucket definition
retention number
The retention of stored data in days
status string
The status of the bucket definition. Usually has the value active unless an update or delete is currently happening
table Changes to this property will trigger replacement. string
The table the bucket definition applies to. Possible values are logs, spans, events and bizevents. Changing this attribute will result in deleting and re-creating the bucket definition
display_name str
The name of the bucket definition when visualized within the UI
name Changes to this property will trigger replacement. str
The name / id of the bucket definition
retention int
The retention of stored data in days
status str
The status of the bucket definition. Usually has the value active unless an update or delete is currently happening
table Changes to this property will trigger replacement. str
The table the bucket definition applies to. Possible values are logs, spans, events and bizevents. Changing this attribute will result in deleting and re-creating the bucket definition
displayName String
The name of the bucket definition when visualized within the UI
name Changes to this property will trigger replacement. String
The name / id of the bucket definition
retention Number
The retention of stored data in days
status String
The status of the bucket definition. Usually has the value active unless an update or delete is currently happening
table Changes to this property will trigger replacement. String
The table the bucket definition applies to. Possible values are logs, spans, events and bizevents. Changing this attribute will result in deleting and re-creating the bucket definition

Package Details

Repository
dynatrace pulumiverse/pulumi-dynatrace
License
Apache-2.0
Notes
This Pulumi package is based on the dynatrace Terraform Provider.