1. Packages
  2. Rootly
  3. API Docs
  4. Environment
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

rootly.Environment

Explore with Pulumi AI

rootly logo
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Rootly = Pulumi.Rootly;
    
    return await Deployment.RunAsync(() => 
    {
        var development = new Rootly.Environment("development", new()
        {
            Color = "#FF0000",
            NotifyEmails = new[]
            {
                "foo@acme.com",
                "bar@acme.com",
            },
            SlackAliases = new[]
            {
                new Rootly.Inputs.EnvironmentSlackAliasArgs
                {
                    Id = "S0614TZR7",
                    Name = "Alias 1",
                },
            },
            SlackChannels = new[]
            {
                new Rootly.Inputs.EnvironmentSlackChannelArgs
                {
                    Id = "C06A4RZR9",
                    Name = "Channel 1",
                },
                new Rootly.Inputs.EnvironmentSlackChannelArgs
                {
                    Id = "C02T4RYR2",
                    Name = "Channel 2",
                },
            },
        });
    
        var staging = new Rootly.Environment("staging", new()
        {
            Color = "#FFA500",
            NotifyEmails = new[]
            {
                "foo@acme.com",
                "bar@acme.com",
            },
            SlackAliases = new[]
            {
                new Rootly.Inputs.EnvironmentSlackAliasArgs
                {
                    Id = "S0614TZR7",
                    Name = "Alias 1",
                },
            },
            SlackChannels = new[]
            {
                new Rootly.Inputs.EnvironmentSlackChannelArgs
                {
                    Id = "C06A4RZR9",
                    Name = "Channel 1",
                },
                new Rootly.Inputs.EnvironmentSlackChannelArgs
                {
                    Id = "C02T4RYR2",
                    Name = "Channel 2",
                },
            },
        });
    
        var production = new Rootly.Environment("production", new()
        {
            Color = "#FFA500",
            NotifyEmails = new[]
            {
                "foo@acme.com",
                "bar@acme.com",
            },
            SlackAliases = new[]
            {
                new Rootly.Inputs.EnvironmentSlackAliasArgs
                {
                    Id = "S0614TZR7",
                    Name = "Alias 1",
                },
            },
            SlackChannels = new[]
            {
                new Rootly.Inputs.EnvironmentSlackChannelArgs
                {
                    Id = "C06A4RZR9",
                    Name = "Channel 1",
                },
                new Rootly.Inputs.EnvironmentSlackChannelArgs
                {
                    Id = "C02T4RYR2",
                    Name = "Channel 2",
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-rootly/sdk/go/rootly"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := rootly.NewEnvironment(ctx, "development", &rootly.EnvironmentArgs{
    			Color: pulumi.String("#FF0000"),
    			NotifyEmails: pulumi.StringArray{
    				pulumi.String("foo@acme.com"),
    				pulumi.String("bar@acme.com"),
    			},
    			SlackAliases: rootly.EnvironmentSlackAliasArray{
    				&rootly.EnvironmentSlackAliasArgs{
    					Id:   pulumi.String("S0614TZR7"),
    					Name: pulumi.String("Alias 1"),
    				},
    			},
    			SlackChannels: rootly.EnvironmentSlackChannelArray{
    				&rootly.EnvironmentSlackChannelArgs{
    					Id:   pulumi.String("C06A4RZR9"),
    					Name: pulumi.String("Channel 1"),
    				},
    				&rootly.EnvironmentSlackChannelArgs{
    					Id:   pulumi.String("C02T4RYR2"),
    					Name: pulumi.String("Channel 2"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = rootly.NewEnvironment(ctx, "staging", &rootly.EnvironmentArgs{
    			Color: pulumi.String("#FFA500"),
    			NotifyEmails: pulumi.StringArray{
    				pulumi.String("foo@acme.com"),
    				pulumi.String("bar@acme.com"),
    			},
    			SlackAliases: rootly.EnvironmentSlackAliasArray{
    				&rootly.EnvironmentSlackAliasArgs{
    					Id:   pulumi.String("S0614TZR7"),
    					Name: pulumi.String("Alias 1"),
    				},
    			},
    			SlackChannels: rootly.EnvironmentSlackChannelArray{
    				&rootly.EnvironmentSlackChannelArgs{
    					Id:   pulumi.String("C06A4RZR9"),
    					Name: pulumi.String("Channel 1"),
    				},
    				&rootly.EnvironmentSlackChannelArgs{
    					Id:   pulumi.String("C02T4RYR2"),
    					Name: pulumi.String("Channel 2"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = rootly.NewEnvironment(ctx, "production", &rootly.EnvironmentArgs{
    			Color: pulumi.String("#FFA500"),
    			NotifyEmails: pulumi.StringArray{
    				pulumi.String("foo@acme.com"),
    				pulumi.String("bar@acme.com"),
    			},
    			SlackAliases: rootly.EnvironmentSlackAliasArray{
    				&rootly.EnvironmentSlackAliasArgs{
    					Id:   pulumi.String("S0614TZR7"),
    					Name: pulumi.String("Alias 1"),
    				},
    			},
    			SlackChannels: rootly.EnvironmentSlackChannelArray{
    				&rootly.EnvironmentSlackChannelArgs{
    					Id:   pulumi.String("C06A4RZR9"),
    					Name: pulumi.String("Channel 1"),
    				},
    				&rootly.EnvironmentSlackChannelArgs{
    					Id:   pulumi.String("C02T4RYR2"),
    					Name: pulumi.String("Channel 2"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.rootly.Environment;
    import com.pulumi.rootly.EnvironmentArgs;
    import com.pulumi.rootly.inputs.EnvironmentSlackAliasArgs;
    import com.pulumi.rootly.inputs.EnvironmentSlackChannelArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var development = new Environment("development", EnvironmentArgs.builder()        
                .color("#FF0000")
                .notifyEmails(            
                    "foo@acme.com",
                    "bar@acme.com")
                .slackAliases(EnvironmentSlackAliasArgs.builder()
                    .id("S0614TZR7")
                    .name("Alias 1")
                    .build())
                .slackChannels(            
                    EnvironmentSlackChannelArgs.builder()
                        .id("C06A4RZR9")
                        .name("Channel 1")
                        .build(),
                    EnvironmentSlackChannelArgs.builder()
                        .id("C02T4RYR2")
                        .name("Channel 2")
                        .build())
                .build());
    
            var staging = new Environment("staging", EnvironmentArgs.builder()        
                .color("#FFA500")
                .notifyEmails(            
                    "foo@acme.com",
                    "bar@acme.com")
                .slackAliases(EnvironmentSlackAliasArgs.builder()
                    .id("S0614TZR7")
                    .name("Alias 1")
                    .build())
                .slackChannels(            
                    EnvironmentSlackChannelArgs.builder()
                        .id("C06A4RZR9")
                        .name("Channel 1")
                        .build(),
                    EnvironmentSlackChannelArgs.builder()
                        .id("C02T4RYR2")
                        .name("Channel 2")
                        .build())
                .build());
    
            var production = new Environment("production", EnvironmentArgs.builder()        
                .color("#FFA500")
                .notifyEmails(            
                    "foo@acme.com",
                    "bar@acme.com")
                .slackAliases(EnvironmentSlackAliasArgs.builder()
                    .id("S0614TZR7")
                    .name("Alias 1")
                    .build())
                .slackChannels(            
                    EnvironmentSlackChannelArgs.builder()
                        .id("C06A4RZR9")
                        .name("Channel 1")
                        .build(),
                    EnvironmentSlackChannelArgs.builder()
                        .id("C02T4RYR2")
                        .name("Channel 2")
                        .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_rootly as rootly
    
    development = rootly.Environment("development",
        color="#FF0000",
        notify_emails=[
            "foo@acme.com",
            "bar@acme.com",
        ],
        slack_aliases=[rootly.EnvironmentSlackAliasArgs(
            id="S0614TZR7",
            name="Alias 1",
        )],
        slack_channels=[
            rootly.EnvironmentSlackChannelArgs(
                id="C06A4RZR9",
                name="Channel 1",
            ),
            rootly.EnvironmentSlackChannelArgs(
                id="C02T4RYR2",
                name="Channel 2",
            ),
        ])
    staging = rootly.Environment("staging",
        color="#FFA500",
        notify_emails=[
            "foo@acme.com",
            "bar@acme.com",
        ],
        slack_aliases=[rootly.EnvironmentSlackAliasArgs(
            id="S0614TZR7",
            name="Alias 1",
        )],
        slack_channels=[
            rootly.EnvironmentSlackChannelArgs(
                id="C06A4RZR9",
                name="Channel 1",
            ),
            rootly.EnvironmentSlackChannelArgs(
                id="C02T4RYR2",
                name="Channel 2",
            ),
        ])
    production = rootly.Environment("production",
        color="#FFA500",
        notify_emails=[
            "foo@acme.com",
            "bar@acme.com",
        ],
        slack_aliases=[rootly.EnvironmentSlackAliasArgs(
            id="S0614TZR7",
            name="Alias 1",
        )],
        slack_channels=[
            rootly.EnvironmentSlackChannelArgs(
                id="C06A4RZR9",
                name="Channel 1",
            ),
            rootly.EnvironmentSlackChannelArgs(
                id="C02T4RYR2",
                name="Channel 2",
            ),
        ])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as rootly from "@pulumi/rootly";
    
    const development = new rootly.Environment("development", {
        color: "#FF0000",
        notifyEmails: [
            "foo@acme.com",
            "bar@acme.com",
        ],
        slackAliases: [{
            id: "S0614TZR7",
            name: "Alias 1",
        }],
        slackChannels: [
            {
                id: "C06A4RZR9",
                name: "Channel 1",
            },
            {
                id: "C02T4RYR2",
                name: "Channel 2",
            },
        ],
    });
    const staging = new rootly.Environment("staging", {
        color: "#FFA500",
        notifyEmails: [
            "foo@acme.com",
            "bar@acme.com",
        ],
        slackAliases: [{
            id: "S0614TZR7",
            name: "Alias 1",
        }],
        slackChannels: [
            {
                id: "C06A4RZR9",
                name: "Channel 1",
            },
            {
                id: "C02T4RYR2",
                name: "Channel 2",
            },
        ],
    });
    const production = new rootly.Environment("production", {
        color: "#FFA500",
        notifyEmails: [
            "foo@acme.com",
            "bar@acme.com",
        ],
        slackAliases: [{
            id: "S0614TZR7",
            name: "Alias 1",
        }],
        slackChannels: [
            {
                id: "C06A4RZR9",
                name: "Channel 1",
            },
            {
                id: "C02T4RYR2",
                name: "Channel 2",
            },
        ],
    });
    
    resources:
      development:
        type: rootly:Environment
        properties:
          color: '#FF0000'
          notifyEmails:
            - foo@acme.com
            - bar@acme.com
          slackAliases:
            - id: S0614TZR7
              name: Alias 1
          slackChannels:
            - id: C06A4RZR9
              name: Channel 1
            - id: C02T4RYR2
              name: Channel 2
      staging:
        type: rootly:Environment
        properties:
          color: '#FFA500'
          notifyEmails:
            - foo@acme.com
            - bar@acme.com
          slackAliases:
            - id: S0614TZR7
              name: Alias 1
          slackChannels:
            - id: C06A4RZR9
              name: Channel 1
            - id: C02T4RYR2
              name: Channel 2
      production:
        type: rootly:Environment
        properties:
          color: '#FFA500'
          notifyEmails:
            - foo@acme.com
            - bar@acme.com
          slackAliases:
            - id: S0614TZR7
              name: Alias 1
          slackChannels:
            - id: C06A4RZR9
              name: Channel 1
            - id: C02T4RYR2
              name: Channel 2
    

    Create Environment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Environment(name: string, args?: EnvironmentArgs, opts?: CustomResourceOptions);
    @overload
    def Environment(resource_name: str,
                    args: Optional[EnvironmentArgs] = None,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Environment(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    color: Optional[str] = None,
                    description: Optional[str] = None,
                    name: Optional[str] = None,
                    notify_emails: Optional[Sequence[str]] = None,
                    position: Optional[int] = None,
                    slack_aliases: Optional[Sequence[EnvironmentSlackAliasArgs]] = None,
                    slack_channels: Optional[Sequence[EnvironmentSlackChannelArgs]] = None,
                    slug: Optional[str] = None)
    func NewEnvironment(ctx *Context, name string, args *EnvironmentArgs, opts ...ResourceOption) (*Environment, error)
    public Environment(string name, EnvironmentArgs? args = null, CustomResourceOptions? opts = null)
    public Environment(String name, EnvironmentArgs args)
    public Environment(String name, EnvironmentArgs args, CustomResourceOptions options)
    
    type: rootly:Environment
    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 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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var environmentResource = new Rootly.Environment("environmentResource", new()
    {
        Color = "string",
        Description = "string",
        Name = "string",
        NotifyEmails = new[]
        {
            "string",
        },
        Position = 0,
        SlackAliases = new[]
        {
            new Rootly.Inputs.EnvironmentSlackAliasArgs
            {
                Id = "string",
                Name = "string",
            },
        },
        SlackChannels = new[]
        {
            new Rootly.Inputs.EnvironmentSlackChannelArgs
            {
                Id = "string",
                Name = "string",
            },
        },
        Slug = "string",
    });
    
    example, err := rootly.NewEnvironment(ctx, "environmentResource", &rootly.EnvironmentArgs{
    	Color:       pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	NotifyEmails: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Position: pulumi.Int(0),
    	SlackAliases: rootly.EnvironmentSlackAliasArray{
    		&rootly.EnvironmentSlackAliasArgs{
    			Id:   pulumi.String("string"),
    			Name: pulumi.String("string"),
    		},
    	},
    	SlackChannels: rootly.EnvironmentSlackChannelArray{
    		&rootly.EnvironmentSlackChannelArgs{
    			Id:   pulumi.String("string"),
    			Name: pulumi.String("string"),
    		},
    	},
    	Slug: pulumi.String("string"),
    })
    
    var environmentResource = new Environment("environmentResource", EnvironmentArgs.builder()
        .color("string")
        .description("string")
        .name("string")
        .notifyEmails("string")
        .position(0)
        .slackAliases(EnvironmentSlackAliasArgs.builder()
            .id("string")
            .name("string")
            .build())
        .slackChannels(EnvironmentSlackChannelArgs.builder()
            .id("string")
            .name("string")
            .build())
        .slug("string")
        .build());
    
    environment_resource = rootly.Environment("environmentResource",
        color="string",
        description="string",
        name="string",
        notify_emails=["string"],
        position=0,
        slack_aliases=[rootly.EnvironmentSlackAliasArgs(
            id="string",
            name="string",
        )],
        slack_channels=[rootly.EnvironmentSlackChannelArgs(
            id="string",
            name="string",
        )],
        slug="string")
    
    const environmentResource = new rootly.Environment("environmentResource", {
        color: "string",
        description: "string",
        name: "string",
        notifyEmails: ["string"],
        position: 0,
        slackAliases: [{
            id: "string",
            name: "string",
        }],
        slackChannels: [{
            id: "string",
            name: "string",
        }],
        slug: "string",
    });
    
    type: rootly:Environment
    properties:
        color: string
        description: string
        name: string
        notifyEmails:
            - string
        position: 0
        slackAliases:
            - id: string
              name: string
        slackChannels:
            - id: string
              name: string
        slug: string
    

    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:

    Color string
    The hex color of the environment
    Description string
    The description of the environment
    Name string
    The name of the environment
    NotifyEmails List<string>
    Emails attached to the environment
    Position int
    Position of the environment
    SlackAliases List<EnvironmentSlackAlias>
    Slack Aliases associated with this environment
    SlackChannels List<EnvironmentSlackChannel>
    Slack Channels associated with this environment
    Slug string
    The slug of the environment
    Color string
    The hex color of the environment
    Description string
    The description of the environment
    Name string
    The name of the environment
    NotifyEmails []string
    Emails attached to the environment
    Position int
    Position of the environment
    SlackAliases []EnvironmentSlackAliasArgs
    Slack Aliases associated with this environment
    SlackChannels []EnvironmentSlackChannelArgs
    Slack Channels associated with this environment
    Slug string
    The slug of the environment
    color String
    The hex color of the environment
    description String
    The description of the environment
    name String
    The name of the environment
    notifyEmails List<String>
    Emails attached to the environment
    position Integer
    Position of the environment
    slackAliases List<EnvironmentSlackAlias>
    Slack Aliases associated with this environment
    slackChannels List<EnvironmentSlackChannel>
    Slack Channels associated with this environment
    slug String
    The slug of the environment
    color string
    The hex color of the environment
    description string
    The description of the environment
    name string
    The name of the environment
    notifyEmails string[]
    Emails attached to the environment
    position number
    Position of the environment
    slackAliases EnvironmentSlackAlias[]
    Slack Aliases associated with this environment
    slackChannels EnvironmentSlackChannel[]
    Slack Channels associated with this environment
    slug string
    The slug of the environment
    color str
    The hex color of the environment
    description str
    The description of the environment
    name str
    The name of the environment
    notify_emails Sequence[str]
    Emails attached to the environment
    position int
    Position of the environment
    slack_aliases Sequence[EnvironmentSlackAliasArgs]
    Slack Aliases associated with this environment
    slack_channels Sequence[EnvironmentSlackChannelArgs]
    Slack Channels associated with this environment
    slug str
    The slug of the environment
    color String
    The hex color of the environment
    description String
    The description of the environment
    name String
    The name of the environment
    notifyEmails List<String>
    Emails attached to the environment
    position Number
    Position of the environment
    slackAliases List<Property Map>
    Slack Aliases associated with this environment
    slackChannels List<Property Map>
    Slack Channels associated with this environment
    slug String
    The slug of the environment

    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,
            color: Optional[str] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            notify_emails: Optional[Sequence[str]] = None,
            position: Optional[int] = None,
            slack_aliases: Optional[Sequence[EnvironmentSlackAliasArgs]] = None,
            slack_channels: Optional[Sequence[EnvironmentSlackChannelArgs]] = None,
            slug: Optional[str] = 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:
    Color string
    The hex color of the environment
    Description string
    The description of the environment
    Name string
    The name of the environment
    NotifyEmails List<string>
    Emails attached to the environment
    Position int
    Position of the environment
    SlackAliases List<EnvironmentSlackAlias>
    Slack Aliases associated with this environment
    SlackChannels List<EnvironmentSlackChannel>
    Slack Channels associated with this environment
    Slug string
    The slug of the environment
    Color string
    The hex color of the environment
    Description string
    The description of the environment
    Name string
    The name of the environment
    NotifyEmails []string
    Emails attached to the environment
    Position int
    Position of the environment
    SlackAliases []EnvironmentSlackAliasArgs
    Slack Aliases associated with this environment
    SlackChannels []EnvironmentSlackChannelArgs
    Slack Channels associated with this environment
    Slug string
    The slug of the environment
    color String
    The hex color of the environment
    description String
    The description of the environment
    name String
    The name of the environment
    notifyEmails List<String>
    Emails attached to the environment
    position Integer
    Position of the environment
    slackAliases List<EnvironmentSlackAlias>
    Slack Aliases associated with this environment
    slackChannels List<EnvironmentSlackChannel>
    Slack Channels associated with this environment
    slug String
    The slug of the environment
    color string
    The hex color of the environment
    description string
    The description of the environment
    name string
    The name of the environment
    notifyEmails string[]
    Emails attached to the environment
    position number
    Position of the environment
    slackAliases EnvironmentSlackAlias[]
    Slack Aliases associated with this environment
    slackChannels EnvironmentSlackChannel[]
    Slack Channels associated with this environment
    slug string
    The slug of the environment
    color str
    The hex color of the environment
    description str
    The description of the environment
    name str
    The name of the environment
    notify_emails Sequence[str]
    Emails attached to the environment
    position int
    Position of the environment
    slack_aliases Sequence[EnvironmentSlackAliasArgs]
    Slack Aliases associated with this environment
    slack_channels Sequence[EnvironmentSlackChannelArgs]
    Slack Channels associated with this environment
    slug str
    The slug of the environment
    color String
    The hex color of the environment
    description String
    The description of the environment
    name String
    The name of the environment
    notifyEmails List<String>
    Emails attached to the environment
    position Number
    Position of the environment
    slackAliases List<Property Map>
    Slack Aliases associated with this environment
    slackChannels List<Property Map>
    Slack Channels associated with this environment
    slug String
    The slug of the environment

    Supporting Types

    EnvironmentSlackAlias, EnvironmentSlackAliasArgs

    Id string
    Name string
    Id string
    Name string
    id String
    name String
    id string
    name string
    id str
    name str
    id String
    name String

    EnvironmentSlackChannel, EnvironmentSlackChannelArgs

    Id string
    Name string
    Id string
    Name string
    id String
    name String
    id string
    name string
    id str
    name str
    id String
    name String

    Package Details

    Repository
    rootly rootlyhq/pulumi-rootly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the rootly Terraform Provider.
    rootly logo
    Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly