/// <summary>
 /// Get the logs for a specified container instance.
 /// </summary>
 /// <remarks>
 /// Get the logs for a specified container instance in a specified resource
 /// group and container group.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='containerGroupName'>
 /// The name of the container group.
 /// </param>
 /// <param name='containerName'>
 /// The name of the container instance.
 /// </param>
 /// <param name='tail'>
 /// The number of lines to show from the tail of the container instance log. If
 /// not provided, all available logs are shown up to 4mb.
 /// </param>
 public static Logs ListLogs(this IContainersOperations operations, string resourceGroupName, string containerGroupName, string containerName, int?tail = default(int?))
 {
     return(operations.ListLogsAsync(resourceGroupName, containerGroupName, containerName, tail).GetAwaiter().GetResult());
 }