Class RateLimitingPolicy
Limit the number of requests that should be handled for the specified window using a specfic key.
Inherited Members
Namespace: Oci.ApigatewayService.Models
Assembly: OCI.DotNetSDK.Apigateway.dll
Syntax
public class RateLimitingPolicy
Properties
RateInRequestsPerSecond
Declaration
[Required(ErrorMessage = "RateInRequestsPerSecond is required.")]
[JsonProperty(PropertyName = "rateInRequestsPerSecond")]
public int? RateInRequestsPerSecond { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum number of requests per second to allow. |
Remarks
Required
RateKey
Declaration
[Required(ErrorMessage = "RateKey is required.")]
[JsonProperty(PropertyName = "rateKey")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RateLimitingPolicy.RateKeyEnum? RateKey { get; set; }
Property Value
Type | Description |
---|---|
RateLimitingPolicy.RateKeyEnum? | The key used to group requests together. |
Remarks
Required