HciVmGuestAgentResource.GetAsync(CancellationToken) Method

Definition

Implements GuestAgent GET method.

  • Request Path. : /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/guestAgents/default.
  • Operation Id. : GuestAgents_Get.
  • Default Api Version. : 2025-09-01-preview.
  • Resource. : HciVmGuestAgentResource.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.Vm.HciVmGuestAgentResource>> GetAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.Vm.HciVmGuestAgentResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.Vm.HciVmGuestAgentResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HciVmGuestAgentResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to