コード例 #1
0
 /// <summary>
 /// Attach to the output of a specific container instance.
 /// </summary>
 /// <remarks>
 /// Attach to the output stream of a specific 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>
 public static ContainerAttachResponse Attach(this IContainersOperations operations, string resourceGroupName, string containerGroupName, string containerName)
 {
     return(operations.AttachAsync(resourceGroupName, containerGroupName, containerName).GetAwaiter().GetResult());
 }