Partilhar via


NetworkWatcherResource.GetTroubleshooting Método

Definição

Inicie a solução de problemas em um recurso especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot
  • Operação IdNetworkWatchers_GetTroubleshooting
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.TroubleshootingResult> GetTroubleshooting (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.TroubleshootingContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTroubleshooting : Azure.WaitUntil * Azure.ResourceManager.Network.Models.TroubleshootingContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.TroubleshootingResult>
override this.GetTroubleshooting : Azure.WaitUntil * Azure.ResourceManager.Network.Models.TroubleshootingContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.TroubleshootingResult>
Public Overridable Function GetTroubleshooting (waitUntil As WaitUntil, content As TroubleshootingContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of TroubleshootingResult)

Parâmetros

waitUntil
WaitUntil

Completed se o método deve aguardar para retornar até que a operação de execução prolongada seja concluída no serviço; Started se ele deve retornar depois de iniciar a operação. Para obter mais informações sobre operações de longa execução, consulte Exemplos de operação de Long-Running do Azure.Core.

content
TroubleshootingContent

Parâmetros que definem o recurso a ser solucionado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a