/// <summary> /// Lists the account keys for the specified 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> public static ApiKeys ListKeys(this IAccountsOperations operations, string resourceGroupName, string accountName) { return(operations.ListKeysAsync(resourceGroupName, accountName).GetAwaiter().GetResult()); }