Share via


OSVirtualHardDisk.SourceImageName Property

 

Gets or sets the name of the image to use to create the Virtual Machine.

Namespace:   Microsoft.WindowsAzure.Management.Compute.Models
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Syntax

public string SourceImageName { get; set; }
public:
property String^ SourceImageName {
    String^ get();
    void set(String^ value);
}
member SourceImageName : string with get, set
Public Property SourceImageName As String

Property Value

Type: System.String

The name.

Remarks

You can specify a user image or a platform image. An image is always associated with a VHD, which is a .vhd file stored as a page blob in a storage account in Microsoft Azure. If you specify a platform image, an associated VHD is created and you must use the MediaLink to specify the location in storage where the VHD will be located.

See Also

OSVirtualHardDisk Class
Microsoft.WindowsAzure.Management.Compute.Models Namespace

Return to top