CreateWaasPolicyDetails¶
- class oci.waas.models.CreateWaasPolicyDetails(**kwargs)¶
Bases:
objectThe 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.
Methods:
__init__(**kwargs)Initializes a new CreateWaasPolicyDetails object with values from keyword arguments.
Attributes:
Gets the additional_domains of this CreateWaasPolicyDetails.
[Required] Gets the compartment_id of this CreateWaasPolicyDetails.
Gets the defined_tags of this CreateWaasPolicyDetails.
Gets the display_name of this CreateWaasPolicyDetails.
[Required] Gets the domain of this CreateWaasPolicyDetails.
Gets the freeform_tags of this CreateWaasPolicyDetails.
Gets the origin_groups of this CreateWaasPolicyDetails.
Gets the origins of this CreateWaasPolicyDetails.
Gets the policy_config of this CreateWaasPolicyDetails.
Gets the waf_config of this CreateWaasPolicyDetails.
- __init__(**kwargs)¶
Initializes a new CreateWaasPolicyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
compartment_id (str) – The value to assign to the compartment_id property of this CreateWaasPolicyDetails.
display_name (str) – The value to assign to the display_name property of this CreateWaasPolicyDetails.
domain (str) – The value to assign to the domain property of this CreateWaasPolicyDetails.
additional_domains (list[str]) – The value to assign to the additional_domains property of this CreateWaasPolicyDetails.
origins (dict(str, Origin)) – The value to assign to the origins property of this CreateWaasPolicyDetails.
origin_groups (dict(str, OriginGroup)) – The value to assign to the origin_groups property of this CreateWaasPolicyDetails.
policy_config (oci.waas.models.PolicyConfig) – The value to assign to the policy_config property of this CreateWaasPolicyDetails.
waf_config (oci.waas.models.WafConfigDetails) – The value to assign to the waf_config property of this CreateWaasPolicyDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateWaasPolicyDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateWaasPolicyDetails.
- property additional_domains¶
Gets the additional_domains of this CreateWaasPolicyDetails. An array of additional domains for the specified web application.
- Returns
The additional_domains of this CreateWaasPolicyDetails.
- Return type
list[str]
- property compartment_id¶
[Required] Gets the compartment_id of this CreateWaasPolicyDetails. The OCID of the compartment in which to create the WAAS policy.
- Returns
The compartment_id of this CreateWaasPolicyDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateWaasPolicyDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this CreateWaasPolicyDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this CreateWaasPolicyDetails. A user-friendly name for the WAAS policy. The name can be changed and does not need to be unique.
- Returns
The display_name of this CreateWaasPolicyDetails.
- Return type
str
- property domain¶
[Required] Gets the domain of this CreateWaasPolicyDetails. The web application domain that the WAAS policy protects.
- Returns
The domain of this CreateWaasPolicyDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateWaasPolicyDetails. 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”}
- Returns
The freeform_tags of this CreateWaasPolicyDetails.
- Return type
dict(str, str)
- property origin_groups¶
Gets the origin_groups of this CreateWaasPolicyDetails. 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. To add additional origins to your WAAS policy, update the origins field of a UpdateWaasPolicy request.
- Returns
The origin_groups of this CreateWaasPolicyDetails.
- Return type
dict(str, OriginGroup)
- property origins¶
Gets the origins of this CreateWaasPolicyDetails. 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.
- Returns
The origins of this CreateWaasPolicyDetails.
- Return type
dict(str, Origin)
- property policy_config¶
Gets the policy_config of this CreateWaasPolicyDetails.
- Returns
The policy_config of this CreateWaasPolicyDetails.
- Return type
- property waf_config¶
Gets the waf_config of this CreateWaasPolicyDetails.
- Returns
The waf_config of this CreateWaasPolicyDetails.
- Return type