Compartilhar via


VirtualMachineInstanceResource.GetAsync(CancellationToken) Method

Definition

Gets a virtual machine instance

  • Request Path: /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default
  • Operation Id: VirtualMachineInstances_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.VirtualMachineInstanceResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.VirtualMachineInstanceResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.VirtualMachineInstanceResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VirtualMachineInstanceResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to