Share via


TemplateSpecVersionCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all the Template Spec versions in the specified Template Spec.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions
  • Operation Id: TemplateSpecVersions_List
  • Default Api Version: 2021-05-01
  • Resource: TemplateSpecVersionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Resources.TemplateSpecVersionResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.TemplateSpecVersionResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.TemplateSpecVersionResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of TemplateSpecVersionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to