rootly.Team
Explore with Pulumi AI
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)
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
- Notify
Emails List<string> Emails to attach to the team
- Position int
Position of the team
- Slack
Aliases List<TeamSlack Alias> Slack Aliases associated with this service
- Slack
Channels List<TeamSlack Channel> Slack Channels associated with this service
- Slug string
- Color string
- Description string
The description of the team
- Name string
The name of the team
- Notify
Emails []string Emails to attach to the team
- Position int
Position of the team
- Slack
Aliases []TeamSlack Alias Args Slack Aliases associated with this service
- Slack
Channels []TeamSlack Channel Args Slack Channels associated with this service
- Slug string
- color String
- description String
The description of the team
- name String
The name of the team
- notify
Emails List<String> Emails to attach to the team
- position Integer
Position of the team
- slack
Aliases List<TeamSlack Alias> Slack Aliases associated with this service
- slack
Channels List<TeamSlack Channel> Slack Channels associated with this service
- slug String
- color string
- description string
The description of the team
- name string
The name of the team
- notify
Emails string[] Emails to attach to the team
- position number
Position of the team
- slack
Aliases TeamSlack Alias[] Slack Aliases associated with this service
- slack
Channels TeamSlack Channel[] 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[TeamSlack Alias Args] Slack Aliases associated with this service
- slack_
channels Sequence[TeamSlack Channel Args] Slack Channels associated with this service
- slug str
- color String
- description String
The description of the team
- name String
The name of the team
- notify
Emails List<String> Emails to attach to the team
- position Number
Position of the team
- slack
Aliases List<Property Map> Slack Aliases associated with this service
- slack
Channels 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.
- Color string
- Description string
The description of the team
- Name string
The name of the team
- Notify
Emails List<string> Emails to attach to the team
- Position int
Position of the team
- Slack
Aliases List<TeamSlack Alias> Slack Aliases associated with this service
- Slack
Channels List<TeamSlack Channel> Slack Channels associated with this service
- Slug string
- Color string
- Description string
The description of the team
- Name string
The name of the team
- Notify
Emails []string Emails to attach to the team
- Position int
Position of the team
- Slack
Aliases []TeamSlack Alias Args Slack Aliases associated with this service
- Slack
Channels []TeamSlack Channel Args Slack Channels associated with this service
- Slug string
- color String
- description String
The description of the team
- name String
The name of the team
- notify
Emails List<String> Emails to attach to the team
- position Integer
Position of the team
- slack
Aliases List<TeamSlack Alias> Slack Aliases associated with this service
- slack
Channels List<TeamSlack Channel> Slack Channels associated with this service
- slug String
- color string
- description string
The description of the team
- name string
The name of the team
- notify
Emails string[] Emails to attach to the team
- position number
Position of the team
- slack
Aliases TeamSlack Alias[] Slack Aliases associated with this service
- slack
Channels TeamSlack Channel[] 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[TeamSlack Alias Args] Slack Aliases associated with this service
- slack_
channels Sequence[TeamSlack Channel Args] Slack Channels associated with this service
- slug str
- color String
- description String
The description of the team
- name String
The name of the team
- notify
Emails List<String> Emails to attach to the team
- position Number
Position of the team
- slack
Aliases List<Property Map> Slack Aliases associated with this service
- slack
Channels List<Property Map> Slack Channels associated with this service
- slug String
Supporting Types
TeamSlackAlias, TeamSlackAliasArgs
TeamSlackChannel, TeamSlackChannelArgs
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
rootly
Terraform Provider.