ListNetworkSecurityGroupSecurityRules

GET {{baseUrl}}/networkSecurityGroups/:networkSecurityGroupId/securityRules?direction=INGRESS&limit=801&sortBy=TIMECREATED&sortOrder=DESC

Lists the security rules in the specified network security group.

Request Params

KeyDatatypeRequiredDescription
directionstringDirection of the security rule. Set to EGRESS for rules that allow outbound IP packets,
or INGRESS for rules that allow inbound IP packets.
limitnumberFor list pagination. The maximum number of results per page, or items to return in a paginated
"List" call. For important details about how pagination works, see
List Pagination.

Example: 50 | | page | string | | For list pagination. The value of the opc-next-page response header from the previous "List" call. For important details about how pagination works, see List Pagination. | | sortBy | string | | The field to sort by. | | sortOrder | string | | The sort order to use, either ascending (ASC) or descending (DESC). The DISPLAYNAME sort order is case sensitive. |

HEADERS

KeyDatatypeRequiredDescription
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header

RESPONSES

status: OK

[{"direction":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"protocol":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"destination":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"destinationType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"icmpOptions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isStateless":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isValid":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"source":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"sourceType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"tcpOptions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timeCreated":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"udpOptions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"direction":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"protocol":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"destination":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"destinationType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"icmpOptions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isStateless":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isValid":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"source":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"sourceType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"tcpOptions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timeCreated":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"udpOptions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]