/// <summary> /// Lists all the shares in a Data Box Edge/Data Box Gateway device. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='deviceName'> /// The device name. /// </param> /// <param name='resourceGroupName'> /// The resource group name. /// </param> public static IPage <Share> ListByDataBoxEdgeDevice(this ISharesOperations operations, string deviceName, string resourceGroupName) { return(operations.ListByDataBoxEdgeDeviceAsync(deviceName, resourceGroupName).GetAwaiter().GetResult()); }