Class WaasPolicy
The details of a Web Application Acceleration and Security (WAAS) policy. A policy describes how the WAAS service should operate for the configured web application.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
Properties
AdditionalDomains
Declaration
[JsonProperty(PropertyName = "additionalDomains")]
public List<string> AdditionalDomains { get; set; }
Property Value
| Type |
Description |
| List<string> |
An array of additional domains for this web application.
|
Cname
Declaration
[JsonProperty(PropertyName = "cname")]
public string Cname { get; set; }
Property Value
| Type |
Description |
| string |
The CNAME record to add to your DNS configuration to route traffic for the domain, and all additional domains, through the WAF.
|
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
| Type |
Description |
| string |
The OCID of the WAAS policy's compartment.
|
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
| Type |
Description |
| string |
The user-friendly name of the WAAS policy. The name can be changed and does not need to be unique.
|
Domain
Declaration
[JsonProperty(PropertyName = "domain")]
public string Domain { get; set; }
Property Value
| Type |
Description |
| string |
The web application domain that the WAAS policy protects.
|
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
| Type |
Description |
| Dictionary<string, string> |
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
For more information, see Resource Tags.
Example: {"Department": "Finance"}
|
Id
Declaration
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
| Type |
Description |
| string |
The OCID of the WAAS policy.
|
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleStates? LifecycleState { get; set; }
Property Value
| Type |
Description |
| LifecycleStates? |
The current lifecycle state of the WAAS policy.
|
OriginGroups
Declaration
[JsonProperty(PropertyName = "originGroups")]
public Dictionary<string, OriginGroup> OriginGroups { get; set; }
Property Value
| Type |
Description |
| Dictionary<string, OriginGroup> |
The map of origin groups and their keys used to associate origins to the wafConfig. Origin groups allow you to apply weights to groups of origins for load balancing purposes. Origins with higher weights will receive larger proportions of client requests.
|
Origins
Declaration
[JsonProperty(PropertyName = "origins")]
public Dictionary<string, Origin> Origins { get; set; }
Property Value
| Type |
Description |
| Dictionary<string, Origin> |
A map of host servers (origins) and their keys for the web application. Origin keys are used to associate origins to specific protection rules. The key should be a user-friendly name for the host. Examples: primary or secondary.
|
PolicyConfig
Declaration
[JsonProperty(PropertyName = "policyConfig")]
public PolicyConfig PolicyConfig { get; set; }
Property Value
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
| Type |
Description |
| DateTime? |
The date and time the policy was created, expressed in RFC 3339 timestamp format.
|
WafConfig
Declaration
[JsonProperty(PropertyName = "wafConfig")]
public WafConfig WafConfig { get; set; }
Property Value