GalleryScriptVersionCollection.GetAll(CancellationToken) Method

Definition

List gallery Script Versions in a gallery Script Definition.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/scripts/{galleryScriptName}/versions.
  • Operation Id. : GalleryScriptVersions_ListByGalleryScript.
  • Default Api Version. : 2025-03-03.
public virtual Azure.Pageable<Azure.ResourceManager.Compute.GalleryScriptVersionResource> GetAll(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.GalleryScriptVersionResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.GalleryScriptVersionResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of GalleryScriptVersionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to