Lists all the firewall rules for the specified cluster.
List retrieved successfully.
Bad Request
Not Authorized
Forbidden
Resource not found
Unsupported media type: returned when the payload is in an unsupported format.
Too many requests: returned when more than 35 requests per second are being received by your user.
[- {
- "rules": [
- {
- "type": "CASSANDRA",
- "status": "GENESIS",
- "deferredReason": "string"
}
], - "securityGroupId": "sg-fa3dE817"
}
]
Updates a firewall rule for the specified cluster as identified by the cluster id and network/security group id. Used for changing the port ranges that a particular cluster will accept requests on. Note: It can take up to 10 minutes for the firewall rule changes to reach a useable state. You may check the status of provisioning using the list firewall rules endpoint, or via the console.
Firewall rule update request accepted
Bad Request
Not Authorized
Forbidden
Resource not found
Unsupported media type: returned when the payload is in an unsupported format.
Too many requests: returned when more than 35 requests per second are being received by your user.
{- "rules": [
- {
- "type": "CASSANDRA"
}
], - "securityGroupId": "sg-fa3dE817"
}
{- "message": "update firewall rule request accepted"
}
Creates a firewall rule for the specified cluster. The request will fail if the firewall rule already exists.
Note: It can take up to 10 minutes for the firewall rule to reach a useable state. You may check the status of provisioning using the list firewall rules endpoint, or via the console.
Firewall rule creation request accepted
Bad Request
Not Authorized
Forbidden
Resource not found
Unsupported media type: returned when the payload is in an unsupported format.
Too many requests: returned when more than 35 requests per second are being received by your user.
{- "rules": [
- {
- "type": "CASSANDRA"
}
], - "securityGroupId": "sg-fa3dE817"
}
{- "message": "create firewall rule request accepted"
}
Deletes the specified firewall rule for the specified resource.
Note that the API responds with 202 Accepted for any valid IP address, even if it is not referenced in the cluster. To verify deletion, use the list firewall rules endpoint, or check the “Cassandra Allowed Addresses” section in the console.
Upon deletion, you may need to wait up to 10 minutes before provisioning a replacement using the same network.
Firewall rule delete request accepted
Bad Request
Not Authorized
Forbidden
Resource not found
Unsupported media type: returned when the payload is in an unsupported format.
Too many requests: returned when more than 35 requests per second are being received by your user.
{- "rules": [
- {
- "type": "CASSANDRA"
}
], - "securityGroupId": "sg-fa3dE817"
}
{- "message": "firewall rule marked for deletion"
}