AccountMemberArgs

data class AccountMemberArgs(val accountId: Output<String>? = null, val emailAddress: Output<String>? = null, val roleIds: Output<List<String>>? = null, val status: Output<String>? = null) : ConvertibleToJava<AccountMemberArgs>

Provides a resource which manages Cloudflare account members.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.AccountMember;
import com.pulumi.cloudflare.AccountMemberArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleUser = new AccountMember("exampleUser", AccountMemberArgs.builder()
.emailAddress("user@example.com")
.roleIds(
"68b329da9893e34099c7d8ad5cb9c940",
"d784fa8b6d98d27699781bd9a7cf19f0")
.build());
}
}

Import

$ pulumi import cloudflare:index/accountMember:AccountMember example <account_id>/<member_id>

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, emailAddress: Output<String>? = null, roleIds: Output<List<String>>? = null, status: Output<String>? = null)

Properties

Link copied to clipboard
val accountId: Output<String>? = null

Account ID to create the account member in.

Link copied to clipboard
val emailAddress: Output<String>? = null

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

Link copied to clipboard
val roleIds: Output<List<String>>? = null

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

Link copied to clipboard
val status: Output<String>? = null

A member's status in the account. Available values: accepted, pending.

Functions

Link copied to clipboard
open override fun toJava(): AccountMemberArgs