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