okta.RateLimitAdminNotificationSettings
Manages principal rate limits. Principal Rate Limits provides operations to manage Principal Rate Limits for your organization.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const example = new okta.RateLimitAdminNotificationSettings("example", {notificationsEnabled: true});
import pulumi
import pulumi_okta as okta
example = okta.RateLimitAdminNotificationSettings("example", notifications_enabled=True)
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.NewRateLimitAdminNotificationSettings(ctx, "example", &okta.RateLimitAdminNotificationSettingsArgs{
NotificationsEnabled: pulumi.Bool(true),
})
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.RateLimitAdminNotificationSettings("example", new()
{
NotificationsEnabled = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.okta.RateLimitAdminNotificationSettings;
import com.pulumi.okta.RateLimitAdminNotificationSettingsArgs;
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 RateLimitAdminNotificationSettings("example", RateLimitAdminNotificationSettingsArgs.builder()
.notificationsEnabled(true)
.build());
}
}
resources:
example:
type: okta:RateLimitAdminNotificationSettings
properties:
notificationsEnabled: true
Create RateLimitAdminNotificationSettings Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RateLimitAdminNotificationSettings(name: string, args: RateLimitAdminNotificationSettingsArgs, opts?: CustomResourceOptions);
@overload
def RateLimitAdminNotificationSettings(resource_name: str,
args: RateLimitAdminNotificationSettingsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RateLimitAdminNotificationSettings(resource_name: str,
opts: Optional[ResourceOptions] = None,
notifications_enabled: Optional[bool] = None)
func NewRateLimitAdminNotificationSettings(ctx *Context, name string, args RateLimitAdminNotificationSettingsArgs, opts ...ResourceOption) (*RateLimitAdminNotificationSettings, error)
public RateLimitAdminNotificationSettings(string name, RateLimitAdminNotificationSettingsArgs args, CustomResourceOptions? opts = null)
public RateLimitAdminNotificationSettings(String name, RateLimitAdminNotificationSettingsArgs args)
public RateLimitAdminNotificationSettings(String name, RateLimitAdminNotificationSettingsArgs args, CustomResourceOptions options)
type: okta:RateLimitAdminNotificationSettings
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 RateLimitAdminNotificationSettingsArgs
- 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 RateLimitAdminNotificationSettingsArgs
- 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 RateLimitAdminNotificationSettingsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RateLimitAdminNotificationSettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RateLimitAdminNotificationSettingsArgs
- 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 rateLimitAdminNotificationSettingsResource = new Okta.RateLimitAdminNotificationSettings("rateLimitAdminNotificationSettingsResource", new()
{
NotificationsEnabled = false,
});
example, err := okta.NewRateLimitAdminNotificationSettings(ctx, "rateLimitAdminNotificationSettingsResource", &okta.RateLimitAdminNotificationSettingsArgs{
NotificationsEnabled: pulumi.Bool(false),
})
var rateLimitAdminNotificationSettingsResource = new RateLimitAdminNotificationSettings("rateLimitAdminNotificationSettingsResource", RateLimitAdminNotificationSettingsArgs.builder()
.notificationsEnabled(false)
.build());
rate_limit_admin_notification_settings_resource = okta.RateLimitAdminNotificationSettings("rateLimitAdminNotificationSettingsResource", notifications_enabled=False)
const rateLimitAdminNotificationSettingsResource = new okta.RateLimitAdminNotificationSettings("rateLimitAdminNotificationSettingsResource", {notificationsEnabled: false});
type: okta:RateLimitAdminNotificationSettings
properties:
notificationsEnabled: false
RateLimitAdminNotificationSettings 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 RateLimitAdminNotificationSettings resource accepts the following input properties:
- Notifications
Enabled bool - Enables or disables admin notifications for rate limiting events.
- Notifications
Enabled bool - Enables or disables admin notifications for rate limiting events.
- notifications
Enabled Boolean - Enables or disables admin notifications for rate limiting events.
- notifications
Enabled boolean - Enables or disables admin notifications for rate limiting events.
- notifications_
enabled bool - Enables or disables admin notifications for rate limiting events.
- notifications
Enabled Boolean - Enables or disables admin notifications for rate limiting events.
Outputs
All input properties are implicitly available as output properties. Additionally, the RateLimitAdminNotificationSettings 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 RateLimitAdminNotificationSettings Resource
Get an existing RateLimitAdminNotificationSettings 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?: RateLimitAdminNotificationSettingsState, opts?: CustomResourceOptions): RateLimitAdminNotificationSettings
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
notifications_enabled: Optional[bool] = None) -> RateLimitAdminNotificationSettings
func GetRateLimitAdminNotificationSettings(ctx *Context, name string, id IDInput, state *RateLimitAdminNotificationSettingsState, opts ...ResourceOption) (*RateLimitAdminNotificationSettings, error)
public static RateLimitAdminNotificationSettings Get(string name, Input<string> id, RateLimitAdminNotificationSettingsState? state, CustomResourceOptions? opts = null)
public static RateLimitAdminNotificationSettings get(String name, Output<String> id, RateLimitAdminNotificationSettingsState state, CustomResourceOptions options)
resources: _: type: okta:RateLimitAdminNotificationSettings 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.
- Notifications
Enabled bool - Enables or disables admin notifications for rate limiting events.
- Notifications
Enabled bool - Enables or disables admin notifications for rate limiting events.
- notifications
Enabled Boolean - Enables or disables admin notifications for rate limiting events.
- notifications
Enabled boolean - Enables or disables admin notifications for rate limiting events.
- notifications_
enabled bool - Enables or disables admin notifications for rate limiting events.
- notifications
Enabled Boolean - Enables or disables admin notifications for rate limiting events.
Import
$ pulumi import okta:index/rateLimitAdminNotificationSettings:RateLimitAdminNotificationSettings 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.