Create a new host application
Body parameter
{
"name": "string",
"description": "string",
"routes": [
{
"value": "string",
"allowEmbeddedIp": true
}
],
"config": {
"serviceTypes": [
"ANY"
],
"customServiceTypes": [
{
"protocol": "TCP",
"port": [
{
"value": 0,
"lowerValue": 0,
"upperValue": 0
}
],
"icmpType": [
{
"value": 0,
"lowerValue": 0,
"upperValue": 0
}
]
}
]
}
}
Parameters
Name | In | Type | Required | Description |
|---|---|---|---|---|
hostId | query | string | true | none |
body | body | true | none | |
» name | body | string | false | none |
» description | body | string | false | none |
» routes | body | false | none | |
»» value | body | string | false | none |
»» allowEmbeddedIp | body | boolean | false | none |
» config | body | false | none | |
»» serviceTypes | body | [string] | false | none |
»» customServiceTypes | body | false | none | |
»»» protocol | body | string | false | none |
»»» port | body | false | none | |
»»»» value | body | integer(int32) | false | none |
»»»» lowerValue | body | integer(int32) | false | none |
»»»» upperValue | body | integer(int32) | false | none |
»»» icmpType | body | false | none |
Enumerated Values
Parameter | Value |
|---|---|
»» serviceTypes | ANY |
»» serviceTypes | CUSTOM |
»» serviceTypes | BGP |
»» serviceTypes | DHCP |
»» serviceTypes | DNS |
»» serviceTypes | FTP |
»» serviceTypes | HTTP |
»» serviceTypes | HTTPS |
»» serviceTypes | IMAP |
»» serviceTypes | IMAPS |
»» serviceTypes | NTP |
»» serviceTypes | POP3 |
»» serviceTypes | POP3S |
»» serviceTypes | SMTP |
»» serviceTypes | SMTPS |
»» serviceTypes | SNMP |
»» serviceTypes | SSH |
»» serviceTypes | TELNET |
»» serviceTypes | TFTP |
»»» protocol | TCP |
»»» protocol | UDP |
»»» protocol | ICMP |
Responses
Status | Meaning | Description | Schema |
|---|---|---|---|
201 | Created |
To perform this operation, you must be authenticated by means of one of the following methods: oauth