Class 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",
});
}
}
Inheritance
Inherited Members
Namespace: Pulumi.Pagerduty
Assembly: Pulumi.Pagerduty.dll
Syntax
public class Team : CustomResource
Constructors
View SourceTeam(String, TeamArgs, CustomResourceOptions)
Create a Team resource with the given unique name, arguments, and options.
Declaration
public Team(string name, TeamArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| TeamArgs | args | The arguments used to populate this resource's properties |
| Pulumi.CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDescription
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Pulumi.Output<System.String> |
HtmlUrl
URL at which the entity is uniquely displayed in the Web app
Declaration
public Output<string> HtmlUrl { get; }
Property Value
| Type | Description |
|---|---|
| Pulumi.Output<System.String> |
Name
The name of the group.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Pulumi.Output<System.String> |
Methods
View SourceGet(String, Input<String>, TeamState, CustomResourceOptions)
Get an existing Team resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Team Get(string name, Input<string> id, TeamState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Pulumi.Input<System.String> | id | The unique provider ID of the resource to lookup. |
| TeamState | state | Any extra arguments used during the lookup. |
| Pulumi.CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Team |