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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to