VirtualMachineDiskUpdateDiskParameters.Name Property

Gets or sets a name for the disk.

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

Usage

'Usage
Dim instance As VirtualMachineDiskUpdateDiskParameters
Dim value As String

value = instance.Name

instance.Name = value

Syntax

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

/** @property */
public void set_Name (String value)
public function get Name () : String

public function set Name (value : String)

Property Value

The name.

Remarks

If a name is not specified, a unique name is assigned that is a combination of the deployment name, role name, and identifying number.

The name of the disk must contain only alphanumeric characters, underscores, periods, or dashes. The name must not be longer than 256 characters. The name must not end with period or dash.

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

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