DevTestLabResource.GetVhdsAsync(CancellationToken) Method

Definition

List disk images available for custom image creation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/listVhds
  • Operation Id: Labs_ListVhds
public virtual Azure.AsyncPageable<Azure.ResourceManager.Resources.Models.SubResource> GetVhdsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetVhdsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.Models.SubResource>
override this.GetVhdsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.Models.SubResource>
Public Overridable Function GetVhdsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SubResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to