Exemple #1
0
 /// <summary>
 /// Updates the Data Lake Analytics account object specified by the accountName
 /// with the contents of the account object.
 /// </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 Analytics account.
 /// </param>
 /// <param name='parameters'>
 /// Parameters supplied to the update Data Lake Analytics account operation.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <DataLakeAnalyticsAccount> BeginUpdateAsync(this IAccountsOperations operations, string resourceGroupName, string accountName, UpdateDataLakeAnalyticsAccountParameters parameters = default(UpdateDataLakeAnalyticsAccountParameters), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.BeginUpdateWithHttpMessagesAsync(resourceGroupName, accountName, parameters, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Exemple #2
0
 /// <summary>
 /// Updates the Data Lake Analytics account object specified by the accountName
 /// with the contents of the account object.
 /// </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 Analytics account.
 /// </param>
 /// <param name='parameters'>
 /// Parameters supplied to the update Data Lake Analytics account operation.
 /// </param>
 public static DataLakeAnalyticsAccount BeginUpdate(this IAccountsOperations operations, string resourceGroupName, string accountName, UpdateDataLakeAnalyticsAccountParameters parameters = default(UpdateDataLakeAnalyticsAccountParameters))
 {
     return(operations.BeginUpdateAsync(resourceGroupName, accountName, parameters).GetAwaiter().GetResult());
 }