Create Spoke Cluster (v2.0)
POST/v2.0/api/tenants/:tenant_id/sites/:site_id/spokeclusters
Create cluster to determine which data center communicates with which branch devices.
Request
Path Parameters
The tenant ID.
ID of the site. More details on the site can be retrieved by querying the sites API.
- application/json
Body
Details of the spokecluster to be created
Lists the intervals in which the active device advertises its status to the backup.
The cluster description.
The ID of the site.
Name of the cluster.
Indicates if preemption is required or not.
Displays the details about the tags or labels applied to the clusters.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
Lists the intervals in which the active device advertises its status to the backup.
The cluster description.
The ID of the site.
Name of the cluster.
Indicates if preemption is required or not.
Displays the details about the tags or labels applied to the clusters.
{
"advertisement_interval": 0,
"id": "string",
"name": "string",
"preempt": true,
"tags": [
"string"
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_JSON_INPUT"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "SPOKECLUSTER_CONFIG_INVALID_SITE"
},
{
"code": "SPOKECLUSTER_CONFIG_EXCEEDS_LIMIT"
},
{
"code": "ADVERTISEMENT_INTERVAL_INVALID_DECIMAL"
},
{
"code": "ADVERTISEMENT_INTERVAL_REQD"
}
]
}
}