Show / Hide Table of Contents

Class Userv1

Provides a Fastly User, representing the configuration for a user account for interacting with Fastly.

The User resource requires a login and name, and optionally a role.

Example Usage

using Pulumi;
using Fastly = Pulumi.Fastly;

class MyStack : Stack
{
public MyStack()
{
    var demo = new Fastly.Userv1("demo", new Fastly.Userv1Args
    {
        Login = "demo@example.com",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Userv1
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.Fastly
Assembly: Pulumi.Fastly.dll
Syntax
public class Userv1 : CustomResource

Constructors

View Source

Userv1(String, Userv1Args, CustomResourceOptions)

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

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

The unique name of the resource

Userv1Args 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

Login

The email address, which is the login name, of the User.

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

Name

The real life name of the user.

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

Role

The role of this user. Can be user (the default), billing, engineer, or superuser. For detailed information on the abilities granted to each role, see Fastly's Documentation on User roles.

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

Methods

View Source

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

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

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

Userv1State state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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