powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell
powerscale.getRole
Explore with Pulumi AI
This datasource is used to query the existing roles from PowerScale array. The information fetched from this datasource can be used for getting the details or for further processing in resource block. You can permit and limit access to administrative areas of your cluster on a per-user basis through roles.
Using getRole
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 getRole(args: GetRoleArgs, opts?: InvokeOptions): Promise<GetRoleResult>
function getRoleOutput(args: GetRoleOutputArgs, opts?: InvokeOptions): Output<GetRoleResult>
def get_role(filter: Optional[GetRoleFilter] = None,
opts: Optional[InvokeOptions] = None) -> GetRoleResult
def get_role_output(filter: Optional[pulumi.Input[GetRoleFilterArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRoleResult]
func LookupRole(ctx *Context, args *LookupRoleArgs, opts ...InvokeOption) (*LookupRoleResult, error)
func LookupRoleOutput(ctx *Context, args *LookupRoleOutputArgs, opts ...InvokeOption) LookupRoleResultOutput
> Note: This function is named LookupRole
in the Go SDK.
public static class GetRole
{
public static Task<GetRoleResult> InvokeAsync(GetRoleArgs args, InvokeOptions? opts = null)
public static Output<GetRoleResult> Invoke(GetRoleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRoleResult> getRole(GetRoleArgs args, InvokeOptions options)
public static Output<GetRoleResult> getRole(GetRoleArgs args, InvokeOptions options)
fn::invoke:
function: powerscale:index/getRole:getRole
arguments:
# arguments dictionary
The following arguments are supported:
getRole Result
The following output properties are available:
- Id string
- Unique identifier of the network pool instance.
- Roles
Details List<GetRole Roles Detail> - List of Roles.
- Filter
Get
Role Filter
- Id string
- Unique identifier of the network pool instance.
- Roles
Details []GetRole Roles Detail - List of Roles.
- Filter
Get
Role Filter
- id String
- Unique identifier of the network pool instance.
- roles
Details List<GetRole Roles Detail> - List of Roles.
- filter
Get
Role Filter
- id string
- Unique identifier of the network pool instance.
- roles
Details GetRole Roles Detail[] - List of Roles.
- filter
Get
Role Filter
- id str
- Unique identifier of the network pool instance.
- roles_
details Sequence[GetRole Roles Detail] - List of Roles.
- filter
Get
Role Filter
- id String
- Unique identifier of the network pool instance.
- roles
Details List<Property Map> - List of Roles.
- filter Property Map
Supporting Types
GetRoleFilter
GetRoleRolesDetail
- Description string
- Specifies the description of the role.
- Id string
- Specifies the ID of the role.
- Members
List<Get
Role Roles Detail Member> - Specifies the users or groups that have this role.
- Name string
- Specifies the name of the role.
- Privileges
List<Get
Role Roles Detail Privilege> - Specifies the privileges granted by this role.
- Description string
- Specifies the description of the role.
- Id string
- Specifies the ID of the role.
- Members
[]Get
Role Roles Detail Member - Specifies the users or groups that have this role.
- Name string
- Specifies the name of the role.
- Privileges
[]Get
Role Roles Detail Privilege - Specifies the privileges granted by this role.
- description String
- Specifies the description of the role.
- id String
- Specifies the ID of the role.
- members
List<Get
Role Roles Detail Member> - Specifies the users or groups that have this role.
- name String
- Specifies the name of the role.
- privileges
List<Get
Role Roles Detail Privilege> - Specifies the privileges granted by this role.
- description string
- Specifies the description of the role.
- id string
- Specifies the ID of the role.
- members
Get
Role Roles Detail Member[] - Specifies the users or groups that have this role.
- name string
- Specifies the name of the role.
- privileges
Get
Role Roles Detail Privilege[] - Specifies the privileges granted by this role.
- description str
- Specifies the description of the role.
- id str
- Specifies the ID of the role.
- members
Sequence[Get
Role Roles Detail Member] - Specifies the users or groups that have this role.
- name str
- Specifies the name of the role.
- privileges
Sequence[Get
Role Roles Detail Privilege] - Specifies the privileges granted by this role.
- description String
- Specifies the description of the role.
- id String
- Specifies the ID of the role.
- members List<Property Map>
- Specifies the users or groups that have this role.
- name String
- Specifies the name of the role.
- privileges List<Property Map>
- Specifies the privileges granted by this role.
GetRoleRolesDetailMember
GetRoleRolesDetailPrivilege
- Id string
- Specifies the ID of the privilege.
- Name string
- Specifies the name of the privilege.
- Permission string
- permission of the privilege, 'r' = read , 'x' = read-execute, 'w' = read-execute-write, '-' = no permission
- Id string
- Specifies the ID of the privilege.
- Name string
- Specifies the name of the privilege.
- Permission string
- permission of the privilege, 'r' = read , 'x' = read-execute, 'w' = read-execute-write, '-' = no permission
- id String
- Specifies the ID of the privilege.
- name String
- Specifies the name of the privilege.
- permission String
- permission of the privilege, 'r' = read , 'x' = read-execute, 'w' = read-execute-write, '-' = no permission
- id string
- Specifies the ID of the privilege.
- name string
- Specifies the name of the privilege.
- permission string
- permission of the privilege, 'r' = read , 'x' = read-execute, 'w' = read-execute-write, '-' = no permission
- id str
- Specifies the ID of the privilege.
- name str
- Specifies the name of the privilege.
- permission str
- permission of the privilege, 'r' = read , 'x' = read-execute, 'w' = read-execute-write, '-' = no permission
- id String
- Specifies the ID of the privilege.
- name String
- Specifies the name of the privilege.
- permission String
- permission of the privilege, 'r' = read , 'x' = read-execute, 'w' = read-execute-write, '-' = no permission
Package Details
- Repository
- powerscale dell/terraform-provider-powerscale
- License
- Notes
- This Pulumi package is based on the
powerscale
Terraform Provider.