public virtual async Task <Response <ResourceUploadResult> > GetResourceUploadUriAsync(CancellationToken cancellationToken = default) { using var scope = _appPlatformAppResourceAppsClientDiagnostics.CreateScope("AppPlatformAppResource.GetResourceUploadUri"); scope.Start(); try { var response = await _appPlatformAppResourceAppsRestClient.GetResourceUploadUriAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, cancellationToken).ConfigureAwait(false); return(response); } catch (Exception e) { scope.Failed(e); throw; } }