Supprime un cluster PolarDB postpayé.
Testez maintenant
Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale. Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale.
Test
Autorisation RAM
|
polardb:DeleteDBCluster |
delete |
*dbcluster
|
Aucune | Aucune |
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| CloudProvider |
string |
Non |
Le fournisseur de services cloud de l'instance. |
ENS |
| DBClusterId |
string |
Oui |
L'identifiant du cluster. |
pc-************** |
| BackupRetentionPolicyOnClusterDeletion |
string |
Non |
La stratégie de conservation des jeux de sauvegarde lors de la suppression du cluster. Valeurs valides :
|
NONE |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
|||
| RequestId |
string |
L'identifiant de la requête. |
D0CEC6AC-7760-409A-A0D5-E6CD86****** |
Exemples
JSON format
{
"RequestId": "D0CEC6AC-7760-409A-A0D5-E6CD86******"
}
Codes d'erreur
|
Code de statut HTTP |
Code d'erreur |
Message d'erreur |
Description |
|---|---|---|---|
| 400 | EngineMigration.ActionDisabled | Specified action is disabled while custins is in engine migration. | The specified operation is disabled when custins is being migrated across engines. |
| 400 | InvalidParamBackupRetentionPolicyOnClusterDeletion.Malformed | Invalid BackupRetentionPolicyOnClusterDeletion value. Please retain the backup set. | Invalid BackupRetentionPolicyOnClusterDeletio value. Retain the backup set. |
| 400 | InvalidBackupRetentionPolicyOnClusterDeletion.Malformed | The specified BackupRetentionPolicyOnClusterDeletion is invalid. | The specified BackupRetentionPolicyOnClusterDeletion parameter is invalid. |
| 403 | OperationDenied.DBClusterDeletionLock | The operation is not permitted due to the deletion lock of cluster. | This operation is not supported while a deletion lock exists in the cluster. |
| 403 | OperationDenied.OperateStatus | Specified action is denied by operate status. | The operation is denied because the |
| 403 | OperationDenied.ClusterStatus | The PolarDB cluster is not allowed to release when it is not running. | Stopped PolarDB clusters cannot be released. |
| 403 | OperationDenied.DBClusterPayType | The operation is not permitted due to the pay type of cluster. | This operation is not supported by the billing method of the cluster. |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist in the current record. |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | The specified DBClusterId parameter is invalid. |
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.