可讓您從 Integration Server 資料庫取得有關租戶的資訊。
方法:
GET /api/2.0/virtualization/tenants/{tenant ID}
其中:
{tenant ID} – Integration Server 資料庫中的租戶識別碼(必要參數)。
如果請求成功完成,REST API 會返回以下租戶資訊:
<tenant id="{ID}" created="{date and time}" updated="{date and time}">
<name>{name}</name>
<description>{description}</description>
<userData><![CDATA[{其他資訊}]]></userData>
<!-- vKsc 區域中的資料僅供完全租戶類型使用 -->
<vKsc id="{ID}">
<user>
<name>{administrator}</name>
</user>
</vKsc>
<status>{status}</status>
<type>{tenant type}</type>
</tenant>
其中:
tenant id="{ID}" – Integration Server 資料庫中的租戶識別碼。created="{date and time}" – 租戶在 Integration Server 資料庫中註冊的日期與時間,格式為 YYYY-MM-DDThh:mm:ss。updated="{date and time}" – 租戶資料在 Integration Server 資料庫中更新的日期與時間,格式為 YYYY-MM-DDThh:mm:ss。{name} – 建立租戶時指定的租戶名稱。{description} – 租戶描述。{additional information} – Integration Server 資料庫中儲存的租戶其他相關資訊。vKsc id="{ID}" – 卡巴斯基安全管理中心中分配給租戶虛擬管理伺服器的識別碼。{administrator} – 租戶虛擬管理伺服器的管理員名稱。{status} – 目前租戶狀態:Active或Inactive。{tenant type} – 租戶類型:Complete或Simple。返回代碼:
200 (OK) – 請求成功完成。回應會返回租戶資訊。403 (Forbidden) – 存取資源遭拒。404 (Not Found) VIRMT_TenantWithSpecifiedIdNotFound – 未在 Integration Server 資料庫中找到具有指定識別碼的租戶。