Share via


VirtualMachineDiskListResponse.VirtualMachineDisk.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)

Syntax

public string AffinityGroup { get; set; }
public:
property String^ AffinityGroup {
    String^ get();
    void set(String^ value);
}
member AffinityGroup : string with get, set
Public Property AffinityGroup As String

Property Value

Type: System.String

The name.

Remarks

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.

See Also

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

Return to top