CreateWaasPolicyDetails

class oci.waas.models.CreateWaasPolicyDetails(**kwargs)

Bases: object

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.

__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 (PolicyConfig) -- The value to assign to the policy_config property of this CreateWaasPolicyDetails.
  • waf_config (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.
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]
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
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))
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
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
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)
origin_groups

Gets the origin_groups of this CreateWaasPolicyDetails. The map of origin groups and their keys used to associate origins to the wafConfig.

Returns:The origin_groups of this CreateWaasPolicyDetails.
Return type:dict(str, OriginGroup)
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)
policy_config

Gets the policy_config of this CreateWaasPolicyDetails.

Returns:The policy_config of this CreateWaasPolicyDetails.
Return type:PolicyConfig
waf_config

Gets the waf_config of this CreateWaasPolicyDetails.

Returns:The waf_config of this CreateWaasPolicyDetails.
Return type:WafConfigDetails