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

ApsaraDB RDS:DescribeAvailableZones

最終更新日:Apr 18, 2026

インスタンスで利用可能なゾーンを照会します。

操作説明

サポートされるデータベースエンジン

  • RDS MySQL

  • RDS PostgreSQL

  • RDS SQL Server

  • RDS MariaDB

説明

この操作を呼び出して、インスタンスで利用可能なゾーンを照会できます。クエリ結果は、ApsaraDB RDS コンソールの購入ページで利用可能なゾーンとは異なる場合があります。購入ページのいくつかのパラメーターの値は、実際の販売ポリシーによって異なります。購入ページの実際の情報が優先されます。

今すぐお試しください

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

テスト

RAM 認証

この操作の認証情報はありません。問題が発生した場合は、アカウントマネージャーにご連絡ください。

リクエストパラメーター

パラメーター

必須 / 任意

説明

RegionId

string

必須

リージョン ID。DescribeRegions 操作を呼び出して、最新のリージョンリストを照会できます。

cn-hangzhou

Engine

string

必須

インスタンスのデータベースエンジン。有効な値:

  • MySQL

  • SQLServer

  • PostgreSQL

  • MariaDB

MySQL

ZoneId

string

任意

ゾーン ID。インスタンスが複数のゾーンにまたがる場合、このパラメーターの値には、cn-hangzhou-MAZ6(b,f)cn-hangzhou-MAZ5(b,e,f) のように MAZ の部分が含まれます。DescribeRegions 操作を呼び出して、最新のゾーンリストを照会できます。

cn-hangzhou-e

EngineVersion

string

任意

データベースエンジンバージョン。有効な値:

  • 通常インスタンス

    • Engine を MySQL に設定した場合の有効な値:5.55.65.78.0

    • Engine を SQLServer に設定した場合の有効な値:2008r208r2_ent_ha20122012_ent_ha2012_std_ha2012_web2014_std_ha2016_ent_ha2016_std_ha2016_web2017_std_ha2017_ent2019_std_ha2019_ent

    • Engine を PostgreSQL に設定した場合の有効な値:10.011.012.013.014.015.0

    • Engine を MariaDB に設定した場合の有効な値:10.3

  • サーバーレスインスタンス

    • Engine を MySQL に設定した場合の有効な値:5.78.0

    • Engine を SQLServer に設定した場合の有効な値:2016_std_sl2017_std_sl2019_std_sl

    • Engine を PostgreSQL に設定した場合の有効な値:14.0

    **

    NoteApsaraDB RDS for MariaDB はサーバーレスインスタンスをサポートしていません。

8.0

CommodityCode

string

任意

インスタンスの商品コード。この操作は、指定された商品コードに基づいて購入できるリソースを返すことができます。有効な値:

  • bards:インスタンスは従量課金のプライマリインスタンスです。この値は中国サイト (aliyun.com) で利用可能です。

  • rds:インスタンスはサブスクリプションのプライマリインスタンスです。この値は中国サイト (aliyun.com) で利用可能です。

  • rords:インスタンスは従量課金の読み取り専用インスタンスです。この値は中国サイト (aliyun.com) で利用可能です。

  • rds_rordspre_public_cn:インスタンスはサブスクリプションの読み取り専用インスタンスです。この値は中国サイト (aliyun.com) で利用可能です。

  • bards_intl:インスタンスは従量課金のプライマリインスタンスです。この値は国際サイト (alibabacloud.com) で利用可能です。

  • rds_intl:インスタンスはサブスクリプションのプライマリインスタンスです。この値は国際サイト (alibabacloud.com) で利用可能です。

  • rords_intl:インスタンスは従量課金の読み取り専用インスタンスです。この値は国際サイト (alibabacloud.com) で利用可能です。

  • rds_rordspre_public_intl:インスタンスはサブスクリプションの読み取り専用インスタンスです。この値は国際サイト (alibabacloud.com) で利用可能です。

  • rds_serverless_public_cn:インスタンスはサーバーレスインスタンスです。この値は中国サイト (aliyun.com) で利用可能です。

  • rds_serverless_public_intl:インスタンスはサーバーレスインスタンスです。この値は国際サイト (alibabacloud.com) で利用可能です。

bards

DispenseMode

string

任意

シングルゾーンデプロイメント方式がサポートされているゾーンを返すかどうかを指定します。有効な値:

  • 1 (デフォルト):ゾーンを返します。

  • 0:ゾーンを返しません。

説明

シングルゾーンデプロイメント方式では、RDS Enterprise Edition を実行するインスタンスをシングルゾーンにデプロイできます。

0

DBInstanceName

string

任意

プライマリインスタンスの ID。プライマリインスタンスに対して購入可能な読み取り専用インスタンスを照会する場合は、このパラメーターを指定できます。

CommodityCode を次のいずれかの値に設定する場合は、このパラメーターを指定する必要があります:

  • rords_intl

  • rds_rordspre_public_intl

  • rords

  • rds_rordspre_public_cn

rm-uf6wjk5****

Category

string

任意

インスタンスの RDS エディション。有効な値:

  • 通常インスタンス

    • Basic:RDS Basic Edition。

    • HighAvailability:RDS High-availability Edition。

    • cluster:ApsaraDB RDS for MySQL の RDS Cluster Edition。

    • AlwaysOn:ApsaraDB RDS for SQL Server の RDS Cluster Edition。

    • Finance:RDS Enterprise Edition。

  • サーバーレスインスタンス

    • serverless_basic:RDS Basic Edition。このエディションは、MySQL および PostgreSQL を実行するインスタンスでのみ利用可能です。

    • serverless_standard:ApsaraDB RDS for MySQL の RDS High-availability Edition。

    • serverless_ha:ApsaraDB RDS for SQL Server の RDS High-availability Edition。

HighAvailability

レスポンスフィールド

フィールド

説明

object

レスポンスパラメーター。

AvailableZones

array<object>

リージョンで利用可能なゾーン。

array<object>

RegionId

string

リージョン ID。

cn-hangzhou

SupportedEngines

array<object>

購入可能なデータベースエンジン。

array<object>

Engine

string

インスタンスのデータベースエンジン。

MySQL

SupportedEngineVersions

array<object>

購入可能なデータベースエンジンバージョン。

array<object>

SupportedCategorys

array<object>

購入可能な RDS エディション。

array<object>

Category

string

インスタンスの RDS エディション。

HighAvailability

SupportedStorageTypes

array<object>

購入可能なストレージタイプ。

object

StorageType

string

インスタンスのストレージタイプ。

local_ssd

Version

string

データベースエンジンバージョン。

8.0

ZoneId

string

ゾーン ID。

cn-hangzhou-e

RequestId

string

リクエスト ID。

4256E149-C3C4-4FA7-BDEA-13CA415E8763

成功レスポンス

JSONJSON

{
  "AvailableZones": [
    {
      "RegionId": "cn-hangzhou",
      "SupportedEngines": [
        {
          "Engine": "MySQL",
          "SupportedEngineVersions": [
            {
              "SupportedCategorys": [
                {
                  "Category": "HighAvailability",
                  "SupportedStorageTypes": [
                    {
                      "StorageType": "local_ssd"
                    }
                  ]
                }
              ],
              "Version": "8.0"
            }
          ]
        }
      ],
      "ZoneId": "cn-hangzhou-e"
    }
  ],
  "RequestId": "4256E149-C3C4-4FA7-BDEA-13CA415E8763"
}

エラーコード

HTTP ステータスコード

エラーコード

エラーメッセージ

説明

400 ArticleNotFound Article not found
400 InvalidDBInstanceName The specified parameter DBInstanceName is null or the instance cannot be found, please check parameter DBInstanceName.
400 Order.ComboInstanceNotAllowOperate A package instance is not allowed to operate independently.
400 Price.PricingPlanResultNotFound Pricing plan price result not found.
400 Order.NoRealNameAuthentication You have not passed the real-name authentication and do not meet the purchase conditions. Please log in to the user center for real-name authentication.
400 InsufficientAvailableQuota Your account quota limit is less than 0, please recharge before trying to purchase.
400 CommodityServiceCalling.Exception Failed to call commodity service.
400 RegionDissolvedEOM Dear customer, Alibaba Cloud plans to optimize and adjust the current region. Cloud services in this region will cease operations. You are currently unable to operate new purchase orders. Thank you for your understanding and support.
400 Commodity.InvalidComponent The module you purchased is not legal, please buy it again.
400 RegionEndTimeDissolvedAustralia Cloud services in the Australia (Sydney) region will be discontinued. Set the validity date to September 30, 2024 or earlier than September 30, 2024.
400 Price.CommoditySys Commodity system call exception.
400 Pay.InsufficientBalance Insufficient available balance.
400 Order.PeriodInvalid There is a problem with the period you selected, please choose again.
400 pay.noCreditCard Account not bound to credit card.
400 Order.InstHasUnpaidOrder There is an unpaid order for the service you have purchased. Please pay or void it before placing the order.
400 noAvailablePaymentMethod No payment method is specified for your account. We recommend that you add a payment method.
400 BasicInfoUncompleted Your information is incomplete. Complete your information before the operation.
400 Risk.RiskControlRejection Your account is abnormal, please contact customer service for details.
400 Api.NotSupport Specified api is not supported.
400 ContainForbiddenLabelError There is a label that prohibits placing orders. Please contact your distributor for assistance.
400 InvalidDBInstanceId.NotFound The DBInstanceId provided does not exist in records.
400 InvalidInstanceLevel.DiskType Specified instance level not support request disk type
400 InvalidParam Sepcified wal level Parameter is invalid. There are still logical slots in instance, so it can not be set as replica.
400 KmsApiError User secret key invalid.
400 System.SaleValidateFailed Sales expression validation system error.
400 Abs.InvalidAccount.NotFound account is not found.
400 SqlExecuteFailedOrTimeout sql command execution failed or timed out:%s.
400 ColdData.EngineVersionNotSupport The current instance engine version not support coldDataEnabled.
400 ColdData.MinorVersionNotSupport The current instance minor version not support coldDataEnabled.
400 IncorrectTargetClasscode The current instance type does not support this operation.
400 InvalidConnectionString.Duplicate Specified connection string already exists in the RDS.
400 RequiredParam.NotFound Required input param is not found.
400 Parameters.Invalid Parameter error, please check the parameters.
400 BackupPolicyNotSupport Cold Data won't open with CrossBackup or Flash Backup, please check Backup Policy.
400 InvalideStatus.Format The instance status does not support this operation.
400 InvalidReleasedKeepPolicy.Format Specified Released Keep Policy is not valid.
400 InvalidDBInstanceEngineType.Format the DB instance engine type does not support this operation.
400 Pay.NoCreditCard No credit cards.
400 VpcNetworkTypeNotSupport The vpc network type instance does not support this operation.
400 MirrorInsExists Specified DB instance mirror ins already existed.
400 UnsupportedClassCode The specified DB instance class stops selling.
400 InvalidBackupSet The specified database does not exist in the backup set.
400 OrdTCommodityQueryError Failed to query for product.
400 ProductInstanceReleased The instance has been released. Please check before placing the order.
400 RegionEndTimeDissolvedIndia The region is no longer supported.
500 ExternalFailure The request processing has failed due to external service failure.
500 RequestMetaDataFailed The service request failed. Please try again later or contact service personnel.
500 InvokeProxyFailure The request processing has failed due to service failure of rds api.
403 OrderStatus.UnPaid The specified db instance has unpaid order.
403 InvalidReduceDiskSize The storage capacity after the scale-down must be larger than the used amount.
403 CloudSSDNotSupport Cloud ssd does not support this operation, please upgrade to essd.
403 InvalidUserOperatorPermission The user permission does not support this operation.
403 InvalidVswitchId Specified conn vswitch id is not valid.
403 IncorrectMinorVersion Current engine minor version does not support operations.
403 OperationDenied.ZoneResource There is no available zone for inventory.
403 NotInFlowController Sorry,no permission.
403 InvalidKmsKey Kms key is disabled.
403 InvalidInstanceLevel.Malformed Current DB instance level does not support this operation.
404 InvalidDBInstanceName.NotFound DBInstanceName not found
404 InvalidClusterKms The current instance does not authorized to access the Key Management Service.
404 Request.NotFound The requested resource is not available.
404 HostInfo.NotFound The specified host info is not found.

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

変更履歴

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