Class CreateWaasPolicyDetails
The required data to create a WAAS policy.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Inherited Members
Namespace: Oci.WaasService.Models
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class CreateWaasPolicyDetails
Properties
AdditionalDomains
Declaration
[JsonProperty(PropertyName = "additionalDomains")]
public List<string> AdditionalDomains { get; set; }
Property Value
Type | Description |
---|---|
List<string> | An array of additional domains for the specified web application. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment in which to create the WAAS policy. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace.
For more information, see Resource Tags.
|
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly name for the WAAS policy. The name can be changed and does not need to be unique. |
Domain
Declaration
[Required(ErrorMessage = "Domain is required.")]
[JsonProperty(PropertyName = "domain")]
public string Domain { get; set; }
Property Value
Type | Description |
---|---|
string | The web application domain that the WAAS policy protects. |
Remarks
Required
FreeformTags
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.
|
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 |
Origins
Declaration
[JsonProperty(PropertyName = "origins")]
public Dictionary<string, Origin> Origins { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Origin> | A map of host to origin for the web application. The key should be a customer friendly name for the host, ex. primary, secondary, etc. |
PolicyConfig
Declaration
[JsonProperty(PropertyName = "policyConfig")]
public PolicyConfig PolicyConfig { get; set; }
Property Value
Type | Description |
---|---|
PolicyConfig |
WafConfig
Declaration
[JsonProperty(PropertyName = "wafConfig")]
public WafConfigDetails WafConfig { get; set; }
Property Value
Type | Description |
---|---|
WafConfigDetails |