/// <summary>
 /// Create or update a NetApp account
 /// </summary>
 /// <remarks>
 /// Create or update the specified NetApp account within the resource group
 /// </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 BeginCreateOrUpdate(this IAccountsOperations operations, NetAppAccount body, string resourceGroupName, string accountName)
 {
     return(operations.BeginCreateOrUpdateAsync(body, resourceGroupName, accountName).GetAwaiter().GetResult());
 }
예제 #2
0
 /// <summary>
 /// Create or update an account resource
 /// </summary>
 /// <remarks>
 /// Creates or updates an account
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name.
 /// </param>
 /// <param name='accountName'>
 /// The name of the account.
 /// </param>
 /// <param name='account'>
 /// The account.
 /// </param>
 public static Account BeginCreateOrUpdate(this IAccountsOperations operations, string resourceGroupName, string accountName, Account account)
 {
     return(operations.BeginCreateOrUpdateAsync(resourceGroupName, accountName, account).GetAwaiter().GetResult());
 }