Show / Hide Table of Contents

Class GetRole

Inheritance
System.Object
GetRole
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Keycloak
Assembly: Pulumi.Keycloak.dll
Syntax
public static class GetRole

Methods

View Source

InvokeAsync(GetRoleArgs, InvokeOptions)

# keycloak..Role data source

This data source can be used to fetch properties of a Keycloak role for usage with other resources, such as keycloak..GroupRoles.

Argument Reference

The following arguments are supported:

  • realm_id - (Required) The realm this role exists within.
  • client_id - (Optional) When specified, this role is assumed to be a client role belonging to the client with the provided ID
  • name - (Required) The name of the role

Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

  • id - The unique ID of the role, which can be used as an argument to other resources supported by this provider.
  • description - The description of the role.
Declaration
public static Task<GetRoleResult> InvokeAsync(GetRoleArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetRoleArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetRoleResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.