1. Packages
  2. Okta Provider
  3. API Docs
  4. getRealmAssignment
Okta v5.2.0 published on Thursday, Sep 4, 2025 by Pulumi

okta.getRealmAssignment

Explore with Pulumi AI

okta logo
Okta v5.2.0 published on Thursday, Sep 4, 2025 by Pulumi

    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:

    ConditionExpression string
    Condition expression for the Realm Assignment in Okta Expression Language. Example: user.profile.role =="Manager" or user.profile.state.contains("example").
    Id string
    Realm Assignment ID.
    IsDefault 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.
    ProfileSourceId string
    The ID of the Profile Source.
    RealmId 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 and INACTIVE.
    Name string
    The name of the Okta Realm Assignment.
    ConditionExpression string
    Condition expression for the Realm Assignment in Okta Expression Language. Example: user.profile.role =="Manager" or user.profile.state.contains("example").
    Id string
    Realm Assignment ID.
    IsDefault 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.
    ProfileSourceId string
    The ID of the Profile Source.
    RealmId 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 and INACTIVE.
    Name string
    The name of the Okta Realm Assignment.
    conditionExpression String
    Condition expression for the Realm Assignment in Okta Expression Language. Example: user.profile.role =="Manager" or user.profile.state.contains("example").
    id String
    Realm Assignment ID.
    isDefault 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.
    profileSourceId String
    The ID of the Profile Source.
    realmId 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 and INACTIVE.
    name String
    The name of the Okta Realm Assignment.
    conditionExpression string
    Condition expression for the Realm Assignment in Okta Expression Language. Example: user.profile.role =="Manager" or user.profile.state.contains("example").
    id string
    Realm Assignment ID.
    isDefault 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.
    profileSourceId string
    The ID of the Profile Source.
    realmId 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 and INACTIVE.
    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" or user.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_id str
    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 and INACTIVE.
    name str
    The name of the Okta Realm Assignment.
    conditionExpression String
    Condition expression for the Realm Assignment in Okta Expression Language. Example: user.profile.role =="Manager" or user.profile.state.contains("example").
    id String
    Realm Assignment ID.
    isDefault 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.
    profileSourceId String
    The ID of the Profile Source.
    realmId 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 and INACTIVE.
    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.
    okta logo
    Okta v5.2.0 published on Thursday, Sep 4, 2025 by Pulumi