共用方式為


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to