Udostępnij za pośrednictwem


ScVmmVirtualMachineTemplateCollection.GetAll(CancellationToken) Method

Definition

List of VirtualMachineTemplates in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachineTemplates
  • Operation Id: VirtualMachineTemplates_ListByResourceGroup
  • Default Api Version: 2023-10-07
  • Resource: ScVmmVirtualMachineTemplateResource
public virtual Azure.Pageable<Azure.ResourceManager.ScVmm.ScVmmVirtualMachineTemplateResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ScVmm.ScVmmVirtualMachineTemplateResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ScVmm.ScVmmVirtualMachineTemplateResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ScVmmVirtualMachineTemplateResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to