/// <summary>
 /// Updates the specified Data Lake Store account information.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the Azure resource group.
 /// </param>
 /// <param name='accountName'>
 /// The name of the Data Lake Store account.
 /// </param>
 /// <param name='parameters'>
 /// Parameters supplied to update the Data Lake Store account.
 /// </param>
 public static DataLakeStoreAccount BeginUpdate(this IAccountsOperations operations, string resourceGroupName, string accountName, UpdateDataLakeStoreAccountParameters parameters)
 {
     return(operations.BeginUpdateAsync(resourceGroupName, accountName, parameters).GetAwaiter().GetResult());
 }
Esempio n. 2
0
 /// <summary>
 /// Updates a Cognitive Services account
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='accountName'>
 /// The name of Cognitive Services account.
 /// </param>
 /// <param name='account'>
 /// The parameters to provide for the created account.
 /// </param>
 public static Account BeginUpdate(this IAccountsOperations operations, string resourceGroupName, string accountName, Account account)
 {
     return(operations.BeginUpdateAsync(resourceGroupName, accountName, account).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Update a NetApp account
 /// </summary>
 /// <remarks>
 /// Patch the specified NetApp account
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// NetApp Account object supplied in the body of the operation.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='accountName'>
 /// The name of the NetApp account
 /// </param>
 public static NetAppAccount BeginUpdate(this IAccountsOperations operations, NetAppAccountPatch body, string resourceGroupName, string accountName)
 {
     return(operations.BeginUpdateAsync(body, resourceGroupName, accountName).GetAwaiter().GetResult());
 }