Show / Hide Table of Contents

Class User

A user is a member of a PagerDuty account that have the ability to interact with incidents and other data on the account.

Example Usage

using Pulumi;
using Pagerduty = Pulumi.Pagerduty;

class MyStack : Stack
{
public MyStack()
{
    var example = new Pagerduty.User("example", new Pagerduty.UserArgs
    {
        Email = "125.greenholt.earline@graham.name",
    });
}

}
Inheritance
System.Object
Pulumi.Resource
Pulumi.CustomResource
User
Inherited Members
Pulumi.CustomResource.Id
Pulumi.Resource.GetResourceType()
Pulumi.Resource.GetResourceName()
Pulumi.Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Pagerduty
Assembly: Pulumi.Pagerduty.dll
Syntax
public class User : CustomResource

Constructors

View Source

User(String, UserArgs, CustomResourceOptions)

Create a User resource with the given unique name, arguments, and options.

Declaration
public User(string name, UserArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

UserArgs 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 Source

AvatarUrl

The URL of the user's avatar.

Declaration
public Output<string> AvatarUrl { get; }
Property Value
Type Description
Pulumi.Output<System.String>
View Source

Color

The schedule color for the user. Valid options are purple, red, green, blue, teal, orange, brown, turquoise, dark-slate-blue, cayenne, orange-red, dark-orchid, dark-slate-grey, lime, dark-magenta, lime-green, midnight-blue, deep-pink, dark-green, dark-orange, dark-cyan, darkolive-green, dark-slate-gray, grey20, firebrick, maroon, crimson, dark-red, dark-goldenrod, chocolate, medium-violet-red, sea-green, olivedrab, forest-green, dark-olive-green, blue-violet, royal-blue, indigo, slate-blue, saddle-brown, or steel-blue.

Declaration
public Output<string> Color { get; }
Property Value
Type Description
Pulumi.Output<System.String>
View Source

Description

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Pulumi.Output<System.String>
View Source

Email

The user's email address.

Declaration
public Output<string> Email { get; }
Property Value
Type Description
Pulumi.Output<System.String>
View Source

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>
View Source

InvitationSent

If true, the user has an outstanding invitation.

Declaration
public Output<bool> InvitationSent { get; }
Property Value
Type Description
Pulumi.Output<System.Boolean>
View Source

JobTitle

The user's title.

Declaration
public Output<string> JobTitle { get; }
Property Value
Type Description
Pulumi.Output<System.String>
View Source

Name

The name of the user.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Pulumi.Output<System.String>
View Source

Role

The user role. Account must have the read_only_users ability to set a user as a read_only_user. Can be admin, limited_user, observer, owner, read_only_user or user

Declaration
public Output<string> Role { get; }
Property Value
Type Description
Pulumi.Output<System.String>
View Source

Teams

A list of teams the user should belong to. Please use pagerduty..TeamMembership instead.

Declaration
public Output<ImmutableArray<string>> Teams { get; }
Property Value
Type Description
Pulumi.Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

TimeZone

The timezone of the user

Declaration
public Output<string> TimeZone { get; }
Property Value
Type Description
Pulumi.Output<System.String>

Methods

View Source

Get(String, Input<String>, UserState, CustomResourceOptions)

Get an existing User resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static User Get(string name, Input<string> id, UserState 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.

UserState state

Any extra arguments used during the lookup.

Pulumi.CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
User
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.