開通IPAM功能。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
vpc:OpenVpcIpamService |
create |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ClientToken |
string |
否 |
用戶端 Token,用於保證請求的等冪性。 從您的用戶端產生一個參數值,確保不同請求間該參數值唯一。ClientToken 只支援 ASCII 字元。 說明
若您未指定,則系統自動使用 API 請求的 RequestId 作為 ClientToken 標識。每次 API 請求的 RequestId 可能不一樣。 |
123e4567-e89b-12d3-a456-426655440000 |
| RegionId |
string |
是 |
IPAM 託管地區 ID。 |
cn-hangzhou |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
返回的資訊列表。 |
||
| RequestId |
string |
請求 ID。 |
3F814C37-B032-5477-AF5A-2925D0593CD4 |
| Code |
string |
狀態代碼。 |
200 |
| Message |
string |
IPAM 開通成功返回的資訊。 |
successful |
樣本
正常返回樣本
JSON格式
{
"RequestId": "3F814C37-B032-5477-AF5A-2925D0593CD4",
"Code": "200",
"Message": "successful"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | OperationFailed.ExceedPurchaseLimit | You have reached the limit of purchase quantity. | 您已達到購買數量限制。 |
| 400 | Forbidden.RAM | The user is not authorized to operate on the specified resource, or the API operation does not support RAM. | 使用者沒有許可權對指定資源進行操作,或者該API操作不支援RAM。 |
| 400 | OperationFailed.AliGroupUserCanNotBuyInnerCommodity | IPAM has no group cloud product label, and users within the group are not allowed to purchase. | IPAM 無集團上雲商品標籤,不允許集團內部使用者購買。 |
| 400 | Order.NoRealNameAuthentication | Real-name verification has not been completed for the account. | 您尚未進行實名認證,請前往帳號中心完成實名認證。 |
| 400 | OperationFailed.BasicInfoUncompleted | You have not completed your basic personal information, please complete the information and try again. | 您未完善個人基本資料,請完善資訊後重新操作。 |
| 400 | OperationFailed.AccountBalanceInsufficient | The account balance of this user is insufficient to place the order. | 帳號餘額不足。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。