共用方式為


LabVirtualMachineImageCollection.GetAllAsync Method

Definition

Gets all images from galleries attached to a lab plan.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}/images
  • Operation Id: Images_ListByLabPlan
public virtual Azure.AsyncPageable<Azure.ResourceManager.LabServices.LabVirtualMachineImageResource> GetAllAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.LabServices.LabVirtualMachineImageResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.LabServices.LabVirtualMachineImageResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of LabVirtualMachineImageResource)

Parameters

filter
String

The filter to apply to the operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to