查詢執行個體當前生效的 License 資訊。
介面說明
請確保您當前的執行個體已經不再使用,當 EIAM 執行個體被刪除後,所有相關的資料都將被刪除。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
eiam:GetInstanceLicense |
get |
*Instance
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| InstanceId |
string |
是 |
執行個體 Id |
idaas_ue2jvisn35ea5lmthk2676xxxx |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
請求 Id |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| License |
object |
返回結果。 |
|
| LicenseId |
string |
License 的唯一標識 |
license_1234xxxx |
| LicenseStatus |
string |
License 的狀態 枚舉值:
|
valid |
| LicenseChargeType |
string |
License 的付費類型 枚舉值:
|
prepay |
| LicenseConfigJson |
string |
License 詳細配置 JSON 字串 |
{"modules":[{"features":[{"name":"urn:alibaba:idaas:license:module:ud:customField","status":"enabled"}]……{"name":"urn:alibaba:idaas:license:tag:enterprise","status":"enabled"}],"version":"1.0"} |
| LicenseCreateTime |
integer |
License 的建立時間,時間戳記 |
1720509699000 |
| PurchaseChannel |
string |
License 的購買渠道 枚舉值:
|
alibaba_cloud |
| PurchaseInstanceId |
string |
License 對應的外部商品唯一標識 |
eiam-cn-xxxxx |
| Edition |
string |
License 的版本型號 枚舉值:
|
free |
| UserQuota |
integer |
License 的使用者配額 |
100 |
| StartTime |
integer |
License 的有效期間開始日期,時間戳記 |
1720509699000 |
| EndTime |
integer |
License 的有效期間終止日期,時間戳記 |
1723996800000 |
| InstanceLicenseDetail |
object |
執行個體 License 詳細資料 |
|
| UserQuota |
integer |
License 的使用者配額 |
100 |
| M2mApplicationQuota |
integer |
License 的 M2M 應用配額 |
2 |
| M2mApplicationLicenseStatus |
string |
M2M License 狀態 枚舉值:
|
enabled |
| NetworkAccessEndpointQuota |
integer |
License 的網路訪問端點配額 |
1 |
| ConditionalAccessPolicyLicenseStatus |
string |
條件訪問 License 狀態 枚舉值:
|
enabled |
樣本
正常返回樣本
JSON格式
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"License": {
"LicenseId": "license_1234xxxx",
"LicenseStatus": "valid",
"LicenseChargeType": "prepay",
"LicenseConfigJson": "{\"modules\":[{\"features\":[{\"name\":\"urn:alibaba:idaas:license:module:ud:customField\",\"status\":\"enabled\"}]……{\"name\":\"urn:alibaba:idaas:license:tag:enterprise\",\"status\":\"enabled\"}],\"version\":\"1.0\"}",
"LicenseCreateTime": 1720509699000,
"PurchaseChannel": "alibaba_cloud",
"PurchaseInstanceId": "eiam-cn-xxxxx",
"Edition": "free",
"UserQuota": 100,
"StartTime": 1720509699000,
"EndTime": 1723996800000,
"InstanceLicenseDetail": {
"UserQuota": 100,
"M2mApplicationQuota": 2,
"M2mApplicationLicenseStatus": "enabled",
"NetworkAccessEndpointQuota": 1,
"ConditionalAccessPolicyLicenseStatus": "enabled"
}
}
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。