UNPKG

@pulumiverse/dynatrace

Version:

A Pulumi package for creating and managing Dynatrace cloud resources.

120 lines (119 loc) 5.09 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * > This resource requires the cluster API token scope **Service Provider API** (`ServiceProviderAPI`) * * ## Dynatrace Documentation * * - Manage your monitoring environments - https://docs.dynatrace.com/managed/managed-cluster/operation/manage-your-monitoring-environments * * - Cluster API v2 - Environments - https://www.dynatrace.com/support/help/shortlink/cluster-api#environments */ export declare class Environment extends pulumi.CustomResource { /** * Get an existing Environment resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EnvironmentState, opts?: pulumi.CustomResourceOptions): Environment; /** * Returns true if the given object is an instance of Environment. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Environment; /** * The display name of the environment */ readonly name: pulumi.Output<string>; /** * Environment level consumption and quotas information */ readonly quotas: pulumi.Output<outputs.EnvironmentQuotas | undefined>; /** * Indicates whether the environment is enabled or disabled. Possible values are `ENABLED` and `DISABLED`. The default value is ENABLED */ readonly state: pulumi.Output<string>; /** * Environment level storage usage and limit information */ readonly storage: pulumi.Output<outputs.EnvironmentStorage>; /** * A set of tags that are assigned to this environment. Every tag can have a maximum length of 100 characters */ readonly tags: pulumi.Output<string[] | undefined>; /** * 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) */ readonly trial: pulumi.Output<boolean | undefined>; /** * Create a Environment resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: EnvironmentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Environment resources. */ export interface EnvironmentState { /** * The display name of the environment */ name?: pulumi.Input<string>; /** * Environment level consumption and quotas information */ quotas?: pulumi.Input<inputs.EnvironmentQuotas>; /** * Indicates whether the environment is enabled or disabled. Possible values are `ENABLED` and `DISABLED`. The default value is ENABLED */ state?: pulumi.Input<string>; /** * Environment level storage usage and limit information */ storage?: pulumi.Input<inputs.EnvironmentStorage>; /** * A set of tags that are assigned to this environment. Every tag can have a maximum length of 100 characters */ tags?: pulumi.Input<pulumi.Input<string>[]>; /** * 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) */ trial?: pulumi.Input<boolean>; } /** * The set of arguments for constructing a Environment resource. */ export interface EnvironmentArgs { /** * The display name of the environment */ name?: pulumi.Input<string>; /** * Environment level consumption and quotas information */ quotas?: pulumi.Input<inputs.EnvironmentQuotas>; /** * Indicates whether the environment is enabled or disabled. Possible values are `ENABLED` and `DISABLED`. The default value is ENABLED */ state: pulumi.Input<string>; /** * Environment level storage usage and limit information */ storage: pulumi.Input<inputs.EnvironmentStorage>; /** * A set of tags that are assigned to this environment. Every tag can have a maximum length of 100 characters */ tags?: pulumi.Input<pulumi.Input<string>[]>; /** * 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) */ trial?: pulumi.Input<boolean>; }