Okta v5.2.0 published on Thursday, Sep 4, 2025 by Pulumi
okta.getRealmAssignment
Explore with Pulumi AI
Get a realm assignment from Okta.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
variables:
exampleName:
fn::invoke:
function: okta:getRealmAssignment
arguments:
name: Example Realm Assignment
exampleId:
fn::invoke:
function: okta:getRealmAssignment
arguments:
id: <realm_assignment_id>
Using getRealmAssignment
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 getRealmAssignment(args: GetRealmAssignmentArgs, opts?: InvokeOptions): Promise<GetRealmAssignmentResult>
function getRealmAssignmentOutput(args: GetRealmAssignmentOutputArgs, opts?: InvokeOptions): Output<GetRealmAssignmentResult>
def get_realm_assignment(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRealmAssignmentResult
def get_realm_assignment_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRealmAssignmentResult]
func LookupRealmAssignment(ctx *Context, args *LookupRealmAssignmentArgs, opts ...InvokeOption) (*LookupRealmAssignmentResult, error)
func LookupRealmAssignmentOutput(ctx *Context, args *LookupRealmAssignmentOutputArgs, opts ...InvokeOption) LookupRealmAssignmentResultOutput
> Note: This function is named LookupRealmAssignment
in the Go SDK.
public static class GetRealmAssignment
{
public static Task<GetRealmAssignmentResult> InvokeAsync(GetRealmAssignmentArgs args, InvokeOptions? opts = null)
public static Output<GetRealmAssignmentResult> Invoke(GetRealmAssignmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRealmAssignmentResult> getRealmAssignment(GetRealmAssignmentArgs args, InvokeOptions options)
public static Output<GetRealmAssignmentResult> getRealmAssignment(GetRealmAssignmentArgs args, InvokeOptions options)
fn::invoke:
function: okta:index/getRealmAssignment:getRealmAssignment
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the Okta Realm Assignment.
- Name string
- The name of the Okta Realm Assignment.
- name String
- The name of the Okta Realm Assignment.
- name string
- The name of the Okta Realm Assignment.
- name str
- The name of the Okta Realm Assignment.
- name String
- The name of the Okta Realm Assignment.
getRealmAssignment Result
The following output properties are available:
- Condition
Expression string - Condition expression for the Realm Assignment in Okta Expression Language. Example:
user.profile.role =="Manager"
oruser.profile.state.contains("example")
. - Id string
- Realm Assignment ID.
- Is
Default bool - Indicates whether the realm assignment is the default.
- Priority int
- The Priority of the Realm Assignment. The lower the number, the higher the priority.
- Profile
Source stringId - The ID of the Profile Source.
- Realm
Id string - The ID of the Realm asscociated with the Realm Assignment.
- Status string
- Defines whether the Realm Assignment is active or not. Valid values:
ACTIVE
andINACTIVE
. - Name string
- The name of the Okta Realm Assignment.
- Condition
Expression string - Condition expression for the Realm Assignment in Okta Expression Language. Example:
user.profile.role =="Manager"
oruser.profile.state.contains("example")
. - Id string
- Realm Assignment ID.
- Is
Default bool - Indicates whether the realm assignment is the default.
- Priority int
- The Priority of the Realm Assignment. The lower the number, the higher the priority.
- Profile
Source stringId - The ID of the Profile Source.
- Realm
Id string - The ID of the Realm asscociated with the Realm Assignment.
- Status string
- Defines whether the Realm Assignment is active or not. Valid values:
ACTIVE
andINACTIVE
. - Name string
- The name of the Okta Realm Assignment.
- condition
Expression String - Condition expression for the Realm Assignment in Okta Expression Language. Example:
user.profile.role =="Manager"
oruser.profile.state.contains("example")
. - id String
- Realm Assignment ID.
- is
Default Boolean - Indicates whether the realm assignment is the default.
- priority Integer
- The Priority of the Realm Assignment. The lower the number, the higher the priority.
- profile
Source StringId - The ID of the Profile Source.
- realm
Id String - The ID of the Realm asscociated with the Realm Assignment.
- status String
- Defines whether the Realm Assignment is active or not. Valid values:
ACTIVE
andINACTIVE
. - name String
- The name of the Okta Realm Assignment.
- condition
Expression string - Condition expression for the Realm Assignment in Okta Expression Language. Example:
user.profile.role =="Manager"
oruser.profile.state.contains("example")
. - id string
- Realm Assignment ID.
- is
Default boolean - Indicates whether the realm assignment is the default.
- priority number
- The Priority of the Realm Assignment. The lower the number, the higher the priority.
- profile
Source stringId - The ID of the Profile Source.
- realm
Id string - The ID of the Realm asscociated with the Realm Assignment.
- status string
- Defines whether the Realm Assignment is active or not. Valid values:
ACTIVE
andINACTIVE
. - name string
- The name of the Okta Realm Assignment.
- condition_
expression str - Condition expression for the Realm Assignment in Okta Expression Language. Example:
user.profile.role =="Manager"
oruser.profile.state.contains("example")
. - id str
- Realm Assignment ID.
- is_
default bool - Indicates whether the realm assignment is the default.
- priority int
- The Priority of the Realm Assignment. The lower the number, the higher the priority.
- profile_
source_ strid - The ID of the Profile Source.
- realm_
id str - The ID of the Realm asscociated with the Realm Assignment.
- status str
- Defines whether the Realm Assignment is active or not. Valid values:
ACTIVE
andINACTIVE
. - name str
- The name of the Okta Realm Assignment.
- condition
Expression String - Condition expression for the Realm Assignment in Okta Expression Language. Example:
user.profile.role =="Manager"
oruser.profile.state.contains("example")
. - id String
- Realm Assignment ID.
- is
Default Boolean - Indicates whether the realm assignment is the default.
- priority Number
- The Priority of the Realm Assignment. The lower the number, the higher the priority.
- profile
Source StringId - The ID of the Profile Source.
- realm
Id String - The ID of the Realm asscociated with the Realm Assignment.
- status String
- Defines whether the Realm Assignment is active or not. Valid values:
ACTIVE
andINACTIVE
. - name String
- The name of the Okta Realm Assignment.
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
okta
Terraform Provider.