ApsaraDB RDS インスタンスのすべてのエンドポイント情報を照会します。
操作説明
対象エンジン
RDS MySQL
RDS PostgreSQL
RDS SQL Server
RDS MariaDB
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
rds:DescribeDBInstanceNetInfo |
get |
*DBInstance
|
|
なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ClientToken |
string |
任意 |
リクエストのべき等性を保証し、重複した送信を防ぎます。値はクライアントによって生成され、異なるリクエスト間で一意である必要があります。値の長さは最大 64 ASCII 文字で、非 ASCII 文字を含めることはできません。 |
ETnLKlblzczshOTUbOC**** |
| DBInstanceId |
string |
必須 |
インスタンスの ID。DescribeDBInstances 操作を呼び出してインスタンス ID を照会できます。 |
rm-uf6wjk5**** |
| Flag |
integer |
任意 |
予約済みパラメーター。設定は不要です。 |
test |
| DBInstanceNetRWSplitType |
string |
任意 |
エンドポイントタイプ。有効な値:
説明
デフォルトでは、すべてのタイプのエンドポイントが返されます。 |
Normal |
| GeneralGroupName |
string |
任意 |
専用クラスター内の汎用 MySQL インスタンスが属するグループの名前。 |
rgc-2ze**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| DBInstanceNetInfos |
object |
||
| DBInstanceNetInfo |
array<object> |
インスタンスのエンドポイント情報のリスト。 |
|
|
array<object> |
エンドポイント情報の詳細。 |
||
| BabelfishPort |
string |
RDS PostgreSQL 用 Babelfish の TDS ポート番号。 説明
このパラメーターは、ApsaraDB RDS for PostgreSQL インスタンスにのみ適用されます。RDS PostgreSQL 用 Babelfish の詳細については、「Babelfish の概要」を参照してください。 |
1433 |
| ConnectionString |
string |
エンドポイント。 |
rm-uf6w****.mysql.rds.aliyuncs.com |
| ConnectionStringType |
string |
エンドポイントタイプ。有効な値:
|
Normal |
| DBInstanceWeights |
object |
||
| DBInstanceWeight |
array<object> |
インスタンスの重み情報のリスト。 説明
このパラメーターは、読み取り/書き込み分離エンドポイントが有効になっているインスタンスに対して返されます。 |
|
|
object |
インスタンスの重み情報の詳細。 |
||
| Availability |
string |
インスタンスの可用性ステータス。有効な値:
|
Unavailable |
| DBInstanceId |
string |
インスタンスの ID。 |
rm-uf6wjk5**** |
| DBInstanceType |
string |
インスタンスタイプ。有効な値:
|
Master |
| Role |
string |
非推奨のパラメーター。 |
None |
| Weight |
string |
インスタンスの現在の重み。 |
100 |
| DistributionType |
string |
読み取りリクエストの割り当てポリシー。このパラメーターは、読み取り/書き込み分離エンドポイントに対してのみ返されます。有効な値:
|
Standard |
| ExpiredTime |
string |
ハイブリッドアクセスモードでのクラシックネットワークエンドポイントの残り時間。単位: 秒。 |
1209534 |
| IPAddress |
string |
IP アドレス。 |
192.168.XX.XX |
| IPType |
string |
ネットワークタイプ。
|
Public |
| MaxDelayTime |
string |
レイテンシーしきい値。このパラメーターは、読み書き分離エンドポイントに対してのみ返されます。単位: 秒。 説明
レイテンシーがこのしきい値を超える読み取り専用インスタンスには、トラフィックが割り当てられません。 |
12 |
| PGBouncerPort |
string |
PgBouncer ポート番号。 説明
このパラメーターは、ApsaraDB RDS for PostgreSQL インスタンスで PgBouncer が有効になっている場合にのみ返されます。 |
6432 |
| Port |
string |
接続ポート。 |
3306 |
| SecurityIPGroups |
object |
||
| securityIPGroup |
array<object> |
インスタンスの IP アドレスホワイトリストグループのリスト。 |
|
|
object |
IP アドレスホワイトリストグループの詳細。 |
||
| SecurityIPGroupName |
string |
IP アドレスホワイトリストグループの名前。 |
Default |
| SecurityIPs |
string |
ホワイトリスト内の IP アドレス。 |
127.0.XX.XX |
| Upgradeable |
string |
IP バージョンをアップグレードできるかどうかを指定します。有効な値:
説明
IPv4 アドレスは IPv6 アドレスにアップグレードできます。 |
Disabled |
| VPCId |
string |
VPC の ID。 |
vpc-uf6f7l4fg90***** |
| VSwitchId |
string |
vSwitch の ID。 |
vsw-uf6adz52c2p**** |
| InstanceNetworkType |
string |
ネットワークタイプ。有効な値:
|
VPC |
| RequestId |
string |
リクエストの ID。 |
777C4593-8053-427B-99E2-105593277CAB |
| SecurityIPMode |
string |
ホワイトリストモード。有効な値:
|
safety |
例
成功レスポンス
JSONJSON
{
"DBInstanceNetInfos": {
"DBInstanceNetInfo": [
{
"BabelfishPort": "1433",
"ConnectionString": "rm-uf6w****.mysql.rds.aliyuncs.com",
"ConnectionStringType": "Normal",
"DBInstanceWeights": {
"DBInstanceWeight": [
{
"Availability": "Unavailable",
"DBInstanceId": "rm-uf6wjk5****",
"DBInstanceType": "Master",
"Role": "None",
"Weight": "100"
}
]
},
"DistributionType": "Standard",
"ExpiredTime": "1209534",
"IPAddress": "192.168.XX.XX",
"IPType": "Public",
"MaxDelayTime": "12",
"PGBouncerPort": "6432",
"Port": "3306",
"SecurityIPGroups": {
"securityIPGroup": [
{
"SecurityIPGroupName": "Default",
"SecurityIPs": "127.0.XX.XX"
}
]
},
"Upgradeable": "Disabled",
"VPCId": "vpc-uf6f7l4fg90*****",
"VSwitchId": "vsw-uf6adz52c2p****"
}
]
},
"InstanceNetworkType": "VPC",
"RequestId": "777C4593-8053-427B-99E2-105593277CAB",
"SecurityIPMode": "safety"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | TimeoutRetryLater | Timeout, retry later. | |
| 400 | InvalidDBInstanceName.NotFound | DB instance name not found. | |
| 400 | IllegalParameter | Illegal parameter | 指定されたパラメーターは無効です。 |
| 400 | Readins.NotFound | Readonly instance not found. | |
| 400 | MissingRWSplistParam | Custins is missing rw split param. | インスタンスの読み取り/書き込み分離パラメーターがありません。 |
| 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. | 利用可能なアカウント残高が 0 未満です。購入を試みる前にアカウントにチャージしてください。 |
| 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. | Alibaba Cloud は現在のリージョンの最適化と調整を計画しており、このリージョンのクラウドサービスは提供終了となります。業務継続性とデータ移行の円滑なトランジションを確保するため、この時間は新規購入の注文は受け付けておりません。ご理解とご協力のほどよろしくお願いいたします。 |
| 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. | 現在の API オペレーションはサポートされていません。 |
| 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. | SQL コマンドの実行に失敗したか、制限時間を超過しました。 |
| 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. | 1 つ以上のパラメーターが無効です。パラメーターを確認してください。 |
| 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. | この操作は、VPC ネットワークタイプのインスタンスではサポートされていません。 |
| 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. | ApsaraDB 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. | 標準 SSD では、この操作はサポートされていません。ESSD にアップグレードしてください。 |
| 403 | InvalidUserOperatorPermission | The user permission does not support this operation. | ユーザーには、この操作フォームを実行するために必須の権限がありません。 |
| 403 | InvalidVswitchId | Specified conn vswitch id is not valid. | 指定された VSwitchId のフォームが正しくないか、または空です。 |
| 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. | 指定された KMS キーは無効化されています。 |
| 403 | InvalidInstanceLevel.Malformed | Current DB instance level does not support this operation. | 指定された仕様コードではそのエンドポイント数がサポートされていないため、操作が失敗した。シャード数と現在のエンドポイント数を確認してください。 |
| 404 | InvalidClusterKms | The current instance does not authorized to access the Key Management Service. | 現在のインスタンスには、Key Management サービスへのアクセス権限が付与されていません。 |
| 404 | Request.NotFound | The requested resource is not available. | リクエストされたリソースは利用できません。 |
| 404 | HostInfo.NotFound | The specified host info is not found. | 指定されたホスト情報 (フォーム、フォーマット) は存在しません。 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。