Viewing docs for Auth0 v3.50.1
published on Saturday, Aug 8, 2026 by Pulumi
published on Saturday, Aug 8, 2026 by Pulumi
Viewing docs for Auth0 v3.50.1
published on Saturday, Aug 8, 2026 by Pulumi
published on Saturday, Aug 8, 2026 by Pulumi
Data source to retrieve a single Rate Limit Policy by ID. (EA only)
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as auth0 from "@pulumi/auth0";
const example = auth0.getRateLimitPolicy({
policyId: "rlp_XXXXXXXXXXXXXXXX",
});
import pulumi
import pulumi_auth0 as auth0
example = auth0.get_rate_limit_policy(policy_id="rlp_XXXXXXXXXXXXXXXX")
package main
import (
"github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := auth0.GetRateLimitPolicy(ctx, &auth0.LookupRateLimitPolicyArgs{
PolicyId: "rlp_XXXXXXXXXXXXXXXX",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Auth0 = Pulumi.Auth0;
return await Deployment.RunAsync(() =>
{
var example = Auth0.GetRateLimitPolicy.Invoke(new()
{
PolicyId = "rlp_XXXXXXXXXXXXXXXX",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.auth0.Auth0Functions;
import com.pulumi.auth0.inputs.GetRateLimitPolicyArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 = Auth0Functions.getRateLimitPolicy(GetRateLimitPolicyArgs.builder()
.policyId("rlp_XXXXXXXXXXXXXXXX")
.build());
}
}
variables:
example:
fn::invoke:
function: auth0:getRateLimitPolicy
arguments:
policyId: rlp_XXXXXXXXXXXXXXXX
pulumi {
required_providers {
auth0 = {
source = "pulumi/auth0"
}
}
}
data "auth0_getratelimitpolicy" "example" {
policy_id = "rlp_XXXXXXXXXXXXXXXX"
}
Using getRateLimitPolicy
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 getRateLimitPolicy(args: GetRateLimitPolicyArgs, opts?: InvokeOptions): Promise<GetRateLimitPolicyResult>
function getRateLimitPolicyOutput(args: GetRateLimitPolicyOutputArgs, opts?: InvokeOptions): Output<GetRateLimitPolicyResult>def get_rate_limit_policy(policy_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRateLimitPolicyResult
def get_rate_limit_policy_output(policy_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRateLimitPolicyResult]func LookupRateLimitPolicy(ctx *Context, args *LookupRateLimitPolicyArgs, opts ...InvokeOption) (*LookupRateLimitPolicyResult, error)
func LookupRateLimitPolicyOutput(ctx *Context, args *LookupRateLimitPolicyOutputArgs, opts ...InvokeOption) LookupRateLimitPolicyResultOutput> Note: This function is named LookupRateLimitPolicy in the Go SDK.
public static class GetRateLimitPolicy
{
public static Task<GetRateLimitPolicyResult> InvokeAsync(GetRateLimitPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetRateLimitPolicyResult> Invoke(GetRateLimitPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRateLimitPolicyResult> getRateLimitPolicy(GetRateLimitPolicyArgs args, InvokeOptions options)
public static Output<GetRateLimitPolicyResult> getRateLimitPolicy(GetRateLimitPolicyArgs args, InvokeOptions options)
fn::invoke:
function: auth0:index/getRateLimitPolicy:getRateLimitPolicy
arguments:
# arguments dictionarydata "auth0_get_rate_limit_policy" "name" {
# arguments
}The following arguments are supported:
- Policy
Id string - The ID of the Rate Limit Policy. (EA only)
- Policy
Id string - The ID of the Rate Limit Policy. (EA only)
- policy_
id string - The ID of the Rate Limit Policy. (EA only)
- policy
Id String - The ID of the Rate Limit Policy. (EA only)
- policy
Id string - The ID of the Rate Limit Policy. (EA only)
- policy_
id str - The ID of the Rate Limit Policy. (EA only)
- policy
Id String - The ID of the Rate Limit Policy. (EA only)
getRateLimitPolicy Result
The following output properties are available:
- Configurations
List<Get
Rate Limit Policy Configuration> - The throttling configuration applied when the rate limit is reached. (EA only)
- Consumer string
- The consumer category the policy applies to. Valid values are: client
- Consumer
Selector string - Identifier or category within the consumer to which the policy applies. Supported values:
client_id:<client_id>,client_id:<cimd_uri>,cimdClients,thirdPartyClients, ordefault. (EA only) - Created
At string - The date and time when the rate limit policy was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Policy
Id string - The ID of the Rate Limit Policy. (EA only)
- Resource string
- The resource the policy applies to. Valid values are: oauthauthenticationapi
- Updated
At string - The date and time when the rate limit policy was last updated.
- Configurations
[]Get
Rate Limit Policy Configuration - The throttling configuration applied when the rate limit is reached. (EA only)
- Consumer string
- The consumer category the policy applies to. Valid values are: client
- Consumer
Selector string - Identifier or category within the consumer to which the policy applies. Supported values:
client_id:<client_id>,client_id:<cimd_uri>,cimdClients,thirdPartyClients, ordefault. (EA only) - Created
At string - The date and time when the rate limit policy was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Policy
Id string - The ID of the Rate Limit Policy. (EA only)
- Resource string
- The resource the policy applies to. Valid values are: oauthauthenticationapi
- Updated
At string - The date and time when the rate limit policy was last updated.
- configurations list(object)
- The throttling configuration applied when the rate limit is reached. (EA only)
- consumer string
- The consumer category the policy applies to. Valid values are: client
- consumer_
selector string - Identifier or category within the consumer to which the policy applies. Supported values:
client_id:<client_id>,client_id:<cimd_uri>,cimdClients,thirdPartyClients, ordefault. (EA only) - created_
at string - The date and time when the rate limit policy was created.
- id string
- The provider-assigned unique ID for this managed resource.
- policy_
id string - The ID of the Rate Limit Policy. (EA only)
- resource string
- The resource the policy applies to. Valid values are: oauthauthenticationapi
- updated_
at string - The date and time when the rate limit policy was last updated.
- configurations
List<Get
Rate Limit Policy Configuration> - The throttling configuration applied when the rate limit is reached. (EA only)
- consumer String
- The consumer category the policy applies to. Valid values are: client
- consumer
Selector String - Identifier or category within the consumer to which the policy applies. Supported values:
client_id:<client_id>,client_id:<cimd_uri>,cimdClients,thirdPartyClients, ordefault. (EA only) - created
At String - The date and time when the rate limit policy was created.
- id String
- The provider-assigned unique ID for this managed resource.
- policy
Id String - The ID of the Rate Limit Policy. (EA only)
- resource String
- The resource the policy applies to. Valid values are: oauthauthenticationapi
- updated
At String - The date and time when the rate limit policy was last updated.
- configurations
Get
Rate Limit Policy Configuration[] - The throttling configuration applied when the rate limit is reached. (EA only)
- consumer string
- The consumer category the policy applies to. Valid values are: client
- consumer
Selector string - Identifier or category within the consumer to which the policy applies. Supported values:
client_id:<client_id>,client_id:<cimd_uri>,cimdClients,thirdPartyClients, ordefault. (EA only) - created
At string - The date and time when the rate limit policy was created.
- id string
- The provider-assigned unique ID for this managed resource.
- policy
Id string - The ID of the Rate Limit Policy. (EA only)
- resource string
- The resource the policy applies to. Valid values are: oauthauthenticationapi
- updated
At string - The date and time when the rate limit policy was last updated.
- configurations
Sequence[Get
Rate Limit Policy Configuration] - The throttling configuration applied when the rate limit is reached. (EA only)
- consumer str
- The consumer category the policy applies to. Valid values are: client
- consumer_
selector str - Identifier or category within the consumer to which the policy applies. Supported values:
client_id:<client_id>,client_id:<cimd_uri>,cimdClients,thirdPartyClients, ordefault. (EA only) - created_
at str - The date and time when the rate limit policy was created.
- id str
- The provider-assigned unique ID for this managed resource.
- policy_
id str - The ID of the Rate Limit Policy. (EA only)
- resource str
- The resource the policy applies to. Valid values are: oauthauthenticationapi
- updated_
at str - The date and time when the rate limit policy was last updated.
- configurations List<Property Map>
- The throttling configuration applied when the rate limit is reached. (EA only)
- consumer String
- The consumer category the policy applies to. Valid values are: client
- consumer
Selector String - Identifier or category within the consumer to which the policy applies. Supported values:
client_id:<client_id>,client_id:<cimd_uri>,cimdClients,thirdPartyClients, ordefault. (EA only) - created
At String - The date and time when the rate limit policy was created.
- id String
- The provider-assigned unique ID for this managed resource.
- policy
Id String - The ID of the Rate Limit Policy. (EA only)
- resource String
- The resource the policy applies to. Valid values are: oauthauthenticationapi
- updated
At String - The date and time when the rate limit policy was last updated.
Supporting Types
GetRateLimitPolicyConfiguration
- Action string
- Action to take when the rate limit is exceeded. Valid values are: [allow block log redirect] (EA only)
- Limit int
- Maximum number of requests allowed in a single window (0-10000). Required and only valid for the
block,log, andredirectactions. (EA only) - Redirect
Uri string - HTTPS URI to redirect to when the rate limit is exceeded. Required and only valid for the
redirectaction. (EA only)
- Action string
- Action to take when the rate limit is exceeded. Valid values are: [allow block log redirect] (EA only)
- Limit int
- Maximum number of requests allowed in a single window (0-10000). Required and only valid for the
block,log, andredirectactions. (EA only) - Redirect
Uri string - HTTPS URI to redirect to when the rate limit is exceeded. Required and only valid for the
redirectaction. (EA only)
- action string
- Action to take when the rate limit is exceeded. Valid values are: [allow block log redirect] (EA only)
- limit number
- Maximum number of requests allowed in a single window (0-10000). Required and only valid for the
block,log, andredirectactions. (EA only) - redirect_
uri string - HTTPS URI to redirect to when the rate limit is exceeded. Required and only valid for the
redirectaction. (EA only)
- action String
- Action to take when the rate limit is exceeded. Valid values are: [allow block log redirect] (EA only)
- limit Integer
- Maximum number of requests allowed in a single window (0-10000). Required and only valid for the
block,log, andredirectactions. (EA only) - redirect
Uri String - HTTPS URI to redirect to when the rate limit is exceeded. Required and only valid for the
redirectaction. (EA only)
- action string
- Action to take when the rate limit is exceeded. Valid values are: [allow block log redirect] (EA only)
- limit number
- Maximum number of requests allowed in a single window (0-10000). Required and only valid for the
block,log, andredirectactions. (EA only) - redirect
Uri string - HTTPS URI to redirect to when the rate limit is exceeded. Required and only valid for the
redirectaction. (EA only)
- action str
- Action to take when the rate limit is exceeded. Valid values are: [allow block log redirect] (EA only)
- limit int
- Maximum number of requests allowed in a single window (0-10000). Required and only valid for the
block,log, andredirectactions. (EA only) - redirect_
uri str - HTTPS URI to redirect to when the rate limit is exceeded. Required and only valid for the
redirectaction. (EA only)
- action String
- Action to take when the rate limit is exceeded. Valid values are: [allow block log redirect] (EA only)
- limit Number
- Maximum number of requests allowed in a single window (0-10000). Required and only valid for the
block,log, andredirectactions. (EA only) - redirect
Uri String - HTTPS URI to redirect to when the rate limit is exceeded. Required and only valid for the
redirectaction. (EA only)
Package Details
- Repository
- Auth0 pulumi/pulumi-auth0
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
auth0Terraform Provider.
Viewing docs for Auth0 v3.50.1
published on Saturday, Aug 8, 2026 by Pulumi
published on Saturday, Aug 8, 2026 by Pulumi