Add an egress rule
Can be used by the following roles assigned at the organization, folder or cluster scope:
- CLUSTER_ADMIN
- CLUSTER_OPERATOR_WRITER
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
cluster_id identifies the cluster to which this egress rule applies.
Body
description is text that serves to document the rules purpose.
destination is the endpoint (or subnetwork if CIDR) to which traffic is allowed.
name is the name of the egress rule.
type classifies the Destination field. Valid types include: "FQDN", "CIDR".
idempotency_key uniquely identifies this request. If not set, it will be set by the server.
Deprecated: This field is ignored and will be removed in the next version. paths are the allowed URL paths. If empty, all paths are allowed. Only valid if Type="FQDN".
ports are the allowed ports for TCP protocol. If Empty, all ports are allowed.
Response
A successful response.
EgressRule represents a network egress rule.

