public virtual async Task <Response <RunCommandDocument> > GetAsync(CancellationToken cancellationToken = default) { using var scope = _clientDiagnostics.CreateScope("VirtualMachineRunCommandVirtualMachine.Get"); scope.Start(); try { var response = await _restClient.GetAsync(Id.Parent.Name, Id.Name, cancellationToken).ConfigureAwait(false); return(response); } catch (Exception e) { scope.Failed(e); throw; } }