Sinkholes
List sinkholes owned by this account
client.intel.sinkholes.list(SinkholeListParams { account_id } params, RequestOptionsoptions?): SinglePage<Sinkhole { id, account_tag, created_on, 4 more } >
GET/accounts/{account_id}/intel/sinkholes
Get a sinkhole
client.intel.sinkholes.get(stringsinkholeID, SinkholeGetParams { account_id } params, RequestOptionsoptions?): Sinkhole { id, account_tag, created_on, 4 more }
GET/accounts/{account_id}/intel/sinkholes/{sinkhole_id}
Create a new sinkhole for your account
client.intel.sinkholes.create(SinkholeCreateParams { account_id, name, r2_bucket, 2 more } params, RequestOptionsoptions?): Sinkhole { id, account_tag, created_on, 4 more }
POST/accounts/{account_id}/intel/sinkholes
Update a sinkhole
client.intel.sinkholes.update(stringsinkholeID, SinkholeUpdateParams { account_id, name, r2_bucket, 2 more } params, RequestOptionsoptions?): SinkholeUpdateResponse
PUT/accounts/{account_id}/intel/sinkholes/{sinkhole_id}
Delete a sinkhole
client.intel.sinkholes.delete(stringsinkholeID, SinkholeDeleteParams { account_id } params, RequestOptionsoptions?): SinkholeDeleteResponse
DELETE/accounts/{account_id}/intel/sinkholes/{sinkhole_id}
SinkholesIngresses
Create an ingress rule
client.intel.sinkholes.ingresses.create(stringsinkholeID, IngressCreateParams { zone_id, cidr } params, RequestOptionsoptions?): IngressCreateResponse { id, cidr, created_on, 3 more }
POST/zones/{zone_id}/intel/sinkholes/{sinkhole_id}/ingresses
Get an ingress rule
client.intel.sinkholes.ingresses.get(stringingressID, IngressGetParams { zone_id, sinkhole_id } params, RequestOptionsoptions?): IngressGetResponse { id, cidr, created_on, 3 more }
GET/zones/{zone_id}/intel/sinkholes/{sinkhole_id}/ingresses/{ingress_id}
Update an ingress rule
client.intel.sinkholes.ingresses.update(stringingressID, IngressUpdateParams { zone_id, sinkhole_id, cidr } params, RequestOptionsoptions?): IngressUpdateResponse
PUT/zones/{zone_id}/intel/sinkholes/{sinkhole_id}/ingresses/{ingress_id}
Delete an ingress rule
client.intel.sinkholes.ingresses.delete(stringingressID, IngressDeleteParams { zone_id, sinkhole_id } params, RequestOptionsoptions?): IngressDeleteResponse
DELETE/zones/{zone_id}/intel/sinkholes/{sinkhole_id}/ingresses/{ingress_id}