GET SessionMachineCatalogs({id})/SessionMachines/TenantCounts

Get the number of tenants for each session machine contained in the session machine catalog.

Request Information

Parameters

NameDescriptionAdditional information
id

ID of the session machine catalog to get counts for.

Type:

Response Information

A list of reference counts for each session machine.

Response type

CollectionResultModel<ReferenceCountModel>

Response body formats

application/json, text/json

Sample:
{
  "Href": "[api:SessionMachineCatalogs(628fa898-0c36-4024-8fe4-d7e9a9bfbcfa)/SessionMachines/TenantCounts]",
  "Count": 1,
  "TotalMatchingFilter": 1,
  "Items": [
    {
      "Id": "77b50020-4252-453c-815b-ce9b9412d543",
      "Name": "machine1",
      "Count": 1
    }
  ]
}