Share via


MockableScVmmSubscriptionResource.GetScVmmVirtualMachineTemplates Method

Definition

List of VirtualMachineTemplates in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachineTemplates
  • Operation Id: VirtualMachineTemplates_ListBySubscription
  • Default Api Version: 2023-10-07
  • Resource: ScVmmVirtualMachineTemplateResource
public virtual Azure.Pageable<Azure.ResourceManager.ScVmm.ScVmmVirtualMachineTemplateResource> GetScVmmVirtualMachineTemplates (System.Threading.CancellationToken cancellationToken = default);
abstract member GetScVmmVirtualMachineTemplates : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ScVmm.ScVmmVirtualMachineTemplateResource>
override this.GetScVmmVirtualMachineTemplates : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ScVmm.ScVmmVirtualMachineTemplateResource>
Public Overridable Function GetScVmmVirtualMachineTemplates (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