getAccountRoles

Use this data source to lookup Account Roles.

Using getAccountRoles

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 getAccountRoles(args: GetAccountRolesArgs, opts?: InvokeOptions): Promise<GetAccountRolesResult>
function getAccountRolesOutput(args: GetAccountRolesOutputArgs, opts?: InvokeOptions): Output<GetAccountRolesResult>
def get_account_roles(account_id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetAccountRolesResult
def get_account_roles_output(account_id: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetAccountRolesResult]
func GetAccountRoles(ctx *Context, args *GetAccountRolesArgs, opts ...InvokeOption) (*GetAccountRolesResult, error)
func GetAccountRolesOutput(ctx *Context, args *GetAccountRolesOutputArgs, opts ...InvokeOption) GetAccountRolesResultOutput

> Note: This function is named GetAccountRoles in the Go SDK.

public static class GetAccountRoles 
{
    public static Task<GetAccountRolesResult> InvokeAsync(GetAccountRolesArgs args, InvokeOptions? opts = null)
    public static Output<GetAccountRolesResult> Invoke(GetAccountRolesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAccountRolesResult> getAccountRoles(GetAccountRolesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: cloudflare:index/getAccountRoles:getAccountRoles
  arguments:
    # arguments dictionary

The following arguments are supported:

AccountId string

The account for which to list the roles.

AccountId string

The account for which to list the roles.

accountId String

The account for which to list the roles.

accountId string

The account for which to list the roles.

account_id str

The account for which to list the roles.

accountId String

The account for which to list the roles.

getAccountRoles Result

The following output properties are available:

AccountId string
Id string

The provider-assigned unique ID for this managed resource.

Roles List<GetAccountRolesRole>

A list of roles object. See below for nested attributes.

AccountId string
Id string

The provider-assigned unique ID for this managed resource.

Roles []GetAccountRolesRole

A list of roles object. See below for nested attributes.

accountId String
id String

The provider-assigned unique ID for this managed resource.

roles List<GetAccountRolesRole>

A list of roles object. See below for nested attributes.

accountId string
id string

The provider-assigned unique ID for this managed resource.

roles GetAccountRolesRole[]

A list of roles object. See below for nested attributes.

account_id str
id str

The provider-assigned unique ID for this managed resource.

roles Sequence[GetAccountRolesRole]

A list of roles object. See below for nested attributes.

accountId String
id String

The provider-assigned unique ID for this managed resource.

roles List<Property Map>

A list of roles object. See below for nested attributes.

Supporting Types

GetAccountRolesRole

Description string

Description of role's permissions

Id string

Role identifier tag

Name string

Role Name

Description string

Description of role's permissions

Id string

Role identifier tag

Name string

Role Name

description String

Description of role's permissions

id String

Role identifier tag

name String

Role Name

description string

Description of role's permissions

id string

Role identifier tag

name string

Role Name

description str

Description of role's permissions

id str

Role identifier tag

name str

Role Name

description String

Description of role's permissions

id String

Role identifier tag

name String

Role Name

Package Details

Repository
https://github.com/pulumi/pulumi-cloudflare
License
Apache-2.0
Notes

This Pulumi package is based on the cloudflare Terraform Provider.