Exclui um cluster PolarDB pós-pago.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
polardb:DeleteDBCluster |
delete |
*dbcluster
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| CloudProvider |
string |
Não |
O provedor de serviços de nuvem da instância. |
ENS |
| DBClusterId |
string |
Sim |
O ID do cluster. |
pc-************** |
| BackupRetentionPolicyOnClusterDeletion |
string |
Não |
A política de retenção para conjuntos de backup quando o cluster é excluído. Valores válidos:\n\n- ALL: retém permanentemente todos os conjuntos de backup.\n\n- LATEST: retém permanentemente o último conjunto de backup. O sistema cria automaticamente um novo backup antes de o cluster ser excluído.\n\n- NONE: não retém nenhum conjunto de backup após a exclusão do cluster. |
NONE |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| RequestId |
string |
O ID da solicitação. |
D0CEC6AC-7760-409A-A0D5-E6CD86****** |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "D0CEC6AC-7760-409A-A0D5-E6CD86******"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 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. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.