Share via


VirtualMachineImage(String, AzureLocation) Constructor

Definition

Initializes a new instance of VirtualMachineImage.

public VirtualMachineImage (string name, Azure.Core.AzureLocation location);
new Azure.ResourceManager.Compute.Models.VirtualMachineImage : string * Azure.Core.AzureLocation -> Azure.ResourceManager.Compute.Models.VirtualMachineImage
Public Sub New (name As String, location As AzureLocation)

Parameters

name
String

The name of the resource.

location
AzureLocation

The supported Azure location of the resource.

Exceptions

name is null.

Applies to