AccessPolicyRuleDetails¶
-
class
oci.service_mesh.models.
AccessPolicyRuleDetails
(**kwargs)¶ Bases:
object
Access policy rule.
Attributes
ACTION_ALLOW
A constant which can be used with the action property of a AccessPolicyRuleDetails. action
[Required] Gets the action of this AccessPolicyRuleDetails. destination
[Required] Gets the destination of this AccessPolicyRuleDetails. source
[Required] Gets the source of this AccessPolicyRuleDetails. Methods
__init__
(**kwargs)Initializes a new AccessPolicyRuleDetails object with values from keyword arguments. -
ACTION_ALLOW
= 'ALLOW'¶ A constant which can be used with the action property of a AccessPolicyRuleDetails. This constant has a value of “ALLOW”
-
__init__
(**kwargs)¶ Initializes a new AccessPolicyRuleDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - action (str) – The value to assign to the action property of this AccessPolicyRuleDetails. Allowed values for this property are: “ALLOW”
- source (oci.service_mesh.models.AccessPolicyTargetDetails) – The value to assign to the source property of this AccessPolicyRuleDetails.
- destination (oci.service_mesh.models.AccessPolicyTargetDetails) – The value to assign to the destination property of this AccessPolicyRuleDetails.
-
action
¶ [Required] Gets the action of this AccessPolicyRuleDetails. Action for the traffic between the source and the destination.
Allowed values for this property are: “ALLOW”
Returns: The action of this AccessPolicyRuleDetails. Return type: str
-
destination
¶ [Required] Gets the destination of this AccessPolicyRuleDetails.
Returns: The destination of this AccessPolicyRuleDetails. Return type: oci.service_mesh.models.AccessPolicyTargetDetails
-
source
¶ [Required] Gets the source of this AccessPolicyRuleDetails.
Returns: The source of this AccessPolicyRuleDetails. Return type: oci.service_mesh.models.AccessPolicyTargetDetails
-