Class GetRealm
Inheritance
System.Object
GetRealm
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 GetRealm
Methods
View SourceInvokeAsync(GetRealmArgs, InvokeOptions)
# keycloak..Realm data source
This data source can be used to fetch properties of a Keycloak realm for usage with other resources.
Example Usage
using Pulumi;
using Keycloak = Pulumi.Keycloak;
class MyStack : Stack
{
public MyStack()
{
var realm = Output.Create(Keycloak.GetRealm.InvokeAsync(new Keycloak.GetRealmArgs
{
Realm = "my-realm",
}));
var @group = new Keycloak.Role("group", new Keycloak.RoleArgs
{
RealmId = data.Keycloak_realm.Id,
});
}
}
Argument Reference
The following arguments are supported:
realm- (Required) The realm name.
Attributes Reference
See the docs for the keycloak..Realm resource for details on the exported attributes.
Declaration
public static Task<GetRealmResult> InvokeAsync(GetRealmArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetRealmArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetRealmResult> |