IAffinityGroupOperations::UpdateAsync Method (String^, AffinityGroupUpdateParameters^, CancellationToken)
Asynchronously updates the label or description of an affinity group in the specified subscription.
Assembly: Microsoft.WindowsAzure.Management (in Microsoft.WindowsAzure.Management.dll)
Task<AzureOperationResponse^>^ UpdateAsync( String^ affinityGroupName, AffinityGroupUpdateParameters^ parameters, CancellationToken cancellationToken )
Parameters
- affinityGroupName
-
Type:
System::String^
The name of the affinity group to update.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Models::AffinityGroupUpdateParameters^
The AffinityGroupUpdateParameters object that contains the new label or description of the affinity group.
- cancellationToken
-
Type:
System.Threading::CancellationToken
The cancellation token.
Return Value
Type: System.Threading.Tasks::Task<AzureOperationResponse^>^An OperationResponse object that includes an HTTP status code and request ID.
For more information about updating affinity groups, see the following resources:
Show: