Exclui um log de fluxo.
Descrição da operação
Esta operação é executada de forma assíncrona. Após receber uma solicitação, o sistema retorna um ID da solicitação antes de concluir a exclusão do log de fluxo. A tarefa continua em segundo plano. Você pode chamar DescribeFlowlogs para verificar se o log de fluxo foi excluído.
Se o log de fluxo estiver no estado Deleting, ele ainda está sendo excluído. Nesse caso, você pode consultar informações sobre o log de fluxo, mas não pode executar outras operações nele.
Se a chamada DescribeFlowlogs falhar porque o log de fluxo não foi encontrado, ele foi excluído.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
cen:DeleteFlowlog |
delete |
*Flowlog
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| ClientToken |
string |
Não |
O token de cliente exclusivo e de uso único usado para garantir a idempotência da solicitação. Ele pode conter apenas caracteres ASCII. Nota
Se você deixar este parâmetro vazio, o sistema usa automaticamente o ID da solicitação como o token de cliente. |
123e4567-e89b-12d3-a456-42665544**** |
| RegionId |
string |
Sim |
O ID da região na qual o log de fluxo está implantado. Você pode chamar a operação DescribeChildInstanceRegions para consultar os IDs das regiões. |
cn-hangzhou |
| FlowLogId |
string |
Sim |
O ID do log de fluxo. |
flowlog-m5evbtbpt**** |
| CenId |
string |
Não |
O ID da instância do Cloud Enterprise Network (CEN). |
cen-7qthudw0ll6jmc**** |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
Os parâmetros de resposta. |
||
| Success |
string |
Indica se a chamada foi bem-sucedida. Valores válidos:
|
true |
| RequestId |
string |
O ID da solicitação. |
F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1 |
Exemplos
Resposta de sucesso
JSON formato
{
"Success": "true",
"RequestId": "F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | ProjectOrLogstoreNotExist | The specified project or logstore does not exist. | The error message returned because the specified project or Logstore does not exist. |
| 400 | SourceProjectNotExist | The Source Project or logstore does not exist. | The error message returned because the specified source project or Logstore does not exist. |
| 400 | OperationUnsupported.action | This action is not support. | The error message returned because this operation is not supported in the specified region. |
| 400 | QuotaExceeded.FlowlogCount | This user has reached the maximum instance number of flowlog. | The error message returned because the number of flow logs has reached the upper limit. |
| 400 | InvalidFlowlogId.exist | This cenId already has flowlog instance existed. | The error message returned because the specified CEN instance is already associated with a flow log. |
| 400 | InvalidFlowlogId.NotFound | The specified flowlog id does not exist or does not match the cen Id. | The error message returned because the specified flow log does not exist. |
| 400 | IncorrectStatus.flowlog | Invalid flowlog status. | The error message returned because the status of the flow log does not support this operation. Try again later. |
| 400 | IncorrectStatus.TrFlowlog | Flowlog status for specified TransitRouter is invalid for this operation. | Flowlog status for specified TransitRouter is invalid for this operation. |
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
| 400 | InvalidParameter.FlowLogId | The specified parameter FlowLogId is invalid. | |
| 400 | InvalidOperation.RelatedTrafficAnalyzerExists | The FlowLog has related Traffic Analyzer instance. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.