Show / Hide Table of Contents

Class QueryParameterValidationRequestPolicy

Validate the URL query parameters on the incoming API requests on a specific route.

Inheritance
object
QueryParameterValidationRequestPolicy
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ApigatewayService.Models
Assembly: OCI.DotNetSDK.Apigateway.dll
Syntax
public class QueryParameterValidationRequestPolicy

Properties

Parameters

Declaration
[JsonProperty(PropertyName = "parameters")]
public List<QueryParameterValidationItem> Parameters { get; set; }
Property Value
Type Description
List<QueryParameterValidationItem>

ValidationMode

Declaration
[JsonProperty(PropertyName = "validationMode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public QueryParameterValidationRequestPolicy.ValidationModeEnum? ValidationMode { get; set; }
Property Value
Type Description
QueryParameterValidationRequestPolicy.ValidationModeEnum?

Validation behavior mode.
In ENFORCING mode, upon a validation failure, the request will be rejected with a 4xx response and not sent to the backend.
In PERMISSIVE mode, the result of the validation will be exposed as metrics while the request will follow the normal path.
DISABLED type turns the validation off.

In this article
Back to top