1. Packages
  2. Okta Provider
  3. API Docs
  4. RateLimitWarningThresholdPercentage
Okta v6.0.0 published on Friday, Oct 10, 2025 by Pulumi

okta.RateLimitWarningThresholdPercentage

Deploy with Pulumi
okta logo
Okta v6.0.0 published on Friday, Oct 10, 2025 by Pulumi

    Rate limit warning threshold percentage provides operations to manage threshold for warning notifications when the API’s rate limit is exceeded.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as okta from "@pulumi/okta";
    
    const example = new okta.RateLimitWarningThresholdPercentage("example", {warningThreshold: 90});
    
    import pulumi
    import pulumi_okta as okta
    
    example = okta.RateLimitWarningThresholdPercentage("example", warning_threshold=90)
    
    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.NewRateLimitWarningThresholdPercentage(ctx, "example", &okta.RateLimitWarningThresholdPercentageArgs{
    			WarningThreshold: pulumi.Int(90),
    		})
    		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 = new Okta.RateLimitWarningThresholdPercentage("example", new()
        {
            WarningThreshold = 90,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.okta.RateLimitWarningThresholdPercentage;
    import com.pulumi.okta.RateLimitWarningThresholdPercentageArgs;
    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) {
            var example = new RateLimitWarningThresholdPercentage("example", RateLimitWarningThresholdPercentageArgs.builder()
                .warningThreshold(90)
                .build());
    
        }
    }
    
    resources:
      example:
        type: okta:RateLimitWarningThresholdPercentage
        properties:
          warningThreshold: 90
    

    Create RateLimitWarningThresholdPercentage Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RateLimitWarningThresholdPercentage(name: string, args: RateLimitWarningThresholdPercentageArgs, opts?: CustomResourceOptions);
    @overload
    def RateLimitWarningThresholdPercentage(resource_name: str,
                                            args: RateLimitWarningThresholdPercentageArgs,
                                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def RateLimitWarningThresholdPercentage(resource_name: str,
                                            opts: Optional[ResourceOptions] = None,
                                            warning_threshold: Optional[int] = None)
    func NewRateLimitWarningThresholdPercentage(ctx *Context, name string, args RateLimitWarningThresholdPercentageArgs, opts ...ResourceOption) (*RateLimitWarningThresholdPercentage, error)
    public RateLimitWarningThresholdPercentage(string name, RateLimitWarningThresholdPercentageArgs args, CustomResourceOptions? opts = null)
    public RateLimitWarningThresholdPercentage(String name, RateLimitWarningThresholdPercentageArgs args)
    public RateLimitWarningThresholdPercentage(String name, RateLimitWarningThresholdPercentageArgs args, CustomResourceOptions options)
    
    type: okta:RateLimitWarningThresholdPercentage
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RateLimitWarningThresholdPercentageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RateLimitWarningThresholdPercentageArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RateLimitWarningThresholdPercentageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RateLimitWarningThresholdPercentageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RateLimitWarningThresholdPercentageArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var rateLimitWarningThresholdPercentageResource = new Okta.RateLimitWarningThresholdPercentage("rateLimitWarningThresholdPercentageResource", new()
    {
        WarningThreshold = 0,
    });
    
    example, err := okta.NewRateLimitWarningThresholdPercentage(ctx, "rateLimitWarningThresholdPercentageResource", &okta.RateLimitWarningThresholdPercentageArgs{
    	WarningThreshold: pulumi.Int(0),
    })
    
    var rateLimitWarningThresholdPercentageResource = new RateLimitWarningThresholdPercentage("rateLimitWarningThresholdPercentageResource", RateLimitWarningThresholdPercentageArgs.builder()
        .warningThreshold(0)
        .build());
    
    rate_limit_warning_threshold_percentage_resource = okta.RateLimitWarningThresholdPercentage("rateLimitWarningThresholdPercentageResource", warning_threshold=0)
    
    const rateLimitWarningThresholdPercentageResource = new okta.RateLimitWarningThresholdPercentage("rateLimitWarningThresholdPercentageResource", {warningThreshold: 0});
    
    type: okta:RateLimitWarningThresholdPercentage
    properties:
        warningThreshold: 0
    

    RateLimitWarningThresholdPercentage Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The RateLimitWarningThresholdPercentage resource accepts the following input properties:

    WarningThreshold int
    The threshold value (percentage) of a rate limit that, when exceeded, triggers a warning notification. By default, this value is 90 for Workforce orgs and 60 for CIAM orgs.
    WarningThreshold int
    The threshold value (percentage) of a rate limit that, when exceeded, triggers a warning notification. By default, this value is 90 for Workforce orgs and 60 for CIAM orgs.
    warningThreshold Integer
    The threshold value (percentage) of a rate limit that, when exceeded, triggers a warning notification. By default, this value is 90 for Workforce orgs and 60 for CIAM orgs.
    warningThreshold number
    The threshold value (percentage) of a rate limit that, when exceeded, triggers a warning notification. By default, this value is 90 for Workforce orgs and 60 for CIAM orgs.
    warning_threshold int
    The threshold value (percentage) of a rate limit that, when exceeded, triggers a warning notification. By default, this value is 90 for Workforce orgs and 60 for CIAM orgs.
    warningThreshold Number
    The threshold value (percentage) of a rate limit that, when exceeded, triggers a warning notification. By default, this value is 90 for Workforce orgs and 60 for CIAM orgs.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RateLimitWarningThresholdPercentage resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing RateLimitWarningThresholdPercentage Resource

    Get an existing RateLimitWarningThresholdPercentage resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: RateLimitWarningThresholdPercentageState, opts?: CustomResourceOptions): RateLimitWarningThresholdPercentage
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            warning_threshold: Optional[int] = None) -> RateLimitWarningThresholdPercentage
    func GetRateLimitWarningThresholdPercentage(ctx *Context, name string, id IDInput, state *RateLimitWarningThresholdPercentageState, opts ...ResourceOption) (*RateLimitWarningThresholdPercentage, error)
    public static RateLimitWarningThresholdPercentage Get(string name, Input<string> id, RateLimitWarningThresholdPercentageState? state, CustomResourceOptions? opts = null)
    public static RateLimitWarningThresholdPercentage get(String name, Output<String> id, RateLimitWarningThresholdPercentageState state, CustomResourceOptions options)
    resources:  _:    type: okta:RateLimitWarningThresholdPercentage    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    WarningThreshold int
    The threshold value (percentage) of a rate limit that, when exceeded, triggers a warning notification. By default, this value is 90 for Workforce orgs and 60 for CIAM orgs.
    WarningThreshold int
    The threshold value (percentage) of a rate limit that, when exceeded, triggers a warning notification. By default, this value is 90 for Workforce orgs and 60 for CIAM orgs.
    warningThreshold Integer
    The threshold value (percentage) of a rate limit that, when exceeded, triggers a warning notification. By default, this value is 90 for Workforce orgs and 60 for CIAM orgs.
    warningThreshold number
    The threshold value (percentage) of a rate limit that, when exceeded, triggers a warning notification. By default, this value is 90 for Workforce orgs and 60 for CIAM orgs.
    warning_threshold int
    The threshold value (percentage) of a rate limit that, when exceeded, triggers a warning notification. By default, this value is 90 for Workforce orgs and 60 for CIAM orgs.
    warningThreshold Number
    The threshold value (percentage) of a rate limit that, when exceeded, triggers a warning notification. By default, this value is 90 for Workforce orgs and 60 for CIAM orgs.

    Import

    $ pulumi import okta:index/rateLimitWarningThresholdPercentage:RateLimitWarningThresholdPercentage example .
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Okta pulumi/pulumi-okta
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the okta Terraform Provider.
    okta logo
    Okta v6.0.0 published on Friday, Oct 10, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate