Viewing docs for Okta v6.3.1
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Viewing docs for Okta v6.3.1
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Retrieves the full representation of a specific request.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const test = okta.getRequestV2({
id: "<request_id>",
});
import pulumi
import pulumi_okta as okta
test = okta.get_request_v2(id="<request_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.LookupRequestV2(ctx, &okta.LookupRequestV2Args{
Id: "<request_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.GetRequestV2.Invoke(new()
{
Id = "<request_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.GetRequestV2Args;
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.getRequestV2(GetRequestV2Args.builder()
.id("<request_id>")
.build());
}
}
variables:
test:
fn::invoke:
function: okta:getRequestV2
arguments:
id: <request_id>
Using getRequestV2
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 getRequestV2(args: GetRequestV2Args, opts?: InvokeOptions): Promise<GetRequestV2Result>
function getRequestV2Output(args: GetRequestV2OutputArgs, opts?: InvokeOptions): Output<GetRequestV2Result>def get_request_v2(id: Optional[str] = None,
requested: Optional[GetRequestV2Requested] = None,
requested_by: Optional[GetRequestV2RequestedBy] = None,
requested_for: Optional[GetRequestV2RequestedFor] = None,
opts: Optional[InvokeOptions] = None) -> GetRequestV2Result
def get_request_v2_output(id: Optional[pulumi.Input[str]] = None,
requested: Optional[pulumi.Input[GetRequestV2RequestedArgs]] = None,
requested_by: Optional[pulumi.Input[GetRequestV2RequestedByArgs]] = None,
requested_for: Optional[pulumi.Input[GetRequestV2RequestedForArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRequestV2Result]func LookupRequestV2(ctx *Context, args *LookupRequestV2Args, opts ...InvokeOption) (*LookupRequestV2Result, error)
func LookupRequestV2Output(ctx *Context, args *LookupRequestV2OutputArgs, opts ...InvokeOption) LookupRequestV2ResultOutput> Note: This function is named LookupRequestV2 in the Go SDK.
public static class GetRequestV2
{
public static Task<GetRequestV2Result> InvokeAsync(GetRequestV2Args args, InvokeOptions? opts = null)
public static Output<GetRequestV2Result> Invoke(GetRequestV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRequestV2Result> getRequestV2(GetRequestV2Args args, InvokeOptions options)
public static Output<GetRequestV2Result> getRequestV2(GetRequestV2Args args, InvokeOptions options)
fn::invoke:
function: okta:index/getRequestV2:getRequestV2
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The ID of the request.
- Requested
Get
Request V2Requested - A representation of a resource that can be requested for access.
- Requested
By GetRequest V2Requested By - A representation of a principal.
- Requested
For GetRequest V2Requested For - A representation of a principal.
- Id string
- The ID of the request.
- Requested
Get
Request V2Requested - A representation of a resource that can be requested for access.
- Requested
By GetRequest V2Requested By - A representation of a principal.
- Requested
For GetRequest V2Requested For - A representation of a principal.
- id String
- The ID of the request.
- requested
Get
Request V2Requested - A representation of a resource that can be requested for access.
- requested
By GetRequest V2Requested By - A representation of a principal.
- requested
For GetRequest V2Requested For - A representation of a principal.
- id string
- The ID of the request.
- requested
Get
Request V2Requested - A representation of a resource that can be requested for access.
- requested
By GetRequest V2Requested By - A representation of a principal.
- requested
For GetRequest V2Requested For - A representation of a principal.
- id str
- The ID of the request.
- requested
Get
Request V2Requested - A representation of a resource that can be requested for access.
- requested_
by GetRequest V2Requested By - A representation of a principal.
- requested_
for GetRequest V2Requested For - A representation of a principal.
- id String
- The ID of the request.
- requested Property Map
- A representation of a resource that can be requested for access.
- requested
By Property Map - A representation of a principal.
- requested
For Property Map - A representation of a principal.
getRequestV2 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
- The ID of the request.
- 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.
- Status string
- The status of the request.
- Requested
Get
Request V2Requested - A representation of a resource that can be requested for access.
- Requested
By GetRequest V2Requested By - A representation of a principal.
- Requested
For GetRequest V2Requested For - A representation of a principal.
- 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
- The ID of the request.
- 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.
- Status string
- The status of the request.
- Requested
Get
Request V2Requested - A representation of a resource that can be requested for access.
- Requested
By GetRequest V2Requested By - A representation of a principal.
- Requested
For GetRequest V2Requested For - A representation of a principal.
- 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
- The ID of the request.
- 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.
- status String
- The status of the request.
- requested
Get
Request V2Requested - A representation of a resource that can be requested for access.
- requested
By GetRequest V2Requested By - A representation of a principal.
- requested
For GetRequest V2Requested For - A representation of a principal.
- 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
- The ID of the request.
- 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.
- status string
- The status of the request.
- requested
Get
Request V2Requested - A representation of a resource that can be requested for access.
- requested
By GetRequest V2Requested By - A representation of a principal.
- requested
For GetRequest V2Requested For - A representation of a principal.
- 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
- The ID of the request.
- 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.
- status str
- The status of the request.
- requested
Get
Request V2Requested - A representation of a resource that can be requested for access.
- requested_
by GetRequest V2Requested By - A representation of a principal.
- requested_
for GetRequest V2Requested For - A representation of a principal.
- 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
- The ID of the request.
- 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.
- status String
- The status of the request.
- requested Property Map
- A representation of a resource that can be requested for access.
- requested
By Property Map - A representation of a principal.
- requested
For Property Map - A representation of a principal.
Supporting Types
GetRequestV2Requested
- Access
Scope stringId - The ID of the access scope associated with the resource.
- Access
Scope stringType - The access scope type.
- Entry
Id string - The ID of the resource catalog entry.
- Resource
Id string - The ID of the requested resource.
- Resource
Type string - The requested resource type.
- Type string
- The type of the resource.
- Access
Scope stringId - The ID of the access scope associated with the resource.
- Access
Scope stringType - The access scope type.
- Entry
Id string - The ID of the resource catalog entry.
- Resource
Id string - The ID of the requested resource.
- Resource
Type string - The requested resource type.
- Type string
- The type of the resource.
- access
Scope StringId - The ID of the access scope associated with the resource.
- access
Scope StringType - The access scope type.
- entry
Id String - The ID of the resource catalog entry.
- resource
Id String - The ID of the requested resource.
- resource
Type String - The requested resource type.
- type String
- The type of the resource.
- access
Scope stringId - The ID of the access scope associated with the resource.
- access
Scope stringType - The access scope type.
- entry
Id string - The ID of the resource catalog entry.
- resource
Id string - The ID of the requested resource.
- resource
Type string - The requested resource type.
- type string
- The type of the resource.
- access_
scope_ strid - The ID of the access scope associated with the resource.
- access_
scope_ strtype - The access scope type.
- entry_
id str - The ID of the resource catalog entry.
- resource_
id str - The ID of the requested resource.
- resource_
type str - The requested resource type.
- type str
- The type of the resource.
- access
Scope StringId - The ID of the access scope associated with the resource.
- access
Scope StringType - The access scope type.
- entry
Id String - The ID of the resource catalog entry.
- resource
Id String - The ID of the requested resource.
- resource
Type String - The requested resource type.
- type String
- The type of the resource.
GetRequestV2RequestedBy
- External
Id string - The Okta user id.
- Type string
- The type of principal.
- External
Id string - The Okta user id.
- Type string
- The type of principal.
- external
Id String - The Okta user id.
- type String
- The type of principal.
- external
Id string - The Okta user id.
- type string
- The type of principal.
- external_
id str - The Okta user id.
- type str
- The type of principal.
- external
Id String - The Okta user id.
- type String
- The type of principal.
GetRequestV2RequestedFor
- External
Id string - The ID of the Okta user.
- Type string
- The type of principal.
- External
Id string - The ID of the Okta user.
- Type string
- The type of principal.
- external
Id String - The ID of the Okta user.
- type String
- The type of principal.
- external
Id string - The ID of the Okta user.
- type string
- The type of principal.
- external_
id str - The ID of the Okta user.
- type str
- The type of principal.
- external
Id String - The ID of the Okta user.
- type String
- The type of principal.
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oktaTerraform Provider.
Viewing docs for Okta v6.3.1
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
