Share via


AffinityGroupOperationsExtensions.UpdateAsync Method (IAffinityGroupOperations, String, AffinityGroupUpdateParameters)

 

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

public static Task<AzureOperationResponse> UpdateAsync(
    this IAffinityGroupOperations operations,
    string affinityGroupName,
    AffinityGroupUpdateParameters parameters
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ UpdateAsync(
    IAffinityGroupOperations^ operations,
    String^ affinityGroupName,
    AffinityGroupUpdateParameters^ parameters
)
static member UpdateAsync : 
        operations:IAffinityGroupOperations *
        affinityGroupName:string *
        parameters:AffinityGroupUpdateParameters -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function UpdateAsync (
    operations As IAffinityGroupOperations,
    affinityGroupName As String,
    parameters As AffinityGroupUpdateParameters
) 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

AffinityGroupOperationsExtensions Class
Microsoft.WindowsAzure.Management Namespace

Return to top