1. Packages
  2. Powerscale Provider
  3. API Docs
  4. getRole
powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell

powerscale.getRole

Explore with Pulumi AI

powerscale logo
powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell

    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.
    RolesDetails List<GetRoleRolesDetail>
    List of Roles.
    Filter GetRoleFilter
    Id string
    Unique identifier of the network pool instance.
    RolesDetails []GetRoleRolesDetail
    List of Roles.
    Filter GetRoleFilter
    id String
    Unique identifier of the network pool instance.
    rolesDetails List<GetRoleRolesDetail>
    List of Roles.
    filter GetRoleFilter
    id string
    Unique identifier of the network pool instance.
    rolesDetails GetRoleRolesDetail[]
    List of Roles.
    filter GetRoleFilter
    id str
    Unique identifier of the network pool instance.
    roles_details Sequence[GetRoleRolesDetail]
    List of Roles.
    filter GetRoleFilter
    id String
    Unique identifier of the network pool instance.
    rolesDetails List<Property Map>
    List of Roles.
    filter Property Map

    Supporting Types

    GetRoleFilter

    Names List<string>
    Filter roles by names.
    Zone string
    Specifies which access zone to use.
    Names []string
    Filter roles by names.
    Zone string
    Specifies which access zone to use.
    names List<String>
    Filter roles by names.
    zone String
    Specifies which access zone to use.
    names string[]
    Filter roles by names.
    zone string
    Specifies which access zone to use.
    names Sequence[str]
    Filter roles by names.
    zone str
    Specifies which access zone to use.
    names List<String>
    Filter roles by names.
    zone String
    Specifies which access zone to use.

    GetRoleRolesDetail

    Description string
    Specifies the description of the role.
    Id string
    Specifies the ID of the role.
    Members List<GetRoleRolesDetailMember>
    Specifies the users or groups that have this role.
    Name string
    Specifies the name of the role.
    Privileges List<GetRoleRolesDetailPrivilege>
    Specifies the privileges granted by this role.
    Description string
    Specifies the description of the role.
    Id string
    Specifies the ID of the role.
    Members []GetRoleRolesDetailMember
    Specifies the users or groups that have this role.
    Name string
    Specifies the name of the role.
    Privileges []GetRoleRolesDetailPrivilege
    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<GetRoleRolesDetailMember>
    Specifies the users or groups that have this role.
    name String
    Specifies the name of the role.
    privileges List<GetRoleRolesDetailPrivilege>
    Specifies the privileges granted by this role.
    description string
    Specifies the description of the role.
    id string
    Specifies the ID of the role.
    members GetRoleRolesDetailMember[]
    Specifies the users or groups that have this role.
    name string
    Specifies the name of the role.
    privileges GetRoleRolesDetailPrivilege[]
    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[GetRoleRolesDetailMember]
    Specifies the users or groups that have this role.
    name str
    Specifies the name of the role.
    privileges Sequence[GetRoleRolesDetailPrivilege]
    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

    Id string
    Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.
    Name string
    Specifies the persona name, which must be combined with a type.
    Type string
    Specifies the type of persona, which must be combined with a name.
    Id string
    Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.
    Name string
    Specifies the persona name, which must be combined with a type.
    Type string
    Specifies the type of persona, which must be combined with a name.
    id String
    Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.
    name String
    Specifies the persona name, which must be combined with a type.
    type String
    Specifies the type of persona, which must be combined with a name.
    id string
    Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.
    name string
    Specifies the persona name, which must be combined with a type.
    type string
    Specifies the type of persona, which must be combined with a name.
    id str
    Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.
    name str
    Specifies the persona name, which must be combined with a type.
    type str
    Specifies the type of persona, which must be combined with a name.
    id String
    Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.
    name String
    Specifies the persona name, which must be combined with a type.
    type String
    Specifies the type of persona, which must be combined with a name.

    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.
    powerscale logo
    powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell