AccountOperationsExtensions.UpdateAsync Method (IAccountOperations, String, String, BatchAccountUpdateParameters, CancellationToken)
Updates the properties of an existing Batch account.
Namespace: Microsoft.Azure.Management.Batch
Assembly: Microsoft.Azure.Management.Batch (in Microsoft.Azure.Management.Batch.dll)
Syntax
public static Task<AccountResource> UpdateAsync(
this IAccountOperations operations,
string resourceGroupName,
string accountName,
BatchAccountUpdateParameters parameters,
CancellationToken cancellationToken = null
)
public:
[ExtensionAttribute]
static Task<AccountResource^>^ UpdateAsync(
IAccountOperations^ operations,
String^ resourceGroupName,
String^ accountName,
BatchAccountUpdateParameters^ parameters,
CancellationToken cancellationToken = null
)
static member UpdateAsync :
operations:IAccountOperations *
resourceGroupName:string *
accountName:string *
parameters:BatchAccountUpdateParameters *
cancellationToken:CancellationToken = null -> Task<AccountResource>
<ExtensionAttribute>
Public Shared Function UpdateAsync (
operations As IAccountOperations,
resourceGroupName As String,
accountName As String,
parameters As BatchAccountUpdateParameters,
cancellationToken As CancellationToken
) As Task(Of AccountResource)
Parameters
operations
Type: Microsoft.Azure.Management.Batch.IAccountOperationsThe operations group for this extension method.
resourceGroupName
Type: System.StringThe name of the resource group that contains the Batch account.
accountName
Type: System.StringThe name of the account.
parameters
Type: Microsoft.Azure.Management.Batch.Models.BatchAccountUpdateParametersAdditional parameters for account update.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<AccountResource>
See Also
AccountOperationsExtensions Class
Microsoft.Azure.Management.Batch Namespace
Return to top