CreateDecryptionRuleDetails¶
- class oci.network_firewall.models.CreateDecryptionRuleDetails(**kwargs)¶
Bases:
objectRequest 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:
A constant which can be used with the action property of a CreateDecryptionRuleDetails.
A constant which can be used with the action property of a CreateDecryptionRuleDetails.
[Required] Gets the action of this CreateDecryptionRuleDetails.
[Required] Gets the condition of this CreateDecryptionRuleDetails.
Gets the decryption_profile of this CreateDecryptionRuleDetails.
Gets the description of this CreateDecryptionRuleDetails.
[Required] Gets the name of this CreateDecryptionRuleDetails.
Gets the position of this CreateDecryptionRuleDetails.
Gets the secret of this CreateDecryptionRuleDetails.
Gets the secrets 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.
description (str) – The value to assign to the description 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.
secrets (list[str]) – The value to assign to the secrets property of this CreateDecryptionRuleDetails.
position (oci.network_firewall.models.RulePosition) – The value to assign to the position property of this CreateDecryptionRuleDetails.
- property 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
- property condition¶
[Required] Gets the condition of this CreateDecryptionRuleDetails.
- Returns
The condition of this CreateDecryptionRuleDetails.
- Return type
- property 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
- property description¶
Gets the description of this CreateDecryptionRuleDetails. The description of the decryption rule. This field can be used to add additional info.
- Returns
The description of this CreateDecryptionRuleDetails.
- Return type
str
- property 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
- property position¶
Gets the position of this CreateDecryptionRuleDetails.
- Returns
The position of this CreateDecryptionRuleDetails.
- Return type
- property 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
- property secrets¶
Gets the secrets of this CreateDecryptionRuleDetails. An array of mapped secrets.
- Returns
The secrets of this CreateDecryptionRuleDetails.
- Return type
list[str]