共用方式為


HostPoolResource.RetrieveRegistrationToken(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 Azure.Response<Azure.ResourceManager.DesktopVirtualization.Models.HostPoolRegistrationInfo> RetrieveRegistrationToken (System.Threading.CancellationToken cancellationToken = default);
abstract member RetrieveRegistrationToken : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.Models.HostPoolRegistrationInfo>
override this.RetrieveRegistrationToken : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.Models.HostPoolRegistrationInfo>
Public Overridable Function RetrieveRegistrationToken (Optional cancellationToken As CancellationToken = Nothing) As Response(Of HostPoolRegistrationInfo)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to