VirtualMachineDiskUpdateDiskResponse.AffinityGroup Property

Gets or sets the name of the affinity group in which the disk is located.

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

'Usage
Dim instance As VirtualMachineDiskUpdateDiskResponse
Dim value As String

value = instance.AffinityGroup

instance.AffinityGroup = value

public string AffinityGroup { get; set; }
/** @property */
public String get_AffinityGroup ()

/** @property */
public void set_AffinityGroup (String value)

public function get AffinityGroup () : String

public function set AffinityGroup (value : String)

Property Value

The name.

This value is derived from the storage account that contains the blob in which the media is located. If the storage account does not belong to an affinity group the value is NULL.

For more information about affinity groups, see Create an Affinity Group in the Management Portal.


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

Development Platforms

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

Target Platforms

Show: