/// <summary>
 /// Creates a new container or updates an existing container on the device.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='deviceName'>
 /// The device name.
 /// </param>
 /// <param name='storageAccountName'>
 /// The Storage Account Name
 /// </param>
 /// <param name='containerName'>
 /// The container name.
 /// </param>
 /// <param name='container'>
 /// The container properties.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name.
 /// </param>
 public static Container BeginCreateOrUpdate(this IContainersOperations operations, string deviceName, string storageAccountName, string containerName, Container container, string resourceGroupName)
 {
     return(operations.BeginCreateOrUpdateAsync(deviceName, storageAccountName, containerName, container, resourceGroupName).GetAwaiter().GetResult());
 }