未使用のアクティベーションコードを削除します。
操作説明
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ecs:DeleteActivation |
update |
*activation
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
アクティベーションコードのリージョン ID です。 サポートされているリージョン:中国 (青島)、中国 (北京)、中国 (張家口)、中国 (フフホト)、中国 (ウランチャブ)、中国 (杭州)、中国 (上海)、中国 (深セン)、中国 (河源)、中国 (広州)、中国 (成都)、中国 (香港)、シンガポール、日本 (東京)、米国 (シリコンバレー)、および米国 (バージニア)。 DescribeRegions 操作を呼び出して、最新のリージョンリストを照会できます。 |
cn-hangzhou |
| RegionId |
string |
必須 |
アクティベーションコードのリージョン ID です。 サポートされているリージョン:中国 (青島)、中国 (北京)、中国 (張家口)、中国 (フフホト)、中国 (ウランチャブ)、中国 (杭州)、中国 (上海)、中国 (深セン)、中国 (河源)、中国 (広州)、中国 (成都)、中国 (香港)、シンガポール、日本 (東京)、米国 (シリコンバレー)、および米国 (バージニア)。 DescribeRegions 操作を呼び出して、最新のリージョンリストを照会できます。 |
cn-hangzhou |
| ActivationId |
string |
必須 |
未使用のアクティベーションコードの ID です。 |
4ECEEE12-56F1-4FBC-9AB1-890F1234**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
4ECEEE12-56F1-4FBC-9AB1-890F74942176 |
| Activation |
object |
アクティベーションコードとその使用状況に関する詳細。 |
|
| CreationTime |
string |
アクティベーションコードが作成された日時。 |
2021-01-20T06:00:00Z |
| DeregisteredCount |
integer |
登録解除されたインスタンスの数。 |
0 |
| InstanceCount |
integer |
アクティベーションコードを使用してマネージドインスタンスを登録できる最大回数。 |
1 |
| Description |
string |
アクティベーションコードの説明。 |
This is description. |
| RegisteredCount |
integer |
登録されたインスタンスの数。 |
0 |
| InstanceName |
string |
デフォルトのインスタンス名のプレフィックス。 |
test-InstanceName |
| IpAddressRange |
string |
アクティベーションコードの使用を許可されているホストの IP アドレス。 |
0.0.0.0/0 |
| TimeToLiveInHours |
integer |
アクティベーションコードの有効期間。単位:時間。 |
4 |
| ActivationId |
string |
アクティベーションコードの ID。 |
4ECEEE12-56F1-4FBC-9AB1-890F1234**** |
例
成功レスポンス
JSONJSON
{
"RequestId": "4ECEEE12-56F1-4FBC-9AB1-890F74942176",
"Activation": {
"CreationTime": "2021-01-20T06:00:00Z",
"DeregisteredCount": 0,
"InstanceCount": 1,
"Description": "This is description.",
"RegisteredCount": 0,
"InstanceName": "test-InstanceName",
"IpAddressRange": "0.0.0.0/0",
"TimeToLiveInHours": 4,
"ActivationId": "4ECEEE12-56F1-4FBC-9AB1-890F1234****"
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | RegionId.ApiNotSupported | The api is not supported in this region. | |
| 500 | InternalError.Dispatch | An error occurred when you dispatched the request. | |
| 403 | ActivationId.InUse | The specified activation id is in use. | |
| 403 | Operation.Forbidden | The operation is not permitted. | |
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | |
| 404 | ActivationId.NotFound | The specified activation id does not exist. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。