Page tree

Overview

The Get Tier API retrieves information for a specified tier from a workload. 

You can use this API to find the virtual machine associated with this tier. 

You can use the Get Workloads API to find the workloadID (id). 
You can use the Get Tiers API to find the tierId (id). 

Sample request

GET https://api.armor.com/apps/1/tiers/6

Input 

The following table describes the different parts of this API call: 

API Call / URLMethod / Type

/apps/{appId}/tiers/{tierId}

GET

The following table describes the parameter (or parameters) for this API call:

ParameterDescriptionRequired or optionalTypeExample
appIdThe ID of the workload that contains the tierRequiredInteger1
tierIdThe ID of the tierRequiredInteger6



Sample return

StatusResponse
200
{
     "id": 5,
     "name": "New Tier 1",
     "vms":[]
}
400