データベースアカウントを作成します。
操作説明
対象エンジン。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
rds:CreateAccount |
create |
*DBInstance
|
|
なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| DBInstanceId |
string |
必須 |
インスタンスの ID。 DescribeDBInstances を呼び出してインスタンス ID をクエリできます。 |
rm-uf6wjk5**** |
| AccountName |
string |
必須 |
データベースアカウントの名前。 説明
名前は一意である必要があり、大文字(MySQL のみサポート)、小文字、数字、またはアンダースコアを含めることができます。命名規則の詳細については、各エンジンのチュートリアルを参照してください: MySQL アカウントの作成、PostgreSQL アカウントの作成、SQL Server アカウントの作成、MariaDB アカウントの作成。 |
test1 |
| AccountPassword |
string |
必須 |
データベースアカウントのパスワード。 説明
|
Test123456 |
| AccountDescription |
string |
任意 |
アカウントの説明。説明の長さは 2~256 文字で、先頭は英字または漢字である必要があります。数字、漢字、英字、アンダースコア (_)、ハイフン (-) を使用できます。 説明
説明の先頭を |
testuser |
| AccountType |
string |
任意 |
アカウントのタイプ。有効な値: |
Normal |
| CheckPolicy |
boolean |
任意 |
ApsaraDB RDS for SQL Server インスタンスのアカウントパスワードポリシー。有効な値:
説明
|
true |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| RequestId |
string |
リクエスト ID。 |
D4D4BE8A-DD46-440A-BFCD-EE31DA81C9DD |
例
成功レスポンス
JSONJSON
{
"RequestId": "D4D4BE8A-DD46-440A-BFCD-EE31DA81C9DD"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | GeneralIns.Creating | The general instance is creating. | インスタンスは現在本番稼働中です。後でもう一度お試しください。 |
| 400 | GeneralIns.Maintaining | The general instance is maintaining. | インスタンスは移行中またはメンテナンス中です。後でもう一度お試しください。 |
| 400 | GeneralIns.Switching | The general instance is Switching. | 高可用性 (HA) スイッチオーバーが進行中です。後でもう一度お試しください。 |
| 400 | InvalidEngineVersion.NotSupported | Current db instance does not support sysadmin. | 現在のインスタンスは sysAdmin アカウントの作成をサポートしていないため、操作に失敗しました。 |
| 400 | Database.ConnectError | Database connect error. please check instance status and database processlist | データベース接続が異常です。インスタンスステータスとデータベース接続プールを確認してください。 |
| 400 | Account.AddError | Create Account failed, please check your input value or may your input value not satisfy instance current policy | アカウントの追加に失敗しました。リクエストパラメーターを確認するか、リクエストパラメーターがインスタンスのパラメーターポリシー構成を満たしていることを確認してください。 |
| 400 | InvalidAccountPassword.Format | Specified account password is not valid. | アカウントパスワードが無効です。仕様に従ってアカウントパスワードを再設定してください。 |
| 400 | InvalidAccountDescription.Format | Specified account description is not valid. | アカウントの説明が無効です。説明を再設定してください。説明は空にできず、長さは 256 文字を超えることはできません。 |
| 400 | InvalidGeneralGroupNameOrGdnInstanceName | The specified params generalGroupName or gdnInstanceName should not be null. | 指定された generalGroupName または gdInsttanceName パラメーターを空にすることはできません。 |
| 400 | InvalidAccountPrivilege.Malformed | Specified account privilege is not valid. | アカウントに十分な権限がありません。 |
| 400 | InvalidAccountName.Forbid | Specified account name is a keyword in RDS. | アカウント名に予約キーワードが含まれているため無効です。アカウント名を変更してください。 |
| 400 | InvalidDBDescription.Format | Specified DB description is not valid. | データベースの説明が無効です。説明のフォーマットを確認してください。 |
| 400 | %s | DB Operation Failed:%s. | |
| 400 | InvalidAccountType.Format | The first account can't be normal 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 | Account.QueryError | Query Account failed, please check your input value. | アカウントのクエリに失敗しました。リクエストパラメーターを確認してください。例えば、ApsaraDB RDS for MySQL のアカウント名に特殊文字が含まれている可能性があります。 |
| 400 | InvalidConnectionInfo | Specified ConnectionInfo is not valid. | ConnectionInfo が無効です。 |
| 400 | InvalidCharacter.DbOrAccount | The database name or account name contains invalid characters. | データベース名またはアカウント名に無効な文字が含まれています。 |
| 400 | InstanceAccountSameWithOsAccount | The instance account name cannot be the same as the OS account name. | ユーザーインスタンスのアカウント名をホストアカウント名と同じにすることはできません。 |
| 400 | InvalidDBName.Duplicate | Specified DB name already exists in the This instance. | 現在のデータベース名が無効です。データベース名を再設定してください。 |
| 400 | GlobalReadonlyAccountMaxCountExceed | The number of global read-only accounts exceeds the limit. | グローバル読み取り専用アカウントの数が上限を超えています。 |
| 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 | IncorrectDBInstanceState | Current DB instance state does not support this operation. | 現在のインスタンスステータスではこの操作はサポートされていません。 |
| 403 | IncorrectAccountType | Current account type does not support this operation. | 現在のアカウントタイプではこの操作はサポートされていません。正しいアカウントタイプを選択してください。 |
| 403 | AccountLimitExceeded | AccountQuotaExceeded: Exceeding the allowed amount of account | アカウント数の最大値に達しました。 |
| 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 | GuardDBInstanceNotSupport | Guard instance does not support this operation. | ディザスタリカバリインスタンスではこの操作はサポートされていません。 |
| 404 | InvalidDBInstanceName.NotFound | The database instance does not exist. | 指定されたインスタンスが存在しないか、またはサポートされていません。 |
| 404 | IncorrectDBInstanceLockMode | Current DB instance lock mode does not support this operation. | 操作が失敗しました。インスタンスがロック済み状態にあります。 |
| 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. | 指定されたホスト情報が存在しません。 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。