You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ref/apis/legacy.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -357,8 +357,10 @@ _Appears in:_
357
357
|`action`_[RuleAction](#ruleaction)_| Action specifies the action to be applied on the rule. |||
358
358
|`appliedTo`_[SecurityPolicyTarget](#securitypolicytarget) array_| AppliedTo is a list of rule targets.<br />Policy level 'Applied To' will take precedence over rule level. |||
359
359
|`direction`_[RuleDirection](#ruledirection)_| Direction is the direction of the rule, including 'In' or 'Ingress', 'Out' or 'Egress'. |||
360
-
|`sources`_[SecurityPolicyPeer](#securitypolicypeer) array_| Sources defines the endpoints where the traffic is from. For ingress rule only. |||
361
-
|`destinations`_[SecurityPolicyPeer](#securitypolicypeer) array_| Destinations defines the endpoints where the traffic is to. For egress rule only. |||
360
+
|`sources`_[SecurityPolicyPeer](#securitypolicypeer) array_|**Deprecated: use `from` instead.** Sources defines the endpoints where the traffic is from. For ingress rule only. |||
361
+
|`destinations`_[SecurityPolicyPeer](#securitypolicypeer) array_|**Deprecated: use `to` instead.** Destinations defines the endpoints where the traffic is to. For egress rule only. |||
362
+
|`from`_[SecurityPolicyPeer](#securitypolicypeer) array_| From defines the endpoints where the traffic is from. For ingress rule only. This is the preferred field over the deprecated Sources. |||
363
+
|`to`_[SecurityPolicyPeer](#securitypolicypeer) array_| To defines the endpoints where the traffic is to. For egress rule only. This is the preferred field over the deprecated Destinations. |||
362
364
|`ports`_[SecurityPolicyPort](#securitypolicyport) array_| Ports is a list of ports to be matched. |||
363
365
|`name`_string_| Name is the display name of this rule. |||
Copy file name to clipboardExpand all lines: docs/ref/apis/vpc.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -540,8 +540,10 @@ _Appears in:_
540
540
|`action`_[RuleAction](#ruleaction)_| Action specifies the action to be applied on the rule. |||
541
541
|`appliedTo`_[SecurityPolicyTarget](#securitypolicytarget) array_| AppliedTo is a list of rule targets.<br />Policy level 'Applied To' will take precedence over rule level. |||
542
542
|`direction`_[RuleDirection](#ruledirection)_| Direction is the direction of the rule, including 'In' or 'Ingress', 'Out' or 'Egress'. |||
543
-
|`sources`_[SecurityPolicyPeer](#securitypolicypeer) array_| Sources defines the endpoints where the traffic is from. For ingress rule only. |||
544
-
|`destinations`_[SecurityPolicyPeer](#securitypolicypeer) array_| Destinations defines the endpoints where the traffic is to. For egress rule only. |||
543
+
|`sources`_[SecurityPolicyPeer](#securitypolicypeer) array_|**Deprecated: use `from` instead.** Sources defines the endpoints where the traffic is from. For ingress rule only. |||
544
+
|`destinations`_[SecurityPolicyPeer](#securitypolicypeer) array_|**Deprecated: use `to` instead.** Destinations defines the endpoints where the traffic is to. For egress rule only. |||
545
+
|`from`_[SecurityPolicyPeer](#securitypolicypeer) array_| From defines the endpoints where the traffic is from. For ingress rule only. This is the preferred field over the deprecated Sources. |||
546
+
|`to`_[SecurityPolicyPeer](#securitypolicypeer) array_| To defines the endpoints where the traffic is to. For egress rule only. This is the preferred field over the deprecated Destinations. |||
545
547
|`ports`_[SecurityPolicyPort](#securitypolicyport) array_| Ports is a list of ports to be matched. |||
546
548
|`name`_string_| Name is the display name of this rule. |||
0 commit comments