DevTestLabVmResource.GetRdpFileContentsAsync(CancellationToken) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtenir une chaîne qui représente le contenu du fichier RDP pour la machine virtuelle
- Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/getRdpFileContents
- IdVirtualMachines_GetRdpFileContents d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.Models.DevTestLabRdpConnection>> GetRdpFileContentsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetRdpFileContentsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.Models.DevTestLabRdpConnection>>
override this.GetRdpFileContentsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.Models.DevTestLabRdpConnection>>
Public Overridable Function GetRdpFileContentsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DevTestLabRdpConnection))
Paramètres
- cancellationToken
- CancellationToken
Jeton d’annulation à utiliser.