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
`networkPolicyId`<br/>*UUID* | The UUID of the network policy to which the network policy rule belongs.
66
66
`description`<br/>*string* | A summary of what this rule does or a name of this rule. It is highly recommended to give a unique description to easily identify a rule.
67
67
`type`<br/>*string* | The type of network policy rule, either`INBOUND` or`OUTBOUND`.
68
-
`sources`<br/>*Array[string]* | The list of subnets that will define all the IPs allowed or denied by this rule.
68
+
`sourceIps`<br/>*Array[string]* | The list of subnets that will define all the IPs allowed or denied by this rule.
`portRanges`<br/>*Array[string]* | The list of port ranges on which traffic will be allowed or denied by this rule. It can be a range of ports separated by a hyphen. Not required for protocol for`ESP` or`AH`.
71
+
`ports`<br/>*Array[string]* | The list of port ranges on which traffic will be allowed or denied by this rule. It can be a range of ports separated by a hyphen. Not required for protocol for`ESP` or`AH`.
72
72
73
73
<!-------------------- GET A NETWORK POLICY RULE -------------------->
`networkPolicyId`<br/>*UUID* | The UUID of the network policy to which the network policy rule belongs.
112
112
`description`<br/>*string* | A summary of what this rule does or a name of this rule. It is highly recommended to give a unique description to easily identify a rule.
113
113
`type`<br/>*string* | The type of network policy rule, either`INBOUND` or`OUTBOUND`.
114
-
`sources`<br/>*Array[string]* | The list of subnets that will define all the IPs allowed or denied by this rule.
114
+
`sourceIps`<br/>*Array[string]* | The list of subnets that will define all the IPs allowed or denied by this rule.
`portRanges`<br/>*Array[string]* | The list of port ranges on which traffic will be allowed or denied by this rule. It can be a range of ports separated by a hyphen. Not required for protocol for`ESP` or`AH`.
117
+
`ports`<br/>*Array[string]* | The list of port ranges on which traffic will be allowed or denied by this rule. It can be a range of ports separated by a hyphen. Not required for protocol for`ESP` or`AH`.
118
118
119
119
<!-------------------- CREATE A NETWORK POLICY RULE -------------------->
`sources`<br/>*Array[string]* | The list of subnets that will define all the IPs allowed or denied by this rule.
155
-
`portRanges`<br/>*Array[string]* | The list of port ranges on which traffic will be allowed or denied by this rule. It can be a range of ports separated by a hyphen. Not required for protocol for`ESP` or`AH`.
154
+
`sourceIps`<br/>*Array[string]* | The list of subnets that will define all the IPs allowed or denied by this rule.
155
+
`ports`<br/>*Array[string]* | The list of port ranges on which traffic will be allowed or denied by this rule. It can be a range of ports separated by a hyphen. Not required for protocol for`ESP` or`AH`.
156
156
157
157
<!-------------------- DELETE A NETWORK POLICY RULE -------------------->
`description`<br/>*string* | A summary of what this rule does or a name of this rule. It is highly recommended to give a unique description to easily identify a rule.
202
202
`workloadId`<br/>*UUID* | The UUID of the workload to which the network policy rule is applied. Corresponds to the first workload ID in the network policy's list of instance selectors.
203
203
`type`<br/>*string* | The type of network policy rule. Supported types are:`INBOUND` (Ingress) and`OUTBOUND` (Egress).
204
-
`sources`<br/>*Array[string]* | The list of subnets that will define all the IPs allowed or denied by this rule.
204
+
`sourceIps`<br/>*Array[string]* | The list of subnets that will define all the IPs allowed or denied by this rule.
`portRanges`<br/>*Array[string]* | The list of port ranges on which traffic will be allowed or denied by this rule. It can be a range of ports separated by a hyphen. Not required for protocol for`ESP` or`AH`.
207
+
`ports`<br/>*Array[string]* | The list of port ranges on which traffic will be allowed or denied by this rule. It can be a range of ports separated by a hyphen. Not required for protocol for`ESP` or`AH`.