Share via


DevTestLabResource.GetVhds(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.Pageable<Azure.ResourceManager.Resources.Models.SubResource> GetVhds (System.Threading.CancellationToken cancellationToken = default);
abstract member GetVhds : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.Models.SubResource>
override this.GetVhds : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.Models.SubResource>
Public Overridable Function GetVhds (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SubResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to