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 string
- The unique name of the resource.
- args PlatformBucketArgs
- 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 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 string
- The unique name of the resource.
- args PlatformBucketArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PlatformBucketArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := dynatrace.NewPlatformBucket(ctx, "platformBucketResource", &dynatrace.PlatformBucketArgs{
Retention: pulumi.Int(0),
Table: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Name: pulumi.String("string"),
})
var platformBucketResource = new PlatformBucket("platformBucketResource", PlatformBucketArgs.builder()
.retention(0)
.table("string")
.displayName("string")
.name("string")
.build());
platform_bucket_resource = dynatrace.PlatformBucket("platformBucketResource",
retention=0,
table="string",
display_name="string",
name="string")
const platformBucketResource = new dynatrace.PlatformBucket("platformBucketResource", {
retention: 0,
table: "string",
displayName: "string",
name: "string",
});
type: dynatrace:PlatformBucket
properties:
displayName: string
name: string
retention: 0
table: string
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 int
- The retention of stored data in days
- Table string
- The table the bucket definition applies to. Possible values are
logs
,spans
,events
andbizevents
. Changing this attribute will result in deleting and re-creating the bucket definition - Display
Name string - The name of the bucket definition when visualized within the UI
- Name string
- The name / id of the bucket definition
- Retention int
- The retention of stored data in days
- Table string
- The table the bucket definition applies to. Possible values are
logs
,spans
,events
andbizevents
. Changing this attribute will result in deleting and re-creating the bucket definition - Display
Name string - The name of the bucket definition when visualized within the UI
- Name string
- The name / id of the bucket definition
- retention Integer
- The retention of stored data in days
- table String
- The table the bucket definition applies to. Possible values are
logs
,spans
,events
andbizevents
. Changing this attribute will result in deleting and re-creating the bucket definition - display
Name String - The name of the bucket definition when visualized within the UI
- name String
- The name / id of the bucket definition
- retention number
- The retention of stored data in days
- table string
- The table the bucket definition applies to. Possible values are
logs
,spans
,events
andbizevents
. Changing this attribute will result in deleting and re-creating the bucket definition - display
Name string - The name of the bucket definition when visualized within the UI
- name string
- The name / id of the bucket definition
- retention int
- The retention of stored data in days
- table str
- The table the bucket definition applies to. Possible values are
logs
,spans
,events
andbizevents
. 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 str
- The name / id of the bucket definition
- retention Number
- The retention of stored data in days
- table String
- The table the bucket definition applies to. Possible values are
logs
,spans
,events
andbizevents
. Changing this attribute will result in deleting and re-creating the bucket definition - display
Name String - The name of the bucket definition when visualized within the UI
- name 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:
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)
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.
- Display
Name string - The name of the bucket definition when visualized within the UI
- Name 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 string
- The table the bucket definition applies to. Possible values are
logs
,spans
,events
andbizevents
. Changing this attribute will result in deleting and re-creating the bucket definition
- Display
Name string - The name of the bucket definition when visualized within the UI
- Name 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 string
- The table the bucket definition applies to. Possible values are
logs
,spans
,events
andbizevents
. Changing this attribute will result in deleting and re-creating the bucket definition
- display
Name String - The name of the bucket definition when visualized within the UI
- name 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 String
- The table the bucket definition applies to. Possible values are
logs
,spans
,events
andbizevents
. Changing this attribute will result in deleting and re-creating the bucket definition
- display
Name string - The name of the bucket definition when visualized within the UI
- name 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 string
- The table the bucket definition applies to. Possible values are
logs
,spans
,events
andbizevents
. 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 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 str
- The table the bucket definition applies to. Possible values are
logs
,spans
,events
andbizevents
. Changing this attribute will result in deleting and re-creating the bucket definition
- display
Name String - The name of the bucket definition when visualized within the UI
- name 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 String
- The table the bucket definition applies to. Possible values are
logs
,spans
,events
andbizevents
. 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.