Partilhar via


MockableComputeSubscriptionResource.GetVirtualMachineExtensionImages Method

Definition

Gets a collection of VirtualMachineExtensionImageResources in the SubscriptionResource.

public virtual Azure.ResourceManager.Compute.VirtualMachineExtensionImageCollection GetVirtualMachineExtensionImages (Azure.Core.AzureLocation location, string publisherName);
abstract member GetVirtualMachineExtensionImages : Azure.Core.AzureLocation * string -> Azure.ResourceManager.Compute.VirtualMachineExtensionImageCollection
override this.GetVirtualMachineExtensionImages : Azure.Core.AzureLocation * string -> Azure.ResourceManager.Compute.VirtualMachineExtensionImageCollection
Public Overridable Function GetVirtualMachineExtensionImages (location As AzureLocation, publisherName As String) As VirtualMachineExtensionImageCollection

Parameters

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

publisherName is null.

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

Applies to