Get associated rulesets

edit

Retrieves the rulesets associated with a deployment.

Request

edit

GET /api/v1/deployments/traffic-filter/associations/{association_type}/{associated_entity_id}/rulesets

Path parameters

edit
Name Type Required Description

associated_entity_id

string

Y

Associated entity ID

association_type

string

Y

Association type

Responses

edit
200

(TrafficFilterSettings) Rulesets in the deployment were successfully returned

400

(BasicFailedReply) Invalid association type. (code: traffic_filter.invalid_association_type)

Headers

x-cloud-error-codes (string; allowed values: [traffic_filter.invalid_association_type])
The error codes associated with the response
500

(BasicFailedReply) Error fetching traffic filter rulesets. (code: traffic_filter.request_execution_failed)

Headers

x-cloud-error-codes (string; allowed values: [traffic_filter.request_execution_failed])
The error codes associated with the response

To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.

Request example

edit
curl -XGET https://{{hostname}}/api/v1/deployments/traffic-filter/associations/{association_type}/{associated_entity_id}/rulesets \
-H "Authorization: ApiKey $ECE_API_KEY"