ConnectedVMwarevSphereExtensions.GetVirtualMachineTemplates Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetVirtualMachineTemplates(ResourceGroupResource) |
Gets a collection of VirtualMachineTemplateResources in the ResourceGroupResource. |
GetVirtualMachineTemplates(SubscriptionResource, CancellationToken) |
List of virtualMachineTemplates in a subscription.
|
GetVirtualMachineTemplates(ResourceGroupResource)
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)
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.