import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ## Import * * rootly.Environment can be imported using the `import` command. * * ```sh * $ pulumi import rootly:index/environment:Environment primary a816421c-6ceb-481a-87c4-585e47451f24 * ``` * * Or using an `import` block. * * Locate the resource id in the web app, or retrieve it by listing resources through the API if it's not visible in the web app. * * HCL can be generated from the import block using the `-generate-config-out` flag. * * ```sh * pulumi preview -generate-config-out=generated.tf * ``` */ 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, 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 hex color of the environment */ readonly color: pulumi.Output; /** * The description of the environment */ readonly description: pulumi.Output; /** * The external id associated to this environment */ readonly externalId: pulumi.Output; /** * How this environment is managed (provenance): web, api, terraform, etc. Read-only.. Value must be one of `web`, `adminWeb`, `api`, `terraform`, `pulumi`, `backstage`, `catalogSync`. */ readonly managedBy: pulumi.Output; /** * The name of the environment */ readonly name: pulumi.Output; /** * Emails attached to the environment */ readonly notifyEmails: pulumi.Output; /** * Position of the environment */ readonly position: pulumi.Output; /** * Array of property values for this environment. */ readonly properties: pulumi.Output; /** * The status page description of the environment */ readonly publicDescription: pulumi.Output; /** * Slack Aliases associated with this environment */ readonly slackAliases: pulumi.Output; /** * Slack Channels associated with this environment */ readonly slackChannels: pulumi.Output; /** * The slug of the environment * * @deprecated Deprecated. `slug` is derived from `name`; any submitted value is ignored. This property will be removed from the request schema in a future version. */ readonly slug: pulumi.Output; /** * 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 hex color of the environment */ color?: pulumi.Input; /** * The description of the environment */ description?: pulumi.Input; /** * The external id associated to this environment */ externalId?: pulumi.Input; /** * How this environment is managed (provenance): web, api, terraform, etc. Read-only.. Value must be one of `web`, `adminWeb`, `api`, `terraform`, `pulumi`, `backstage`, `catalogSync`. */ managedBy?: pulumi.Input; /** * The name of the environment */ name?: pulumi.Input; /** * Emails attached to the environment */ notifyEmails?: pulumi.Input[] | undefined>; /** * Position of the environment */ position?: pulumi.Input; /** * Array of property values for this environment. */ properties?: pulumi.Input[] | undefined>; /** * The status page description of the environment */ publicDescription?: pulumi.Input; /** * Slack Aliases associated with this environment */ slackAliases?: pulumi.Input[] | undefined>; /** * Slack Channels associated with this environment */ slackChannels?: pulumi.Input[] | undefined>; /** * The slug of the environment * * @deprecated Deprecated. `slug` is derived from `name`; any submitted value is ignored. This property will be removed from the request schema in a future version. */ slug?: pulumi.Input; } /** * The set of arguments for constructing a Environment resource. */ export interface EnvironmentArgs { /** * The hex color of the environment */ color?: pulumi.Input; /** * The description of the environment */ description?: pulumi.Input; /** * The external id associated to this environment */ externalId?: pulumi.Input; /** * The name of the environment */ name?: pulumi.Input; /** * Emails attached to the environment */ notifyEmails?: pulumi.Input[] | undefined>; /** * Position of the environment */ position?: pulumi.Input; /** * Array of property values for this environment. */ properties?: pulumi.Input[] | undefined>; /** * The status page description of the environment */ publicDescription?: pulumi.Input; /** * Slack Aliases associated with this environment */ slackAliases?: pulumi.Input[] | undefined>; /** * Slack Channels associated with this environment */ slackChannels?: pulumi.Input[] | undefined>; /** * The slug of the environment * * @deprecated Deprecated. `slug` is derived from `name`; any submitted value is ignored. This property will be removed from the request schema in a future version. */ slug?: pulumi.Input; } //# sourceMappingURL=environment.d.ts.map