インスタンスのアクティブなライセンス情報を照会します。
操作説明
削除する前に、インスタンスが使用中でないことを確認してください。EIAM インスタンスを削除すると、関連するすべてのデータが恒久的に削除されます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
eiam:GetInstanceLicense |
get |
*Instance
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| InstanceId |
string |
必須 |
インスタンス ID。 |
idaas_ue2jvisn35ea5lmthk2676xxxx |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID です。 |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| License |
object |
ライセンスの詳細です。 |
|
| LicenseId |
string |
ライセンスの一意の識別子です。 |
license_1234xxxx |
| LicenseStatus |
string |
ライセンスのステータスです。 列挙値:
|
valid |
| LicenseChargeType |
string |
ライセンスの課金方法です。 列挙値:
|
prepay |
| LicenseConfigJson |
string |
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 |
ライセンスが作成された時刻を示す UNIX タイムスタンプです。 |
1720509699000 |
| PurchaseChannel |
string |
ライセンスの購入に使用したチャネルです。 列挙値:
|
alibaba_cloud |
| PurchaseInstanceId |
string |
ライセンスに関連付けられている外部サービスの一意の識別子です。 |
eiam-cn-xxxxx |
| Edition |
string |
ライセンスのエディションです。 列挙値:
|
free |
| UserQuota |
integer |
ライセンスに含まれるユーザー クォータです。 |
100 |
| StartTime |
integer |
ライセンスの有効期間の開始時刻を示す UNIX タイムスタンプです。 |
1720509699000 |
| EndTime |
integer |
ライセンスの有効期間の終了時刻を示す UNIX タイムスタンプです。 |
1723996800000 |
| InstanceLicenseDetail |
object |
インスタンス ライセンスの詳細です。 |
|
| UserQuota |
integer |
ライセンスに含まれるユーザー クォータです。 |
100 |
| PrepaidActiveUserNumber |
integer |
アクティブなサブスクリプション アカウント数です。 |
100 |
| M2mApplicationQuota |
integer |
マシンツーマシン (M2M) アプリケーションのクォータです。 |
2 |
| M2mApplicationLicenseStatus |
string |
マシンツーマシン (M2M) アプリケーションのライセンス ステータスです。 列挙値:
|
enabled |
| MimApplicationLicenseStatus |
string |
マシンアイデンティティ (MIM) アプリケーションのライセンス ステータスです。 |
enabled |
| NetworkAccessEndpointQuota |
integer |
ネットワークアクセスエンドポイントのクォータです。 |
1 |
| ConditionalAccessPolicyLicenseStatus |
string |
条件付きアクセス機能のライセンス ステータスです。 列挙値:
|
enabled |
例
成功レスポンス
JSONJSON
{
"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"
}
}
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。