Show / Hide Table of Contents

Class Origin

A detailed description of your web application's origin host server. An origin must be defined to set up WAF rules.

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

Properties

CustomHeaders

Declaration
[JsonProperty(PropertyName = "customHeaders")]
public List<Header> CustomHeaders { get; set; }
Property Value
Type Description
List<Header>

A list of HTTP headers to forward to your origin.

HttpPort

Declaration
[JsonProperty(PropertyName = "httpPort")]
public int? HttpPort { get; set; }
Property Value
Type Description
int?

The HTTP port on the origin that the web application listens on. If unspecified, defaults to 80. If 0 is specified - the origin is not used for HTTP traffic.

HttpsPort

Declaration
[JsonProperty(PropertyName = "httpsPort")]
public int? HttpsPort { get; set; }
Property Value
Type Description
int?

The HTTPS port on the origin that the web application listens on. If unspecified, defaults to 443. If 0 is specified - the origin is not used for HTTPS traffic.

Uri

Declaration
[Required(ErrorMessage = "Uri is required.")]
[JsonProperty(PropertyName = "uri")]
public string Uri { get; set; }
Property Value
Type Description
string

The URI of the origin. Does not support paths. Port numbers should be specified in the httpPort and httpsPort fields.

Remarks

Required

In this article
Back to top