Share via


HostPoolResource.RetrieveRegistrationTokenAsync(CancellationToken) Method

Definition

Registration token of the host pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/retrieveRegistrationToken
  • Operation Id: HostPools_RetrieveRegistrationToken
  • Default Api Version: 2024-04-03
  • Resource: HostPoolResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.Models.HostPoolRegistrationInfo>> RetrieveRegistrationTokenAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member RetrieveRegistrationTokenAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.Models.HostPoolRegistrationInfo>>
override this.RetrieveRegistrationTokenAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.Models.HostPoolRegistrationInfo>>
Public Overridable Function RetrieveRegistrationTokenAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HostPoolRegistrationInfo))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to