read Networking V1Namespaced Network Policy
GET {{baseUrl}}/apis/networking.k8s.io/v1/namespaces/:namespace/networkpolicies/:name?pretty=aliqua sed ad pariatur
read the specified NetworkPolicy
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
pretty | string | If 'true', then the output is pretty printed. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"apiVersion":"eu in","kind":"aute","metadata":{"annotations":{"enim0":"","nisi_f1":"","Duis_2":""},"creationTimestamp":"1993-08-15T23:09:57.550Z","deletionGracePeriodSeconds":22023397,"deletionTimestamp":"1985-01-24T18:17:34.139Z","finalizers":["",""],"generateName":"qui voluptat","generation":22507320,"labels":{"officia_099":""},"managedFields":[{"apiVersion":"do proident ea","fieldsType":"amet in","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"irure quis","operation":"v","subresource":"et do reprehenderit ut","time":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"apiVersion":"proident consequat","fieldsType":"adipisicing ex ullamco","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"occaecat cupidatat","operation":"irure minim culpa","subresource":"est esse in do ipsum","time":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"name":"in ex","namespace":"sunt dolor ad quis","ownerReferences":[{"apiVersion":"","kind":"","name":"","uid":"","blockOwnerDeletion":false,"controller":false},{"apiVersion":"","kind":"","name":"","uid":"","blockOwnerDeletion":true,"controller":false}],"resourceVersion":"ut veniam in","selfLink":"est tempor","uid":"laborum Lorem"},"spec":{"podSelector":{"matchExpressions":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"matchLabels":{"qui2":"","est73":""}},"egress":[{"ports":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"to":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},{"ports":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"to":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}],"ingress":[{"from":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"ports":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},{"from":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"ports":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}],"policyTypes":["",""]},"status":{"conditions":[{"type":"","status":"","lastTransitionTime":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"reason":"","message":"","observedGeneration":-8257388},{"type":"","status":"","lastTransitionTime":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"reason":"","message":"","observedGeneration":35252269}]}}