HostPoolResource.RetrieveRegistrationTokenAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.