POST /ipaddrgroup
/ipaddrgroup
Avi Tenant Header
Avi Tenant Header UUID
The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
IpAddrGroup object creation
Show optional properties
{
"name": "string"
}
{
"_last_modified": "string",
"addrs": [
{
"addr": "string",
"type": "string"
}
],
"configpb_attributes": {
"version": 0
},
"country_codes": [
"string"
],
"description": "string",
"ip_ports": [
{
"hostname": "string",
"ip": {
"addr": "string",
"type": "string"
},
"name": "string",
"port": 0
}
],
"marathon_app_name": "string",
"marathon_service_port": 0,
"markers": [
{
"key": "string",
"values": [
"string"
]
}
],
"name": "string",
"prefixes": [
{
"ip_addr": {
"addr": "string",
"type": "string"
},
"mask": 0
}
],
"ranges": [
{
"begin": {
"addr": "string",
"type": "string"
},
"end": {
"addr": "string",
"type": "string"
}
}
],
"tenant_ref": "string",
"url": "string",
"uuid": "string"
}
OK
"IpAddrGroup Object"
UNIX time since epoch in microseconds. Units(MICROSECONDS).
Configure IP address(es). Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
configpb_attributes
Populate the IP address ranges from the geo database for this country. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Configure (IP address, port) tuple(s). Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Populate IP addresses from tasks of this Marathon app. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Task port associated with marathon service port. If Marathon app has multiple service ports, this is required. Else, the first task port is used. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
List of labels to be used for granular RBAC. Field introduced in 20.1.5. Allowed in Enterprise edition with any value, Essentials edition with any value, Basic edition with any value, Enterprise with Cloud Services edition.
Name of the IP address group. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Configure IP address prefix(es). Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Configure IP address range(s). Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
It is a reference to an object of type Tenant. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
url
UUID of the IP address group. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
log in failed
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string"}' https://{api_host}/api/ipaddrgroup