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",
});
}
}
Inherited Members
Namespace: Pulumi.Fastly
Assembly: Pulumi.Fastly.dll
Syntax
public class Userv1 : CustomResource
Constructors
View SourceUserv1(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 SourceLogin
The email address, which is the login name, of the User.
Declaration
public Output<string> Login { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The real life name of the user.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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 SourceGet(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 |