ApsaraDB RDS インスタンスのパブリックエンドポイントを申請します。
操作説明
サポート対象エンジン。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
rds:AllocateInstancePublicConnection |
update |
*DBInstance
|
|
なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| DBInstanceId |
string |
必須 |
インスタンスの ID。DescribeDBInstances を呼び出してインスタンス ID を取得できます。 |
rm-uf6wjk5**** |
| ConnectionStringPrefix |
string |
必須 |
パブリックエンドポイントのプレフィックス。完全なパブリックエンドポイントは 説明
プレフィックスの長さは 5~40 文字で、漢字や特殊文字 (~!#%^&*=+|{};:'",<>/?) を含めることはできません。プレフィックスには英字、数字、ハイフン (-) を使用できます。 |
test1234 |
| Port |
string |
必須 |
パブリックポート。有効な値: 1000 ~ 5999。 |
3306 |
| BabelfishPort |
string |
任意 |
RDS PostgreSQL 用 Babelfish の TDS ポート番号。 説明
このパラメーターは、ApsaraDB RDS for PostgreSQL インスタンスにのみ適用されます。RDS PostgreSQL 用 Babelfish の詳細については、「Babelfish の概要」を参照してください。 |
1433 |
| GeneralGroupName |
string |
任意 |
汎用 ApsaraDB RDS for MySQL インスタンスが属する専用クラスターグループの名前。 |
rgc-bp1tkv8**** |
| PGBouncerPort |
string |
任意 |
PgBouncer ポート。 |
6432 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答パラメーター。 |
||
| ConnectionString |
string |
データベースエンドポイント。 |
test****.mysql.rds.aliyuncs.com |
| DbInstanceName |
string |
インスタンスの ID。 |
rm-bp1**** |
| RequestId |
string |
リクエスト ID。 |
65BDA532-28AF-4122-AA39-B382721EEE64 |
例
成功レスポンス
JSONJSON
{
"ConnectionString": "test****.mysql.rds.aliyuncs.com",
"DbInstanceName": "rm-bp1****",
"RequestId": "65BDA532-28AF-4122-AA39-B382721EEE64"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | OtherEndpoint.Exist | Other endpoint exist. | エンドポイントはすでに存在します。 |
| 400 | IncorrectDBInstanceState | The current instance state does not support this operation. | 現在のインスタンスステータスではこの操作はサポートされていません。 |
| 400 | ConnectionStringContainIllegalCharacterFault | The connection string contain Illegal character. | 接続文字列に無効な文字が含まれています。修正してからもう一度お試しください。 |
| 400 | InvalidInstanceNetworkType | The specified InstanceNetworkType is invalid. | 指定されたインスタンスのネットワークタイプが無効です。 |
| 400 | InvalidConnectionString.Format | Specified connection string is not valid. | インスタンスエンドポイントの文字列フォームが無効です。プレフィックスの長さは 5~40 文字である必要があります。 |
| 400 | InvalidPort.Malformed | Specified port is not valid. | Port パラメーターが無効です。このパラメーターの有効性を確認してください。 |
| 400 | InvalidVpcIdRegion.NotSupported | The specified region does not allow you to create a VPC instance. | 操作が失敗しました。現在のリージョンでは、VPC ネットワークタイプを使用するインスタンスの作成はサポートされていません。サポートされているリージョンで VPC を作成してください。 |
| 400 | InvalidInstanceNetworkType.ValueNotSupported | The specified parameter "InstanceNetworkType" is not valid. | ネットワークタイプの検証が失敗しました。サポートされているネットワークタイプは VPC および Classic です。 |
| 400 | InvalidBizType.Format | Specified biz type is not valid. | 現在のビジネスタイプはこの操作をサポートしていません。 |
| 400 | EndpointNum.Error | The number of endpoint is too many. | エンドポイント数が上限に達しました。これ以上エンドポイントを作成することはできません。 |
| 400 | EndpointType.NotSupport | Current db type is not support specified endpoint type. | 指定されたエンドポイントタイプはサポートされていません。 |
| 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. | 指定された DBInstanceId が存在しません。 |
| 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. | Alibaba Cloud アカウントが存在しないか、AccessKey が期限切れです。 |
| 400 | SqlExecuteFailedOrTimeout | sql command execution failed or timed out:%s. | SQL コマンドの実行に失敗したか、または時間切れになりました。 |
| 400 | ColdData.EngineVersionNotSupport | The current instance engine version not support coldDataEnabled. | 現在のインスタンスの DPI エンジンバージョンは、コールドデータアーカイブをサポートしていません。 |
| 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. | この操作は、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. | 指定されたリージョンが無効です。 |
| 400 | NetworkConnectionCreating | The existing network connection is already being created, please do not create it repeatedly. | ネットワーク接続性はすでに存在します。再度作成しないでください。 |
| 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. | RDS API サービスの障害により、リクエストの処理が失敗しました。 |
| 403 | Invalid.DbInstanceNetType | The specified parameter DbInstanceNetType is not valid. | 現在のデータベースネットワークタイプはこの操作をサポートしていません。 |
| 403 | OperationDenied.SwitchToVPC | Specified instance cannot be switched to VPC. | 現在のインスタンスは VPC を切り替えることができません。 |
| 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. | 現在のデータベースインスタンスレベルは、この操作をサポートしていません。 |
| 403 | UnsupportedByBlueGreenDeployment | Operation prohibited due to blue green deployment. | ブルーグリーン Deployment が存在するため、この操作は許可されていません。 |
| 403 | GuardDBInstanceNotSupport | Guard instance does not support this operation. | ディザスタリカバリインスタンスではこの操作はサポートされていません。 |
| 404 | InvalidConnectionString.Duplicate | Specified connection string already exists in the Aliyun RDS. | エンドポイント名が重複しています。接続文字列を再設定してください。 |
| 404 | InvalidClusterKms | The current instance does not authorized to access the Key Management Service. | 現在のインスタンスは Key Management Service へのアクセスを許可されていません。 |
| 404 | Request.NotFound | The requested resource is not available. | リクエストされたリソースは利用できません。 |
| 404 | HostInfo.NotFound | The specified host info is not found. | 指定されたホスト情報が存在しません。 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。