Share via


VirtualMachineDisk.SourceImageName Property

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

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

Usage

'Usage
Dim instance As VirtualMachineDisk
Dim value As String

value = instance.SourceImageName

instance.SourceImageName = value

Syntax

'Declaration
Public Property SourceImageName As String
public string SourceImageName { get; set; }
public:
property String^ SourceImageName {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_SourceImageName ()

/** @property */
public void set_SourceImageName (String value)
public function get SourceImageName () : String

public function set SourceImageName (value : String)

Property Value

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

VirtualMachineDisk Class
VirtualMachineDisk Members
Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineDiskListResponse Namespace