Share via


DataVirtualHardDisk.MediaLink Property

Gets or sets URI of the location where the new VHD is created when the new data disk is added.

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

Usage

'Usage
Dim instance As DataVirtualHardDisk
Dim value As Uri

value = instance.MediaLink

instance.MediaLink = value

Syntax

'Declaration
Public Property MediaLink As Uri
public Uri MediaLink { get; set; }
public:
property Uri^ MediaLink {
    Uri^ get ();
    void set (Uri^ value);
}
/** @property */
public Uri get_MediaLink ()

/** @property */
public void set_MediaLink (Uri value)
public function get MediaLink () : Uri

public function set MediaLink (value : Uri)

Property Value

The URI.

Remarks

 If the disk that is being added is already registered in the subscription or the VHD for the disk already exists in blob storage, this property is not used.

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

DataVirtualHardDisk Class
DataVirtualHardDisk Members
Microsoft.WindowsAzure.Management.Compute.Models Namespace