Okta v6.0.0 published on Friday, Oct 10, 2025 by Pulumi
okta.getRequestSettingResource
Retrieves the request settings for a resource.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
variables:
test:
fn::invoke:
function: okta:getRequestSettingResource
arguments:
resourceId: <id>
Using getRequestSettingResource
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 getRequestSettingResource(args: GetRequestSettingResourceArgs, opts?: InvokeOptions): Promise<GetRequestSettingResourceResult>
function getRequestSettingResourceOutput(args: GetRequestSettingResourceOutputArgs, opts?: InvokeOptions): Output<GetRequestSettingResourceResult>
def get_request_setting_resource(id: Optional[str] = None,
request_on_behalf_of_settings: Optional[GetRequestSettingResourceRequestOnBehalfOfSettings] = None,
risk_settings: Optional[GetRequestSettingResourceRiskSettings] = None,
valid_access_duration_settings: Optional[GetRequestSettingResourceValidAccessDurationSettings] = None,
valid_access_scope_settings: Optional[Sequence[GetRequestSettingResourceValidAccessScopeSetting]] = None,
valid_requester_settings: Optional[Sequence[GetRequestSettingResourceValidRequesterSetting]] = None,
opts: Optional[InvokeOptions] = None) -> GetRequestSettingResourceResult
def get_request_setting_resource_output(id: Optional[pulumi.Input[str]] = None,
request_on_behalf_of_settings: Optional[pulumi.Input[GetRequestSettingResourceRequestOnBehalfOfSettingsArgs]] = None,
risk_settings: Optional[pulumi.Input[GetRequestSettingResourceRiskSettingsArgs]] = None,
valid_access_duration_settings: Optional[pulumi.Input[GetRequestSettingResourceValidAccessDurationSettingsArgs]] = None,
valid_access_scope_settings: Optional[pulumi.Input[Sequence[pulumi.Input[GetRequestSettingResourceValidAccessScopeSettingArgs]]]] = None,
valid_requester_settings: Optional[pulumi.Input[Sequence[pulumi.Input[GetRequestSettingResourceValidRequesterSettingArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRequestSettingResourceResult]
func LookupRequestSettingResource(ctx *Context, args *LookupRequestSettingResourceArgs, opts ...InvokeOption) (*LookupRequestSettingResourceResult, error)
func LookupRequestSettingResourceOutput(ctx *Context, args *LookupRequestSettingResourceOutputArgs, opts ...InvokeOption) LookupRequestSettingResourceResultOutput
> Note: This function is named LookupRequestSettingResource
in the Go SDK.
public static class GetRequestSettingResource
{
public static Task<GetRequestSettingResourceResult> InvokeAsync(GetRequestSettingResourceArgs args, InvokeOptions? opts = null)
public static Output<GetRequestSettingResourceResult> Invoke(GetRequestSettingResourceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRequestSettingResourceResult> getRequestSettingResource(GetRequestSettingResourceArgs args, InvokeOptions options)
public static Output<GetRequestSettingResourceResult> getRequestSettingResource(GetRequestSettingResourceArgs args, InvokeOptions options)
fn::invoke:
function: okta:index/getRequestSettingResource:getRequestSettingResource
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The resource ID of the request settings to retrieve. This is the unique identifier for the resource in Okta.
- Request
On GetBehalf Of Settings Request Setting Resource Request On Behalf Of Settings - Risk settings for the resource.
- Risk
Settings GetRequest Setting Resource Risk Settings - Risk settings for the resource.
- Valid
Access GetDuration Settings Request Setting Resource Valid Access Duration Settings - Specifies if and for whom a requester may request the resource for.
- Valid
Access List<GetScope Settings Request Setting Resource Valid Access Scope Setting> - Risk settings for the resource.
- Valid
Requester List<GetSettings Request Setting Resource Valid Requester Setting> - Risk settings for the resource.
- Id string
- The resource ID of the request settings to retrieve. This is the unique identifier for the resource in Okta.
- Request
On GetBehalf Of Settings Request Setting Resource Request On Behalf Of Settings - Risk settings for the resource.
- Risk
Settings GetRequest Setting Resource Risk Settings - Risk settings for the resource.
- Valid
Access GetDuration Settings Request Setting Resource Valid Access Duration Settings - Specifies if and for whom a requester may request the resource for.
- Valid
Access []GetScope Settings Request Setting Resource Valid Access Scope Setting - Risk settings for the resource.
- Valid
Requester []GetSettings Request Setting Resource Valid Requester Setting - Risk settings for the resource.
- id String
- The resource ID of the request settings to retrieve. This is the unique identifier for the resource in Okta.
- request
On GetBehalf Of Settings Request Setting Resource Request On Behalf Of Settings - Risk settings for the resource.
- risk
Settings GetRequest Setting Resource Risk Settings - Risk settings for the resource.
- valid
Access GetDuration Settings Request Setting Resource Valid Access Duration Settings - Specifies if and for whom a requester may request the resource for.
- valid
Access List<GetScope Settings Request Setting Resource Valid Access Scope Setting> - Risk settings for the resource.
- valid
Requester List<GetSettings Request Setting Resource Valid Requester Setting> - Risk settings for the resource.
- id string
- The resource ID of the request settings to retrieve. This is the unique identifier for the resource in Okta.
- request
On GetBehalf Of Settings Request Setting Resource Request On Behalf Of Settings - Risk settings for the resource.
- risk
Settings GetRequest Setting Resource Risk Settings - Risk settings for the resource.
- valid
Access GetDuration Settings Request Setting Resource Valid Access Duration Settings - Specifies if and for whom a requester may request the resource for.
- valid
Access GetScope Settings Request Setting Resource Valid Access Scope Setting[] - Risk settings for the resource.
- valid
Requester GetSettings Request Setting Resource Valid Requester Setting[] - Risk settings for the resource.
- id str
- The resource ID of the request settings to retrieve. This is the unique identifier for the resource in Okta.
- request_
on_ Getbehalf_ of_ settings Request Setting Resource Request On Behalf Of Settings - Risk settings for the resource.
- risk_
settings GetRequest Setting Resource Risk Settings - Risk settings for the resource.
- valid_
access_ Getduration_ settings Request Setting Resource Valid Access Duration Settings - Specifies if and for whom a requester may request the resource for.
- valid_
access_ Sequence[Getscope_ settings Request Setting Resource Valid Access Scope Setting] - Risk settings for the resource.
- valid_
requester_ Sequence[Getsettings Request Setting Resource Valid Requester Setting] - Risk settings for the resource.
- id String
- The resource ID of the request settings to retrieve. This is the unique identifier for the resource in Okta.
- request
On Property MapBehalf Of Settings - Risk settings for the resource.
- risk
Settings Property Map - Risk settings for the resource.
- valid
Access Property MapDuration Settings - Specifies if and for whom a requester may request the resource for.
- valid
Access List<Property Map>Scope Settings - Risk settings for the resource.
- valid
Requester List<Property Map>Settings - Risk settings for the resource.
getRequestSettingResource Result
The following output properties are available:
- Id string
- The resource ID of the request settings to retrieve. This is the unique identifier for the resource in Okta.
- Request
On GetBehalf Of Settings Request Setting Resource Request On Behalf Of Settings - Risk settings for the resource.
- Risk
Settings GetRequest Setting Resource Risk Settings - Risk settings for the resource.
- Valid
Access GetDuration Settings Request Setting Resource Valid Access Duration Settings - Specifies if and for whom a requester may request the resource for.
- Valid
Access List<GetScope Settings Request Setting Resource Valid Access Scope Setting> - Risk settings for the resource.
- Valid
Requester List<GetSettings Request Setting Resource Valid Requester Setting> - Risk settings for the resource.
- Id string
- The resource ID of the request settings to retrieve. This is the unique identifier for the resource in Okta.
- Request
On GetBehalf Of Settings Request Setting Resource Request On Behalf Of Settings - Risk settings for the resource.
- Risk
Settings GetRequest Setting Resource Risk Settings - Risk settings for the resource.
- Valid
Access GetDuration Settings Request Setting Resource Valid Access Duration Settings - Specifies if and for whom a requester may request the resource for.
- Valid
Access []GetScope Settings Request Setting Resource Valid Access Scope Setting - Risk settings for the resource.
- Valid
Requester []GetSettings Request Setting Resource Valid Requester Setting - Risk settings for the resource.
- id String
- The resource ID of the request settings to retrieve. This is the unique identifier for the resource in Okta.
- request
On GetBehalf Of Settings Request Setting Resource Request On Behalf Of Settings - Risk settings for the resource.
- risk
Settings GetRequest Setting Resource Risk Settings - Risk settings for the resource.
- valid
Access GetDuration Settings Request Setting Resource Valid Access Duration Settings - Specifies if and for whom a requester may request the resource for.
- valid
Access List<GetScope Settings Request Setting Resource Valid Access Scope Setting> - Risk settings for the resource.
- valid
Requester List<GetSettings Request Setting Resource Valid Requester Setting> - Risk settings for the resource.
- id string
- The resource ID of the request settings to retrieve. This is the unique identifier for the resource in Okta.
- request
On GetBehalf Of Settings Request Setting Resource Request On Behalf Of Settings - Risk settings for the resource.
- risk
Settings GetRequest Setting Resource Risk Settings - Risk settings for the resource.
- valid
Access GetDuration Settings Request Setting Resource Valid Access Duration Settings - Specifies if and for whom a requester may request the resource for.
- valid
Access GetScope Settings Request Setting Resource Valid Access Scope Setting[] - Risk settings for the resource.
- valid
Requester GetSettings Request Setting Resource Valid Requester Setting[] - Risk settings for the resource.
- id str
- The resource ID of the request settings to retrieve. This is the unique identifier for the resource in Okta.
- request_
on_ Getbehalf_ of_ settings Request Setting Resource Request On Behalf Of Settings - Risk settings for the resource.
- risk_
settings GetRequest Setting Resource Risk Settings - Risk settings for the resource.
- valid_
access_ Getduration_ settings Request Setting Resource Valid Access Duration Settings - Specifies if and for whom a requester may request the resource for.
- valid_
access_ Sequence[Getscope_ settings Request Setting Resource Valid Access Scope Setting] - Risk settings for the resource.
- valid_
requester_ Sequence[Getsettings Request Setting Resource Valid Requester Setting] - Risk settings for the resource.
- id String
- The resource ID of the request settings to retrieve. This is the unique identifier for the resource in Okta.
- request
On Property MapBehalf Of Settings - Risk settings for the resource.
- risk
Settings Property Map - Risk settings for the resource.
- valid
Access Property MapDuration Settings - Specifies if and for whom a requester may request the resource for.
- valid
Access List<Property Map>Scope Settings - Risk settings for the resource.
- valid
Requester List<Property Map>Settings - Risk settings for the resource.
Supporting Types
GetRequestSettingResourceRequestOnBehalfOfSettings
- allowed Boolean
- only
Fors List<Property Map>
GetRequestSettingResourceRequestOnBehalfOfSettingsOnlyFor
- Type string
- Type string
- type String
- type string
- type str
- type String
GetRequestSettingResourceRiskSettings
- Default
Setting GetRequest Setting Resource Risk Settings Default Setting - Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user.
- Default
Setting GetRequest Setting Resource Risk Settings Default Setting - Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user.
- default
Setting GetRequest Setting Resource Risk Settings Default Setting - Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user.
- default
Setting GetRequest Setting Resource Risk Settings Default Setting - Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user.
- default_
setting GetRequest Setting Resource Risk Settings Default Setting - Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user.
- default
Setting Property Map - Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user.
GetRequestSettingResourceRiskSettingsDefaultSetting
- approval
Sequence StringId - errors List<String>
- request
Submission StringType - access
Duration Property MapSettings
GetRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings
GetRequestSettingResourceValidAccessDurationSettings
- Maximum
Days double - The maximum value allowed for a request condition or risk setting.
- Maximum
Hours double - The maximum value allowed for a request condition or risk setting.
- Maximum
Weeks double - The maximum value allowed for a request condition or risk setting.
- Required bool
- Whether accessDurationSetting must be included in the request conditions or risk settings for the specified resource.
- Supported
Types List<GetRequest Setting Resource Valid Access Duration Settings Supported Type> - Access duration settings that are eligible to be added to a request condition or risk settings for the specified resource.
- Maximum
Days float64 - The maximum value allowed for a request condition or risk setting.
- Maximum
Hours float64 - The maximum value allowed for a request condition or risk setting.
- Maximum
Weeks float64 - The maximum value allowed for a request condition or risk setting.
- Required bool
- Whether accessDurationSetting must be included in the request conditions or risk settings for the specified resource.
- Supported
Types []GetRequest Setting Resource Valid Access Duration Settings Supported Type - Access duration settings that are eligible to be added to a request condition or risk settings for the specified resource.
- maximum
Days Double - The maximum value allowed for a request condition or risk setting.
- maximum
Hours Double - The maximum value allowed for a request condition or risk setting.
- maximum
Weeks Double - The maximum value allowed for a request condition or risk setting.
- required Boolean
- Whether accessDurationSetting must be included in the request conditions or risk settings for the specified resource.
- supported
Types List<GetRequest Setting Resource Valid Access Duration Settings Supported Type> - Access duration settings that are eligible to be added to a request condition or risk settings for the specified resource.
- maximum
Days number - The maximum value allowed for a request condition or risk setting.
- maximum
Hours number - The maximum value allowed for a request condition or risk setting.
- maximum
Weeks number - The maximum value allowed for a request condition or risk setting.
- required boolean
- Whether accessDurationSetting must be included in the request conditions or risk settings for the specified resource.
- supported
Types GetRequest Setting Resource Valid Access Duration Settings Supported Type[] - Access duration settings that are eligible to be added to a request condition or risk settings for the specified resource.
- maximum_
days float - The maximum value allowed for a request condition or risk setting.
- maximum_
hours float - The maximum value allowed for a request condition or risk setting.
- maximum_
weeks float - The maximum value allowed for a request condition or risk setting.
- required bool
- Whether accessDurationSetting must be included in the request conditions or risk settings for the specified resource.
- supported_
types Sequence[GetRequest Setting Resource Valid Access Duration Settings Supported Type] - Access duration settings that are eligible to be added to a request condition or risk settings for the specified resource.
- maximum
Days Number - The maximum value allowed for a request condition or risk setting.
- maximum
Hours Number - The maximum value allowed for a request condition or risk setting.
- maximum
Weeks Number - The maximum value allowed for a request condition or risk setting.
- required Boolean
- Whether accessDurationSetting must be included in the request conditions or risk settings for the specified resource.
- supported
Types List<Property Map> - Access duration settings that are eligible to be added to a request condition or risk settings for the specified resource.
GetRequestSettingResourceValidAccessDurationSettingsSupportedType
- Type string
- Type string
- type String
- type string
- type str
- type String
GetRequestSettingResourceValidAccessScopeSetting
- Type string
- Type string
- type String
- type string
- type str
- type String
GetRequestSettingResourceValidRequesterSetting
- Type string
- Type string
- type String
- type string
- type str
- type String
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
okta
Terraform Provider.