/// <summary> /// Creates or updates the file share. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='deviceName'> /// The device name. /// </param> /// <param name='fileServerName'> /// The file server name. /// </param> /// <param name='shareName'> /// The file share name. /// </param> /// <param name='fileShare'> /// The file share. /// </param> /// <param name='resourceGroupName'> /// The resource group name /// </param> /// <param name='managerName'> /// The manager name /// </param> public static FileShare BeginCreateOrUpdate(this IFileSharesOperations operations, string deviceName, string fileServerName, string shareName, FileShare fileShare, string resourceGroupName, string managerName) { return(operations.BeginCreateOrUpdateAsync(deviceName, fileServerName, shareName, fileShare, resourceGroupName, managerName).GetAwaiter().GetResult()); }