dynatrace logo
Dynatrace v0.1.0, May 24 23

dynatrace.Environment

Explore with Pulumi AI

Dynatrace Documentation

  • Manage your monitoring environments - https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-managed/operation/manage-your-monitoring-environments

  • Cluster API v2 - Environments - https://www.dynatrace.com/support/help/shortlink/cluster-api#environments

Create Environment Resource

new Environment(name: string, args: EnvironmentArgs, opts?: CustomResourceOptions);
@overload
def Environment(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                name: Optional[str] = None,
                quotas: Optional[EnvironmentQuotasArgs] = None,
                state: Optional[str] = None,
                storage: Optional[EnvironmentStorageArgs] = None,
                tags: Optional[Sequence[str]] = None,
                trial: Optional[bool] = None)
@overload
def Environment(resource_name: str,
                args: EnvironmentArgs,
                opts: Optional[ResourceOptions] = None)
func NewEnvironment(ctx *Context, name string, args EnvironmentArgs, opts ...ResourceOption) (*Environment, error)
public Environment(string name, EnvironmentArgs args, CustomResourceOptions? opts = null)
public Environment(String name, EnvironmentArgs args)
public Environment(String name, EnvironmentArgs args, CustomResourceOptions options)
type: dynatrace:Environment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args EnvironmentArgs
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 EnvironmentArgs
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 EnvironmentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args EnvironmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args EnvironmentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

State string

Indicates whether the environment is enabled or disabled. Possible values are ENABLED and DISABLED. The default value is ENABLED

Storage Lbrlabs.PulumiPackage.Dynatrace.Inputs.EnvironmentStorageArgs

Environment level storage usage and limit information

Name string

The display name of the environment

Quotas Lbrlabs.PulumiPackage.Dynatrace.Inputs.EnvironmentQuotasArgs

Environment level consumption and quotas information

Tags List<string>

A set of tags that are assigned to this environment. Every tag can have a maximum length of 100 characters

Trial bool

Specifies whether the environment is a trial environment or a non-trial environment. Creating a trial environment is only possible if your license allows that. The default value is false (non-trial)

State string

Indicates whether the environment is enabled or disabled. Possible values are ENABLED and DISABLED. The default value is ENABLED

Storage EnvironmentStorageArgs

Environment level storage usage and limit information

Name string

The display name of the environment

Quotas EnvironmentQuotasArgs

Environment level consumption and quotas information

Tags []string

A set of tags that are assigned to this environment. Every tag can have a maximum length of 100 characters

Trial bool

Specifies whether the environment is a trial environment or a non-trial environment. Creating a trial environment is only possible if your license allows that. The default value is false (non-trial)

state String

Indicates whether the environment is enabled or disabled. Possible values are ENABLED and DISABLED. The default value is ENABLED

storage EnvironmentStorageArgs

Environment level storage usage and limit information

name String

The display name of the environment

quotas EnvironmentQuotasArgs

Environment level consumption and quotas information

tags List<String>

A set of tags that are assigned to this environment. Every tag can have a maximum length of 100 characters

trial Boolean

Specifies whether the environment is a trial environment or a non-trial environment. Creating a trial environment is only possible if your license allows that. The default value is false (non-trial)

state string

Indicates whether the environment is enabled or disabled. Possible values are ENABLED and DISABLED. The default value is ENABLED

storage EnvironmentStorageArgs

Environment level storage usage and limit information

name string

The display name of the environment

quotas EnvironmentQuotasArgs

Environment level consumption and quotas information

tags string[]

A set of tags that are assigned to this environment. Every tag can have a maximum length of 100 characters

trial boolean

Specifies whether the environment is a trial environment or a non-trial environment. Creating a trial environment is only possible if your license allows that. The default value is false (non-trial)

state str

Indicates whether the environment is enabled or disabled. Possible values are ENABLED and DISABLED. The default value is ENABLED

storage EnvironmentStorageArgs

Environment level storage usage and limit information

name str

The display name of the environment

quotas EnvironmentQuotasArgs

Environment level consumption and quotas information

tags Sequence[str]

A set of tags that are assigned to this environment. Every tag can have a maximum length of 100 characters

trial bool

Specifies whether the environment is a trial environment or a non-trial environment. Creating a trial environment is only possible if your license allows that. The default value is false (non-trial)

state String

Indicates whether the environment is enabled or disabled. Possible values are ENABLED and DISABLED. The default value is ENABLED

storage Property Map

Environment level storage usage and limit information

name String

The display name of the environment

quotas Property Map

Environment level consumption and quotas information

tags List<String>

A set of tags that are assigned to this environment. Every tag can have a maximum length of 100 characters

trial Boolean

Specifies whether the environment is a trial environment or a non-trial environment. Creating a trial environment is only possible if your license allows that. The default value is false (non-trial)

Outputs

All input properties are implicitly available as output properties. Additionally, the Environment 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 Environment Resource

Get an existing Environment 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?: EnvironmentState, opts?: CustomResourceOptions): Environment
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        name: Optional[str] = None,
        quotas: Optional[EnvironmentQuotasArgs] = None,
        state: Optional[str] = None,
        storage: Optional[EnvironmentStorageArgs] = None,
        tags: Optional[Sequence[str]] = None,
        trial: Optional[bool] = None) -> Environment
func GetEnvironment(ctx *Context, name string, id IDInput, state *EnvironmentState, opts ...ResourceOption) (*Environment, error)
public static Environment Get(string name, Input<string> id, EnvironmentState? state, CustomResourceOptions? opts = null)
public static Environment get(String name, Output<String> id, EnvironmentState 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:
Name string

The display name of the environment

Quotas Lbrlabs.PulumiPackage.Dynatrace.Inputs.EnvironmentQuotasArgs

Environment level consumption and quotas information

State string

Indicates whether the environment is enabled or disabled. Possible values are ENABLED and DISABLED. The default value is ENABLED

Storage Lbrlabs.PulumiPackage.Dynatrace.Inputs.EnvironmentStorageArgs

Environment level storage usage and limit information

Tags List<string>

A set of tags that are assigned to this environment. Every tag can have a maximum length of 100 characters

Trial bool

Specifies whether the environment is a trial environment or a non-trial environment. Creating a trial environment is only possible if your license allows that. The default value is false (non-trial)

Name string

The display name of the environment

Quotas EnvironmentQuotasArgs

Environment level consumption and quotas information

State string

Indicates whether the environment is enabled or disabled. Possible values are ENABLED and DISABLED. The default value is ENABLED

Storage EnvironmentStorageArgs

Environment level storage usage and limit information

Tags []string

A set of tags that are assigned to this environment. Every tag can have a maximum length of 100 characters

Trial bool

Specifies whether the environment is a trial environment or a non-trial environment. Creating a trial environment is only possible if your license allows that. The default value is false (non-trial)

name String

The display name of the environment

quotas EnvironmentQuotasArgs

Environment level consumption and quotas information

state String

Indicates whether the environment is enabled or disabled. Possible values are ENABLED and DISABLED. The default value is ENABLED

storage EnvironmentStorageArgs

Environment level storage usage and limit information

tags List<String>

A set of tags that are assigned to this environment. Every tag can have a maximum length of 100 characters

trial Boolean

Specifies whether the environment is a trial environment or a non-trial environment. Creating a trial environment is only possible if your license allows that. The default value is false (non-trial)

name string

The display name of the environment

quotas EnvironmentQuotasArgs

Environment level consumption and quotas information

state string

Indicates whether the environment is enabled or disabled. Possible values are ENABLED and DISABLED. The default value is ENABLED

storage EnvironmentStorageArgs

Environment level storage usage and limit information

tags string[]

A set of tags that are assigned to this environment. Every tag can have a maximum length of 100 characters

trial boolean

Specifies whether the environment is a trial environment or a non-trial environment. Creating a trial environment is only possible if your license allows that. The default value is false (non-trial)

name str

The display name of the environment

quotas EnvironmentQuotasArgs

Environment level consumption and quotas information

state str

Indicates whether the environment is enabled or disabled. Possible values are ENABLED and DISABLED. The default value is ENABLED

storage EnvironmentStorageArgs

Environment level storage usage and limit information

tags Sequence[str]

A set of tags that are assigned to this environment. Every tag can have a maximum length of 100 characters

trial bool

Specifies whether the environment is a trial environment or a non-trial environment. Creating a trial environment is only possible if your license allows that. The default value is false (non-trial)

name String

The display name of the environment

quotas Property Map

Environment level consumption and quotas information

state String

Indicates whether the environment is enabled or disabled. Possible values are ENABLED and DISABLED. The default value is ENABLED

storage Property Map

Environment level storage usage and limit information

tags List<String>

A set of tags that are assigned to this environment. Every tag can have a maximum length of 100 characters

trial Boolean

Specifies whether the environment is a trial environment or a non-trial environment. Creating a trial environment is only possible if your license allows that. The default value is false (non-trial)

Supporting Types

EnvironmentQuotas

Ddus Lbrlabs.PulumiPackage.Dynatrace.Inputs.EnvironmentQuotasDdus

Davis Data Units consumption and quota information on environment level. Not set (and not editable) if Davis data units is not enabled

DemUnits Lbrlabs.PulumiPackage.Dynatrace.Inputs.EnvironmentQuotasDemUnits

DEM units consumption and quota information on environment level

HostUnits int

Host units consumption and quota information on environment level

Logs Lbrlabs.PulumiPackage.Dynatrace.Inputs.EnvironmentQuotasLogs

Log Monitoring consumption and quota information on environment level. Not set (and not editable) if Log monitoring is not enabled. Not set (and not editable) if Log monitoring is migrated to Davis data on license level

Synthetic Lbrlabs.PulumiPackage.Dynatrace.Inputs.EnvironmentQuotasSynthetic

Synthetic monitors consumption and quota information on environment level. Not set (and not editable) if neither Synthetic nor DEM units is enabled

UserSessions Lbrlabs.PulumiPackage.Dynatrace.Inputs.EnvironmentQuotasUserSessions

User sessions consumption and quota information on environment level

Ddus EnvironmentQuotasDdus

Davis Data Units consumption and quota information on environment level. Not set (and not editable) if Davis data units is not enabled

DemUnits EnvironmentQuotasDemUnits

DEM units consumption and quota information on environment level

HostUnits int

Host units consumption and quota information on environment level

Logs EnvironmentQuotasLogs

Log Monitoring consumption and quota information on environment level. Not set (and not editable) if Log monitoring is not enabled. Not set (and not editable) if Log monitoring is migrated to Davis data on license level

Synthetic EnvironmentQuotasSynthetic

Synthetic monitors consumption and quota information on environment level. Not set (and not editable) if neither Synthetic nor DEM units is enabled

UserSessions EnvironmentQuotasUserSessions

User sessions consumption and quota information on environment level

ddus EnvironmentQuotasDdus

Davis Data Units consumption and quota information on environment level. Not set (and not editable) if Davis data units is not enabled

demUnits EnvironmentQuotasDemUnits

DEM units consumption and quota information on environment level

hostUnits Integer

Host units consumption and quota information on environment level

logs EnvironmentQuotasLogs

Log Monitoring consumption and quota information on environment level. Not set (and not editable) if Log monitoring is not enabled. Not set (and not editable) if Log monitoring is migrated to Davis data on license level

synthetic EnvironmentQuotasSynthetic

Synthetic monitors consumption and quota information on environment level. Not set (and not editable) if neither Synthetic nor DEM units is enabled

userSessions EnvironmentQuotasUserSessions

User sessions consumption and quota information on environment level

ddus EnvironmentQuotasDdus

Davis Data Units consumption and quota information on environment level. Not set (and not editable) if Davis data units is not enabled

demUnits EnvironmentQuotasDemUnits

DEM units consumption and quota information on environment level

hostUnits number

Host units consumption and quota information on environment level

logs EnvironmentQuotasLogs

Log Monitoring consumption and quota information on environment level. Not set (and not editable) if Log monitoring is not enabled. Not set (and not editable) if Log monitoring is migrated to Davis data on license level

synthetic EnvironmentQuotasSynthetic

Synthetic monitors consumption and quota information on environment level. Not set (and not editable) if neither Synthetic nor DEM units is enabled

userSessions EnvironmentQuotasUserSessions

User sessions consumption and quota information on environment level

ddus EnvironmentQuotasDdus

Davis Data Units consumption and quota information on environment level. Not set (and not editable) if Davis data units is not enabled

dem_units EnvironmentQuotasDemUnits

DEM units consumption and quota information on environment level

host_units int

Host units consumption and quota information on environment level

logs EnvironmentQuotasLogs

Log Monitoring consumption and quota information on environment level. Not set (and not editable) if Log monitoring is not enabled. Not set (and not editable) if Log monitoring is migrated to Davis data on license level

synthetic EnvironmentQuotasSynthetic

Synthetic monitors consumption and quota information on environment level. Not set (and not editable) if neither Synthetic nor DEM units is enabled

user_sessions EnvironmentQuotasUserSessions

User sessions consumption and quota information on environment level

ddus Property Map

Davis Data Units consumption and quota information on environment level. Not set (and not editable) if Davis data units is not enabled

demUnits Property Map

DEM units consumption and quota information on environment level

hostUnits Number

Host units consumption and quota information on environment level

logs Property Map

Log Monitoring consumption and quota information on environment level. Not set (and not editable) if Log monitoring is not enabled. Not set (and not editable) if Log monitoring is migrated to Davis data on license level

synthetic Property Map

Synthetic monitors consumption and quota information on environment level. Not set (and not editable) if neither Synthetic nor DEM units is enabled

userSessions Property Map

User sessions consumption and quota information on environment level

EnvironmentQuotasDdus

annual Integer
monthly Integer
annual number
monthly number
annual Number
monthly Number

EnvironmentQuotasDemUnits

annual Integer
monthly Integer
annual number
monthly number
annual Number
monthly Number

EnvironmentQuotasLogs

annual Integer
monthly Integer
annual number
monthly number
annual Number
monthly Number

EnvironmentQuotasSynthetic

annual Integer
monthly Integer
annual number
monthly number
annual Number
monthly Number

EnvironmentQuotasUserSessions

annual Integer
monthly Integer
annual number
monthly number
annual Number
monthly Number

EnvironmentStorage

Transactions int

Maximum number of newly monitored entry point PurePaths captured per process/minute on environment level. Can be set to any value from 100 to 100000

Limits Lbrlabs.PulumiPackage.Dynatrace.Inputs.EnvironmentStorageLimits
Retention Lbrlabs.PulumiPackage.Dynatrace.Inputs.EnvironmentStorageRetention
UserActions int

Maximum number of user actions generated per minute on environment level. Can be set to any value from 1 to 2147483646 or left unlimited by omitting this property

Transactions int

Maximum number of newly monitored entry point PurePaths captured per process/minute on environment level. Can be set to any value from 100 to 100000

Limits EnvironmentStorageLimits
Retention EnvironmentStorageRetention
UserActions int

Maximum number of user actions generated per minute on environment level. Can be set to any value from 1 to 2147483646 or left unlimited by omitting this property

transactions Integer

Maximum number of newly monitored entry point PurePaths captured per process/minute on environment level. Can be set to any value from 100 to 100000

limits EnvironmentStorageLimits
retention EnvironmentStorageRetention
userActions Integer

Maximum number of user actions generated per minute on environment level. Can be set to any value from 1 to 2147483646 or left unlimited by omitting this property

transactions number

Maximum number of newly monitored entry point PurePaths captured per process/minute on environment level. Can be set to any value from 100 to 100000

limits EnvironmentStorageLimits
retention EnvironmentStorageRetention
userActions number

Maximum number of user actions generated per minute on environment level. Can be set to any value from 1 to 2147483646 or left unlimited by omitting this property

transactions int

Maximum number of newly monitored entry point PurePaths captured per process/minute on environment level. Can be set to any value from 100 to 100000

limits EnvironmentStorageLimits
retention EnvironmentStorageRetention
user_actions int

Maximum number of user actions generated per minute on environment level. Can be set to any value from 1 to 2147483646 or left unlimited by omitting this property

transactions Number

Maximum number of newly monitored entry point PurePaths captured per process/minute on environment level. Can be set to any value from 100 to 100000

limits Property Map
retention Property Map
userActions Number

Maximum number of user actions generated per minute on environment level. Can be set to any value from 1 to 2147483646 or left unlimited by omitting this property

EnvironmentStorageLimits

logs Integer
sessionReplay Integer
symbolFiles Integer
transactions Integer
logs number
sessionReplay number
symbolFiles number
transactions number
logs Number
sessionReplay Number
symbolFiles Number
transactions Number

EnvironmentStorageRetention

rum Integer
serviceCodeLevel Integer
serviceRequestLevel Integer
sessionReplay Integer
synthetic Integer
logs Integer

Package Details

Repository
dynatrace lbrlabs/pulumi-dynatrace
License
Apache-2.0
Notes

This Pulumi package is based on the dynatrace Terraform Provider.