你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MockableArcScVmmSubscriptionResource.GetScVmmVirtualMachineTemplatesAsync Method

Definition

List of VirtualMachineTemplates in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachineTemplates
  • Operation Id: VirtualMachineTemplates_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.ArcScVmm.ScVmmVirtualMachineTemplateResource> GetScVmmVirtualMachineTemplatesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetScVmmVirtualMachineTemplatesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ArcScVmm.ScVmmVirtualMachineTemplateResource>
override this.GetScVmmVirtualMachineTemplatesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ArcScVmm.ScVmmVirtualMachineTemplateResource>
Public Overridable Function GetScVmmVirtualMachineTemplatesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ScVmmVirtualMachineTemplateResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to