powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell
powerscale.getRoleprivilege
Explore with Pulumi AI
This datasource is used to query the existing Role Privileges 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 designate certain privileges as no permission, read, execute, or write when adding the privilege to a role.
Using getRoleprivilege
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 getRoleprivilege(args: GetRoleprivilegeArgs, opts?: InvokeOptions): Promise<GetRoleprivilegeResult>
function getRoleprivilegeOutput(args: GetRoleprivilegeOutputArgs, opts?: InvokeOptions): Output<GetRoleprivilegeResult>
def get_roleprivilege(filter: Optional[GetRoleprivilegeFilter] = None,
opts: Optional[InvokeOptions] = None) -> GetRoleprivilegeResult
def get_roleprivilege_output(filter: Optional[pulumi.Input[GetRoleprivilegeFilterArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRoleprivilegeResult]
func GetRoleprivilege(ctx *Context, args *GetRoleprivilegeArgs, opts ...InvokeOption) (*GetRoleprivilegeResult, error)
func GetRoleprivilegeOutput(ctx *Context, args *GetRoleprivilegeOutputArgs, opts ...InvokeOption) GetRoleprivilegeResultOutput
> Note: This function is named GetRoleprivilege
in the Go SDK.
public static class GetRoleprivilege
{
public static Task<GetRoleprivilegeResult> InvokeAsync(GetRoleprivilegeArgs args, InvokeOptions? opts = null)
public static Output<GetRoleprivilegeResult> Invoke(GetRoleprivilegeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRoleprivilegeResult> getRoleprivilege(GetRoleprivilegeArgs args, InvokeOptions options)
public static Output<GetRoleprivilegeResult> getRoleprivilege(GetRoleprivilegeArgs args, InvokeOptions options)
fn::invoke:
function: powerscale:index/getRoleprivilege:getRoleprivilege
arguments:
# arguments dictionary
The following arguments are supported:
getRoleprivilege Result
The following output properties are available:
- Id string
- Unique identifier of the Role Privilege instance.
- Role
Privileges List<GetDetails Roleprivilege Role Privileges Detail> - List of Role Privileges.
- Filter
Get
Roleprivilege Filter
- Id string
- Unique identifier of the Role Privilege instance.
- Role
Privileges []GetDetails Roleprivilege Role Privileges Detail - List of Role Privileges.
- Filter
Get
Roleprivilege Filter
- id String
- Unique identifier of the Role Privilege instance.
- role
Privileges List<GetDetails Roleprivilege Role Privileges Detail> - List of Role Privileges.
- filter
Get
Roleprivilege Filter
- id string
- Unique identifier of the Role Privilege instance.
- role
Privileges GetDetails Roleprivilege Role Privileges Detail[] - List of Role Privileges.
- filter
Get
Roleprivilege Filter
- id str
- Unique identifier of the Role Privilege instance.
- role_
privileges_ Sequence[Getdetails Roleprivilege Role Privileges Detail] - List of Role Privileges.
- filter
Get
Roleprivilege Filter
- id String
- Unique identifier of the Role Privilege instance.
- role
Privileges List<Property Map>Details - List of Role Privileges.
- filter Property Map
Supporting Types
GetRoleprivilegeFilter
- Names List<string>
- Filter Role Privileges by names.
- Names []string
- Filter Role Privileges by names.
- names List<String>
- Filter Role Privileges by names.
- names string[]
- Filter Role Privileges by names.
- names Sequence[str]
- Filter Role Privileges by names.
- names List<String>
- Filter Role Privileges by names.
GetRoleprivilegeRolePrivilegesDetail
- Category string
- Specifies the general categorization of the privilege.
- Description string
- Specifies a short description of the privilege.
- Id string
- Specifies the ID of the privilege.
- Name string
- Specifies the name of the privilege.
- Parent
Id string - Specifies the parent ID of the privilege.
- Permission string
- Permissions the privilege has r=read , x=read-execute, w=read-execute-write.
- Privilegelevel string
- Specifies the level of the privilege.
- Uri string
- Specifies the associated uri for the privilege.
- Category string
- Specifies the general categorization of the privilege.
- Description string
- Specifies a short description of the privilege.
- Id string
- Specifies the ID of the privilege.
- Name string
- Specifies the name of the privilege.
- Parent
Id string - Specifies the parent ID of the privilege.
- Permission string
- Permissions the privilege has r=read , x=read-execute, w=read-execute-write.
- Privilegelevel string
- Specifies the level of the privilege.
- Uri string
- Specifies the associated uri for the privilege.
- category String
- Specifies the general categorization of the privilege.
- description String
- Specifies a short description of the privilege.
- id String
- Specifies the ID of the privilege.
- name String
- Specifies the name of the privilege.
- parent
Id String - Specifies the parent ID of the privilege.
- permission String
- Permissions the privilege has r=read , x=read-execute, w=read-execute-write.
- privilegelevel String
- Specifies the level of the privilege.
- uri String
- Specifies the associated uri for the privilege.
- category string
- Specifies the general categorization of the privilege.
- description string
- Specifies a short description of the privilege.
- id string
- Specifies the ID of the privilege.
- name string
- Specifies the name of the privilege.
- parent
Id string - Specifies the parent ID of the privilege.
- permission string
- Permissions the privilege has r=read , x=read-execute, w=read-execute-write.
- privilegelevel string
- Specifies the level of the privilege.
- uri string
- Specifies the associated uri for the privilege.
- category str
- Specifies the general categorization of the privilege.
- description str
- Specifies a short description of the privilege.
- id str
- Specifies the ID of the privilege.
- name str
- Specifies the name of the privilege.
- parent_
id str - Specifies the parent ID of the privilege.
- permission str
- Permissions the privilege has r=read , x=read-execute, w=read-execute-write.
- privilegelevel str
- Specifies the level of the privilege.
- uri str
- Specifies the associated uri for the privilege.
- category String
- Specifies the general categorization of the privilege.
- description String
- Specifies a short description of the privilege.
- id String
- Specifies the ID of the privilege.
- name String
- Specifies the name of the privilege.
- parent
Id String - Specifies the parent ID of the privilege.
- permission String
- Permissions the privilege has r=read , x=read-execute, w=read-execute-write.
- privilegelevel String
- Specifies the level of the privilege.
- uri String
- Specifies the associated uri for the privilege.
Package Details
- Repository
- powerscale dell/terraform-provider-powerscale
- License
- Notes
- This Pulumi package is based on the
powerscale
Terraform Provider.