EgressDenyPolicy
API reference for Egress Deny Policies (clrk.apoxy.dev/v1alpha1)
API Group: clrk.apoxy.dev/v1alpha1
Operations
List EgressDenyPolicy
GET/apis/clrk.apoxy.dev/v1alpha1/egressdenypolicies
List EgressDenyPolicy
Response
200: OK
List EgressDenyPolicy
GET/apis/clrk.apoxy.dev/v1alpha1/namespaces/{namespace}/egressdenypolicies
List EgressDenyPolicy
Response
200: OK
Create EgressDenyPolicy
POST/apis/clrk.apoxy.dev/v1alpha1/namespaces/{namespace}/egressdenypolicies
create an EgressDenyPolicy
Request Body
Spec fields (EgressDenyPolicySpec):
| Field | Type | Description |
|---|---|---|
denyResponse | DenyResponseConfig | DenyResponse configures the rejection returned to the caller. |
targetRef | LocalPolicyTargetReference | TargetRef identifies the route this policy attaches to. (required) |
Response
200: OK201: Created202: Accepted
Delete All EgressDenyPolicy
DELETE/apis/clrk.apoxy.dev/v1alpha1/namespaces/{namespace}/egressdenypolicies
Delete collection of EgressDenyPolicy
Response
200: OK
Get EgressDenyPolicy
GET/apis/clrk.apoxy.dev/v1alpha1/namespaces/{namespace}/egressdenypolicies/{name}
Get the specified EgressDenyPolicy
Response
200: OK
Replace EgressDenyPolicy
PUT/apis/clrk.apoxy.dev/v1alpha1/namespaces/{namespace}/egressdenypolicies/{name}
Replace the specified EgressDenyPolicy
Request Body
Spec fields (EgressDenyPolicySpec):
| Field | Type | Description |
|---|---|---|
denyResponse | DenyResponseConfig | DenyResponse configures the rejection returned to the caller. |
targetRef | LocalPolicyTargetReference | TargetRef identifies the route this policy attaches to. (required) |
Response
200: OK201: Created
Update EgressDenyPolicy
PATCH/apis/clrk.apoxy.dev/v1alpha1/namespaces/{namespace}/egressdenypolicies/{name}
Partially update the specified EgressDenyPolicy
Response
200: OK201: Created
Delete EgressDenyPolicy
DELETE/apis/clrk.apoxy.dev/v1alpha1/namespaces/{namespace}/egressdenypolicies/{name}
delete an EgressDenyPolicy
Response
200: OK202: Accepted
Schema Reference
DenyResponseConfig
| Field | Type | Description |
|---|---|---|
message | string | |
statusCode | integer (int32) |