Update Subscriber
Update subscription to receive data related to a 'message group' from 'Databus'. Receiver url of the subscription can be updated. Message group cannot be updated after creation of the subscription. If there is a requirement to change the message group, a new subscription can be created after deleting the subscription.
ID of the subscription as returned in GET / POST subscription API response
Databus Subscriber Request
{
"id": "9c488c91-692e-4992-a83f-ee33a0f9a6c6",
"message_group": "problems",
"url": "https://data-pipeline.vmware.com/vrni/events",
"filter_tags": [
{
"filterKey": "appName",
"filterValue": [
"app1",
"app2"
]
}
]
}
unique id assigned for the receiver by Operations for Networks. This is not required while creating the subscription
Message-group name for receiving the data from. Message group of a subscription cannot be changed after creation. Supported message groups - application, flows, problems, metrics, vms, hosts, nics, switchports, vms-metrics, hosts-metrics, flows-metrics, nics-metrics, switchports-metrics
URL where the data will be posted to. All the messages from the message group will be posted to this url. If multiple receivers are present behind a load balancer, this can be the url of the load balancer. The url of the subscription can be changed after the creation of the subscription.
Filter tag is optional and used only for flows filtering. Please reach out to VMware support to enable filtering functionality in Databus.
Success
{
"id": "9c488c91-692e-4992-a83f-ee33a0f9a6c6",
"message_group": "problems",
"url": "https://data-pipeline.vmware.com/vrni/events",
"filter_tags": [
{
"filterKey": "appName",
"filterValue": [
"app1",
"app2"
]
}
]
}
unique id assigned for the receiver by Operations for Networks. This is not required while creating the subscription
Message-group name for receiving the data from. Message group of a subscription cannot be changed after creation. Supported message groups - application, flows, problems, metrics, vms, hosts, nics, switchports, vms-metrics, hosts-metrics, flows-metrics, nics-metrics, switchports-metrics
URL where the data will be posted to. All the messages from the message group will be posted to this url. If multiple receivers are present behind a load balancer, this can be the url of the load balancer. The url of the subscription can be changed after the creation of the subscription.
Filter tag is optional and used only for flows filtering. Please reach out to VMware support to enable filtering functionality in Databus.
Bad Request
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
code
message
Unauthorized
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
code
message
Forbidden
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
code
message
Internal Error
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
code
message