Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UserSessionsImpl

Package version

Class containing UserSessions operations.

Hierarchy

  • UserSessionsImpl

Implements

Index

Constructors

constructor

Methods

delete

  • delete(resourceGroupName: string, hostPoolName: string, sessionHostName: string, userSessionId: string, options?: UserSessionsDeleteOptionalParams): Promise<void>
  • Remove a userSession.

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • hostPoolName: string

      The name of the host pool within the specified resource group

    • sessionHostName: string

      The name of the session host within the specified host pool

    • userSessionId: string

      The name of the user session within the specified session host

    • Optional options: UserSessionsDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

disconnect

  • Disconnect a userSession.

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • hostPoolName: string

      The name of the host pool within the specified resource group

    • sessionHostName: string

      The name of the session host within the specified host pool

    • userSessionId: string

      The name of the user session within the specified session host

    • Optional options: UserSessionsDisconnectOptionalParams

      The options parameters.

    Returns Promise<void>

get

  • Get a userSession.

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • hostPoolName: string

      The name of the host pool within the specified resource group

    • sessionHostName: string

      The name of the session host within the specified host pool

    • userSessionId: string

      The name of the user session within the specified session host

    • Optional options: UserSessionsGetOptionalParams

      The options parameters.

    Returns Promise<UserSessionsGetResponse>

list

  • List userSessions.

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • hostPoolName: string

      The name of the host pool within the specified resource group

    • sessionHostName: string

      The name of the session host within the specified host pool

    • Optional options: UserSessionsListOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<UserSession>

listByHostPool

sendMessage

  • Send a message to a user.

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • hostPoolName: string

      The name of the host pool within the specified resource group

    • sessionHostName: string

      The name of the session host within the specified host pool

    • userSessionId: string

      The name of the user session within the specified session host

    • Optional options: UserSessionsSendMessageOptionalParams

      The options parameters.

    Returns Promise<void>

Generated using TypeDoc