Okta v6.0.0 published on Friday, Oct 10, 2025 by Pulumi
okta.getPrincipalRateLimits
Get the entitlements for a user and resource after evaluating all grants.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const example = okta.getPrincipalRateLimits({
id: "<principal_rate_limit_id>",
});
import pulumi
import pulumi_okta as okta
example = okta.get_principal_rate_limits(id="<principal_rate_limit_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.LookupPrincipalRateLimits(ctx, &okta.LookupPrincipalRateLimitsArgs{
Id: "<principal_rate_limit_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 example = Okta.GetPrincipalRateLimits.Invoke(new()
{
Id = "<principal_rate_limit_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.GetPrincipalRateLimitsArgs;
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 example = OktaFunctions.getPrincipalRateLimits(GetPrincipalRateLimitsArgs.builder()
.id("<principal_rate_limit_id>")
.build());
}
}
variables:
example:
fn::invoke:
function: okta:getPrincipalRateLimits
arguments:
id: <principal_rate_limit_id>
Using getPrincipalRateLimits
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 getPrincipalRateLimits(args: GetPrincipalRateLimitsArgs, opts?: InvokeOptions): Promise<GetPrincipalRateLimitsResult>
function getPrincipalRateLimitsOutput(args: GetPrincipalRateLimitsOutputArgs, opts?: InvokeOptions): Output<GetPrincipalRateLimitsResult>
def get_principal_rate_limits(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrincipalRateLimitsResult
def get_principal_rate_limits_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrincipalRateLimitsResult]
func LookupPrincipalRateLimits(ctx *Context, args *LookupPrincipalRateLimitsArgs, opts ...InvokeOption) (*LookupPrincipalRateLimitsResult, error)
func LookupPrincipalRateLimitsOutput(ctx *Context, args *LookupPrincipalRateLimitsOutputArgs, opts ...InvokeOption) LookupPrincipalRateLimitsResultOutput
> Note: This function is named LookupPrincipalRateLimits
in the Go SDK.
public static class GetPrincipalRateLimits
{
public static Task<GetPrincipalRateLimitsResult> InvokeAsync(GetPrincipalRateLimitsArgs args, InvokeOptions? opts = null)
public static Output<GetPrincipalRateLimitsResult> Invoke(GetPrincipalRateLimitsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrincipalRateLimitsResult> getPrincipalRateLimits(GetPrincipalRateLimitsArgs args, InvokeOptions options)
public static Output<GetPrincipalRateLimitsResult> getPrincipalRateLimits(GetPrincipalRateLimitsArgs args, InvokeOptions options)
fn::invoke:
function: okta:index/getPrincipalRateLimits:getPrincipalRateLimits
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The unique identifier of the principle rate limit entity.
- Id string
- The unique identifier of the principle rate limit entity.
- id String
- The unique identifier of the principle rate limit entity.
- id string
- The unique identifier of the principle rate limit entity.
- id str
- The unique identifier of the principle rate limit entity.
- id String
- The unique identifier of the principle rate limit entity.
getPrincipalRateLimits Result
The following output properties are available:
- Created
By string - The ID of the user who created the principal rate limit.
- Created
Date string - The date and time when the principal rate limit was created.
- Default
Concurrency intPercentage - The default concurrency percentage for the principal rate limit.
- Default
Percentage int - The default percentage for the principal rate limit.
- Id string
- The unique identifier of the principle rate limit entity.
- Last
Update string - Last
Updated stringBy - The ID of the user who last updated the principal rate limit.
- Org
Id string - The unique identifier of the Okta organization.
- Principal
Id string - The unique identifier of the principal. This is the ID of the API token or OAuth 2.0 app.
- Principal
Type string - The type of principal, either an API token or an OAuth 2.0 app.
- Created
By string - The ID of the user who created the principal rate limit.
- Created
Date string - The date and time when the principal rate limit was created.
- Default
Concurrency intPercentage - The default concurrency percentage for the principal rate limit.
- Default
Percentage int - The default percentage for the principal rate limit.
- Id string
- The unique identifier of the principle rate limit entity.
- Last
Update string - Last
Updated stringBy - The ID of the user who last updated the principal rate limit.
- Org
Id string - The unique identifier of the Okta organization.
- Principal
Id string - The unique identifier of the principal. This is the ID of the API token or OAuth 2.0 app.
- Principal
Type string - The type of principal, either an API token or an OAuth 2.0 app.
- created
By String - The ID of the user who created the principal rate limit.
- created
Date String - The date and time when the principal rate limit was created.
- default
Concurrency IntegerPercentage - The default concurrency percentage for the principal rate limit.
- default
Percentage Integer - The default percentage for the principal rate limit.
- id String
- The unique identifier of the principle rate limit entity.
- last
Update String - last
Updated StringBy - The ID of the user who last updated the principal rate limit.
- org
Id String - The unique identifier of the Okta organization.
- principal
Id String - The unique identifier of the principal. This is the ID of the API token or OAuth 2.0 app.
- principal
Type String - The type of principal, either an API token or an OAuth 2.0 app.
- created
By string - The ID of the user who created the principal rate limit.
- created
Date string - The date and time when the principal rate limit was created.
- default
Concurrency numberPercentage - The default concurrency percentage for the principal rate limit.
- default
Percentage number - The default percentage for the principal rate limit.
- id string
- The unique identifier of the principle rate limit entity.
- last
Update string - last
Updated stringBy - The ID of the user who last updated the principal rate limit.
- org
Id string - The unique identifier of the Okta organization.
- principal
Id string - The unique identifier of the principal. This is the ID of the API token or OAuth 2.0 app.
- principal
Type string - The type of principal, either an API token or an OAuth 2.0 app.
- created_
by str - The ID of the user who created the principal rate limit.
- created_
date str - The date and time when the principal rate limit was created.
- default_
concurrency_ intpercentage - The default concurrency percentage for the principal rate limit.
- default_
percentage int - The default percentage for the principal rate limit.
- id str
- The unique identifier of the principle rate limit entity.
- last_
update str - last_
updated_ strby - The ID of the user who last updated the principal rate limit.
- org_
id str - The unique identifier of the Okta organization.
- principal_
id str - The unique identifier of the principal. This is the ID of the API token or OAuth 2.0 app.
- principal_
type str - The type of principal, either an API token or an OAuth 2.0 app.
- created
By String - The ID of the user who created the principal rate limit.
- created
Date String - The date and time when the principal rate limit was created.
- default
Concurrency NumberPercentage - The default concurrency percentage for the principal rate limit.
- default
Percentage Number - The default percentage for the principal rate limit.
- id String
- The unique identifier of the principle rate limit entity.
- last
Update String - last
Updated StringBy - The ID of the user who last updated the principal rate limit.
- org
Id String - The unique identifier of the Okta organization.
- principal
Id String - The unique identifier of the principal. This is the ID of the API token or OAuth 2.0 app.
- principal
Type String - The type of principal, either an API token or an OAuth 2.0 app.
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
okta
Terraform Provider.