Compartilhar via


Método AffinityGroupOperationsExtensions.Update

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

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

Uso

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

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

Sintaxe

'Declaração
<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

Parâmetros

  • affinityGroupName
    The name of the affinity group to update.

Valor de retorno

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

Comentários

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

Segurança de thread

Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows 7 e Windows Server 2008

Plataformas de destino

Consulte também

Referência

Classe AffinityGroupOperationsExtensions
Membros AffinityGroupOperationsExtensions
Namespace Microsoft.WindowsAzure.Management