CreateDecryptionRuleDetails¶
-
class
oci.network_firewall.models.
CreateDecryptionRuleDetails
(**kwargs)¶ Bases:
object
Request for creating Decryption Rule used in the firewall policy rules. A Decryption Rule is used to define which traffic should be decrypted by the firewall, and how it should do so.
Attributes
ACTION_DECRYPT
A constant which can be used with the action property of a CreateDecryptionRuleDetails. ACTION_NO_DECRYPT
A constant which can be used with the action property of a CreateDecryptionRuleDetails. action
[Required] Gets the action of this CreateDecryptionRuleDetails. condition
[Required] Gets the condition of this CreateDecryptionRuleDetails. decryption_profile
Gets the decryption_profile of this CreateDecryptionRuleDetails. name
[Required] Gets the name of this CreateDecryptionRuleDetails. position
Gets the position of this CreateDecryptionRuleDetails. secret
Gets the secret of this CreateDecryptionRuleDetails. Methods
__init__
(**kwargs)Initializes a new CreateDecryptionRuleDetails object with values from keyword arguments. -
ACTION_DECRYPT
= 'DECRYPT'¶ A constant which can be used with the action property of a CreateDecryptionRuleDetails. This constant has a value of “DECRYPT”
-
ACTION_NO_DECRYPT
= 'NO_DECRYPT'¶ A constant which can be used with the action property of a CreateDecryptionRuleDetails. This constant has a value of “NO_DECRYPT”
-
__init__
(**kwargs)¶ Initializes a new CreateDecryptionRuleDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this CreateDecryptionRuleDetails.
- condition (oci.network_firewall.models.DecryptionRuleMatchCriteria) – The value to assign to the condition property of this CreateDecryptionRuleDetails.
- action (str) – The value to assign to the action property of this CreateDecryptionRuleDetails. Allowed values for this property are: “NO_DECRYPT”, “DECRYPT”
- decryption_profile (str) – The value to assign to the decryption_profile property of this CreateDecryptionRuleDetails.
- secret (str) – The value to assign to the secret property of this CreateDecryptionRuleDetails.
- position (oci.network_firewall.models.RulePosition) – The value to assign to the position property of this CreateDecryptionRuleDetails.
-
action
¶ [Required] Gets the action of this CreateDecryptionRuleDetails. Action:
- NO_DECRYPT - Matching traffic is not decrypted.
- DECRYPT - Matching traffic is decrypted with the specified secret according to the specified decryptionProfile.
Allowed values for this property are: “NO_DECRYPT”, “DECRYPT”
Returns: The action of this CreateDecryptionRuleDetails. Return type: str
-
condition
¶ [Required] Gets the condition of this CreateDecryptionRuleDetails.
Returns: The condition of this CreateDecryptionRuleDetails. Return type: oci.network_firewall.models.DecryptionRuleMatchCriteria
-
decryption_profile
¶ Gets the decryption_profile of this CreateDecryptionRuleDetails. The name of the decryption profile to use.
Returns: The decryption_profile of this CreateDecryptionRuleDetails. Return type: str
-
name
¶ [Required] Gets the name of this CreateDecryptionRuleDetails. Name for the decryption rule, must be unique within the policy.
Returns: The name of this CreateDecryptionRuleDetails. Return type: str
-
position
¶ Gets the position of this CreateDecryptionRuleDetails.
Returns: The position of this CreateDecryptionRuleDetails. Return type: oci.network_firewall.models.RulePosition
-
secret
¶ Gets the secret of this CreateDecryptionRuleDetails. The name of a mapped secret. Its type must match that of the specified decryption profile.
Returns: The secret of this CreateDecryptionRuleDetails. Return type: str
-