共用方式為


VirtualMachineTemplateCollection.GetAll(CancellationToken) Method

Definition

List of virtualMachineTemplates in a resource group.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to