Using getIamRole
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 getIamRole(args: GetIamRoleArgs, opts?: InvokeOptions): Promise<GetIamRoleResult>
function getIamRoleOutput(args: GetIamRoleOutputArgs, opts?: InvokeOptions): Output<GetIamRoleResult>def get_iam_role(role_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetIamRoleResult
def get_iam_role_output(role_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIamRoleResult]func LookupIamRole(ctx *Context, args *LookupIamRoleArgs, opts ...InvokeOption) (*LookupIamRoleResult, error)
func LookupIamRoleOutput(ctx *Context, args *LookupIamRoleOutputArgs, opts ...InvokeOption) LookupIamRoleResultOutput> Note: This function is named LookupIamRole in the Go SDK.
public static class GetIamRole
{
public static Task<GetIamRoleResult> InvokeAsync(GetIamRoleArgs args, InvokeOptions? opts = null)
public static Output<GetIamRoleResult> Invoke(GetIamRoleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIamRoleResult> getIamRole(GetIamRoleArgs args, InvokeOptions options)
public static Output<GetIamRoleResult> getIamRole(GetIamRoleArgs args, InvokeOptions options)
fn::invoke:
function: akamai:index/getIamRole:getIamRole
arguments:
# arguments dictionaryThe following arguments are supported:
- Role
Id int
- Role
Id int
- role
Id Integer
- role
Id number
- role_
id int
- role
Id Number
getIamRole Result
The following output properties are available:
- Actions
Get
Iam Role Actions - Created
By string - Created
Date string - Granted
Roles List<GetIam Role Granted Role> - Id string
- The provider-assigned unique ID for this managed resource.
- Modified
By string - Modified
Date string - Role
Description string - Role
Id int - Role
Name string - Type string
- Users
List<Get
Iam Role User>
- Actions
Get
Iam Role Actions - Created
By string - Created
Date string - Granted
Roles []GetIam Role Granted Role - Id string
- The provider-assigned unique ID for this managed resource.
- Modified
By string - Modified
Date string - Role
Description string - Role
Id int - Role
Name string - Type string
- Users
[]Get
Iam Role User
- actions
Get
Iam Role Actions - created
By String - created
Date String - granted
Roles List<GetIam Role Granted Role> - id String
- The provider-assigned unique ID for this managed resource.
- modified
By String - modified
Date String - role
Description String - role
Id Integer - role
Name String - type String
- users
List<Get
Iam Role User>
- actions
Get
Iam Role Actions - created
By string - created
Date string - granted
Roles GetIam Role Granted Role[] - id string
- The provider-assigned unique ID for this managed resource.
- modified
By string - modified
Date string - role
Description string - role
Id number - role
Name string - type string
- users
Get
Iam Role User[]
- actions
Get
Iam Role Actions - created_
by str - created_
date str - granted_
roles Sequence[GetIam Role Granted Role] - id str
- The provider-assigned unique ID for this managed resource.
- modified_
by str - modified_
date str - role_
description str - role_
id int - role_
name str - type str
- users
Sequence[Get
Iam Role User]
- actions Property Map
- created
By String - created
Date String - granted
Roles List<Property Map> - id String
- The provider-assigned unique ID for this managed resource.
- modified
By String - modified
Date String - role
Description String - role
Id Number - role
Name String - type String
- users List<Property Map>
Supporting Types
GetIamRoleActions
GetIamRoleGrantedRole
- Granted
Role stringDescription - Descriptive label for the role to convey its use.
- Granted
Role intId - Unique identifier for each granted role.
- Granted
Role stringName - Descriptive label for the granted role.
- Granted
Role stringDescription - Descriptive label for the role to convey its use.
- Granted
Role intId - Unique identifier for each granted role.
- Granted
Role stringName - Descriptive label for the granted role.
- granted
Role StringDescription - Descriptive label for the role to convey its use.
- granted
Role IntegerId - Unique identifier for each granted role.
- granted
Role StringName - Descriptive label for the granted role.
- granted
Role stringDescription - Descriptive label for the role to convey its use.
- granted
Role numberId - Unique identifier for each granted role.
- granted
Role stringName - Descriptive label for the granted role.
- granted_
role_ strdescription - Descriptive label for the role to convey its use.
- granted_
role_ intid - Unique identifier for each granted role.
- granted_
role_ strname - Descriptive label for the granted role.
- granted
Role StringDescription - Descriptive label for the role to convey its use.
- granted
Role NumberId - Unique identifier for each granted role.
- granted
Role StringName - Descriptive label for the granted role.
GetIamRoleUser
- Account
Id string - Unique identifier for each account.
- Email string
- The user's email address.
- First
Name string - The user's first name.
- Last
Login stringDate - ISO 8601 timestamp indicating when the user last logged in.
- Last
Name string - The user's surname.
- Ui
Identity stringId - Unique identifier for each user, which corresponds to their Control Center profile or client ID. Also known as a contactId in other APIs.
- Account
Id string - Unique identifier for each account.
- Email string
- The user's email address.
- First
Name string - The user's first name.
- Last
Login stringDate - ISO 8601 timestamp indicating when the user last logged in.
- Last
Name string - The user's surname.
- Ui
Identity stringId - Unique identifier for each user, which corresponds to their Control Center profile or client ID. Also known as a contactId in other APIs.
- account
Id String - Unique identifier for each account.
- email String
- The user's email address.
- first
Name String - The user's first name.
- last
Login StringDate - ISO 8601 timestamp indicating when the user last logged in.
- last
Name String - The user's surname.
- ui
Identity StringId - Unique identifier for each user, which corresponds to their Control Center profile or client ID. Also known as a contactId in other APIs.
- account
Id string - Unique identifier for each account.
- email string
- The user's email address.
- first
Name string - The user's first name.
- last
Login stringDate - ISO 8601 timestamp indicating when the user last logged in.
- last
Name string - The user's surname.
- ui
Identity stringId - Unique identifier for each user, which corresponds to their Control Center profile or client ID. Also known as a contactId in other APIs.
- account_
id str - Unique identifier for each account.
- email str
- The user's email address.
- first_
name str - The user's first name.
- last_
login_ strdate - ISO 8601 timestamp indicating when the user last logged in.
- last_
name str - The user's surname.
- ui_
identity_ strid - Unique identifier for each user, which corresponds to their Control Center profile or client ID. Also known as a contactId in other APIs.
- account
Id String - Unique identifier for each account.
- email String
- The user's email address.
- first
Name String - The user's first name.
- last
Login StringDate - ISO 8601 timestamp indicating when the user last logged in.
- last
Name String - The user's surname.
- ui
Identity StringId - Unique identifier for each user, which corresponds to their Control Center profile or client ID. Also known as a contactId in other APIs.
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamaiTerraform Provider.
