Beispiel #1
0
 /// <summary>
 /// Returns the list of currently active sessions on the Bastion.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='bastionHostName'>
 /// The name of the Bastion Host.
 /// </param>
 public static IPage <BastionActiveSession> GetActiveSessions(this INetworkManagementClient operations, string resourceGroupName, string bastionHostName)
 {
     return(operations.GetActiveSessionsAsync(resourceGroupName, bastionHostName).GetAwaiter().GetResult());
 }