

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
andDISABLED
. The default value is ENABLED- Storage
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Environment Storage Args Environment level storage usage and limit information
- Name string
The display name of the environment
- Quotas
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Environment Quotas Args Environment level consumption and quotas information
- 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
andDISABLED
. The default value is ENABLED- Storage
Environment
Storage Args Environment level storage usage and limit information
- Name string
The display name of the environment
- Quotas
Environment
Quotas Args Environment level consumption and quotas information
- []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
andDISABLED
. The default value is ENABLED- storage
Environment
Storage Args Environment level storage usage and limit information
- name String
The display name of the environment
- quotas
Environment
Quotas Args Environment level consumption and quotas information
- 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
andDISABLED
. The default value is ENABLED- storage
Environment
Storage Args Environment level storage usage and limit information
- name string
The display name of the environment
- quotas
Environment
Quotas Args Environment level consumption and quotas information
- 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
andDISABLED
. The default value is ENABLED- storage
Environment
Storage Args Environment level storage usage and limit information
- name str
The display name of the environment
- quotas
Environment
Quotas Args Environment level consumption and quotas information
- 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
andDISABLED
. 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
- 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.
- Name string
The display name of the environment
- Quotas
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Environment Quotas Args Environment level consumption and quotas information
- State string
Indicates whether the environment is enabled or disabled. Possible values are
ENABLED
andDISABLED
. The default value is ENABLED- Storage
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Environment Storage Args Environment level storage usage and limit information
- 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
Environment
Quotas Args Environment level consumption and quotas information
- State string
Indicates whether the environment is enabled or disabled. Possible values are
ENABLED
andDISABLED
. The default value is ENABLED- Storage
Environment
Storage Args Environment level storage usage and limit information
- []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
Environment
Quotas Args Environment level consumption and quotas information
- state String
Indicates whether the environment is enabled or disabled. Possible values are
ENABLED
andDISABLED
. The default value is ENABLED- storage
Environment
Storage Args Environment level storage usage and limit information
- 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
Environment
Quotas Args Environment level consumption and quotas information
- state string
Indicates whether the environment is enabled or disabled. Possible values are
ENABLED
andDISABLED
. The default value is ENABLED- storage
Environment
Storage Args Environment level storage usage and limit information
- 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
Environment
Quotas Args Environment level consumption and quotas information
- state str
Indicates whether the environment is enabled or disabled. Possible values are
ENABLED
andDISABLED
. The default value is ENABLED- storage
Environment
Storage Args Environment level storage usage and limit information
- 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
andDISABLED
. The default value is ENABLED- storage Property Map
Environment level storage usage and limit information
- 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.
Pulumi Package. Dynatrace. Inputs. Environment Quotas Ddus Davis Data Units consumption and quota information on environment level. Not set (and not editable) if Davis data units is not enabled
- Dem
Units Lbrlabs.Pulumi Package. Dynatrace. Inputs. Environment Quotas Dem Units DEM units consumption and quota information on environment level
- Host
Units int Host units consumption and quota information on environment level
- Logs
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Environment Quotas Logs 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.
Pulumi Package. Dynatrace. Inputs. Environment Quotas Synthetic Synthetic monitors consumption and quota information on environment level. Not set (and not editable) if neither Synthetic nor DEM units is enabled
- User
Sessions Lbrlabs.Pulumi Package. Dynatrace. Inputs. Environment Quotas User Sessions User sessions consumption and quota information on environment level
- Ddus
Environment
Quotas Ddus Davis Data Units consumption and quota information on environment level. Not set (and not editable) if Davis data units is not enabled
- Dem
Units EnvironmentQuotas Dem Units DEM units consumption and quota information on environment level
- Host
Units int Host units consumption and quota information on environment level
- Logs
Environment
Quotas Logs 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
Environment
Quotas Synthetic Synthetic monitors consumption and quota information on environment level. Not set (and not editable) if neither Synthetic nor DEM units is enabled
- User
Sessions EnvironmentQuotas User Sessions User sessions consumption and quota information on environment level
- ddus
Environment
Quotas Ddus Davis Data Units consumption and quota information on environment level. Not set (and not editable) if Davis data units is not enabled
- dem
Units EnvironmentQuotas Dem Units DEM units consumption and quota information on environment level
- host
Units Integer Host units consumption and quota information on environment level
- logs
Environment
Quotas Logs 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
Environment
Quotas Synthetic Synthetic monitors consumption and quota information on environment level. Not set (and not editable) if neither Synthetic nor DEM units is enabled
- user
Sessions EnvironmentQuotas User Sessions User sessions consumption and quota information on environment level
- ddus
Environment
Quotas Ddus Davis Data Units consumption and quota information on environment level. Not set (and not editable) if Davis data units is not enabled
- dem
Units EnvironmentQuotas Dem Units DEM units consumption and quota information on environment level
- host
Units number Host units consumption and quota information on environment level
- logs
Environment
Quotas Logs 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
Environment
Quotas Synthetic Synthetic monitors consumption and quota information on environment level. Not set (and not editable) if neither Synthetic nor DEM units is enabled
- user
Sessions EnvironmentQuotas User Sessions User sessions consumption and quota information on environment level
- ddus
Environment
Quotas Ddus Davis Data Units consumption and quota information on environment level. Not set (and not editable) if Davis data units is not enabled
- dem_
units EnvironmentQuotas Dem Units DEM units consumption and quota information on environment level
- host_
units int Host units consumption and quota information on environment level
- logs
Environment
Quotas Logs 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
Environment
Quotas Synthetic Synthetic monitors consumption and quota information on environment level. Not set (and not editable) if neither Synthetic nor DEM units is enabled
- user_
sessions EnvironmentQuotas User Sessions 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
- dem
Units Property Map DEM units consumption and quota information on environment level
- host
Units 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
- user
Sessions Property Map User sessions consumption and quota information on environment level
EnvironmentQuotasDdus
EnvironmentQuotasDemUnits
EnvironmentQuotasLogs
EnvironmentQuotasSynthetic
EnvironmentQuotasUserSessions
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.
Pulumi Package. Dynatrace. Inputs. Environment Storage Limits - Retention
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Environment Storage Retention - 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 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
Environment
Storage Limits - Retention
Environment
Storage Retention - 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 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
Environment
Storage Limits - retention
Environment
Storage Retention - user
Actions 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
Environment
Storage Limits - retention
Environment
Storage Retention - user
Actions 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
Environment
Storage Limits - retention
Environment
Storage Retention - 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
- user
Actions 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 int
- Session
Replay int - Symbol
Files int - Transactions int
- Logs int
- Session
Replay int - Symbol
Files int - Transactions int
- logs Integer
- session
Replay Integer - symbol
Files Integer - transactions Integer
- logs number
- session
Replay number - symbol
Files number - transactions number
- logs int
- session_
replay int - symbol_
files int - transactions int
- logs Number
- session
Replay Number - symbol
Files Number - transactions Number
EnvironmentStorageRetention
- Rum int
- Service
Code intLevel - Service
Request intLevel - Session
Replay int - Synthetic int
- Logs int
- Rum int
- Service
Code intLevel - Service
Request intLevel - Session
Replay int - Synthetic int
- Logs int
- rum Integer
- service
Code IntegerLevel - service
Request IntegerLevel - session
Replay Integer - synthetic Integer
- logs Integer
- rum number
- service
Code numberLevel - service
Request numberLevel - session
Replay number - synthetic number
- logs number
- rum int
- service_
code_ intlevel - service_
request_ intlevel - session_
replay int - synthetic int
- logs int
- rum Number
- service
Code NumberLevel - service
Request NumberLevel - session
Replay Number - synthetic Number
- logs Number
Package Details
- Repository
- dynatrace lbrlabs/pulumi-dynatrace
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
dynatrace
Terraform Provider.