Share via


IAffinityGroupOperations.UpdateAsync Method (String, AffinityGroupUpdateParameters, CancellationToken)

 

Asynchronously updates the label or description of an affinity group in the specified subscription.

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

Syntax

Task<AzureOperationResponse> UpdateAsync(
    string affinityGroupName,
    AffinityGroupUpdateParameters parameters,
    CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ UpdateAsync(
    String^ affinityGroupName,
    AffinityGroupUpdateParameters^ parameters,
    CancellationToken cancellationToken
)
abstract UpdateAsync : 
        affinityGroupName:string *
        parameters:AffinityGroupUpdateParameters *
        cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function UpdateAsync (
    affinityGroupName As String,
    parameters As AffinityGroupUpdateParameters,
    cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)

Parameters

  • affinityGroupName
    Type: System.String

    The name of the affinity group to update.

Return Value

Type: System.Threading.Tasks.Task<AzureOperationResponse>

An OperationResponse object that includes an HTTP status code and request ID.

Remarks

For more information about updating affinity groups, see the following resources:

See Also

IAffinityGroupOperations Interface
Microsoft.WindowsAzure.Management Namespace

Return to top