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

ApsaraDB RDS:ModifyDBInstanceTDE

最終更新日:Jul 14, 2026

ApsaraDB RDS インスタンスの TDE (透過的データ暗号化) 機能を有効化または変更します。

操作説明

サポートされている DPI エンジン

  • ApsaraDB RDS for MySQL

  • ApsaraDB RDS for PostgreSQL

  • ApsaraDB RDS for SQL Server

関連機能ドキュメント

重要 この操作を呼び出す前に、以下のドキュメントをよく読み、前提条件とこの操作の影響を完全に理解してください。

今すぐお試しください

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

テスト

RAM 認証

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

リクエストパラメーター

パラメーター

必須 / 任意

説明

DBInstanceId

string

必須

インスタンスの ID。DescribeDBInstances を呼び出してインスタンス ID を照会できます。

rm-uf6wjk5****

TDEStatus

string

必須

TDE のステータス。有効な値:

  • Enabled

  • Disabled

Enabled

DBName

string

任意

TDE (透過的データ暗号化) を有効にするデータベースの名前。カンマ (,) で区切って複数のデータベースを指定でき、最大 50 個まで指定できます。

説明

このパラメーターは、SQL Server 2019 Standard Edition、2022 Standard Edition、2025 Standard Edition、および SQL Server エンタープライズインスタンスでのみ有効かつ必須です。

testDB

EncryptionKey

string

任意

カスタムキーの ID。

説明

このパラメーターは、ApsaraDB RDS for MySQL または ApsaraDB RDS for PostgreSQL インスタンスでのみ使用できます。

749c1df7-****-****-****-****

RoleArn

string

任意

RAM ロールのグローバルリソース記述子。この記述子は RAM ロールを指定するために使用されます。詳細については、「RAM ロールの概要」をご参照ください。

説明

このパラメーターは、ApsaraDB RDS for MySQL および ApsaraDB RDS for PostgreSQL インスタンスでのみ使用できます。

acs:ram::1406926****:role/aliyunrdsinstanceencryptiondefaultrole

Certificate

string

任意

証明書ファイル。

フォーマット:

  • パブリックエンドポイント: oss-<RegionId>.aliyuncs.com:<BucketName>:<CertificateFileName (with file extension)>

  • 内部ネットワークエンドポイント: oss-<RegionId>-internal.aliyuncs.com:<BucketName>:<CertificateFileName (with file extension)>

説明
  • このパラメーターは、SQL Server 2019 Standard Edition、2022 Standard Edition、2025 Standard Edition、および SQL Server エンタープライズインスタンスでのみ有効です。

  • DescribeRegions を呼び出して、有効なリージョン ID を照会できます。 DescribeRegions

oss-ap-southeast-1.aliyuncs.com:****:key.cer

PrivateKey

string

任意

秘密鍵ファイル。

フォーマット:

  • パブリックエンドポイント: oss-<RegionId>.aliyuncs.com:<BucketName>:<PrivateKeyFileName (with file extension)>

  • 内部ネットワークエンドポイント: oss-<RegionId>-internal.aliyuncs.com:<BucketName>:<PrivateKeyFileName (with file extension)>

説明
  • このパラメーターは、SQL Server 2019 Standard Edition、2022 Standard Edition、2025 Standard Edition、および SQL Server エンタープライズインスタンスでのみ有効です。

  • DescribeRegions を呼び出して、有効なリージョン ID を照会できます。 DescribeRegions

oss-ap-southeast-1.aliyuncs.com:****:key.pvk

PassWord

string

任意

証明書のパスワード。

説明

このパラメーターは、SQL Server 2019 Standard Edition、2022 Standard Edition、2025 Standard Edition、および SQL Server エンタープライズインスタンスでのみ有効です。

1qaz@WSX

IsRotate

boolean

任意

キーを回転するかどうかを指定します。有効な値:

  • true: キーを回転します。

  • false (デフォルト): キーを回転しません。

説明

このパラメーターは、ApsaraDB RDS for PostgreSQL インスタンスでのみ使用できます。

false

レスポンスフィールド

フィールド

説明

object

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

RequestId

string

リクエストの ID。

777C4593-8053-427B-99E2-105593277CAB

成功レスポンス

JSONJSON

{
  "RequestId": "777C4593-8053-427B-99E2-105593277CAB"
}

エラーコード

HTTP ステータスコード

エラーコード

エラーメッセージ

説明

400 %s DB Operation Failed:%s.
400 InvalidTDEstatus Specified TDEStatus has already configed in the This instance.
400 MissingDBName The request is missing a DBName parameter.
400 InvalidTDEstatus.Format The Specified TDEStatus is not valid. TDE (透過的データ暗号化) のステータスが親に対して無効です。
400 Invalid.PrivateKey The requested privateKey parameter is invalid. 指定された秘密鍵パラメーターが無効です。
400 Invalid.Certificate The requested certificate parameter is invalid. リクエストされた証明書パラメーターが無効です。
400 CertOrPrivateKeyOrPasswordNotMatched The public certificate, private key, and password do not match. 証明書と秘密鍵のパスワードが一致しません。
400 InvalidTDEKey Kms key is disabled. KMS キーが無効化されています。
400 InvalidTDEStatus.NotFound The specified TDEStatus does not exist. 指定された TDE ステータスは存在しません。
400 PermissionDenied The current account has not been authorized to allow RDS to access user's KMS services, authorization needs to be granted to this account. 現在のアカウントは、ApsaraDB RDS が Key Management Service (KMS) にアクセスすることを許可していません。RDS が KMS にアクセスできるように権限を付与してください。詳細については、RDS が KMS にアクセスするための権限付与に関するドキュメントを参照してください。
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 BYOKCertExpired The certificate has exceeded the validity period. 証明書が期限切れです。有効期限切れになっています。
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 IncorrectDBInstanceType Current DB instance type does not support this operation. 操作が失敗しました。現在のインスタンスステータスでは、この操作はサポートされていません。
403 IncorrectEngineVersion Current engine version does not support operations.
403 IncorrectDBInstanceLockMode Current DB instance lock mode does not support this operation.
403 IncorrectDBInstanceState Current DB instance state does not support this operation. 現在のインスタンスステータスでは、この操作はサポートされていません。
403 DBSizeExceeded Exceeding the allowed DB size of DB instance. データベースのサイズが制限を超えています。
403 IncorrectMinorVersion Current engine minor version does not support operations. 現在のマイナーエンジンバージョンでは、この操作はサポートされていません。
403 ByokRoleArnNotFound The roleArn can not be null. roleArn パラメーターは空にできません。
403 InvalidKmsKey Kms key is disabled. KMS キーが無効化されています。
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 OperationDenied.ZoneResource There is no available zone for inventory. 利用可能な在庫リージョンが存在しません。
403 NotInFlowController Sorry,no permission. この機能はエンタープライズクラウドユーザーのみが利用できます。必要な権限がありません。
403 InvalidInstanceLevel.Malformed Current DB instance level does not support this operation. 現在のデータベースインスタンスレベルは、この操作をサポートしていません。
403 UnsupportedByBlueGreenDeployment Operation prohibited due to blue green deployment. ブルーグリーン Deployment が存在するため、この操作は許可されていません。
403 CrossBackupStrategyNotSupport Cross region backup strategy is not supported. クロスリージョンバックアップポリシーはサポートされていません。
404 InvalidClusterKms this cluster not kms service.
404 InsufficientResourceCapacity There is insufficient capacity available for the requested instance.
404 InvalidDBName.NotFound Specified one or more DB name does not exist or DB status does not support. データベースインスタンス名が存在しないため、操作が失敗しました。
404 Request.NotFound The requested resource is not available. リクエストされたリソースは利用できません。
404 HostInfo.NotFound The specified host info is not found. 指定されたホスト情報が存在しません。

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

変更履歴

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