ex_heroku_client v0.1.0 Heroku.InboundRuleset
Summary
Functions
Calls PUT /spaces/#{space_identity}/inbound-ruleset
Calls GET /spaces/#{space_identity}/inbound-ruleset
Calls GET /spaces/#{space_identity}/inbound-rulesets/#{inbound-ruleset_identity}
Calls GET /spaces/#{space_identity}/inbound-rulesets
Functions
Calls PUT /spaces/#{space_identity}/inbound-ruleset
params
is JSON encoded and passed as the request body.
params Schema
{
"properties": {
"rules": {
"additionalItems": true,
"items": {
"description": "the combination of an IP address in CIDR notation and whether to allow or deny it's traffic.",
"properties": {
"action": {
"description": "states whether the connection is allowed or denied",
"enum": [
"allow",
"deny"
],
"example": "allow",
"readOnly": false,
"type": [
"string"
]
},
"source": {
"description": "is the request’s source in CIDR notation",
"example": "1.1.1.1/1",
"pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\\/([0-9]|[1-2][0-9]|3[0-2]))$",
"readOnly": false,
"type": [
"string"
]
}
},
"required": [
"source",
"action"
],
"type": [
"object"
]
},
"type": [
"array"
]
}
},
"type": [
"object"
]
}
Calls GET /spaces/#{space_identity}/inbound-rulesets/#{inbound-ruleset_identity}