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.

Example Usage

using Pulumi;
using Pagerduty = Pulumi.Pagerduty;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new Pagerduty.Team("example", new Pagerduty.TeamArgs
        {
            Description = "All engineering",
        });
    }

}

Coming soon!

import pulumi
import pulumi_pagerduty as pagerduty

example = pagerduty.Team("example", description="All engineering")
import * as pulumi from "@pulumi/pulumi";
import * as pagerduty from "@pulumi/pagerduty";

const example = new pagerduty.Team("example", {
    description: "All engineering",
});

Create a Team Resource

new Team(name: string, args?: TeamArgs, opts?: CustomResourceOptions);
def Team(resource_name, opts=None, description=None, name=None, __props__=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.
opts ResourceOptions
A bag of options that control this 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.

Description string
Name string

The name of the group.

description string
name string

The name of the group.

description str
name str

The name of the group.

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
static get(resource_name, id, opts=None, description=None, html_url=None, name=None, __props__=None);
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.

Description string
HtmlUrl string

URL at which the entity is uniquely displayed in the Web app

Name string

The name of the group.

description string
htmlUrl string

URL at which the entity is uniquely displayed in the Web app

name string

The name of the group.

description str
html_url str

URL at which the entity is uniquely displayed in the Web app

name str

The name of the group.

Package Details

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