Пример #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>
 /// <param name='sessionIds'>
 /// The list of sessionids to disconnect.
 /// </param>
 public static IPage <BastionSessionState> DisconnectActiveSessions(this INetworkManagementClient operations, string resourceGroupName, string bastionHostName, SessionIds sessionIds)
 {
     return(operations.DisconnectActiveSessionsAsync(resourceGroupName, bastionHostName, sessionIds).GetAwaiter().GetResult());
 }