Partager via


VMwareVmInstanceResource.GetAsync(CancellationToken) Method

Definition

Retrieves information about a virtual machine instance.

  • Request Path: /{resourceUri}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineInstances/default
  • Operation Id: VirtualMachineInstances_Get
  • Default Api Version: 2023-12-01
  • Resource: VMwareVmInstanceResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareVmInstanceResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareVmInstanceResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareVmInstanceResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VMwareVmInstanceResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to