Show / Hide Table of Contents

Class User

Provides a Datadog user resource. This can be used to create and manage Datadog users.

Example Usage

using Pulumi;
using Datadog = Pulumi.Datadog;

class MyStack : Stack
{
public MyStack()
{
    // Create a new Datadog user
    var foo = new Datadog.User("foo", new Datadog.UserArgs
    {
        Email = "new@example.com",
        Handle = "new@example.com",
        Name = "New User",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
User
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
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.Datadog
Assembly: Pulumi.Datadog.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

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AccessRole

Role description for user. Can be st (standard user), adm (admin user) or ro (read-only user). Default is st.

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

Disabled

Whether the user is disabled

Declaration
public Output<bool?> Disabled { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

Email

Email address for user

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

Handle

The user handle, must be a valid email.

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

IsAdmin

(Optional) Whether the user is an administrator. Warning: the corresponding query parameter is ignored by the Datadog API, thus the argument would always trigger an execution plan.

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

Name

Name for user

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

Role

Role description for user. Warning: the corresponding query parameter is ignored by the Datadog API, thus the argument would always trigger an execution plan.

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

Verified

Returns true if Datadog user is verified

Declaration
public Output<bool> Verified { get; }
Property Value
Type Description
Output<System.Boolean>

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.

Input<System.String> id

The unique provider ID of the resource to lookup.

UserState state

Any extra arguments used during the lookup.

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.