Share via


DevTestLabVmResource.GetRdpFileContents(CancellationToken) Method

Definition

Gets a string that represents the contents of the RDP file for the virtual machine

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/getRdpFileContents
  • Operation Id: VirtualMachines_GetRdpFileContents
public virtual Azure.Response<Azure.ResourceManager.DevTestLabs.Models.DevTestLabRdpConnection> GetRdpFileContents (System.Threading.CancellationToken cancellationToken = default);
abstract member GetRdpFileContents : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.Models.DevTestLabRdpConnection>
override this.GetRdpFileContents : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.Models.DevTestLabRdpConnection>
Public Overridable Function GetRdpFileContents (Optional cancellationToken As CancellationToken = Nothing) As Response(Of DevTestLabRdpConnection)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to