Show / Hide Table of Contents

Class AccountMember

Provides a resource which manages Cloudflare account members.

Example Usage

using Pulumi;
using Cloudflare = Pulumi.Cloudflare;

class MyStack : Stack
{
public MyStack()
{
    var exampleUser = new Cloudflare.AccountMember("exampleUser", new Cloudflare.AccountMemberArgs
    {
        EmailAddress = "user@example.com",
        RoleIds = 
        {
            "68b329da9893e34099c7d8ad5cb9c940",
            "d784fa8b6d98d27699781bd9a7cf19f0",
        },
    });
}

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

Constructors

View Source

AccountMember(String, AccountMemberArgs, CustomResourceOptions)

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

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

The unique name of the resource

AccountMemberArgs 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

EmailAddress

The email address of the user who you wish to manage. Note: Following creation, this field becomes read only via the API and cannot be updated.

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

RoleIds

Array of account role IDs that you want to assign to a member.

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

Methods

View Source

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

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

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

AccountMemberState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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