Share via


ConnectedVMwarevSphereExtensions.GetVirtualMachineTemplates Method

Definition

Overloads

GetVirtualMachineTemplates(ResourceGroupResource)

Gets a collection of VirtualMachineTemplateResources in the ResourceGroupResource.

GetVirtualMachineTemplates(SubscriptionResource, CancellationToken)

List of virtualMachineTemplates in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates
  • Operation Id: VirtualMachineTemplates_List

GetVirtualMachineTemplates(ResourceGroupResource)

Source:
ConnectedVMwarevSphereExtensions.cs

Gets a collection of VirtualMachineTemplateResources in the ResourceGroupResource.

public static Azure.ResourceManager.ConnectedVMwarevSphere.VirtualMachineTemplateCollection GetVirtualMachineTemplates (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetVirtualMachineTemplates : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ConnectedVMwarevSphere.VirtualMachineTemplateCollection
<Extension()>
Public Function GetVirtualMachineTemplates (resourceGroupResource As ResourceGroupResource) As VirtualMachineTemplateCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of VirtualMachineTemplateResources and their operations over a VirtualMachineTemplateResource.

Applies to

GetVirtualMachineTemplates(SubscriptionResource, CancellationToken)

Source:
ConnectedVMwarevSphereExtensions.cs

List of virtualMachineTemplates in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates
  • Operation Id: VirtualMachineTemplates_List
public static Azure.Pageable<Azure.ResourceManager.ConnectedVMwarevSphere.VirtualMachineTemplateResource> GetVirtualMachineTemplates (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetVirtualMachineTemplates : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ConnectedVMwarevSphere.VirtualMachineTemplateResource>
<Extension()>
Public Function GetVirtualMachineTemplates (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of VirtualMachineTemplateResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to