Share via


GuestAgentCollection.GetAllAsync(CancellationToken) Method

Definition

Returns the list of GuestAgent of the given vm.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachines/{virtualMachineName}/guestAgents
  • Operation Id: GuestAgents_ListByVm
public virtual Azure.AsyncPageable<Azure.ResourceManager.ConnectedVMwarevSphere.GuestAgentResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ConnectedVMwarevSphere.GuestAgentResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ConnectedVMwarevSphere.GuestAgentResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of GuestAgentResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of GuestAgentResource that may take multiple service requests to iterate over.

Applies to