Share via


VirtualMachineUpdateParameters.AvailabilitySetName Property

Gets or sets the name of an availability set to which the Virtual Machine belongs.

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

Usage

'Usage
Dim instance As VirtualMachineUpdateParameters
Dim value As String

value = instance.AvailabilitySetName

instance.AvailabilitySetName = value

Syntax

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

/** @property */
public void set_AvailabilitySetName (String value)
public function get AvailabilitySetName () : String

public function set AvailabilitySetName (value : String)

Property Value

The name.

Remarks

For more information about using availability sets, see Manage the Availability of Virtual Machines

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

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