AffinityGroupOperationsExtensions.Update Method (IAffinityGroupOperations, String, AffinityGroupUpdateParameters)
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 AzureOperationResponse Update(
this IAffinityGroupOperations operations,
string affinityGroupName,
AffinityGroupUpdateParameters parameters
)
public:
[ExtensionAttribute]
static AzureOperationResponse^ Update(
IAffinityGroupOperations^ operations,
String^ affinityGroupName,
AffinityGroupUpdateParameters^ parameters
)
static member Update :
operations:IAffinityGroupOperations *
affinityGroupName:string *
parameters:AffinityGroupUpdateParameters -> AzureOperationResponse
<ExtensionAttribute>
Public Shared Function Update (
operations As IAffinityGroupOperations,
affinityGroupName As String,
parameters As AffinityGroupUpdateParameters
) As AzureOperationResponse
Parameters
operations
Type: Microsoft.WindowsAzure.Management.IAffinityGroupOperationsThe IAffinityGroupOperations object.
affinityGroupName
Type: System.StringThe name of the affinity group to update.
parameters
Type: Microsoft.WindowsAzure.Management.Models.AffinityGroupUpdateParametersThe AffinityGroupUpdateParameters object that contains the new label or description of the affinity group.
Return Value
Type: Microsoft.Azure.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