Dela via


ComputeExtensions.GetVirtualMachineExtensionImages Method

Definition

Gets a collection of VirtualMachineExtensionImageResources in the SubscriptionResource. MockingTo mock this method, please mock GetVirtualMachineExtensionImages(AzureLocation, String) instead.

public static Azure.ResourceManager.Compute.VirtualMachineExtensionImageCollection GetVirtualMachineExtensionImages (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string publisherName);
static member GetVirtualMachineExtensionImages : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string -> Azure.ResourceManager.Compute.VirtualMachineExtensionImageCollection
<Extension()>
Public Function GetVirtualMachineExtensionImages (subscriptionResource As SubscriptionResource, location As AzureLocation, publisherName As String) As VirtualMachineExtensionImageCollection

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

location
AzureLocation

The name of a supported Azure region.

publisherName
String

The String to use.

Returns

An object representing collection of VirtualMachineExtensionImageResources and their operations over a VirtualMachineExtensionImageResource.

Exceptions

subscriptionResource or publisherName is null.

publisherName is an empty string, and was expected to be non-empty.

Applies to