Add Application

Add Application

Application is a group of tiers. A tier is a group of virtual machines or IP addresses based on membership criteria. Tiers are bound to a single application. An application name is unique and should not conflict with another application name.

Request
URI
POST
https://{api_host}/api/ni/groups/applications
COPY
Request Body
ApplicationRequest of type(s) application/json
Required
{
    "name": "My-3Tier-App"
}
string
name
Required

The name of the application

Authentication
This operation uses the following authentication methods.
Responses
201

Created

Returns Application of type(s) application/json
This response body class contains all of the following: BaseEntity , InlineApplication1
{
    "entity_id": "1000:104:12213212",
    "name": "My Name",
    "entity_type": "VirtualMachine",
    "create_time": 159724400600,
    "created_by": "admin@local",
    "last_modified_time": 159724400600,
    "last_modified_by": "[email protected]",
    "last_modified_by_service": "Ensemble",
    "tier_count": 25,
    "member_count": 500,
    "update_status": "string",
    "confidence": "Medium"
}

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

details
Optional

details


401

Unauthorized

Operation doesn't return any data structure

500

Internal Error

Operation doesn't return any data structure