すべてのプロダクト
Search
ドキュメントセンター

Elastic Compute Service:CreateInstance

最終更新日:Jun 29, 2026

サブスクリプションまたは従量課金の Elastic Compute Service (ECS) インスタンスをカスタマイズ可能なパラメーターで作成します。

操作説明

説明

このオペレーションはメンテナンスされていません。代わりに RunInstances を使用してください。

このオペレーションを呼び出す前に、ECS の課金方法と電卓を十分に理解してください。

これは非同期操作です。インスタンス作成リクエストが送信されると、インスタンス ID が返されます。インスタンスはすぐには作成されません。 DescribeInstanceStatus を呼び出してインスタンスステータスをクエリしてください。ステータスが Stopped の場合、インスタンスは作成されています。その後、 StartInstance を呼び出してインスタンスを起動できます。

事前準備

  • インスタンスの作成には料金が発生します。エラスティックコンピューティングサービス (ECS) の課金方法を理解してください。詳細については、課金概要を参照してください。

  • インスタンスの合計数またはすべてのインスタンスタイプの vCPU の合計数がクォータを超えないようにしてください。詳細については、クォータセンターを参照してください。

  • VPC 接続インスタンスを作成する前に、対応するリージョンに VPC を作成してください。詳細については、VPC の作成を参照してください。

事前準備

  • このオペレーションを呼び出すと、システムはインスタンス作成に関する通知(テキストメッセージ、メール、内部メッセージを含む)を送信しません。

  • インスタンスの課金方法がサブスクリプション(PrePaid)の場合、アカウント内のアクティブなクーポンがデフォルトで支払い時に使用されます。

  • インスタンスメモリが 512 MiB の場合、半年チャンネルを除き Windows Server イメージは使用できません。インスタンスメモリが 4 GiB 以上の場合、32 ビットオペレーティングシステムイメージは使用できません。

  • この操作を呼び出して作成されたインスタンスにはインターネット IP アドレスが割り当てられません。パブリック帯域幅が 0 より大きい場合、 AllocatePublicIpAddress を呼び出してパブリック IP アドレスを割り当ててください。パブリック帯域幅が 0 の場合、 ModifyInstanceNetworkSpec を呼び出して帯域幅を調整してから、 AllocatePublicIpAddress を呼び出してパブリック IP アドレスを割り当ててください。

説明

単一リージョンにおいて、単一の Alibaba Cloud アカウントの帯域幅課金によるインターネット帯域幅の合計ピーク値には制限があります。詳細については、パブリック帯域幅の制限を参照してください。

推奨事項

  • インスタンスタイプの選択: インスタンスファミリーを参照するか、 DescribeInstanceTypes を呼び出してターゲットインスタンスタイプのパフォーマンスデータをクエリしてください。インスタンスタイプ選択の設定項目も参照して、インスタンスタイプの選択方法を確認できます。

  • アクティブなリソースの確認: DescribeAvailableResource を呼び出して、特定のリージョンまたはゾーンのアクティブなリソースをクエリしてください。

  • ユーザーデータ: インスタンスがインスタンスユーザーデータの要件を満たしている場合、UserData を渡すことができます。UserData データは API リクエスト送信時に暗号化されません。パスワードや非公開キーなどの機密情報をプレーンテキストで送信しないでください。このような情報を渡す必要がある場合は、暗号化して Base64 エンコーディングを使用してから渡してください。その後、インスタンス内で復号を実行してください。

今すぐお試しください

この API を OpenAPI Explorer でお試しください。手作業による署名は必要ありません。呼び出しに成功すると、入力したパラメーターに基づき、資格情報が組み込まれた SDK コードが自動的に生成されます。このコードをダウンロードしてローカルで使用できます。

テスト

RAM 認証

下表に、この API を呼び出すために必要な認証情報を示します。認証情報は、RAM (Resource Access Management) ポリシーを使用して定義できます。以下で各列名について説明します。

  • アクション:特定のリソースに対して実行可能な操作。ポリシー構文ではAction要素として指定します。

  • API:アクションを具体的に実行するための API。

  • アクセスレベル:各 API に対して事前定義されているアクセスの種類。有効な値:create、list、get、update、delete。

  • リソースタイプ:アクションが作用するリソースの種類。リソースレベルでの権限をサポートするかどうかを示すことができます。ポリシーの有効性を確保するため、アクションの対象として適切なリソースを指定してください。

    • リソースレベルの権限を持つ API の場合、必要なリソースタイプはアスタリスク (*) でマークされます。ポリシーのResource要素で対応する ARN を指定してください。

    • リソースレベルの権限を持たない API の場合、「すべてのリソース」と表示され、ポリシーのResource要素でアスタリスク (*) でマークされます。

  • 条件キー:サービスによって定義された条件のキー。このキーにより、きめ細やかなアクセス制御が可能になります。この制御は、アクション単体に適用することも、特定のリソースに対するアクションに適用することもできます。Alibaba Cloud は、サービス固有の条件キーに加えて、すべての RAM 統合サービスに適用可能な一連の共通条件キーを提供しています。

  • 依存アクション:ある特定のアクションを実行するために、前提として実行が必要となる他のアクション。依存アクションの権限も RAM ユーザーまたは RAM ロールに付与する必要があります。

アクション

アクセスレベル

リソースタイプ

条件キー

依存アクション

ecs:CreateInstance

create

*All Resource

*

  • vpc:VPC
  • vpc:IsDefaultVSwitch
  • vpc:IsDefaultVpc
  • ecs:IsDiskEncrypted
  • ecs:InstanceType
  • ecs:InstanceTypeFamily
  • ecs:ImageOwnerId
  • ecs:ImageSource
  • ecs:NotSpecifySecurityGroupId
  • ecs:LoginAsNonRoot
  • ecs:IsSystemDiskByokEncrypted
  • ecs:IsDiskByokEncrypted
  • ecs:PasswordInherit
  • ecs:PasswordCustomized
  • ecs:IsSystemDiskEncrypted
  • ecs:ImagePlatform
  • ecs:LoginAsNonRoot
  • ecs:IsSystemDiskByokEncrypted
  • ecs:IsDiskByokEncrypted
  • ecs:PasswordInherit
  • ecs:PasswordCustomized
  • ecs:IsSystemDiskEncrypted
  • ecs:ImagePlatform
  • ecs:SecurityHardeningMode
  • vpc:CreateDefaultVpc
  • ecs:SecurityEnhancementStrategy
  • ecs:AssociatePublicIpAddress
  • ecs:InstanceChargeType
なし

リクエストパラメーター

パラメーター

必須 / 任意

説明

RegionId

string

必須

インスタンスのリージョン ID。 DescribeRegions を呼び出して最新のリージョンリストをクエリできます。

cn-hangzhou

ImageId

string

任意

インスタンスの起動に使用するイメージの ID。Alibaba Cloud Marketplace イメージを使用するには、イメージ製品ページで ImageId を確認できます。ImageFamily を使用してイメージ ファミリーから最新の利用可能なイメージを選択しない場合、このパラメーターは必須です。

ubuntu_18_04_64_20G_alibase_20190624.vhd

ImageFamily

string

任意

イメージ ファミリーの名前。このパラメーターを設定すると、指定されたイメージ ファミリーから最新の利用可能なイメージを取得してインスタンスを作成します。

  • ImageId が指定されている場合、このパラメーターは設定できません。

  • ImageId が指定されていない場合、このパラメーターを設定できます。

hangzhou-daily-update

InstanceType

string

必須

インスタンスタイプ。

ecs.g6.large

SecurityGroupId

string

任意

インスタンスが属するセキュリティグループの ID。

sg-bp15ed6xe1yxeycg****

InstanceName

string

任意

インスタンスの名前。名前は 2~128 文字で、Unicode 文字カテゴリの文字(英語および中国語の文字を含む)と数字を含めることができます。名前にはコロン (:)、アンダースコア (_)、ピリオド (.)、またはハイフン (-) を含めることができます。このパラメーターが指定されていない場合、デフォルト値はインスタンス ID です。

k8s-node-[1,4]-alibabacloud

InternetChargeType

string

任意

ネットワーク使用量の課金方法。有効な値:

  • PayByBandwidth: 帯域幅課金。

  • PayByTraffic (デフォルト): トラフィック課金。

説明

トラフィック課金モードでは、ピークインバウンドおよびアウトバウンド帯域幅はいずれも上限値であり、保証されません。リソース競合が発生した場合、ピーク帯域幅が制限される場合があります。ワークロードに帯域幅の保証が必要な場合は、帯域幅課金方法を使用してください。

PayByTraffic

AutoRenew

boolean

任意

自動更新を有効にするかどうかを指定します。このパラメーターは InstanceChargeTypePrePaid に設定されている場合にのみ有効です。有効な値:

  • true: 自動更新を有効にします。

  • false (デフォルト): 自動更新を無効にします。

true

AutoRenewPeriod

integer

任意

自動更新期間。このパラメーターは AutoRenew が True に設定されている場合に必須です。

PeriodUnit が Month に設定されている場合、AutoRenewPeriod の有効な値は 1、2、3、6、12 です。

2

InternetMaxBandwidthIn

integer

任意

最大インバウンドパブリック帯域幅(Mbit/s 単位)。有効な値:

  • 購入したアウトバウンド帯域幅が 10 Mbit/s 以下の場合: 1~10。デフォルト値: 10。

  • 購入したアウトバウンド帯域幅が 10 Mbit/s を超える場合: 1~InternetMaxBandwidthOut の値。デフォルト値: InternetMaxBandwidthOut の値。

50

InternetMaxBandwidthOut

integer

任意

最大アウトバウンドパブリック帯域幅(Mbit/s 単位)。有効な値: 0~100。

デフォルト値: 0。

5

HostName

string

任意

サーバーのホスト名。

  • ホスト名はピリオド (.) またはハイフン (-) で開始または終了できず、連続するピリオドまたはハイフンを含めることはできません。

  • Windows インスタンス: ホスト名は 2~15 文字で、ピリオド (.) を含めることはできず、数字のみで構成することはできません。大文字と小文字の英字、数字、ハイフン (-) を含めることができます。

  • その他のインスタンス(Linux など): ホスト名は 2~64 文字で、複数のピリオド (.) を含めることができます。ピリオドで区切られた各セグメントには、大文字と小文字の英字、数字、ハイフン (-) を含めることができます。

LocalHostName

Password

string

任意

インスタンスのパスワード。パスワードは 8~30 文字で、大文字、小文字、数字、特殊文字のうち少なくとも 3 種類を含める必要があります。以下の特殊文字がサポートされています:

()`~!@#$%^&*-_+=|{}[]:;'<>,.?/

以下の点に注意してください:

  • セキュリティのため、Password パラメーターが指定されている場合は HTTPS を使用してリクエストを送信してください。

  • Windows インスタンスの場合、パスワードはスラッシュ (/) で開始できません。

  • 特定のオペレーティングシステムを実行するインスタンスでは、パスワードはサポートされていません。キーペアのみがサポートされます。例: Others Linux および Fedora CoreOS。

TestEcs123!

PasswordInherit

boolean

任意

イメージにプリセットされたパスワードを使用するかどうかを指定します。このパラメーターを使用する場合、Password パラメーターは空にする必要があります。イメージにパスワードが設定されていることを確認してください。

false

DeploymentSetId

string

任意

デプロイメントセットの ID。

ds-bp1brhwhoqinyjd6****

DeploymentSetGroupNo

integer

任意

デプロイメントセット内のインスタンスのグループ番号。このパラメーターは、デプロイメントセットが高可用性グループ戦略 (AvailabilityGroup) を使用している場合にのみ有効です。有効な値: 1~7。

1

ZoneId

string

任意

インスタンスのゾーン ID。詳細については、 DescribeZones を呼び出してゾーンリストをクエリしてください。

説明

VSwitchId を指定する場合、指定した ZoneId は vSwitch と同じゾーンにある必要があります。ZoneId を空のままにすることもでき、システムが指定された vSwitch のゾーンを自動的に選択します。

デフォルト値: 空。システムがゾーンを自動的に選択します。

cn-hangzhou-g

ClusterId

string

任意

インスタンスのクラスター ID。

説明

このパラメーターは廃止予定です。互換性を向上させるため、他のパラメーターを代わりに使用してください。

c-bp67acfmxazb4p****

ClientToken

string

任意

リクエストのべき等性を確保するために使用されるクライアントトークン。クライアントを使用してトークンを生成できますが、異なるリクエスト間でトークンが一意であることを確認してください。ClientToken の値には ASCII 文字のみを含めることができ、64 文字を超えることはできません。詳細については、べき等性の確保方法を参照してください。

123e4567-e89b-12d3-a456-426655440000

VlanId

string

任意

仮想ローカルエリアネットワーク ID。

10

InnerIpAddress

string

任意

インスタンスの内部 IP アドレス。

192.168.**.**

SystemDisk.Size

integer

任意

システムディスクのサイズ(GiB 単位)。有効な値:

  • 基本ディスク: 20~500

  • その他のディスクタイプ: 20~2048

このパラメーターの値は max{20, ImageSize} 以上である必要があります。

デフォルト値: max{40, ImageSize}。

40

SystemDisk.Category

string

任意

システムディスクのカテゴリ。有効な値:

  • cloud_efficiency: Ultra ディスク。

  • cloud_ssd: 標準 SSD。

  • cloud_essd: ESSD (エンタープライズ SSD)。

  • cloud: 基本ディスク。

  • cloud_auto: ESSD AutoPL ディスク。

  • cloud_essd_entry: ESSD Entry ディスク。

説明

cloud_essd_entry の値は、InstanceTypeu1, ユニバーサルインスタンスファミリー (ecs.u1) または e, エコノミー型インスタンスファミリー (ecs.e) に設定されている場合にのみサポートされます。このパラメーターの設定により、システムディスクのコンピューティング能力と最適化レベルが決まります。

廃止された I/O 最適化されていないインスタンスタイプの場合、デフォルト値は cloud です。その他のインスタンスタイプの場合、デフォルト値は cloud_efficiency です。

cloud_ssd

SystemDisk.DiskName

string

任意

システムディスクの名前。名前は 2~128 文字で、Unicode 文字カテゴリの文字(英語および中国語の文字と数字を含む)を含めることができます。名前にはコロン (:)、アンダースコア (_)、ピリオド (.)、またはハイフン (-) を含めることができます。

デフォルト値: 空。

SystemDiskName

SystemDisk.Description

string

任意

システムディスクの説明。説明は 2~256 文字で、http:// または https:// で開始できません。

デフォルト値: 空。

TestDescription

SystemDisk.PerformanceLevel

string

任意

システムディスクとして使用される ESSD (エンタープライズ SSD) のパフォーマンスレベル (PL)。このパラメーターの設定は、ディスクカテゴリが標準 SSD でない場合にのみ適用されます。有効な値:

  • PL0: 単一ディスクで最大 10,000 のランダム読み取り/書き込み IOPS を配信できます。

  • PL1 (デフォルト): 単一ディスクで最大 50,000 のランダム読み取り/書き込み IOPS を配信できます。

  • PL2: 単一ディスクで最大 100,000 のランダム読み取り/書き込み IOPS を配信できます。

  • PL3: 単一ディスクで最大 1,000,000 のランダム読み取り/書き込み IOPS を配信できます。

ESSD パフォーマンスレベルの選択方法については、 ESSD を参照してください。

PL1

NodeControllerId

string

任意

説明

このパラメーターは招待プレビュー中であり、一般公開されていません。

null

Description

string

任意

インスタンスの説明。説明は 2~256 文字で、http:// または https:// で開始できません。

デフォルト値: 空。

InstanceTest

VSwitchId

string

任意

vSwitch ID。VPC 接続インスタンスを作成する場合、このパラメーターは必須です。 DescribeVSwitches を呼び出して利用可能な vSwitch をクエリできます。

説明

VSwitchId を指定する場合、指定した ZoneId は vSwitch と同じゾーンにある必要があります。ZoneId を空のままにすることもでき、システムが指定された vSwitch のゾーンを自動的に選択します。

vsw-bp1s5fnvk4gn2tws0****

PrivateIpAddress

string

任意

インスタンスの非公開 IP アドレス。IP アドレスは、指定された vSwitch (VSwitchId) の CIDR ブロック内の利用可能なアドレスである必要があります。

172.16.236.*

IoOptimized

string

任意

インスタンスが I/O 最適化されているかどうかを指定します。有効な値:

  • none: I/O 最適化されていません。

  • optimized: I/O 最適化されています。

廃止されたインスタンスタイプのデフォルト値は none です。

その他のインスタンスタイプのデフォルト値は optimized です。

optimized

UseAdditionalService

boolean

任意

Alibaba Cloud が提供する仮想マシンシステム構成(Windows: NTP および KMS。Linux: NTP および YUM)を使用するかどうかを指定します。

true

InstanceChargeType

string

任意

インスタンスの課金方法。有効な値:

  • PrePaid: サブスクリプション。このパラメーターを PrePaid に設定する場合、アカウントがクレジット支払いまたは残高支払いをサポートしていることを確認してください。サポートしていない場合、InvalidPayMethod エラーが返されます。

  • PostPaid (デフォルト): 従量課金。

PrePaid

Period

integer

任意

インスタンスのサブスクリプション期間。単位は PeriodUnit で指定します。このパラメーターは InstanceChargeTypePrePaid に設定されている場合にのみ必須で有効です。DedicatedHostId が指定されている場合、このパラメーターの値は専用ホストのサブスクリプション期間を超えることはできません。有効な値:

PeriodUnit が Month に設定されている場合、Period の有効な値は 1、2、3、6、12 です。

1

PeriodUnit

string

任意

サブスクリプション期間の単位。有効な値:

Month。

デフォルト値: Month。

Month

UserData

string

任意

インスタンスのユーザーデータ。データは Base64 でエンコードする必要があります。生データの最大サイズは 32 KB です。

ZWNobyBoZWxsbyBlY3Mh

SpotStrategy

string

任意

インスタンスの入札ポリシー。このパラメーターは InstanceChargeTypePostPaid に設定されている場合にのみ有効です。有効な値:

  • NoSpot (デフォルト): インスタンスは通常の従量課金インスタンスです。

  • SpotWithPriceLimit: インスタンスはユーザー定義の最大時間単価を持つスポットインスタンスです。

  • SpotAsPriceGo: インスタンスは購入時の市場価格が自動的に入札価格として使用されるスポットインスタンスです。

NoSpot

KeyPairName

string

任意

キーペアの名前。

説明

Windows インスタンスの場合、このパラメーターは無視されます。デフォルト値は空です。このパラメーターが指定されていても、Password の内容のみが使用されます。

KeyPairTestName

SpotPriceLimit

number

任意

インスタンスの最大時間単価。この値は小数点以下 3 桁まで指定できます。このパラメーターは SpotStrategySpotWithPriceLimit に設定されている場合にのみ有効です。

0.98

SpotDuration

integer

任意

スポットインスタンスの保護期間(時間単位)。デフォルト値: 1。有効な値:

  • 1: インスタンスの作成後、Alibaba Cloud はインスタンスが 1 時間自動的にリリースされないことを保証します。1 時間後、システムは入札価格と市場価格を自動的に比較し、リソースの可用性を確認して、インスタンスを保持するか自動リリースするかを決定します。

  • 0: インスタンスの作成後、Alibaba Cloud はインスタンスが 1 時間実行されることを保証しません。システムは入札価格と市場価格を自動的に比較し、リソースの可用性を確認して、インスタンスを保持するか自動リリースするかを決定します。

説明
  • このパラメーターは値 0 または 1 のみをサポートします。

  • スポットインスタンスは秒単位で課金されます。予想されるタスク実行時間に基づいて保護期間を設定してください。

  • Alibaba Cloud はインスタンスがリリースされる 5 分前に ECS システムイベント通知を送信します。

1

SpotInterruptionBehavior

string

任意

スポットインスタンスの中断モード。有効な値:

  • Terminate: インスタンスは直接リリースされます。

  • Stop: インスタンスは節約モードに入ります。

    節約モードの詳細については、従量課金インスタンスの節約モードを参照してください。

デフォルト値: Terminate。

Terminate

RamRoleName

string

任意

インスタンス RAM ロールの名前。RAM API ListRoles を呼び出して、作成済みのインスタンス RAM ロールをクエリできます。

RAMTestName

SecurityEnhancementStrategy

string

任意

セキュリティ強化を有効にするかどうかを指定します。有効な値:

  • Active: セキュリティ強化を有効にします。この値はパブリックイメージにのみ適用されます。

  • Deactive: セキュリティ強化を無効にします。この値はすべてのイメージタイプに適用されます。

Active

ResourceGroupId

string

任意

インスタンスが属するエンタープライズリソースグループの ID。

rg-bp67acfmxazb4p****

HpcClusterId

string

任意

インスタンスが属する HPC クラスターの ID。

hpc-bp67acfmxazb4p****

DryRun

boolean

任意

ドライランのみを実行するかどうかを指定します。有効な値:

  • true: ドライランのみを実行します。システムは、必須パラメーターが指定されているか、リクエスト形式が有効か、サービス制限が満たされているか、指定された ECS リソースが利用可能かを確認します。確認に失敗した場合、対応するエラーが返されます。確認に成功した場合、DryRunOperation エラーコードが返されます。

  • false (デフォルト): ドライランを実行し、リクエストを送信します。確認に成功した場合、インスタンスが作成されます。

false

DedicatedHostId

string

任意

専用ホストの ID。

DescribeDedicatedHosts を呼び出して専用ホスト ID のリストをクエリできます。

重要 スポットインスタンスは専用ホスト上に作成できません。DedicatedHostId を指定すると、リクエスト内の SpotStrategy および SpotPriceLimit の設定は自動的に無視されます。

dh-bp67acfmxazb4p****

CreditSpecification

string

任意

バースト可能インスタンスのパフォーマンスモード。有効な値:

Standard

DeletionProtection

boolean

任意

インスタンスのリリース保護属性。ECS コンソールまたは DeleteInstance の呼び出しによるインスタンスのリリースを防止するかどうかを指定します。

  • true: リリース保護を有効にします。

  • false (デフォルト): リリース保護を無効にします。

説明

この属性は従量課金インスタンスにのみ適用されます。手動解放のみを防止でき、システムによるイベント起因のリリースは防止できません。

false

HibernationOptions.Configured

boolean

任意

説明

このパラメーターは招待プレビュー中であり、一般公開されていません。

false

Affinity

string

任意

インスタンスが専用ホストに関連付けられているかどうかを指定します。有効な値:

  • default: インスタンスは専用ホストに関連付けられていません。節約モードが有効なインスタンスが停止後に再起動された場合、元の専用ホストのリソースが不足していると、自動デプロイリソースプール内の別の専用ホストにデプロイされます。

  • host: インスタンスは専用ホストに関連付けられています。節約モードが有効なインスタンスが停止後に再起動された場合、インスタンスは元の専用ホストに残ります。元の専用ホストのリソースが不足している場合、インスタンスの再起動は失敗します。

デフォルト値: default。

default

Tenancy

string

任意

専用ホスト上にインスタンスを作成するかどうかを指定します。有効な値:

  • default: 専用ホスト以外にインスタンスを作成します。

  • host: 専用ホスト上にインスタンスを作成します。DedicatedHostId を指定しない場合、Alibaba Cloud がインスタンスの専用ホストを自動的に選択します。

デフォルト値: default。

default

StorageSetId

string

任意

ストレージセットの ID。

ss-bp1j4i2jdf3owlhe****

StorageSetPartitionNumber

integer

任意

The maximum number of partitions in the storage set. Valid values: greater than or equal to 2.

2

HttpEndpoint

string

任意

Specifies whether to enable the access channel for instance metadata. Valid values:

  • enabled: enabled.

  • disabled: disabled.

Default value: enabled.

説明

For more information about instance metadata, see Overview of instance metadata.

enabled

HttpTokens

string

任意

Specifies whether to forcefully use the security-hardened mode (IMDSv2) to access instance metadata. Valid values:

  • optional: does not forcefully use the security-hardened mode.

  • required: forcefully uses the security-hardened mode. After this value is set, instance metadata cannot be accessed in normal mode.

Default value: optional.

説明

For more information about the modes for accessing instance metadata, see Instance metadata access modes.

optional

HttpPutResponseHopLimit

integer

任意

説明

このパラメーターは一般公開されていません。

0

PrivatePoolOptions.MatchCriteria

string

任意

The private pool option for launching the instance. A private pool is generated when an elasticity assurance or capacity reservation takes effect. You can select a private pool when you start an instance. Valid values:

  • Open: open mode. The system automatically matches an open private pool. If no matching private pool is available, the instance is launched using public pool resources. You do not need to set PrivatePoolOptions.Id.

  • Target: specified mode. The instance is launched using the specified private pool. If the specified private pool is unavailable, the instance fails to launch. In this mode, you must specify the private pool ID. Set PrivatePoolOptions.Id to the private pool ID.

  • None: does not use a private pool. The instance is launched without using any private pool.

Default value: None.

In any of the following scenarios, the private pool option can only be set to None or left empty:

  • Creating a spot instance.

  • Creating an ECS instance on a dedicated host.

Open

PrivatePoolOptions.Id

string

任意

The private pool ID, which is the ID of the elasticity assurance or capacity reservation.

eap-bp67acfmxazb4****

DataDisk

array<object>

任意

データディスクのリスト。

object

任意

PerformanceLevel

string

任意

The performance level (PL) of the enterprise SSD used as a data disk. Settings of this parameter apply only when the disk category is not standard SSD. The value of N must be the same as that in DataDisk.N.Category=cloud_essd. Valid values:

  • PL0: a single disk can deliver up to 10,000 random read/write IOPS.

  • PL1 (default): a single disk can deliver up to 50,000 random read/write IOPS.

  • PL2: a single disk can deliver up to 100,000 random read/write IOPS.

  • PL3: a single disk can deliver up to 1,000,000 random read/write IOPS.

For information about how to select an ESSD performance level, see ESSDs.

PL2

Description

string

任意

データディスクの説明。説明は 2~256 文字で、http:// または https:// で開始できません。

TestDescription

SnapshotId

string

任意

データディスク N の作成に使用するスナップショット ID。N の有効な値: 1~16。

  • DataDisk.N.SnapshotId が指定されている場合、DataDisk.N.Size は無視されます。作成されるディスクの実際のサイズは、指定されたスナップショットのサイズになります。

  • 2013 年 7 月 15 日以前に作成されたスナップショットは使用できません。そのようなスナップショットを含むリクエストは拒否されます。

s-bp17441ohwka0yuh****

Size

integer

任意

The size of data disk N, in GiB. Valid values of N: 1 to 16. Valid values:

  • cloud_efficiency: 20 to 32768.

  • cloud_ssd: 20 to 32768.

  • cloud_essd: The valid values depend on the value of DataDisk.N.PerformanceLevel.
    • PL0: 1 to 65,536.

    • PL1: 20 to 65,536.

    • PL2: 461 to 65,536.

    • PL3: 1261 to 65,536.

  • cloud: 5 to 2000.

説明

The value of this parameter must be greater than or equal to the size of the snapshot specified by SnapshotId.

2000

Device

string

任意

The mount point of the data disk.

説明

This parameter is applicable only to full image (system image) scenarios. You can set this parameter to the mount point of the data disk in the full image and modify the corresponding DataDisk.N.Size and DataDisk.N.Category parameters to change the disk category and size of the data disk in the full image.

/dev/xvdb

DiskName

string

任意

The name of the data disk. The name must be 2 to 128 characters in length and can contain letters in the Unicode letter category (including English and Chinese characters and digits). The name can contain colons (:), underscores (_), periods (.), or hyphens (-).

DataDiskName

Category

string

任意

The category of data disk N. Valid values:

  • cloud_efficiency: ultra disk.

  • cloud_ssd: standard SSD.

  • cloud_essd: enterprise SSD (ESSD).

  • cloud: basic disk.

  • cloud_auto: ESSD AutoPL disk.

  • cloud_essd_entry: ESSD Entry disk.
    説明

    The cloud_essd_entry value is supported only when InstanceType is set to the ecs.u1 or ecs.e instance family. Settings of this parameter determine the optimization level of the data disk.

  • elastic_ephemeral_disk_standard: elastic ephemeral disk - standard.

  • elastic_ephemeral_disk_premium: elastic ephemeral disk - Premium Edition.

The default value is cloud_efficiency for I/O optimized instances and cloud for non-I/O optimized instances.

cloud_ssd

DeleteWithInstance

boolean

任意

Specifies whether the data disk is released when the instance is released.

  • true: The data disk is released when the instance is released.

  • false: The data disk is not released when the instance is released.

Default value: true.

true

KMSKeyId

string

任意

The KMS key ID used by the disk.

0e478b7a-4262-4802-b8cb-00d****

EncryptAlgorithm

string

任意

説明

このパラメーターは一般公開されていません。

null

Encrypted

boolean

任意

Specifies whether data disk N is encrypted.

  • true: encrypted.

  • false: not encrypted.

Default value: false.

false

StorageClusterId

string

任意

The ID of the dedicated block storage cluster. To use a disk in a dedicated block storage cluster as a data disk when you create an ECS instance, set this parameter.

dbsc-j5e1sf2vaf5he8m2****

Arn

array<object>

任意

説明

このパラメーターは招待プレビュー中であり、一般公開されていません。

object

任意

RoleType

string

任意

説明

このパラメーターは招待プレビュー中であり、一般公開されていません。

Primary

Rolearn

string

任意

説明

このパラメーターは招待プレビュー中であり、一般公開されていません。

acs:ram::123456789012****:role/adminrole

AssumeRoleFor

integer

任意

説明

このパラメーターは招待プレビュー中であり、一般公開されていません。

1234567890

Tag

array<object>

任意

The list of tags.

object

任意

The list of tags.

key

string

任意

The tag key.

説明

To improve compatibility, use Tag.N.Key instead.

Test

Key

string

任意

The tag key for the instance, disk, and primary ENI. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot start with aliyun or acs:. The tag key cannot contain http:// or https://.

TestKey

Value

string

任意

The tag value for the instance, disk, and primary ENI. Valid values of N: 1 to 20. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot contain http:// or https://.

TestValue

value

string

任意

The tag value.

説明

To improve compatibility, use Tag.N.Value instead.

Test

SystemDisk

object

任意

The system disk parameters. The dedicated block storage cluster ID (StorageClusterId) must be set through this parameter.

StorageClusterId

string

任意

The ID of the dedicated block storage cluster. To use a disk in a dedicated block storage cluster as the system disk when you create an ECS instance, set this parameter.

dbsc-j5e1sf2vaf5he8m2****

レスポンスフィールド

フィールド

説明

object

RequestId

string

リクエスト ID

473469C7-AA6F-4DC5-B3DB-A3DC0DE3****

InstanceId

string

インスタンス ID

i-bp67acfmxazb4p****

OrderId

string

The order ID. This parameter is returned only when you create a subscription ECS instance (request parameter InstanceChargeType=PrePaid).

1234567890

TradePrice

number

The transaction price of the order.

0.165

成功レスポンス

JSONJSON

{
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
  "InstanceId": "i-bp67acfmxazb4p****",
  "OrderId": "1234567890",
  "TradePrice": 0.165
}

エラーコード

HTTP ステータスコード

エラーコード

エラーメッセージ

説明

400 InvalidStorageClusterId.CapacityNotEnough The remaining capacity of the current dedicated storage cluster is less than the size of disk.
400 InvalidStorageClusterId.StatusNotSupport The current status of the dedicated storage cluster cannot create a cloud disk yet.
400 InvalidStorageClusterId.ZoneIdEmpty The specified param ZoneId cannot be empty when StorageClusterId given.
400 InvalidStorageClusterId.PerformanceLevelNotMatch The current dedicated storage cluster cannot create this performance level of disk.
400 InvalidStorageClusterId.CategoryNotMatch The current dedicated storage cluster cannot create this category of disk.
400 InvalidStorageClusterId.DiskSizeEmpty The specified param DiskSize cannot be empty when StorageClusterId given.
400 InvalidInstanceType.ValueUnauthorized The specified InstanceType is not authorized.
400 InvalidInternetChargeType.ValueNotSupported The specified InternetChargeType is not valid.
400 InvalidParameter The specified parameter "InternetMaxBandwidthOut" is not valid.
400 InvalidSystemDiskCategory.ValueNotSupported The specified parameter " SystemDisk.Category " is not valid.
400 InvalidDataDiskSize.ValueNotSupported The specified DataDisk.n.Size beyond the permitted range, or the capacity of snapshot exceeds the size limit of the specified disk category.
400 InvalidInstanceType.ValueNotSupported The specified InstanceType does not exist or beyond the permitted range.
400 InvalidDescription.Malformed The specified parameter "Description" is not valid.
400 InvalidHostName.Malformed The specified parameter "HostName" is not valid.
400 InvalidPassword.Malformed The specified parameter "Password" is not valid.
400 InvalidPasswordParam.Mismatch The input password should be null when passwdInherit is true.
400 InvalidDiskName.Malformed The specified parameter "SystemDisk.DiskName or DataDisk.n.DiskName" is not valid.
400 InvalidDiskDescription.Malformed The specified parameter "SystemDisk.DiskDescription" or "DataDisk.n.Description" is not valid.
400 InvalidDataDiskCategory.ValueNotSupported The specified parameter "DataDisk.n.Category" is not valid.
400 InvalidDataDevice.Malformed The specified parameter "DataDisk.n.Device" is not valid.
400 InvalidNodeControllerId.Malformed The specified parameter "NodeControllerId" is not valid.
400 InvalidInnerIpAddress.Malformed The specified parameter "InnerIpAddress" is not valid.
400 InvalidInnerIpAddress.Unusable The specified InnerIpAddress is already used or not found in usable ip range.
400 OperationDenied The specified parameter "VlanId" is not valid or vlan has not enough IP address.
400 InvalidParameter.Conflict The specified image does not support the specified instance type.
400 ImageNotSupportCloudInit The specified image does not support cloud-init.
400 InvalidSnapshotId.BasedSnapshotTooOld The specified snapshot is created before 2013-07-15.
400 QuotaExceed.AfterpayInstance The maximum number of Pay-As-You-Go instances is exceeded: %s.
400 InvalidMarketImageChargeType.NotSupport The specified chargeType of marketImage is unsupported.
400 InvalidInstanceName.Malformed The specified parameter "InstanceName" is not valid.
400 InvalidParameter.Mismatch Specified security group and virtual switch are not in the same VPC.
400 InvalidNetworkType.Mismatch Specified parameter InternetMaxBandwidthIn or InternetMaxBandwidthOut conflict with instance network type.
400 InvalidPrivateIpAddress Specified private IP address is not in the CIDR block of virtual switch.
400 InvalidPrivateIpAddress.Malformed Specified private IP address is invalid.
400 InvalidPrivateIpAddress.Duplicated Specified private IP address is duplicated.
400 QuotaExceeded.PrivateIpAddress Don't have enough private IPs in this switch.
400 QuotaExceeded Living instances quota exceeded in this VPC.
400 IncorrectVSwitchStatus The current status of virtual switch does not support this operation.
400 ResourceNotAvailable Resource you requested is not available in this region or zone.
400 MissingParameter The input parameter "VSwitchId" that is mandatory for processing this request is not supplied.
400 InvalidDiskCategory.Mismatch The specified disk categories' combination is not supported.
400 InvalidIoOptimizedValue.ValueNotSupported IoOptimized value not supported.
400 MissingParamter The specified parameter "Period" is not null.
400 InvalidPeriod The specified period is not valid.
400 InstanceDiskCategoryLimitExceed The specified DataDisk.n.Size beyond the permitted range, or the capacity of snapshot exceeds the size limit of the specified disk category.
400 InvalidParameter.Bandwidth The specified parameter Bandwidth is not valid.
400 InvalidIPAddress.AlreadyUsed The specified IPAddress is already used by other resource.
400 InvalidUserData.SizeExceeded The specified parameter "UserData" exceeds the size.
400 InvalidUserData.NotSupported The specified parameter "UserData" only support the vpc and IoOptimized Instance.
400 InstanceDiskNumber.LimitExceed The total number of specified disk in an instance exceeds.
400 Account.Arrearage Your account has an outstanding payment.
400 InvalidDiskCategory.ValueNotSupported The specified parameter "DiskCategory" is not valid.
400 InvalidAutoRenewPeriod.ValueNotSupported The specified autoRenewPeriod is not valid.
400 InvalidSpotStrategy The specified SpotStrategy is not valid.
400 InvalidSpotParam.EmptyZoneID The specified ZoneId is empty when SpotStrategy is set.
400 InvalidSpotPriceLimit The specified SpotPriceLimitis not valid.
400 InvalidSpotDuration The specified SpotDuration is not valid.
400 InvalidSpotAuthorized The specified Spot param is unauthorized.
400 InvalidSpotPrepaid The specified Spot type is not support PrePay Instance.
400 InvalidSpotAliUid The specified UID is not authorized to use SPOT instance.
400 InvalidTagKey.Malformed The specified Tag.n.Key is not valid.
400 RegionUnauthorized %s
400 Zone.NotOnSale %s
400 InvalidSystemDiskSize.ValueNotSupported %s
400 InvalidParameter.EncryptedIllegal %s
400 InvalidParameter.EncryptedNotSupported %s
400 EncryptedOption.Conflict %s
400 InvalidSpotPriceLimit.LowerThanPublicPrice The specified parameter "soptPriceLimit" can't be lower than current public price.
400 InvalidHpcClusterId.Unnecessary The specified HpcClusterId is unnecessary.
400 InvalidVSwitchId.Necessary The VSwitchId is necessary.
400 InvalidHpcClusterId.Necessary The HpcClusterId is necessary.
400 InvalidHpcClusterId.NotFound The specified HpcClusterId is not found.
400 InvalidHpcClusterId.Creating The specified HpcClusterId is creating.
400 InvalidPeriodUnit.ValueNotSupported The specified parameter PeriodUnit is not valid.
400 IncorrectImageStatus Encrypted snapshots do not support this operation.
400 InvalidTagValue.Malformed The specified Tag.n.Value is not valid.
400 InvalidSecurityGroup.NotInDefaultVpc %s
400 VpcNotFound Vpc is not found according to the specified VSwitch or the vpc does not belong to you.
400 InvalidSpotInterruptionBehavior %s
400 OperationDenied.IllegalPaymentPolicy The current payment policy is illegal, please connect your service provider to authenticate relative agreement.
400 InvalidDeploymentOnHost %s
400 InvalidInstanceChargeType.NotSupport The Dedicated host not support the specified Instance charge type.
400 InvalidNetworkType.NotSupported The classic networkType not support create ECS on dedicatedHost.
400 InvalidDedicatedHostId.NotFound The specified DedicatedHostId does not exist.
400 InvalidDedicatedHostStatus.NotSupport Operation denied due to dedicated host status.
400 IncorrectDedicatedHostStatus The current status of the resource does not support this operation.
400 ChargeTypeViolation.PostPaidDedicatedHost Prepaid instance onto postpaid dedicated host is not allowed.
400 InvalidPeriod.ExceededDedicatedHost Instance expired date can't exceed dedicated host expired date.
400 DedicatedHostType.Unmatched The specified DedicatedHostType doesn?t match the instance type.
400 NoAvaliableDedicatedHost There's no enough resource on the specified dedicated host.
400 InvalidParameter.Affinity The specified Affinity is invalid.
400 InvalidParameter.Tenancy The specified Tenancy is invalid.
400 InvalidParam.Tenancy The specified Tenancy is invalid.
400 InvalidParameter.CreditSpecification The specified CreditSpecification is not supported in this region.
400 InvalidInstanceType.NotSupported The specified instanceType is not supported by the deployment set.
400 InvalidVpcZone.NotSupported Zone of the specified VSwitch is not available for creating, please try in other zones.
400 IncorrectDefaultVpcStatus The status of the default VPC is invalid.
400 IoOptimized.NotSupported The specified instance must be IoOptimized instance when kmsKeyId is not empty.
400 InvalidClientToken.ValueNotSupported The ClientToken provided is invalid.
400 InvalidCapacityReservationId.NotFound The specified CapacityReservationId does not exist.
400 LackResource There's no enough resource on the specified capacity reservation.
400 Duplicate.TagKey The Tag.N.Key contain duplicate key.
400 InvalidParameter.Arns The specified Arns is not valid.
400 InvalidOperation.NotSupportEnterpriseGroup The specified instance type doesn't support enterprise level security group.
400 InvalidOperation.MultiGroupType The specified instance can't join different types of security group.
400 InvalidAccountStatus.PayAmountLimitExceeded Your account is being restricted, because you have no default payment method or you are not authorized.
400 InvalidPerformanceLevel.Malformed The specified parameter DataDisk.n.PerformanceLevel is not valid.
400 InvalidSecurityGroup.NetworkType %s
400 QuotaExceeded.PrepayDataDiskCapacity The quota of prepay data disk capacity exceeds.
400 InvalidCustomInstanceType.NotSupported The specified custom instance type is invalid.
400 InvalidOperation.EniCountExceeded The maximum number of eni in a enterprise security group is exceeded.
400 AccountForbidden.ProductCreationLimited The commodity must be officially operated by Aliyun and in pay-as-you-go billing method.
400 UnexpectedImageFamily.ImageIdSupplied The input parameter ImageFamily must be null when image id is set.
400 InvalidEncrypted.NotMatchEncryptAlgorithm The specified parameter Encrypted must be true when EncryptAlgorithm is not empty.
400 InvalidEncrypted.NotMatchKmsKeyId The specified parameter Encrypted must be true when KmsKeyId is not empty.
400 InvalidEncryptAlgorithm.NotMatchSnapshot The specified parameter EncryptAlgorithm is different from the encrypt algorithm of the snapshot.
400 InvalidKmsKeyId.NotMatchSnapshot The specified parameter KmsKeyId is different from the KmsKeyId of the snapshot.
400 InvalidEncryptAlgorithm The specified parameter EncryptAlgorithm is not valid.
400 InvalidHttpEndpoint.NotSupported The specified HttpEndpoint not supported, you can use enabled(default) or disabled.
400 InvalidHttpTokens.NotSupported The specified HttpTokens not supported, you can use optional(default) or required.
400 InvalidHttpPutResponseHopLimit.NotSupported The specified HttpPutResponseHopLimit not supported, more than 1 and less than 64 is reasonable.
400 InvalidOperation.VpcHasEnabledAdvancedNetworkFeature The specified vpc has enabled advanced network feature.
400 InvalidChargeType.CapacityReservationNotSupported %s
400 InvalidPerformanceLevel.ValueNotSupported The current ZoneId or InstanceType does not support PL0 of cloud_essd.
400 InvalidKMSKeyId.NotSymmetric The specified parameter KmsKeyId must be symmetric.
400 InvalidDedicatedHostClusterId.NotFound The specified DedicatedHostClusterId does not exist.
400 InvalidDedicatedHostClusterId.InValid The specified Dedicated Host Cluster is invalid.
400 InvalidOperation.UserNotSupported Reseller user do not support purchase at the moment.
400 InvalidDeploymentSetId.NotFound The parameter DeploymentSetId is invalid.
400 MissingParameter.PrivatePoolOptionsId The specified PrivatePoolOptions.Id should not be null.
400 Invalid.PrivatePoolOptionsId The specified PrivatePoolOptions.Id is invalid.
400 DedicatedHostNotSupported DedicatedHost is not supported for PrivatePool.
400 SpotNotSupported Spot is not supported for PrivatePool.
400 ClassicNetworkNotSupported Classic network is not supported for PrivatePool.
400 Invalid.InstanceId Instance does not exist.
400 Invalid.PrivatePoolOptions.MatchCriteria Target mode does not support this operation.
400 MissingParameter.PrivatePoolOptions.Id The specified PrivatePoolOptions.Id should not be null.
400 Invalid.PrivatePoolOptions.Id The PrivatePool does not exist.
400 Invalid.InstanceType The InstanceType does not match the PrivatePool.
400 Invalid.InstanceChargeType The InstanceChargeType does not match the PrivatePool.
400 Invalid.ZoneId The ZoneId does not match the PrivatePool.
400 Invalid.PrivatePoolOptions.NoStock The PrivatePool has been used up.
400 InvalidPlatform.ValueNotSupported The Platform does not match the PrivatePool.
400 Invalid.PrivatePoolOptions.status The PrivatePool is expired or inactive.
400 InvalidAliUid The PrivatePool does not belong to the user of the Instance.
400 HibernationConfigured.InstanceTypeNotSupport The specified instance type is not support.
400 HibernationConfigured.ImageNotEncrypted The hibernation configured instance only support encrypted image.
400 HibernationConfigured.MemorySizeTooBig The hibernation configured instance memory size is too big.
400 InvalidSystemDiskSize.LessThanMemSize The specified parameter SystemDisk.Size is less than the memory size.
400 InvalidCloudBoxZone.OperationNotSupported The cloud box zone does not support creating prepaid or encrypted resources.
400 InvalidInternetMaxBandwidthOut.Malformed The specified parameter InternetMaxBandwidthOut is not valid.
400 InvalidInternetMaxBandwidthIn.Malformed The specified parameter InternetMaxBandwidthIn is not valid.
400 InvalidParameter.CloudboxNotSupported %s
400 NotSupportSnapshotEncrypted.ShareImage Shared snapshot creating encrypted disks with native snapshot encrypt is not supported.
400 QuotaExceed.DiskCapacity The used capacity of disk type has exceeded the quota in the zone, %s.
400 InvalidParameter.DataEncryptedKeyCreateFailed Create kms data encrypted key fail. If you need further assistance, you can contact the KMS Technical Support.
400 InvalidDiskCategory.NotSupported The specified disk category is not supported.
400 InvalidDestinationZone.DeploymentSetMismatch Error happened, %s.
400 NoPermission.Price The operation requires price permission. Please either apply for permission from your main account, or set the parameter AutoPay as true.
400 InvalidParameter.DedicatedRegionNotSupported The specified action is rejected because the specified ECS instance in the dedicated region does not support public IP.
400 InvalidParameter.KmsNotEnabled Failed to perform this operation because KMS is not activated.
400 InvalidParameter.Encrypted.KmsNotEnable Failed to perform this operation because KMS is not activated.
400 InvalidParam.EncryptedMismatch Creating encrypted disks with shared encrypted image requires replacing encryption keys.
400 InvalidParameter.Encrypted Creating non-encrypted disks with encrypted snapshots is not supported.
400 QuotaExceeded.InternetBandwidth %s.
400 InvalidVSwitchId.NotFound The specified VSwitch does not exist in the specified region.
400 OperationDenied.TestAccountRetricted Test-account for testing has been prohibited from creating instance in this region. Please contact 400181.
401 InvalidRamRole.NotEcsRole The specified ram role is not authorized for ecs, please check your role policy.
500 InternalError The request processing has failed due to some unknown error.
500 InvalidImage.OSType The image OSType does not support this instance type.
403 InvalidDiskCategory.NotSupported The specified disk category is not support the specified instance type.
403 ImageNotSubscribed The specified image has not be subscribed.
403 OperationDenied The specified Image is disabled or is deleted.
403 InvalidSystemDiskCategory.ValueUnauthorized The disk category is not authorized.
403 InvalidSnapshotId.NotReady The specified snapshot has not completed yet.
403 InstanceDiskCategoryLimitExceed The total size of specified disk category in an instance exceeds.
403 InvalidDevice.InUse The specified device has been occupied.
403 ImageRemovedInMarket The specified market image is not available, Or the specified user defined image includes product code because it is based on an image subscribed from marketplace, and that image in marketplace includeing exact the same product code has been removed.
403 CategoryNotSupported The specified zone does not offer the specified disk category.
403 OperationDenied.NoStock The requested resource is sold out in the specified zone; try other types of resources or other regions and zones.
403 QuotaExceed.PortableCloudDisk The quota of portable cloud disk exceeds.
403 SecurityGroupInstanceLimitExceed The maximum number of instances in a security group is exceeded.
403 NodeControllerUnavailable The Node Controller is temporarily unavailable.
403 RegionUnauthorized There is no authority to create instance in the specified region.
403 InvalidSnapshotId.NotDataDiskSnapshot The specified snapshot is system disk snapshot.
403 DeleteWithInstance.Conflict The specified disk is not a portable disk and cannot be set to DeleteWithInstance attribute.
403 InstanceDiskNumLimitExceed The number of specified disk in an instance exceeds.
403 IoOptimized.NotSupported The specified image is not support IoOptimized Instance.
403 ImageNotSupportInstanceType The specified image don't support the InstanceType instance.
403 InvalidDiskSize.TooSmall Specified disk size is less than the size of snapshot.
403 InvalidDiskCategory.Mismatch The specified disk categories combination is not supported.
403 QuotaExceed.BuyImage The specified image is from the image market, You have not bought it or your quota has been exceeded.
403 InvalidVSwitchId.NotFound The VSwitchId provided does not exist in our records.
403 InvalidParameter.ResourceOwnerAccount ResourceOwnerAccount is Invalid.
403 InvalidUserData.Forbidden User not authorized to input the parameter "UserData", please apply for permission "UserData".
403 Zone.NotOpen The specified zone is not granted to you to buy resources yet.
403 Zone.NotOnSale The specified zone is not available for purchase.
403 InvalidClusterId.NotFound The specified clusterId does not exist.
403 InvalidResourceType.NotSupported %s
403 InvalidInstanceType.ValueNotSupported The specified InstanceType does not exist or beyond the permitted range.
403 InvalidInstanceType.ZoneNotSupported The specified zone does not support this instancetype.
403 InvalidPayMethod The specified pay method is not valid.
403 OperationDenied.ImageNotValid The specified Image is disabled or is deleted.
403 InvalidUserData.Base64FormatInvalid The specified UserData is not valid.
403 InstanceType.Offline %s
403 DependencyViolation.WindowsInstance The instance creating is window, cannot use ssh key pair to login.
403 RealNameAuthenticationError Your account has not passed the real-name authentication yet.
403 InvalidNetworkType.MismatchRamRole Ram role cannot be applied to instances of Classic network type.
403 InvalidUser.PassRoleForbidden The RAM user does not have the privilege to pass a RAM role.
403 InvalidImage.NotSupported The specified image does not support vSGX instance.
403 InvalidAccountStatus.NotEnoughBalance Your account does not have enough balance.
403 IncorrectVpcStatus Current VPC status does not support this operation.
403 InvalidParameter.NotMatch %s
403 OperationDenied.InvalidNetworkType %s
403 InvalidSpotInterruptionBehavior.ClassicNetworkNotSupport The specified SpotInterruptionBehavior does not support Classic network Instance.
403 InvalidSpotInterruptionBehavior.LocalDiskNotSupport The specified SpotInterruptionBehavior does not support local disk instance.
403 QuotaExceed.PostPaidDisk Living postPaid disks quota exceeded.
403 QuotaExceed.DeploymentSetInstanceQuotaFull Instance quota in one deployment set exceeded.
403 InvalidVSwitch.DefaultVSwitchNotSupport The specified zone in vpc can't support create default vSwitch.
403 OperationDenied.LocalDiskUnsupported The configuration change is not allowed when the specified instance has local disks mounted.
403 OperationDenied.InconsistentNetwork The specified security group and vswitch are not in the same vpc.
403 DefaultVswitch.Existed The default vswitch for VPC already exists.
403 InvalidChargeType.ValueNotSupported Deletion protection is only valid for postPaid instance, not for prePaid or spot instance.
403 IncorrectInstanceStatus The current status of the resource does not support this operation.
403 CategoryViolation The specified instance does not support this operation because of its disk category.
403 ResourcesNotInSameZone The specified instance and dedicated host are not in the same zone.
403 InvalidRegion.NotSupport The specified region does not support byok.
403 UserNotInTheWhiteList The user is not in byok white list.
403 InvalidParameter.KMSKeyId.KMSUnauthorized ECS service have no right to access your KMS.
403 SecurityRisk.3DVerification We have detected a security risk with your default credit or debit card. Please proceed with verification via the link in your email.
403 InvalidDisk.SystemDiskSize The specified SystemDiskSize beyond the permitted range.
403 InsufficientBalance Your account does not have enough balance.
403 Mayi.InternalError The request processing has failed due to some unknown error.
403 InvalidNetworkType The network type is not support in this region.
403 InvalidAccountStatus Your account status is invalid, please contact customer service.
403 QuotaExceeded.PrivateIpAddress %s
403 InvalidVSwitchId.IpInvalid %s
403 OperationDenied.PerformanceLevelNotMatch The specified DataDisk.n.PerformanceLevel and DataDisk.n.Size do not match.
403 InvalidStorageSetName.Malformed Specified parameter StorageSetName is not valid.
403 InvalidDescription.Malformed Specified parameter Description is not valid.
403 InvalidMaxPartitionNumber.Malformed Specified parameter MaxPartitionNumber is not valid.
403 InvalidParameter.StorageSetPartitionNumber Specified parameter StorageSetPartitionNumber is not valid.
403 InvalidParameter.StorageSetId Specified parameter StorageSetId is not valid.
403 InvalidParameter.StorageSetZoneId Specified parameter StorageSetZoneId is not valid.
403 QuotaExceed.Tags %s
403 OperationDenied.RegionIdNotSupported Region not support spot duration instance.
403 OperationDenied.FlavorNotSupported Flavor not support spot duration instance.
403 OperationDenied.TimestampNotSupported Timestamp not support spot duration instance.
403 OperationDenied.PrepayNotAvailable Prepay instance is not available now.
403 OperationDenied.PaygNotAvailable Pay-as-you-go instance is not available now.
403 EnterpriseGroupLimited.MutliGroupType The specified instance can not join multi SecurityGroup types.
403 EnterpriseGroupLimited.InstanceType The specified instance type does not support Enterprise SecurityGroup.
403 InternalError.AllocateUnderlayIp Allocate underlay ip for the instance error.
403 OperationDenied.BidOwnResource Bid user can not own resource.
403 OperationDenied.CloudSSDNotSupported The specified available zone does not offer the cloud_ssd disk, use cloud_essd instead.
403 InvalidVPCStatus.NotWorking The specified VPC subnet status is not working.
403 QuotaExceed.ElasticQuota No additional quota is available for the specified ECS instance type.
403 QuotaExceeded.PostpaidDataDiskCapacity The quota of postpaid data disk capacity exceeds.
403 InvalidImageFamily.MissingAvailableImage There is no available image related to the specified image family.
403 InvalidRegionId.NotSupportEncryptAlgorithm The current region does not support creating encrypted disks with EncryptAlgorithm.
403 InvalidOperation.ResourceManagedByCloudProduct %s
403 Forbidden.OnlySupportEnterpriseGroup %s
403 HibernationConfigured.InstanceOperationForbidden The operation is not permitted due to limit of the hibernation configured instance.
403 InstanceDiskLimitExceeded The amount of the disk on instance reach its limits.
403 InvalidInstanceType.NotSupportDiskCategory The instanceType of the specified instance does not support this disk category.
403 NotSupportSnapshotEncrypted.DiskCategory The specified disk category does not support creating encrypted system disks or creating encrypted data disks from snapshots. Check the DiskCategory or Encrypted parameter, or check your account for default encryption settings.
403 InvalidOperation.PublicIpAddressNoStock The public IP address for the specified Region or ChargeType of the instance is out of stock. Please try another Region or ChargeType.
403 InvalidParameter.KMSKeyId.CMKNotEnabled The CMK (Customer Master Key) must be in an active state.
403 InvalidParameter.KMSKeyId.CMKUnauthorized The CMK(Customer Master Key) lacks authorization to add tags to the ECS service.
403 InvalidEncrypted.NotMatchDiskDefaultEncryption Enabling disk default encryption prevents the creation of non-encrypted disks.
403 InvalidEncrypted.NotMatchSnapshot The specified parameter Encrypted must be set to true when creating disks with encrypted snapshots.
404 InvalidStorageClusterId.NotExist The specified StorageClusterId does not exist in current region.
404 InvalidRegionId.NotFound The RegionId provided does not exist in our records.
404 IoOptimized.NotSupported The specified instancetype is not support IoOptimized instance.
404 InvalidZoneId.NotFound The ZoneId provided does not exist in our records.
404 InvalidSecurityGroupId.NotFound The specified SecurityGroupId does not exist.
404 InvalidDataDiskSnapshotId.NotFound The specified parameter "DataDisk.n.SnapshotId" is not valid.
404 InvalidClusterId.NotFound The ClusterId provided does not exist in our records.
404 OperationDenied The specified Image is disabled or is deleted.
404 InvalidVSwitchId.NotFound Specified virtual switch does not exist.
404 InvalidImageId.NotFound The specified ImageId does not exist.
404 InvalidInstanceChargeType.NotFound The InstanceChargeType does not exist in our records.
404 DependencyViolation.IoOptimized The specified instancetype must be IoOptimized instance.
404 PaymentMethodNotFound No payment method has been registered on the account.
404 HOSTNAME_ILLEGAL The specified parameter Hostname is not valid.
404 InvalidSystemDiskSize.LessThanImageSize The specified parameter SystemDisk.Size is less than the image size.
404 InvalidSystemDiskSize.LessThanMinSize The specified parameter SystemDisk.Size is less than the min size.
404 InvalidSystemDiskSize.MoreThanMaxSize The specified SystemDisk.Size parameter exceeds the maximum size.
404 InvalidParameter The specified vm bandwidth is not valid.
404 InvalidSystemDiskSize The specified parameter SystemDisk.Size is invalid.
404 InvalidKeyPairName.NotFound The specified parameter KeyPairName does not exist in our records.
404 InvalidRamRole.NotFound The specified RAMRoleName does not exist.
404 InvalidResourceGroup.NotFound The ResourceGroup provided does not exist in our records.
404 InvalidMarketImage.NotFound The specified marketplace image does not exist, please change the imageId and try again.
404 DeploymentSet.NotFound The specified deployment set does not exist.
404 InvalidInstanceType.ValueNotSupported The specified InstanceType does not exist or beyond the permitted range.
404 InvalidParameter.KMSKeyId.NotFound The specified KMSKeyId does not exist.
404 InvalidDiskIds.NotPortable The specified DiskId is not portable.
429 Throttling.Resource The request throttle by resource operation.
409 OperationConflict Request was denied due to conflict with a previous request,please try again later.

完全なリストについては、「エラーコード」をご参照ください。

変更履歴

完全なリストについては、「変更履歴」をご参照ください。