Partilhar via


DevTestLabVmResource.GetRdpFileContentsAsync(CancellationToken) Método

Definição

Obtém uma cadeia de caracteres que representa o conteúdo do arquivo RDP para a máquina virtual

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/getRdpFileContents
  • Operação IdVirtualMachines_GetRdpFileContents
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))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a