/// <summary>
 /// Gets the account keys for the specified Batch account.
 /// </summary>
 /// <remarks>
 /// This operation applies only to Batch accounts created with a
 /// poolAllocationMode of 'BatchService'. If the Batch account was created with
 /// a poolAllocationMode of 'UserSubscription', clients cannot use access to
 /// keys to authenticate, and must use Azure Active Directory instead. In this
 /// case, getting the keys will fail.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group that contains the Batch account.
 /// </param>
 /// <param name='accountName'>
 /// The name of the Batch account.
 /// </param>
 public static BatchAccountKeys GetKeys(this IBatchAccountOperations operations, string resourceGroupName, string accountName)
 {
     return(operations.GetKeysAsync(resourceGroupName, accountName).GetAwaiter().GetResult());
 }