Okta v6.0.0 published on Friday, Oct 10, 2025 by Pulumi
okta.getRequestSequence
Retrieves a access request sequence referenced by the specified resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const test = okta.getRequestSequence({
id: "<sequence_id>",
resourceId: "<resource_id>",
});
import pulumi
import pulumi_okta as okta
test = okta.get_request_sequence(id="<sequence_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.LookupRequestSequence(ctx, &okta.LookupRequestSequenceArgs{
Id: "<sequence_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.GetRequestSequence.Invoke(new()
{
Id = "<sequence_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.GetRequestSequenceArgs;
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.getRequestSequence(GetRequestSequenceArgs.builder()
.id("<sequence_id>")
.resourceId("<resource_id>")
.build());
}
}
variables:
test:
fn::invoke:
function: okta:getRequestSequence
arguments:
id: <sequence_id>
resourceId: <resource_id>
Using getRequestSequence
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 getRequestSequence(args: GetRequestSequenceArgs, opts?: InvokeOptions): Promise<GetRequestSequenceResult>
function getRequestSequenceOutput(args: GetRequestSequenceOutputArgs, opts?: InvokeOptions): Output<GetRequestSequenceResult>
def get_request_sequence(id: Optional[str] = None,
resource_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRequestSequenceResult
def get_request_sequence_output(id: Optional[pulumi.Input[str]] = None,
resource_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRequestSequenceResult]
func LookupRequestSequence(ctx *Context, args *LookupRequestSequenceArgs, opts ...InvokeOption) (*LookupRequestSequenceResult, error)
func LookupRequestSequenceOutput(ctx *Context, args *LookupRequestSequenceOutputArgs, opts ...InvokeOption) LookupRequestSequenceResultOutput
> Note: This function is named LookupRequestSequence
in the Go SDK.
public static class GetRequestSequence
{
public static Task<GetRequestSequenceResult> InvokeAsync(GetRequestSequenceArgs args, InvokeOptions? opts = null)
public static Output<GetRequestSequenceResult> Invoke(GetRequestSequenceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRequestSequenceResult> getRequestSequence(GetRequestSequenceArgs args, InvokeOptions options)
public static Output<GetRequestSequenceResult> getRequestSequence(GetRequestSequenceArgs args, InvokeOptions options)
fn::invoke:
function: okta:index/getRequestSequence:getRequestSequence
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The id of the sequence.Must be of 24 characters length.
- Resource
Id string - The id of the resource in Okta ID format.
- Id string
- The id of the sequence.Must be of 24 characters length.
- Resource
Id string - The id of the resource in Okta ID format.
- id String
- The id of the sequence.Must be of 24 characters length.
- resource
Id String - The id of the resource in Okta ID format.
- id string
- The id of the sequence.Must be of 24 characters length.
- resource
Id string - The id of the resource in Okta ID format.
- id str
- The id of the sequence.Must be of 24 characters length.
- resource_
id str - The id of the resource in Okta ID format.
- id String
- The id of the sequence.Must be of 24 characters length.
- resource
Id String - The id of the resource in Okta ID format.
getRequestSequence Result
The following output properties are available:
- Compatible
Resource List<string>Types - Enum:
APP
,GROUP
. - Description string
- The description of the request condition.
- Id string
- The id of the sequence.Must be of 24 characters length.
- Link string
- Link to edit the request sequence.
- Name string
- The access duration settings for the request condition
- Resource
Id string - The id of the resource in Okta ID format.
- Compatible
Resource []stringTypes - Enum:
APP
,GROUP
. - Description string
- The description of the request condition.
- Id string
- The id of the sequence.Must be of 24 characters length.
- Link string
- Link to edit the request sequence.
- Name string
- The access duration settings for the request condition
- Resource
Id string - The id of the resource in Okta ID format.
- compatible
Resource List<String>Types - Enum:
APP
,GROUP
. - description String
- The description of the request condition.
- id String
- The id of the sequence.Must be of 24 characters length.
- link String
- Link to edit the request sequence.
- name String
- The access duration settings for the request condition
- resource
Id String - The id of the resource in Okta ID format.
- compatible
Resource string[]Types - Enum:
APP
,GROUP
. - description string
- The description of the request condition.
- id string
- The id of the sequence.Must be of 24 characters length.
- link string
- Link to edit the request sequence.
- name string
- The access duration settings for the request condition
- resource
Id string - The id of the resource in Okta ID format.
- compatible_
resource_ Sequence[str]types - Enum:
APP
,GROUP
. - description str
- The description of the request condition.
- id str
- The id of the sequence.Must be of 24 characters length.
- link str
- Link to edit the request sequence.
- name str
- The access duration settings for the request condition
- resource_
id str - The id of the resource in Okta ID format.
- compatible
Resource List<String>Types - Enum:
APP
,GROUP
. - description String
- The description of the request condition.
- id String
- The id of the sequence.Must be of 24 characters length.
- link String
- Link to edit the request sequence.
- name String
- The access duration settings for the request condition
- resource
Id String - The id of the resource in Okta ID format.
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
okta
Terraform Provider.