okta.PrincipalRateLimits
Create PrincipalRateLimits Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PrincipalRateLimits(name: string, args: PrincipalRateLimitsArgs, opts?: CustomResourceOptions);
@overload
def PrincipalRateLimits(resource_name: str,
args: PrincipalRateLimitsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PrincipalRateLimits(resource_name: str,
opts: Optional[ResourceOptions] = None,
principal_id: Optional[str] = None,
principal_type: Optional[str] = None,
default_concurrency_percentage: Optional[int] = None,
default_percentage: Optional[int] = None)
func NewPrincipalRateLimits(ctx *Context, name string, args PrincipalRateLimitsArgs, opts ...ResourceOption) (*PrincipalRateLimits, error)
public PrincipalRateLimits(string name, PrincipalRateLimitsArgs args, CustomResourceOptions? opts = null)
public PrincipalRateLimits(String name, PrincipalRateLimitsArgs args)
public PrincipalRateLimits(String name, PrincipalRateLimitsArgs args, CustomResourceOptions options)
type: okta:PrincipalRateLimits
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 PrincipalRateLimitsArgs
- 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 PrincipalRateLimitsArgs
- 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 PrincipalRateLimitsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PrincipalRateLimitsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PrincipalRateLimitsArgs
- 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 principalRateLimitsResource = new Okta.PrincipalRateLimits("principalRateLimitsResource", new()
{
PrincipalId = "string",
PrincipalType = "string",
DefaultConcurrencyPercentage = 0,
DefaultPercentage = 0,
});
example, err := okta.NewPrincipalRateLimits(ctx, "principalRateLimitsResource", &okta.PrincipalRateLimitsArgs{
PrincipalId: pulumi.String("string"),
PrincipalType: pulumi.String("string"),
DefaultConcurrencyPercentage: pulumi.Int(0),
DefaultPercentage: pulumi.Int(0),
})
var principalRateLimitsResource = new PrincipalRateLimits("principalRateLimitsResource", PrincipalRateLimitsArgs.builder()
.principalId("string")
.principalType("string")
.defaultConcurrencyPercentage(0)
.defaultPercentage(0)
.build());
principal_rate_limits_resource = okta.PrincipalRateLimits("principalRateLimitsResource",
principal_id="string",
principal_type="string",
default_concurrency_percentage=0,
default_percentage=0)
const principalRateLimitsResource = new okta.PrincipalRateLimits("principalRateLimitsResource", {
principalId: "string",
principalType: "string",
defaultConcurrencyPercentage: 0,
defaultPercentage: 0,
});
type: okta:PrincipalRateLimits
properties:
defaultConcurrencyPercentage: 0
defaultPercentage: 0
principalId: string
principalType: string
PrincipalRateLimits 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 PrincipalRateLimits resource accepts the following input properties:
- 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.
- Default
Concurrency intPercentage - The default percentage of a given concurrency limit threshold that the owning principal can consume.
- Default
Percentage int - The default percentage of a given rate limit threshold that the owning principal can consume.
- 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.
- Default
Concurrency intPercentage - The default percentage of a given concurrency limit threshold that the owning principal can consume.
- Default
Percentage int - The default percentage of a given rate limit threshold that the owning principal can consume.
- 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.
- default
Concurrency IntegerPercentage - The default percentage of a given concurrency limit threshold that the owning principal can consume.
- default
Percentage Integer - The default percentage of a given rate limit threshold that the owning principal can consume.
- 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.
- default
Concurrency numberPercentage - The default percentage of a given concurrency limit threshold that the owning principal can consume.
- default
Percentage number - The default percentage of a given rate limit threshold that the owning principal can consume.
- 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.
- default_
concurrency_ intpercentage - The default percentage of a given concurrency limit threshold that the owning principal can consume.
- default_
percentage int - The default percentage of a given rate limit threshold that the owning principal can consume.
- 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.
- default
Concurrency NumberPercentage - The default percentage of a given concurrency limit threshold that the owning principal can consume.
- default
Percentage Number - The default percentage of a given rate limit threshold that the owning principal can consume.
Outputs
All input properties are implicitly available as output properties. Additionally, the PrincipalRateLimits resource produces the following output properties:
- Created
By string - The Okta user ID of the user who created the principle rate limit entity.
- Created
Date string - The date and time the principle rate limit entity was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Update string - The date and time the principle rate limit entity was last updated.
- Last
Updated stringBy - The Okta user ID of the user who last updated the principle rate limit entity.
- Org
Id string - The unique identifier of the Okta org.
- Created
By string - The Okta user ID of the user who created the principle rate limit entity.
- Created
Date string - The date and time the principle rate limit entity was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Update string - The date and time the principle rate limit entity was last updated.
- Last
Updated stringBy - The Okta user ID of the user who last updated the principle rate limit entity.
- Org
Id string - The unique identifier of the Okta org.
- created
By String - The Okta user ID of the user who created the principle rate limit entity.
- created
Date String - The date and time the principle rate limit entity was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Update String - The date and time the principle rate limit entity was last updated.
- last
Updated StringBy - The Okta user ID of the user who last updated the principle rate limit entity.
- org
Id String - The unique identifier of the Okta org.
- created
By string - The Okta user ID of the user who created the principle rate limit entity.
- created
Date string - The date and time the principle rate limit entity was created.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Update string - The date and time the principle rate limit entity was last updated.
- last
Updated stringBy - The Okta user ID of the user who last updated the principle rate limit entity.
- org
Id string - The unique identifier of the Okta org.
- created_
by str - The Okta user ID of the user who created the principle rate limit entity.
- created_
date str - The date and time the principle rate limit entity was created.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
update str - The date and time the principle rate limit entity was last updated.
- last_
updated_ strby - The Okta user ID of the user who last updated the principle rate limit entity.
- org_
id str - The unique identifier of the Okta org.
- created
By String - The Okta user ID of the user who created the principle rate limit entity.
- created
Date String - The date and time the principle rate limit entity was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Update String - The date and time the principle rate limit entity was last updated.
- last
Updated StringBy - The Okta user ID of the user who last updated the principle rate limit entity.
- org
Id String - The unique identifier of the Okta org.
Look up Existing PrincipalRateLimits Resource
Get an existing PrincipalRateLimits 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?: PrincipalRateLimitsState, opts?: CustomResourceOptions): PrincipalRateLimits
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_by: Optional[str] = None,
created_date: Optional[str] = None,
default_concurrency_percentage: Optional[int] = None,
default_percentage: Optional[int] = None,
last_update: Optional[str] = None,
last_updated_by: Optional[str] = None,
org_id: Optional[str] = None,
principal_id: Optional[str] = None,
principal_type: Optional[str] = None) -> PrincipalRateLimits
func GetPrincipalRateLimits(ctx *Context, name string, id IDInput, state *PrincipalRateLimitsState, opts ...ResourceOption) (*PrincipalRateLimits, error)
public static PrincipalRateLimits Get(string name, Input<string> id, PrincipalRateLimitsState? state, CustomResourceOptions? opts = null)
public static PrincipalRateLimits get(String name, Output<String> id, PrincipalRateLimitsState state, CustomResourceOptions options)
resources: _: type: okta:PrincipalRateLimits 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.
- Created
By string - The Okta user ID of the user who created the principle rate limit entity.
- Created
Date string - The date and time the principle rate limit entity was created.
- Default
Concurrency intPercentage - The default percentage of a given concurrency limit threshold that the owning principal can consume.
- Default
Percentage int - The default percentage of a given rate limit threshold that the owning principal can consume.
- Last
Update string - The date and time the principle rate limit entity was last updated.
- Last
Updated stringBy - The Okta user ID of the user who last updated the principle rate limit entity.
- Org
Id string - The unique identifier of the Okta org.
- 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 Okta user ID of the user who created the principle rate limit entity.
- Created
Date string - The date and time the principle rate limit entity was created.
- Default
Concurrency intPercentage - The default percentage of a given concurrency limit threshold that the owning principal can consume.
- Default
Percentage int - The default percentage of a given rate limit threshold that the owning principal can consume.
- Last
Update string - The date and time the principle rate limit entity was last updated.
- Last
Updated stringBy - The Okta user ID of the user who last updated the principle rate limit entity.
- Org
Id string - The unique identifier of the Okta org.
- 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 Okta user ID of the user who created the principle rate limit entity.
- created
Date String - The date and time the principle rate limit entity was created.
- default
Concurrency IntegerPercentage - The default percentage of a given concurrency limit threshold that the owning principal can consume.
- default
Percentage Integer - The default percentage of a given rate limit threshold that the owning principal can consume.
- last
Update String - The date and time the principle rate limit entity was last updated.
- last
Updated StringBy - The Okta user ID of the user who last updated the principle rate limit entity.
- org
Id String - The unique identifier of the Okta org.
- 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 Okta user ID of the user who created the principle rate limit entity.
- created
Date string - The date and time the principle rate limit entity was created.
- default
Concurrency numberPercentage - The default percentage of a given concurrency limit threshold that the owning principal can consume.
- default
Percentage number - The default percentage of a given rate limit threshold that the owning principal can consume.
- last
Update string - The date and time the principle rate limit entity was last updated.
- last
Updated stringBy - The Okta user ID of the user who last updated the principle rate limit entity.
- org
Id string - The unique identifier of the Okta org.
- 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 Okta user ID of the user who created the principle rate limit entity.
- created_
date str - The date and time the principle rate limit entity was created.
- default_
concurrency_ intpercentage - The default percentage of a given concurrency limit threshold that the owning principal can consume.
- default_
percentage int - The default percentage of a given rate limit threshold that the owning principal can consume.
- last_
update str - The date and time the principle rate limit entity was last updated.
- last_
updated_ strby - The Okta user ID of the user who last updated the principle rate limit entity.
- org_
id str - The unique identifier of the Okta org.
- 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 Okta user ID of the user who created the principle rate limit entity.
- created
Date String - The date and time the principle rate limit entity was created.
- default
Concurrency NumberPercentage - The default percentage of a given concurrency limit threshold that the owning principal can consume.
- default
Percentage Number - The default percentage of a given rate limit threshold that the owning principal can consume.
- last
Update String - The date and time the principle rate limit entity was last updated.
- last
Updated StringBy - The Okta user ID of the user who last updated the principle rate limit entity.
- org
Id String - The unique identifier of the Okta org.
- 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.