Mengkueri informasi lisensi aktif instans.
Deskripsi operasi
Ensure the instance is not in use before deletion. Deleting an EIAM instance permanently removes all of its associated data.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:GetInstanceLicense |
get |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans. |
idaas_ue2jvisn35ea5lmthk2676xxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| License |
object |
The license details. |
|
| LicenseId |
string |
The unique identifier for the license. |
license_1234xxxx |
| LicenseStatus |
string |
The license status. Valid values:
|
valid |
| LicenseChargeType |
string |
The billing method for the license. Valid values:
|
prepay |
| LicenseConfigJson |
string |
The detailed configurations of the license, formatted as a JSON string. |
{"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 |
The UNIX timestamp indicating when the license was created. |
1720509699000 |
| PurchaseChannel |
string |
The channel used to purchase the license. Valid values:
|
alibaba_cloud |
| PurchaseInstanceId |
string |
The unique identifier of the external service associated with the license. |
eiam-cn-xxxxx |
| Edition |
string |
The license edition. Valid values:
|
free |
| UserQuota |
integer |
The user quota included with the license. |
100 |
| StartTime |
integer |
The UNIX timestamp indicating the start of the license validity period. |
1720509699000 |
| EndTime |
integer |
The UNIX timestamp indicating the end of the license validity period. |
1723996800000 |
| InstanceLicenseDetail |
object |
The details of the instance license. |
|
| UserQuota |
integer |
The user quota of the license. |
100 |
| PrepaidActiveUserNumber |
integer |
100 |
|
| M2mApplicationQuota |
integer |
The machine-to-machine (M2M) application quota of the license. |
2 |
| M2mApplicationLicenseStatus |
string |
The status of the M2M application license. Valid values:
|
enabled |
| MimApplicationLicenseStatus |
string |
enabled |
|
| NetworkAccessEndpointQuota |
integer |
The network access endpoint quota of the license. |
1 |
| ConditionalAccessPolicyLicenseStatus |
string |
The status of the Conditional Access license. Valid values:
|
enabled |
Contoh
Respons sukses
JSONformat
{
"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,
"PrepaidActiveUserNumber": 100,
"M2mApplicationQuota": 2,
"M2mApplicationLicenseStatus": "enabled",
"MimApplicationLicenseStatus": "enabled",
"NetworkAccessEndpointQuota": 1,
"ConditionalAccessPolicyLicenseStatus": "enabled"
}
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.