Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getAccountMember
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleAccountMember = cloudflare.getAccountMember({
accountId: "eb78d65290b24279ba6f44721b3ea3c4",
memberId: "4536bcfad5faccb111b47003c79917fa",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_account_member = cloudflare.get_account_member(account_id="eb78d65290b24279ba6f44721b3ea3c4",
member_id="4536bcfad5faccb111b47003c79917fa")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.LookupAccountMember(ctx, &cloudflare.LookupAccountMemberArgs{
AccountId: "eb78d65290b24279ba6f44721b3ea3c4",
MemberId: pulumi.StringRef("4536bcfad5faccb111b47003c79917fa"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleAccountMember = Cloudflare.GetAccountMember.Invoke(new()
{
AccountId = "eb78d65290b24279ba6f44721b3ea3c4",
MemberId = "4536bcfad5faccb111b47003c79917fa",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetAccountMemberArgs;
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) {
final var exampleAccountMember = CloudflareFunctions.getAccountMember(GetAccountMemberArgs.builder()
.accountId("eb78d65290b24279ba6f44721b3ea3c4")
.memberId("4536bcfad5faccb111b47003c79917fa")
.build());
}
}
variables:
exampleAccountMember:
fn::invoke:
function: cloudflare:getAccountMember
arguments:
accountId: eb78d65290b24279ba6f44721b3ea3c4
memberId: 4536bcfad5faccb111b47003c79917fa
Using getAccountMember
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAccountMember(args: GetAccountMemberArgs, opts?: InvokeOptions): Promise<GetAccountMemberResult>
function getAccountMemberOutput(args: GetAccountMemberOutputArgs, opts?: InvokeOptions): Output<GetAccountMemberResult>
def get_account_member(account_id: Optional[str] = None,
filter: Optional[GetAccountMemberFilter] = None,
member_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAccountMemberResult
def get_account_member_output(account_id: Optional[pulumi.Input[str]] = None,
filter: Optional[pulumi.Input[GetAccountMemberFilterArgs]] = None,
member_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAccountMemberResult]
func LookupAccountMember(ctx *Context, args *LookupAccountMemberArgs, opts ...InvokeOption) (*LookupAccountMemberResult, error)
func LookupAccountMemberOutput(ctx *Context, args *LookupAccountMemberOutputArgs, opts ...InvokeOption) LookupAccountMemberResultOutput
> Note: This function is named LookupAccountMember
in the Go SDK.
public static class GetAccountMember
{
public static Task<GetAccountMemberResult> InvokeAsync(GetAccountMemberArgs args, InvokeOptions? opts = null)
public static Output<GetAccountMemberResult> Invoke(GetAccountMemberInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAccountMemberResult> getAccountMember(GetAccountMemberArgs args, InvokeOptions options)
public static Output<GetAccountMemberResult> getAccountMember(GetAccountMemberArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getAccountMember:getAccountMember
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Id string - Account identifier tag.
- Filter
Get
Account Member Filter - Member
Id string - Membership identifier tag.
- Account
Id string - Account identifier tag.
- Filter
Get
Account Member Filter - Member
Id string - Membership identifier tag.
- account
Id String - Account identifier tag.
- filter
Get
Account Member Filter - member
Id String - Membership identifier tag.
- account
Id string - Account identifier tag.
- filter
Get
Account Member Filter - member
Id string - Membership identifier tag.
- account_
id str - Account identifier tag.
- filter
Get
Account Member Filter - member_
id str - Membership identifier tag.
- account
Id String - Account identifier tag.
- filter Property Map
- member
Id String - Membership identifier tag.
getAccountMember Result
The following output properties are available:
- Account
Id string - Account identifier tag.
- Id string
- Membership identifier tag.
- Policies
List<Get
Account Member Policy> - Access policy for the membership
- Roles
List<Get
Account Member Role> - Roles assigned to this Member.
- Status string
- A member's status in the account. Available values: "accepted", "pending".
- User
Get
Account Member User - Details of the user associated to the membership.
- Filter
Get
Account Member Filter - Member
Id string - Membership identifier tag.
- Account
Id string - Account identifier tag.
- Id string
- Membership identifier tag.
- Policies
[]Get
Account Member Policy - Access policy for the membership
- Roles
[]Get
Account Member Role - Roles assigned to this Member.
- Status string
- A member's status in the account. Available values: "accepted", "pending".
- User
Get
Account Member User - Details of the user associated to the membership.
- Filter
Get
Account Member Filter - Member
Id string - Membership identifier tag.
- account
Id String - Account identifier tag.
- id String
- Membership identifier tag.
- policies
List<Get
Account Member Policy> - Access policy for the membership
- roles
List<Get
Account Member Role> - Roles assigned to this Member.
- status String
- A member's status in the account. Available values: "accepted", "pending".
- user
Get
Account Member User - Details of the user associated to the membership.
- filter
Get
Account Member Filter - member
Id String - Membership identifier tag.
- account
Id string - Account identifier tag.
- id string
- Membership identifier tag.
- policies
Get
Account Member Policy[] - Access policy for the membership
- roles
Get
Account Member Role[] - Roles assigned to this Member.
- status string
- A member's status in the account. Available values: "accepted", "pending".
- user
Get
Account Member User - Details of the user associated to the membership.
- filter
Get
Account Member Filter - member
Id string - Membership identifier tag.
- account_
id str - Account identifier tag.
- id str
- Membership identifier tag.
- policies
Sequence[Get
Account Member Policy] - Access policy for the membership
- roles
Sequence[Get
Account Member Role] - Roles assigned to this Member.
- status str
- A member's status in the account. Available values: "accepted", "pending".
- user
Get
Account Member User - Details of the user associated to the membership.
- filter
Get
Account Member Filter - member_
id str - Membership identifier tag.
- account
Id String - Account identifier tag.
- id String
- Membership identifier tag.
- policies List<Property Map>
- Access policy for the membership
- roles List<Property Map>
- Roles assigned to this Member.
- status String
- A member's status in the account. Available values: "accepted", "pending".
- user Property Map
- Details of the user associated to the membership.
- filter Property Map
- member
Id String - Membership identifier tag.
Supporting Types
GetAccountMemberFilter
GetAccountMemberPolicy
- Access string
- Allow or deny operations against the resources. Available values: "allow", "deny".
- Id string
- Policy identifier.
- Permission
Groups List<GetAccount Member Policy Permission Group> - A set of permission groups that are specified to the policy.
- Resource
Groups List<GetAccount Member Policy Resource Group> - A list of resource groups that the policy applies to.
- Access string
- Allow or deny operations against the resources. Available values: "allow", "deny".
- Id string
- Policy identifier.
- Permission
Groups []GetAccount Member Policy Permission Group - A set of permission groups that are specified to the policy.
- Resource
Groups []GetAccount Member Policy Resource Group - A list of resource groups that the policy applies to.
- access String
- Allow or deny operations against the resources. Available values: "allow", "deny".
- id String
- Policy identifier.
- permission
Groups List<GetAccount Member Policy Permission Group> - A set of permission groups that are specified to the policy.
- resource
Groups List<GetAccount Member Policy Resource Group> - A list of resource groups that the policy applies to.
- access string
- Allow or deny operations against the resources. Available values: "allow", "deny".
- id string
- Policy identifier.
- permission
Groups GetAccount Member Policy Permission Group[] - A set of permission groups that are specified to the policy.
- resource
Groups GetAccount Member Policy Resource Group[] - A list of resource groups that the policy applies to.
- access str
- Allow or deny operations against the resources. Available values: "allow", "deny".
- id str
- Policy identifier.
- permission_
groups Sequence[GetAccount Member Policy Permission Group] - A set of permission groups that are specified to the policy.
- resource_
groups Sequence[GetAccount Member Policy Resource Group] - A list of resource groups that the policy applies to.
- access String
- Allow or deny operations against the resources. Available values: "allow", "deny".
- id String
- Policy identifier.
- permission
Groups List<Property Map> - A set of permission groups that are specified to the policy.
- resource
Groups List<Property Map> - A list of resource groups that the policy applies to.
GetAccountMemberPolicyPermissionGroup
- Id string
- Identifier of the group.
- Meta
Get
Account Member Policy Permission Group Meta - Attributes associated to the permission group.
- Name string
- Name of the group.
- Id string
- Identifier of the group.
- Meta
Get
Account Member Policy Permission Group Meta - Attributes associated to the permission group.
- Name string
- Name of the group.
- id String
- Identifier of the group.
- meta
Get
Account Member Policy Permission Group Meta - Attributes associated to the permission group.
- name String
- Name of the group.
- id string
- Identifier of the group.
- meta
Get
Account Member Policy Permission Group Meta - Attributes associated to the permission group.
- name string
- Name of the group.
- id str
- Identifier of the group.
- meta
Get
Account Member Policy Permission Group Meta - Attributes associated to the permission group.
- name str
- Name of the group.
- id String
- Identifier of the group.
- meta Property Map
- Attributes associated to the permission group.
- name String
- Name of the group.
GetAccountMemberPolicyPermissionGroupMeta
GetAccountMemberPolicyResourceGroup
- Id string
- Identifier of the group.
- Meta
Get
Account Member Policy Resource Group Meta - Attributes associated to the resource group.
- Name string
- Name of the resource group.
- Scopes
List<Get
Account Member Policy Resource Group Scope> - The scope associated to the resource group
- Id string
- Identifier of the group.
- Meta
Get
Account Member Policy Resource Group Meta - Attributes associated to the resource group.
- Name string
- Name of the resource group.
- Scopes
[]Get
Account Member Policy Resource Group Scope - The scope associated to the resource group
- id String
- Identifier of the group.
- meta
Get
Account Member Policy Resource Group Meta - Attributes associated to the resource group.
- name String
- Name of the resource group.
- scopes
List<Get
Account Member Policy Resource Group Scope> - The scope associated to the resource group
- id string
- Identifier of the group.
- meta
Get
Account Member Policy Resource Group Meta - Attributes associated to the resource group.
- name string
- Name of the resource group.
- scopes
Get
Account Member Policy Resource Group Scope[] - The scope associated to the resource group
- id str
- Identifier of the group.
- meta
Get
Account Member Policy Resource Group Meta - Attributes associated to the resource group.
- name str
- Name of the resource group.
- scopes
Sequence[Get
Account Member Policy Resource Group Scope] - The scope associated to the resource group
- id String
- Identifier of the group.
- meta Property Map
- Attributes associated to the resource group.
- name String
- Name of the resource group.
- scopes List<Property Map>
- The scope associated to the resource group
GetAccountMemberPolicyResourceGroupMeta
GetAccountMemberPolicyResourceGroupScope
- Key string
- This is a combination of pre-defined resource name and identifier (like Account ID etc.)
- Objects
List<Get
Account Member Policy Resource Group Scope Object> - A list of scope objects for additional context.
- Key string
- This is a combination of pre-defined resource name and identifier (like Account ID etc.)
- Objects
[]Get
Account Member Policy Resource Group Scope Object - A list of scope objects for additional context.
- key String
- This is a combination of pre-defined resource name and identifier (like Account ID etc.)
- objects
List<Get
Account Member Policy Resource Group Scope Object> - A list of scope objects for additional context.
- key string
- This is a combination of pre-defined resource name and identifier (like Account ID etc.)
- objects
Get
Account Member Policy Resource Group Scope Object[] - A list of scope objects for additional context.
- key str
- This is a combination of pre-defined resource name and identifier (like Account ID etc.)
- objects
Sequence[Get
Account Member Policy Resource Group Scope Object] - A list of scope objects for additional context.
- key String
- This is a combination of pre-defined resource name and identifier (like Account ID etc.)
- objects List<Property Map>
- A list of scope objects for additional context.
GetAccountMemberPolicyResourceGroupScopeObject
- Key string
- This is a combination of pre-defined resource name and identifier (like Zone ID etc.)
- Key string
- This is a combination of pre-defined resource name and identifier (like Zone ID etc.)
- key String
- This is a combination of pre-defined resource name and identifier (like Zone ID etc.)
- key string
- This is a combination of pre-defined resource name and identifier (like Zone ID etc.)
- key str
- This is a combination of pre-defined resource name and identifier (like Zone ID etc.)
- key String
- This is a combination of pre-defined resource name and identifier (like Zone ID etc.)
GetAccountMemberRole
- Description string
- Description of role's permissions.
- Id string
- Role identifier tag.
- Name string
- Role name.
- Permissions
Get
Account Member Role Permissions
- Description string
- Description of role's permissions.
- Id string
- Role identifier tag.
- Name string
- Role name.
- Permissions
Get
Account Member Role Permissions
- description String
- Description of role's permissions.
- id String
- Role identifier tag.
- name String
- Role name.
- permissions
Get
Account Member Role Permissions
- description string
- Description of role's permissions.
- id string
- Role identifier tag.
- name string
- Role name.
- permissions
Get
Account Member Role Permissions
- description str
- Description of role's permissions.
- id str
- Role identifier tag.
- name str
- Role name.
- permissions
Get
Account Member Role Permissions
- description String
- Description of role's permissions.
- id String
- Role identifier tag.
- name String
- Role name.
- permissions Property Map
GetAccountMemberRolePermissions
- Analytics
Get
Account Member Role Permissions Analytics - Billing
Get
Account Member Role Permissions Billing - Cache
Purge GetAccount Member Role Permissions Cache Purge - Dns
Get
Account Member Role Permissions Dns - Dns
Records GetAccount Member Role Permissions Dns Records - Lb
Get
Account Member Role Permissions Lb - Logs
Get
Account Member Role Permissions Logs - Organization
Get
Account Member Role Permissions Organization - Ssl
Get
Account Member Role Permissions Ssl - Waf
Get
Account Member Role Permissions Waf - Zone
Settings GetAccount Member Role Permissions Zone Settings - Zones
Get
Account Member Role Permissions Zones
- Analytics
Get
Account Member Role Permissions Analytics - Billing
Get
Account Member Role Permissions Billing - Cache
Purge GetAccount Member Role Permissions Cache Purge - Dns
Get
Account Member Role Permissions Dns - Dns
Records GetAccount Member Role Permissions Dns Records - Lb
Get
Account Member Role Permissions Lb - Logs
Get
Account Member Role Permissions Logs - Organization
Get
Account Member Role Permissions Organization - Ssl
Get
Account Member Role Permissions Ssl - Waf
Get
Account Member Role Permissions Waf - Zone
Settings GetAccount Member Role Permissions Zone Settings - Zones
Get
Account Member Role Permissions Zones
- analytics
Get
Account Member Role Permissions Analytics - billing
Get
Account Member Role Permissions Billing - cache
Purge GetAccount Member Role Permissions Cache Purge - dns
Get
Account Member Role Permissions Dns - dns
Records GetAccount Member Role Permissions Dns Records - lb
Get
Account Member Role Permissions Lb - logs
Get
Account Member Role Permissions Logs - organization
Get
Account Member Role Permissions Organization - ssl
Get
Account Member Role Permissions Ssl - waf
Get
Account Member Role Permissions Waf - zone
Settings GetAccount Member Role Permissions Zone Settings - zones
Get
Account Member Role Permissions Zones
- analytics
Get
Account Member Role Permissions Analytics - billing
Get
Account Member Role Permissions Billing - cache
Purge GetAccount Member Role Permissions Cache Purge - dns
Get
Account Member Role Permissions Dns - dns
Records GetAccount Member Role Permissions Dns Records - lb
Get
Account Member Role Permissions Lb - logs
Get
Account Member Role Permissions Logs - organization
Get
Account Member Role Permissions Organization - ssl
Get
Account Member Role Permissions Ssl - waf
Get
Account Member Role Permissions Waf - zone
Settings GetAccount Member Role Permissions Zone Settings - zones
Get
Account Member Role Permissions Zones
- analytics
Get
Account Member Role Permissions Analytics - billing
Get
Account Member Role Permissions Billing - cache_
purge GetAccount Member Role Permissions Cache Purge - dns
Get
Account Member Role Permissions Dns - dns_
records GetAccount Member Role Permissions Dns Records - lb
Get
Account Member Role Permissions Lb - logs
Get
Account Member Role Permissions Logs - organization
Get
Account Member Role Permissions Organization - ssl
Get
Account Member Role Permissions Ssl - waf
Get
Account Member Role Permissions Waf - zone_
settings GetAccount Member Role Permissions Zone Settings - zones
Get
Account Member Role Permissions Zones
GetAccountMemberRolePermissionsAnalytics
GetAccountMemberRolePermissionsBilling
GetAccountMemberRolePermissionsCachePurge
GetAccountMemberRolePermissionsDns
GetAccountMemberRolePermissionsDnsRecords
GetAccountMemberRolePermissionsLb
GetAccountMemberRolePermissionsLogs
GetAccountMemberRolePermissionsOrganization
GetAccountMemberRolePermissionsSsl
GetAccountMemberRolePermissionsWaf
GetAccountMemberRolePermissionsZoneSettings
GetAccountMemberRolePermissionsZones
GetAccountMemberUser
- Email string
- The contact email address of the user.
- First
Name string - User's first name
- Id string
- Identifier
- Last
Name string - User's last name
- Two
Factor boolAuthentication Enabled - Indicates whether two-factor authentication is enabled for the user account. Does not apply to API authentication.
- Email string
- The contact email address of the user.
- First
Name string - User's first name
- Id string
- Identifier
- Last
Name string - User's last name
- Two
Factor boolAuthentication Enabled - Indicates whether two-factor authentication is enabled for the user account. Does not apply to API authentication.
- email String
- The contact email address of the user.
- first
Name String - User's first name
- id String
- Identifier
- last
Name String - User's last name
- two
Factor BooleanAuthentication Enabled - Indicates whether two-factor authentication is enabled for the user account. Does not apply to API authentication.
- email string
- The contact email address of the user.
- first
Name string - User's first name
- id string
- Identifier
- last
Name string - User's last name
- two
Factor booleanAuthentication Enabled - Indicates whether two-factor authentication is enabled for the user account. Does not apply to API authentication.
- email str
- The contact email address of the user.
- first_
name str - User's first name
- id str
- Identifier
- last_
name str - User's last name
- two_
factor_ boolauthentication_ enabled - Indicates whether two-factor authentication is enabled for the user account. Does not apply to API authentication.
- email String
- The contact email address of the user.
- first
Name String - User's first name
- id String
- Identifier
- last
Name String - User's last name
- two
Factor BooleanAuthentication Enabled - Indicates whether two-factor authentication is enabled for the user account. Does not apply to API authentication.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.