功能介紹
查詢該租戶下,所有資源的配額信息,包括已使用配額。
調(diào)試
您可以在API Explorer中調(diào)試該接口。
請求參數(shù)
無
請求示例
GET https://{BMS Endpoint}/v1/bbf1946d374b44a0a2a95533562ba954/baremetalservers/limits |
響應(yīng)參數(shù)
以下參數(shù)值為“-1”時(shí),表示無數(shù)量限制。
|
參數(shù) |
參數(shù)類型 |
描述 |
|---|---|---|
|
maxTotalInstances |
Integer |
裸金屬服務(wù)器 最大申請數(shù)量。 |
|
maxTotalCores |
Integer |
CPU核數(shù)最大申請數(shù)量。 |
|
maxTotal RAM Size |
Integer |
內(nèi)存最大申請容量(單位:MB)。 |
|
maxTotalKeypairs |
Integer |
可以申請的SSH密鑰對最大數(shù)量。 |
|
maxServerMeta |
Integer |
可輸入元數(shù)據(jù)的最大長度。 |
|
maxPersonality |
Integer |
可注入文件的最大個(gè)數(shù)。 |
|
maxPersonalitySize |
Integer |
注入文件內(nèi)容的最大長度(單位:Byte)。 |
|
maxServerGroups |
Integer |
服務(wù)器組的最大個(gè)數(shù)。 |
|
maxServerGroupMembers |
Integer |
服務(wù)器組中的最大裸金屬服務(wù)器數(shù)。 |
|
totalServerGroupsUsed |
Integer |
已使用的服務(wù)器組個(gè)數(shù)。 |
|
maxSecurityGroups |
Integer |
安全組最大使用個(gè)數(shù)。 說明:
具體配額限制請以VPC配額限制為準(zhǔn)。 |
|
maxSecurityGroupRules |
Integer |
安全組中安全組規(guī)則最大的配置個(gè)數(shù)。 說明:
具體配額限制請以VPC配額限制為準(zhǔn)。 |
|
maxTotalFloatingIps |
Integer |
最大的彈性IP使用個(gè)數(shù)。 |
|
maxImageMeta |
Integer |
鏡像 元數(shù)據(jù)最大的長度。 |
|
totalInstancesUsed |
Integer |
當(dāng)前裸金屬服務(wù)器使用個(gè)數(shù)。 |
|
totalCoresUsed |
Integer |
當(dāng)前已使用CPU核數(shù)。 |
|
totalRAMUsed |
Integer |
當(dāng)前內(nèi)存使用容量(單位:MB)。 |
|
totalSecurityGroupsUsed |
Integer |
當(dāng)前安全組使用個(gè)數(shù)。 |
|
totalFloatingIpsUsed |
Integer |
當(dāng)前彈性IP使用個(gè)數(shù)。 |
響應(yīng)示例
{ "absolute": { "maxServerMeta": 128, "maxPersonality": 5, "maxImageMeta": 128, "maxPersonalitySize": 10240, "maxSecurityGroupRules": 20, "maxTotalKeypairs": 100, "totalRAMUsed": 799836, "totalInstancesUsed": 21, "maxSecurityGroups": 10, "totalFloatingIpsUsed": 0, "maxTotalCores": -1, "totalSecurityGroupsUsed": 1, "maxTotalFloatingIps": 10, "maxTotalInstances": 100, "totalCoresUsed": 148, "maxTotalRAMSize": -1, "maxServerGroups": -1, "maxServerGroupMembers": -1, "totalServerGroupsUsed": 1 } } |
錯(cuò)誤碼
請參考錯(cuò)誤碼。
