1. Packages
  2. Rootly
  3. API Docs
  4. Team
Rootly v1.0.1 published on Friday, Jun 2, 2023 by Rootly

rootly.Team

Explore with Pulumi AI

rootly logo
Rootly v1.0.1 published on Friday, Jun 2, 2023 by Rootly

    Create Team Resource

    new Team(name: string, args?: TeamArgs, opts?: CustomResourceOptions);
    @overload
    def Team(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[TeamSlackAliasArgs]] = None,
             slack_channels: Optional[Sequence[TeamSlackChannelArgs]] = None,
             slug: Optional[str] = None)
    @overload
    def Team(resource_name: str,
             args: Optional[TeamArgs] = None,
             opts: Optional[ResourceOptions] = None)
    func NewTeam(ctx *Context, name string, args *TeamArgs, opts ...ResourceOption) (*Team, error)
    public Team(string name, TeamArgs? args = null, CustomResourceOptions? opts = null)
    public Team(String name, TeamArgs args)
    public Team(String name, TeamArgs args, CustomResourceOptions options)
    
    type: rootly:Team
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args TeamArgs
    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 TeamArgs
    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 TeamArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TeamArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TeamArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Color string
    Description string

    The description of the team

    Name string

    The name of the team

    NotifyEmails List<string>

    Emails to attach to the team

    Position int

    Position of the team

    SlackAliases List<TeamSlackAlias>

    Slack Aliases associated with this service

    SlackChannels List<TeamSlackChannel>

    Slack Channels associated with this service

    Slug string
    Color string
    Description string

    The description of the team

    Name string

    The name of the team

    NotifyEmails []string

    Emails to attach to the team

    Position int

    Position of the team

    SlackAliases []TeamSlackAliasArgs

    Slack Aliases associated with this service

    SlackChannels []TeamSlackChannelArgs

    Slack Channels associated with this service

    Slug string
    color String
    description String

    The description of the team

    name String

    The name of the team

    notifyEmails List<String>

    Emails to attach to the team

    position Integer

    Position of the team

    slackAliases List<TeamSlackAlias>

    Slack Aliases associated with this service

    slackChannels List<TeamSlackChannel>

    Slack Channels associated with this service

    slug String
    color string
    description string

    The description of the team

    name string

    The name of the team

    notifyEmails string[]

    Emails to attach to the team

    position number

    Position of the team

    slackAliases TeamSlackAlias[]

    Slack Aliases associated with this service

    slackChannels TeamSlackChannel[]

    Slack Channels associated with this service

    slug string
    color str
    description str

    The description of the team

    name str

    The name of the team

    notify_emails Sequence[str]

    Emails to attach to the team

    position int

    Position of the team

    slack_aliases Sequence[TeamSlackAliasArgs]

    Slack Aliases associated with this service

    slack_channels Sequence[TeamSlackChannelArgs]

    Slack Channels associated with this service

    slug str
    color String
    description String

    The description of the team

    name String

    The name of the team

    notifyEmails List<String>

    Emails to attach to the team

    position Number

    Position of the team

    slackAliases List<Property Map>

    Slack Aliases associated with this service

    slackChannels List<Property Map>

    Slack Channels associated with this service

    slug String

    Outputs

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

    Get an existing Team 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?: TeamState, opts?: CustomResourceOptions): Team
    @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[TeamSlackAliasArgs]] = None,
            slack_channels: Optional[Sequence[TeamSlackChannelArgs]] = None,
            slug: Optional[str] = None) -> Team
    func GetTeam(ctx *Context, name string, id IDInput, state *TeamState, opts ...ResourceOption) (*Team, error)
    public static Team Get(string name, Input<string> id, TeamState? state, CustomResourceOptions? opts = null)
    public static Team get(String name, Output<String> id, TeamState 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
    Description string

    The description of the team

    Name string

    The name of the team

    NotifyEmails List<string>

    Emails to attach to the team

    Position int

    Position of the team

    SlackAliases List<TeamSlackAlias>

    Slack Aliases associated with this service

    SlackChannels List<TeamSlackChannel>

    Slack Channels associated with this service

    Slug string
    Color string
    Description string

    The description of the team

    Name string

    The name of the team

    NotifyEmails []string

    Emails to attach to the team

    Position int

    Position of the team

    SlackAliases []TeamSlackAliasArgs

    Slack Aliases associated with this service

    SlackChannels []TeamSlackChannelArgs

    Slack Channels associated with this service

    Slug string
    color String
    description String

    The description of the team

    name String

    The name of the team

    notifyEmails List<String>

    Emails to attach to the team

    position Integer

    Position of the team

    slackAliases List<TeamSlackAlias>

    Slack Aliases associated with this service

    slackChannels List<TeamSlackChannel>

    Slack Channels associated with this service

    slug String
    color string
    description string

    The description of the team

    name string

    The name of the team

    notifyEmails string[]

    Emails to attach to the team

    position number

    Position of the team

    slackAliases TeamSlackAlias[]

    Slack Aliases associated with this service

    slackChannels TeamSlackChannel[]

    Slack Channels associated with this service

    slug string
    color str
    description str

    The description of the team

    name str

    The name of the team

    notify_emails Sequence[str]

    Emails to attach to the team

    position int

    Position of the team

    slack_aliases Sequence[TeamSlackAliasArgs]

    Slack Aliases associated with this service

    slack_channels Sequence[TeamSlackChannelArgs]

    Slack Channels associated with this service

    slug str
    color String
    description String

    The description of the team

    name String

    The name of the team

    notifyEmails List<String>

    Emails to attach to the team

    position Number

    Position of the team

    slackAliases List<Property Map>

    Slack Aliases associated with this service

    slackChannels List<Property Map>

    Slack Channels associated with this service

    slug String

    Supporting Types

    TeamSlackAlias, TeamSlackAliasArgs

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

    TeamSlackChannel, TeamSlackChannelArgs

    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.0.1 published on Friday, Jun 2, 2023 by Rootly