Share via


GuestAgentCollection.GetAll(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.Pageable<Azure.ResourceManager.ConnectedVMwarevSphere.GuestAgentResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ConnectedVMwarevSphere.GuestAgentResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ConnectedVMwarevSphere.GuestAgentResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of GuestAgentResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to