IAffinityGroupOperations.GetAsync(String, CancellationToken) Method

Definition

The Get Affinity Group Properties operation returns the system properties associated with the specified affinity group. (see http://msdn.microsoft.com/en-us/library/windowsazure/ee460789.aspx for more information)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Models.AffinityGroupGetResponse> GetAsync (string affinityGroupName, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Models.AffinityGroupGetResponse>
Public Function GetAsync (affinityGroupName As String, cancellationToken As CancellationToken) As Task(Of AffinityGroupGetResponse)

Parameters

affinityGroupName
String

The name of the desired affinity group as returned by the name element of the List Affinity Groups operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Get Affinity Group operation response.

Applies to