///GENMHASH:78DF4F901F21A657D01F74A52C544710:655162C88FE2198B3A7136D452199C52 public async Task <Microsoft.Azure.Management.Network.Fluent.IPacketCaptureStatus> GetStatusAsync(CancellationToken cancellationToken = default(CancellationToken)) { var result = await client.GetStatusAsync(parent.ResourceGroupName, parent.Name, Name); return(new PacketCaptureStatusImpl(result)); }
/// <summary> /// Query the status of a running packet capture session. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='networkWatcherName'> /// The name of the Network Watcher resource. /// </param> /// <param name='packetCaptureName'> /// The name given to the packet capture session. /// </param> public static PacketCaptureQueryStatusResult GetStatus(this IPacketCapturesOperations operations, string resourceGroupName, string networkWatcherName, string packetCaptureName) { return(operations.GetStatusAsync(resourceGroupName, networkWatcherName, packetCaptureName).GetAwaiter().GetResult()); }