ex_heroku_client v0.3.0 Heroku.OutboundRuleset
Summary
Functions
Calls PUT /spaces/#{space_identity}/outbound-ruleset
Calls GET /spaces/#{space_identity}/outbound-ruleset
Calls GET /spaces/#{space_identity}/outbound-rulesets
Calls GET /spaces/#{space_identity}/outbound-rulesets/#{outbound_ruleset_identity}
Functions
Calls PUT /spaces/#{space_identity}/outbound-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, a from_port, to_port and protocol.",
"properties": {
"from_port": {
"description": "an endpoint of communication in an operating system.",
"example": 80,
"readOnly": false,
"type": [
"integer"
]
},
"protocol": {
"description": "formal standards and policies comprised of rules, procedures and formats that define communication between two or more devices over a network",
"example": "tcp",
"readOnly": false,
"type": [
"string"
]
},
"target": {
"description": "is the target destination 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"
]
},
"to_port": {
"description": "an endpoint of communication in an operating system.",
"example": 80,
"readOnly": false,
"type": [
"integer"
]
}
},
"required": [
"target",
"from_port",
"to_port",
"protocol"
],
"type": [
"object"
]
},
"type": [
"array"
]
}
},
"type": [
"object"
]
}
Calls GET /spaces/#{space_identity}/outbound-ruleset