Share via


ArcScVmmExtensions.GetScVmmVirtualMachineTemplates Method

Definition

Overloads

GetScVmmVirtualMachineTemplates(ResourceGroupResource)

Gets a collection of ScVmmVirtualMachineTemplateResources in the ResourceGroupResource. MockingTo mock this method, please mock GetScVmmVirtualMachineTemplates() instead.

GetScVmmVirtualMachineTemplates(SubscriptionResource, CancellationToken)

List of VirtualMachineTemplates in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachineTemplates
  • Operation Id: VirtualMachineTemplates_ListBySubscription

GetScVmmVirtualMachineTemplates(ResourceGroupResource)

Source:
ArcScVmmExtensions.cs

Gets a collection of ScVmmVirtualMachineTemplateResources in the ResourceGroupResource. MockingTo mock this method, please mock GetScVmmVirtualMachineTemplates() instead.

public static Azure.ResourceManager.ArcScVmm.ScVmmVirtualMachineTemplateCollection GetScVmmVirtualMachineTemplates (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetScVmmVirtualMachineTemplates : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ArcScVmm.ScVmmVirtualMachineTemplateCollection
<Extension()>
Public Function GetScVmmVirtualMachineTemplates (resourceGroupResource As ResourceGroupResource) As ScVmmVirtualMachineTemplateCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of ScVmmVirtualMachineTemplateResources and their operations over a ScVmmVirtualMachineTemplateResource.

Exceptions

resourceGroupResource is null.

Applies to

GetScVmmVirtualMachineTemplates(SubscriptionResource, CancellationToken)

Source:
ArcScVmmExtensions.cs

List of VirtualMachineTemplates in a subscription.

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to