Class PolicyConfig
The configuration details for the WAAS policy.
Inherited Members
Namespace: Oci.WaasService.Models
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class PolicyConfig
Properties
CertificateId
Declaration
[JsonProperty(PropertyName = "certificateId")]
public string CertificateId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the SSL certificate to use if HTTPS is supported. |
CipherGroup
Declaration
[JsonProperty(PropertyName = "cipherGroup")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PolicyConfig.CipherGroupEnum? CipherGroup { get; set; }
Property Value
Type | Description |
---|---|
PolicyConfig.CipherGroupEnum? | The set cipher group for the configured TLS protocol. This sets the configuration for the TLS connections between clients and edge nodes only.
|
ClientAddressHeader
Declaration
[JsonProperty(PropertyName = "clientAddressHeader")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PolicyConfig.ClientAddressHeaderEnum? ClientAddressHeader { get; set; }
Property Value
Type | Description |
---|---|
PolicyConfig.ClientAddressHeaderEnum? | Specifies an HTTP header name which is treated as the connecting client's IP address. Applicable only if |
HealthChecks
Declaration
[JsonProperty(PropertyName = "healthChecks")]
public HealthCheck HealthChecks { get; set; }
Property Value
Type | Description |
---|---|
HealthCheck |
IsBehindCdn
Declaration
[JsonProperty(PropertyName = "isBehindCdn")]
public bool? IsBehindCdn { get; set; }
Property Value
Type | Description |
---|---|
bool? | Enabling |
IsCacheControlRespected
Declaration
[JsonProperty(PropertyName = "isCacheControlRespected")]
public bool? IsCacheControlRespected { get; set; }
Property Value
Type | Description |
---|---|
bool? | Enable or disable automatic content caching based on the response |
IsHttpsEnabled
Declaration
[JsonProperty(PropertyName = "isHttpsEnabled")]
public bool? IsHttpsEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Enable or disable HTTPS support. If true, a |
IsHttpsForced
Declaration
[JsonProperty(PropertyName = "isHttpsForced")]
public bool? IsHttpsForced { get; set; }
Property Value
Type | Description |
---|---|
bool? | Force HTTP to HTTPS redirection. If unspecified, defaults to |
IsOriginCompressionEnabled
Declaration
[JsonProperty(PropertyName = "isOriginCompressionEnabled")]
public bool? IsOriginCompressionEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Enable or disable GZIP compression of origin responses. If enabled, the header |
IsResponseBufferingEnabled
Declaration
[JsonProperty(PropertyName = "isResponseBufferingEnabled")]
public bool? IsResponseBufferingEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Enable or disable buffering of responses from the origin. Buffering improves overall stability in case of network issues, but slightly increases Time To First Byte. |
IsSniEnabled
Declaration
[JsonProperty(PropertyName = "isSniEnabled")]
public bool? IsSniEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | SNI stands for Server Name Indication and is an extension of the TLS protocol. It indicates which hostname is being contacted by the browser at the beginning of the 'handshake'-process. This allows a server to connect multiple SSL Certificates to one IP address and port. |
LoadBalancingMethod
Declaration
[JsonProperty(PropertyName = "loadBalancingMethod")]
public LoadBalancingMethod LoadBalancingMethod { get; set; }
Property Value
Type | Description |
---|---|
LoadBalancingMethod | An object that represents a load balancing method and its properties. |
TlsProtocols
Declaration
[JsonProperty(PropertyName = "tlsProtocols", ItemConverterType = typeof(ResponseEnumConverter))]
public List<PolicyConfig.TlsProtocolsEnum> TlsProtocols { get; set; }
Property Value
Type | Description |
---|---|
List<PolicyConfig.TlsProtocolsEnum> | A list of allowed TLS protocols. Only applicable when HTTPS support is enabled. The TLS protocol is negotiated while the request is connecting and the most recent protocol supported by both the edge node and client browser will be selected. If no such version exists, the connection will be aborted.
|
WebsocketPathPrefixes
Declaration
[JsonProperty(PropertyName = "websocketPathPrefixes")]
public List<string> WebsocketPathPrefixes { get; set; }
Property Value
Type | Description |
---|---|
List<string> | ModSecurity is not capable to inspect WebSockets. Therefore paths specified here have WAF disabled if Connection request header from the client has the value Upgrade (case insensitive matching) and Upgrade request header has the value websocket (case insensitive matching). Paths matches if the concatenation of request URL path and query starts with the contents of the one of |