共用方式為


GuestConfigurationVmAssignmentCollection.GetAllAsync Method

Definition

List all guest configuration assignments for a virtual machine.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments
  • Operation Id: GuestConfigurationAssignments_List
  • Default Api Version: 2024-04-05
  • Resource: GuestConfigurationVmAssignmentResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.GuestConfiguration.GuestConfigurationVmAssignmentResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.GuestConfiguration.GuestConfigurationVmAssignmentResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.GuestConfiguration.GuestConfigurationVmAssignmentResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of GuestConfigurationVmAssignmentResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to