Okta v6.0.0 published on Friday, Oct 10, 2025 by Pulumi
okta.getRequestCondition
Retrieves a resource request condition
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const test = okta.getRequestCondition({
id: "<request_condition_id>",
resourceId: "<resource_id>",
});
import pulumi
import pulumi_okta as okta
test = okta.get_request_condition(id="<request_condition_id>",
resource_id="<resource_id>")
package main
import (
"github.com/pulumi/pulumi-okta/sdk/v6/go/okta"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := okta.LookupRequestCondition(ctx, &okta.LookupRequestConditionArgs{
Id: "<request_condition_id>",
ResourceId: "<resource_id>",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Okta = Pulumi.Okta;
return await Deployment.RunAsync(() =>
{
var test = Okta.GetRequestCondition.Invoke(new()
{
Id = "<request_condition_id>",
ResourceId = "<resource_id>",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.okta.OktaFunctions;
import com.pulumi.okta.inputs.GetRequestConditionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = OktaFunctions.getRequestCondition(GetRequestConditionArgs.builder()
.id("<request_condition_id>")
.resourceId("<resource_id>")
.build());
}
}
variables:
test:
fn::invoke:
function: okta:getRequestCondition
arguments:
id: <request_condition_id>
resourceId: <resource_id>
Using getRequestCondition
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 getRequestCondition(args: GetRequestConditionArgs, opts?: InvokeOptions): Promise<GetRequestConditionResult>
function getRequestConditionOutput(args: GetRequestConditionOutputArgs, opts?: InvokeOptions): Output<GetRequestConditionResult>
def get_request_condition(access_scope_settings: Optional[GetRequestConditionAccessScopeSettings] = None,
id: Optional[str] = None,
requester_settings: Optional[GetRequestConditionRequesterSettings] = None,
resource_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRequestConditionResult
def get_request_condition_output(access_scope_settings: Optional[pulumi.Input[GetRequestConditionAccessScopeSettingsArgs]] = None,
id: Optional[pulumi.Input[str]] = None,
requester_settings: Optional[pulumi.Input[GetRequestConditionRequesterSettingsArgs]] = None,
resource_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRequestConditionResult]
func LookupRequestCondition(ctx *Context, args *LookupRequestConditionArgs, opts ...InvokeOption) (*LookupRequestConditionResult, error)
func LookupRequestConditionOutput(ctx *Context, args *LookupRequestConditionOutputArgs, opts ...InvokeOption) LookupRequestConditionResultOutput
> Note: This function is named LookupRequestCondition
in the Go SDK.
public static class GetRequestCondition
{
public static Task<GetRequestConditionResult> InvokeAsync(GetRequestConditionArgs args, InvokeOptions? opts = null)
public static Output<GetRequestConditionResult> Invoke(GetRequestConditionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRequestConditionResult> getRequestCondition(GetRequestConditionArgs args, InvokeOptions options)
public static Output<GetRequestConditionResult> getRequestCondition(GetRequestConditionArgs args, InvokeOptions options)
fn::invoke:
function: okta:index/getRequestCondition:getRequestCondition
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Request condition id.
- Resource
Id string - The id of the resource in Okta ID format.
- Access
Scope GetSettings Request Condition Access Scope Settings - Requester
Settings GetRequest Condition Requester Settings
- Id string
- Request condition id.
- Resource
Id string - The id of the resource in Okta ID format.
- Access
Scope GetSettings Request Condition Access Scope Settings - Requester
Settings GetRequest Condition Requester Settings
- id String
- Request condition id.
- resource
Id String - The id of the resource in Okta ID format.
- access
Scope GetSettings Request Condition Access Scope Settings - requester
Settings GetRequest Condition Requester Settings
- id string
- Request condition id.
- resource
Id string - The id of the resource in Okta ID format.
- access
Scope GetSettings Request Condition Access Scope Settings - requester
Settings GetRequest Condition Requester Settings
- id str
- Request condition id.
- resource_
id str - The id of the resource in Okta ID format.
- access_
scope_ Getsettings Request Condition Access Scope Settings - requester_
settings GetRequest Condition Requester Settings
- id String
- Request condition id.
- resource
Id String - The id of the resource in Okta ID format.
- access
Scope Property MapSettings - requester
Settings Property Map
getRequestCondition Result
The following output properties are available:
- Created string
- The date and time when the request condition was created.
- Created
By string - The id of the user who created the request condition.
- Id string
- Request condition id.
- Last
Updated string - The date and time when the request condition was last updated.
- Last
Updated stringBy - The id of the user who last updated the request condition.
- Name string
- The name of the request condition.
- Priority int
- The priority of the request condition. Lower numbers indicate higher priority.
- Resource
Id string - The id of the resource in Okta ID format.
- Status string
- Status indicates if this condition is active or not. Default status is INACTIVE. Enum:
ACTIVE
,INACTIVE
,DELETED
,INVALID
. - Access
Scope GetSettings Request Condition Access Scope Settings - Requester
Settings GetRequest Condition Requester Settings
- Created string
- The date and time when the request condition was created.
- Created
By string - The id of the user who created the request condition.
- Id string
- Request condition id.
- Last
Updated string - The date and time when the request condition was last updated.
- Last
Updated stringBy - The id of the user who last updated the request condition.
- Name string
- The name of the request condition.
- Priority int
- The priority of the request condition. Lower numbers indicate higher priority.
- Resource
Id string - The id of the resource in Okta ID format.
- Status string
- Status indicates if this condition is active or not. Default status is INACTIVE. Enum:
ACTIVE
,INACTIVE
,DELETED
,INVALID
. - Access
Scope GetSettings Request Condition Access Scope Settings - Requester
Settings GetRequest Condition Requester Settings
- created String
- The date and time when the request condition was created.
- created
By String - The id of the user who created the request condition.
- id String
- Request condition id.
- last
Updated String - The date and time when the request condition was last updated.
- last
Updated StringBy - The id of the user who last updated the request condition.
- name String
- The name of the request condition.
- priority Integer
- The priority of the request condition. Lower numbers indicate higher priority.
- resource
Id String - The id of the resource in Okta ID format.
- status String
- Status indicates if this condition is active or not. Default status is INACTIVE. Enum:
ACTIVE
,INACTIVE
,DELETED
,INVALID
. - access
Scope GetSettings Request Condition Access Scope Settings - requester
Settings GetRequest Condition Requester Settings
- created string
- The date and time when the request condition was created.
- created
By string - The id of the user who created the request condition.
- id string
- Request condition id.
- last
Updated string - The date and time when the request condition was last updated.
- last
Updated stringBy - The id of the user who last updated the request condition.
- name string
- The name of the request condition.
- priority number
- The priority of the request condition. Lower numbers indicate higher priority.
- resource
Id string - The id of the resource in Okta ID format.
- status string
- Status indicates if this condition is active or not. Default status is INACTIVE. Enum:
ACTIVE
,INACTIVE
,DELETED
,INVALID
. - access
Scope GetSettings Request Condition Access Scope Settings - requester
Settings GetRequest Condition Requester Settings
- created str
- The date and time when the request condition was created.
- created_
by str - The id of the user who created the request condition.
- id str
- Request condition id.
- last_
updated str - The date and time when the request condition was last updated.
- last_
updated_ strby - The id of the user who last updated the request condition.
- name str
- The name of the request condition.
- priority int
- The priority of the request condition. Lower numbers indicate higher priority.
- resource_
id str - The id of the resource in Okta ID format.
- status str
- Status indicates if this condition is active or not. Default status is INACTIVE. Enum:
ACTIVE
,INACTIVE
,DELETED
,INVALID
. - access_
scope_ Getsettings Request Condition Access Scope Settings - requester_
settings GetRequest Condition Requester Settings
- created String
- The date and time when the request condition was created.
- created
By String - The id of the user who created the request condition.
- id String
- Request condition id.
- last
Updated String - The date and time when the request condition was last updated.
- last
Updated StringBy - The id of the user who last updated the request condition.
- name String
- The name of the request condition.
- priority Number
- The priority of the request condition. Lower numbers indicate higher priority.
- resource
Id String - The id of the resource in Okta ID format.
- status String
- Status indicates if this condition is active or not. Default status is INACTIVE. Enum:
ACTIVE
,INACTIVE
,DELETED
,INVALID
. - access
Scope Property MapSettings - requester
Settings Property Map
Supporting Types
GetRequestConditionAccessScopeSettings
- Type string
- Ids
List<Get
Request Condition Access Scope Settings Id> - List of groups/entitlement bundles.
- Type string
- Ids
[]Get
Request Condition Access Scope Settings Id - List of groups/entitlement bundles.
- type String
- ids
List<Get
Request Condition Access Scope Settings Id> - List of groups/entitlement bundles.
- type string
- ids
Get
Request Condition Access Scope Settings Id[] - List of groups/entitlement bundles.
- type str
- ids
Sequence[Get
Request Condition Access Scope Settings Id] - List of groups/entitlement bundles.
- type String
- ids List<Property Map>
- List of groups/entitlement bundles.
GetRequestConditionAccessScopeSettingsId
- Id string
- Request condition id.
- Id string
- Request condition id.
- id String
- Request condition id.
- id string
- Request condition id.
- id str
- Request condition id.
- id String
- Request condition id.
GetRequestConditionRequesterSettings
- Type string
- Ids
List<Get
Request Condition Requester Settings Id> - List of teams/groups ids.
- Type string
- Ids
[]Get
Request Condition Requester Settings Id - List of teams/groups ids.
- type String
- ids
List<Get
Request Condition Requester Settings Id> - List of teams/groups ids.
- type string
- ids
Get
Request Condition Requester Settings Id[] - List of teams/groups ids.
- type str
- ids
Sequence[Get
Request Condition Requester Settings Id] - List of teams/groups ids.
- type String
- ids List<Property Map>
- List of teams/groups ids.
GetRequestConditionRequesterSettingsId
- Id string
- Request condition id.
- Id string
- Request condition id.
- id String
- Request condition id.
- id string
- Request condition id.
- id str
- Request condition id.
- id String
- Request condition id.
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
okta
Terraform Provider.