Team

A team is a collection of users and escalation policies that represent a group of people within an organization.

The account must have the teams ability to use the following resource.

Create a Team Resource

new Team(name: string, args?: TeamArgs, opts?: CustomResourceOptions);
@overload
def Team(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         description: Optional[str] = None,
         name: Optional[str] = None,
         parent: 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)
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.

Team Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Team resource accepts the following input properties:

Description string
Name string
The name of the group.
Parent string
ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information.
Description string
Name string
The name of the group.
Parent string
ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information.
description string
name string
The name of the group.
parent string
ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information.
description str
name str
The name of the group.
parent str
ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information.

Outputs

All input properties are implicitly available as output properties. Additionally, the Team resource produces the following output properties:

HtmlUrl string
URL at which the entity is uniquely displayed in the Web app
Id string
The provider-assigned unique ID for this managed resource.
HtmlUrl string
URL at which the entity is uniquely displayed in the Web app
Id string
The provider-assigned unique ID for this managed resource.
htmlUrl string
URL at which the entity is uniquely displayed in the Web app
id string
The provider-assigned unique ID for this managed resource.
html_url str
URL at which the entity is uniquely displayed in the Web app
id str
The provider-assigned unique ID for this managed resource.

Look up an 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,
        description: Optional[str] = None,
        html_url: Optional[str] = None,
        name: Optional[str] = None,
        parent: 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)
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.

The following state arguments are supported:

Description string
HtmlUrl string
URL at which the entity is uniquely displayed in the Web app
Name string
The name of the group.
Parent string
ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information.
Description string
HtmlUrl string
URL at which the entity is uniquely displayed in the Web app
Name string
The name of the group.
Parent string
ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information.
description string
htmlUrl string
URL at which the entity is uniquely displayed in the Web app
name string
The name of the group.
parent string
ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information.
description str
html_url str
URL at which the entity is uniquely displayed in the Web app
name str
The name of the group.
parent str
ID of the parent team. This is available to accounts with the Team Hierarchy feature enabled. Please contact your account manager for more information.

Import

Teams can be imported using the id, e.g.

 $ pulumi import pagerduty:index/team:Team main PLBP09X

Package Details

Repository
https://github.com/pulumi/pulumi-pagerduty
License
Apache-2.0
Notes
This Pulumi package is based on the pagerduty Terraform Provider.