Share via


AffinityGroupOperationsExtensions.Update Method

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)

Usage

'Usage
Dim operations As IAffinityGroupOperations
Dim affinityGroupName As String
Dim parameters As AffinityGroupUpdateParameters
Dim returnValue As AzureOperationResponse

returnValue = AffinityGroupOperationsExtensions.Update(operations, affinityGroupName, parameters)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Update ( _
    operations As IAffinityGroupOperations, _
    affinityGroupName As String, _
    parameters As AffinityGroupUpdateParameters _
) As AzureOperationResponse
[ExtensionAttribute] 
public static AzureOperationResponse Update (
    IAffinityGroupOperations operations,
    string affinityGroupName,
    AffinityGroupUpdateParameters parameters
)
[ExtensionAttribute] 
public:
static AzureOperationResponse^ Update (
    IAffinityGroupOperations^ operations, 
    String^ affinityGroupName, 
    AffinityGroupUpdateParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static AzureOperationResponse Update (
    IAffinityGroupOperations operations, 
    String affinityGroupName, 
    AffinityGroupUpdateParameters parameters
)
ExtensionAttribute 
public static function Update (
    operations : IAffinityGroupOperations, 
    affinityGroupName : String, 
    parameters : AffinityGroupUpdateParameters
) : AzureOperationResponse

Parameters

  • affinityGroupName
    The name of the affinity group to update.

Return Value

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

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

AffinityGroupOperationsExtensions Class
AffinityGroupOperationsExtensions Members
Microsoft.WindowsAzure.Management Namespace