Add Application
Application is a group of tiers. A tier is a group of virtual machines based on membership criteria. Tiers are bound to single application. An application name is unique and should not conflict with another application name.
Request
URI
POST
https://vrni.example.com/api/ni/groups/applications
COPY
Request Body
ApplicationRequest
of type(s)
application/json
Required
{
"name": "string"
}
string
name
Optional
name
Responses
201
Created
Returns
Application
of type(s)
application/json
This response body class contains all of the following:
BaseEntity
{
"entity_id": "string",
"name": "string",
"entity_type": "string",
"create_time": 0,
"created_by": "string",
"last_modified_time": 0,
"last_modified_by": "string"
}
400
Bad Request
Returns
ApiError
of type(s)
application/json
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
integer As int32
As int32
code
Optional
code
string
message
Optional
message
401
Unauthorized
Operation doesn't return any data structure
500
Internal Error
Operation doesn't return any data structure