public virtual Response <HybridConnectionLimits> Get(CancellationToken cancellationToken = default) { using var scope = _hybridConnectionLimitsAppServicePlansClientDiagnostics.CreateScope("HybridConnectionLimits.Get"); scope.Start(); try { var response = _hybridConnectionLimitsAppServicePlansRestClient.GetHybridConnectionPlanLimit(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, cancellationToken); if (response.Value == null) { throw _hybridConnectionLimitsAppServicePlansClientDiagnostics.CreateRequestFailedException(response.GetRawResponse()); } return(Response.FromValue(new HybridConnectionLimits(ArmClient, response.Value), response.GetRawResponse())); } catch (Exception e) { scope.Failed(e); throw; } }